summaryrefslogtreecommitdiffstats
path: root/desktop/vim-qt
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-20 07:01:57 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:04 +0000
commite8e48cc2470a0f30ed6370d23001e2a90d65baf6 (patch)
treef8005adf86faeaab72dd5d3ff0d6f460a46ef30e /desktop/vim-qt
parent27a215055db8577458371840fe070b3d31a10fa0 (diff)
downloadslackbuilds-e8e48cc2470a0f30ed6370d23001e2a90d65baf6.tar.gz
slackbuilds-e8e48cc2470a0f30ed6370d23001e2a90d65baf6.tar.xz
desktop/vim-qt: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/vim-qt')
-rw-r--r--desktop/vim-qt/qvim.desktop3
-rw-r--r--desktop/vim-qt/vim-qt.SlackBuild6
2 files changed, 4 insertions, 5 deletions
diff --git a/desktop/vim-qt/qvim.desktop b/desktop/vim-qt/qvim.desktop
index 3b4eea3682..e1b72dd8d0 100644
--- a/desktop/vim-qt/qvim.desktop
+++ b/desktop/vim-qt/qvim.desktop
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8
Name=Vim Qt
GenericName=Text Editor
GenericName[af]=Teks Redigeerder
@@ -79,7 +78,7 @@ GenericName[zh_TW]=文字編輯器
GenericName[zu]=Umlungisi wombhalo
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=qvim -f %f
-Icon=vim-qt.png
+Icon=vim-qt
Type=Application
Terminal=false
X-KDE-StartupNotify=true
diff --git a/desktop/vim-qt/vim-qt.SlackBuild b/desktop/vim-qt/vim-qt.SlackBuild
index a7eecb0e4a..72f1bbf6cd 100644
--- a/desktop/vim-qt/vim-qt.SlackBuild
+++ b/desktop/vim-qt/vim-qt.SlackBuild
@@ -32,7 +32,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -48,8 +48,8 @@ if [ "$GUI" = "yes" ] ; then
SHP2PGSQL_GUI="--with-gui"
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"