From 62f0c10d93e9f9979ddba63e8f072323bfc095d0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 16:13:06 -0400 Subject: [PATCH] development/sourcenav: Make .desktop validate, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- development/sourcenav/sourcenav.SlackBuild | 6 +++--- development/sourcenav/sourcenav.desktop | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/development/sourcenav/sourcenav.SlackBuild b/development/sourcenav/sourcenav.SlackBuild index 2a450a3d9e..6690fce454 100644 --- a/development/sourcenav/sourcenav.SlackBuild +++ b/development/sourcenav/sourcenav.SlackBuild @@ -30,7 +30,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 @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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" diff --git a/development/sourcenav/sourcenav.desktop b/development/sourcenav/sourcenav.desktop index 7e2a08faf8..a60f4446d1 100644 --- a/development/sourcenav/sourcenav.desktop +++ b/development/sourcenav/sourcenav.desktop @@ -1,10 +1,9 @@ [Desktop Entry] -Encoding=UTF-8 Name=sourcenav Comment=Source code analysis tool Exec=snavigator Icon=sn_logo Terminal=false Type=Application -Categories=Application;Development +Categories=Development; StartupNotify=true