diff options
Diffstat (limited to 'desktop/gtk-kde4')
-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 | 19 | ||||
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.info | 8 |
3 files changed, 28 insertions, 10 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 new file mode 100644 index 0000000000..23ae9af72d --- /dev/null +++ b/desktop/gtk-kde4/gtk-kde4-0.9.4_fix_bad_quotes.patch @@ -0,0 +1,11 @@ +--- 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 597588258c..b0e119d17f 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gtk-kde4 -VERSION=${VERSION:-0.9.3} +SRCNAM="gtk-kde4(src)" +VERSION=${VERSION:-0.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,8 +63,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/*-$PRGNAM\(src\)$VERSION.tar.gz -cd $PRGNAM +tar xvf $CWD/$SRCNAM$VERSION.tar.gz + +# build fails with default dirname +mv $SRCNAM $PRGNAM-$VERSION + +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -71,6 +76,9 @@ 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" \ @@ -78,13 +86,12 @@ cmake \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release - -make VERBOSE=1 +make # disable execution of symlinks.sh sed -i 's/EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/#EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/' CMakeSymlink -make install VERBOSE=1 DESTDIR=$PKG +make install DESTDIR=$PKG # fix desktop shortcut sed -i 's/kcmshell4 gk4/kcmshell4 kcm_gk4/' kcm/kcm_gk4.desktop diff --git a/desktop/gtk-kde4/gtk-kde4.info b/desktop/gtk-kde4/gtk-kde4.info index 3a15a9d8b8..9a1d641416 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.3" +VERSION="0.9.4" HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689" -DOWNLOAD="http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4(src)0.9.3.tar.gz" -MD5SUM="5ab407a9f3f856af3575954c42262e31" +DOWNLOAD="http://betta.houa.org/no-site/gtk-kde4(src)0.9.4.tar.gz" +MD5SUM="ff16f21fe6c673fb1858808681c97350" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="mario" EMAIL="mario@slackverse.org" -APPROVED="Erik Hanson" +APPROVED="rworkman" |