From a933112badd945587c9c4de874701bde0339cd37 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 00:24:06 -0400 Subject: [PATCH] ham/xpsk31: Make .desktop validate, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- ham/xpsk31/xpsk31.SlackBuild | 6 +++--- ham/xpsk31/xpsk31.desktop | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ham/xpsk31/xpsk31.SlackBuild b/ham/xpsk31/xpsk31.SlackBuild index 402326e48c..6e85f06f29 100644 --- a/ham/xpsk31/xpsk31.SlackBuild +++ b/ham/xpsk31/xpsk31.SlackBuild @@ -27,7 +27,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 @@ -38,8 +38,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/ham/xpsk31/xpsk31.desktop b/ham/xpsk31/xpsk31.desktop index 92ee7fe8f4..180f68e9c0 100644 --- a/ham/xpsk31/xpsk31.desktop +++ b/ham/xpsk31/xpsk31.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=xpsk31 GenericName=xpsk31 Comment=GTK+ graphical version of lpsk31 @@ -7,5 +6,5 @@ Exec=xpsk31 Icon=xpsk31 Terminal=false Type=Application -Categories=Network;HamRadio;DataModes; +Categories=Network;HamRadio; Version=1.0