diff options
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4-0.9.4_fix_bad_quotes.patch | 11 | ||||
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.SlackBuild | 26 | ||||
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.info | 10 |
3 files changed, 11 insertions, 36 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4-0.9.4_fix_bad_quotes.patch b/desktop/gtk-kde4/gtk-kde4-0.9.4_fix_bad_quotes.patch deleted file mode 100644 index 23ae9af72d..0000000000 --- a/desktop/gtk-kde4/gtk-kde4-0.9.4_fix_bad_quotes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- daemon/mainwin.cpp.orig 2010-05-04 11:17:40.000000000 +0200 -+++ daemon/mainwin.cpp 2010-05-18 01:24:05.560974294 +0200 -@@ -647,7 +647,7 @@ - fs+=" "+sett->value("FontStyle").toString(); - fs+=" "+sett->value("FontSize").toString(); - fs=fs.simplified(); -- out<<"gtk-font-name=\""<<sett->value("FontFamily").toString()<<" "<<" "<<sett->value("FontSize").toString(); -+ out<<"gtk-font-name=\""<<sett->value("FontFamily").toString()<<" "<<" "<<sett->value("FontSize").toString()<<"\""<<endl; - } - else - { fs=QApplication::font().family(); diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index b0e119d17f..998d412a27 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gtk-kde4 -# Copyright 2010, mario <mario@slackverse.org> +# Copyright 2010-2012, mario <mario@slackverse.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=gtk-kde4 SRCNAM="gtk-kde4(src)" -VERSION=${VERSION:-0.9.4} +VERSION=${VERSION:-0.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,11 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM$VERSION.tar.gz - -# build fails with default dirname -mv $SRCNAM $PRGNAM-$VERSION - -cd $PRGNAM-$VERSION +cd $PRGNAM chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,9 +72,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# patch for missing quotes (submitted to author aswell) -patch -p0 <$CWD/gtk-kde4-0.9.4_fix_bad_quotes.patch - cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -88,25 +81,18 @@ cmake \ -DCMAKE_BUILD_TYPE=Release make -# disable execution of symlinks.sh -sed -i 's/EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/#EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/' CMakeSymlink - -make install DESTDIR=$PKG - # fix desktop shortcut sed -i 's/kcmshell4 gk4/kcmshell4 kcm_gk4/' kcm/kcm_gk4.desktop +make install DESTDIR=$PKG + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING readme $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# fix this -mv $PKG/root/.gtkrc-2.0-kde4 $PKG/usr/doc/$PRGNAM-$VERSION/gtkrc-2.0-kde4 -rmdir $PKG/root - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/desktop/gtk-kde4/gtk-kde4.info b/desktop/gtk-kde4/gtk-kde4.info index f8c6fef4de..b3ef1a7d6f 100644 --- a/desktop/gtk-kde4/gtk-kde4.info +++ b/desktop/gtk-kde4/gtk-kde4.info @@ -1,10 +1,10 @@ PRGNAM="gtk-kde4" -VERSION="0.9.4" +VERSION="0.9.5" HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689" -DOWNLOAD="http://betta.houa.org/no-site/gtk-kde4(src)0.9.4.tar.gz" -MD5SUM="ff16f21fe6c673fb1858808681c97350" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/gtk-kde4(src)0.9.5.tar.gz" +MD5SUM="d5998e4ccd4bd4b4d6a61e7afe8bbecb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="mario" -EMAIL="mario@slackverse.org" +MAINTAINER="nobody" +EMAIL="nobody" |