diff options
author | ArTourter <artourter@gmail.com> | 2010-12-11 00:11:46 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-11 00:11:46 -0600 |
commit | 665357c91c19abab9c4beb2352654c8739ee3085 (patch) | |
tree | ca77954c87dda9912ab34094d38854a286b4cbb4 | |
parent | f35d13977504d4f36abc61b08245aa62602fe8fe (diff) |
desktop/QtCurve-Gtk2: Updated for version 1.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild | 21 | ||||
-rw-r--r-- | desktop/QtCurve-Gtk2/QtCurve-Gtk2.info | 6 | ||||
-rw-r--r-- | desktop/QtCurve-Gtk2/README | 5 |
3 files changed, 24 insertions, 8 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild index b6038dbce4324..d223161fccfa7 100644 --- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild +++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for QtCurve-Gtk2 -# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom -# Copyright 2009 Gregory J. L. Tourte, UK (artourter@gmail.com) +# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2009-2010 Gregory J. L. Tourte, UK (artourter@gmail.com) # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -26,7 +26,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=QtCurve-Gtk2 -VERSION=${VERSION:-1.7.2} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,16 @@ else LIBDIRSUFFIX="" fi +# Configure QtCurve-Gtk2 not to modify userchrome.css for firefox. +# This seems to be required when using a dark Theme, the font colour would not +# be inverted and therefore unreadable. * Reported and requested by NaCL + +if [ "${USERCHROME:-yes}" = "no" ]; then + modif_mozilla="-DQTC_MODIFY_MOZILLA=false" +else + modif_mozilla="" +fi + set -e rm -rf $PKG $TMP/$PRGNAM-$VERSION @@ -82,10 +92,13 @@ cd build -DQTC_DEFAULT_TO_KDE3=false \ -DCMAKE_BUILD_TYPE=Release \ -DQTC_STYLE_SUPPORT=true \ + -Wno-dev \ + $modif_mozilla \ .. + make make install DESTDIR=$PKG -cd - +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info index 77794eaad189e..ae22b64730bca 100644 --- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info +++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.info @@ -1,8 +1,8 @@ PRGNAM="QtCurve-Gtk2" -VERSION="1.7.2" +VERSION="1.8.1" HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492" -DOWNLOAD="http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-1.7.2.tar.bz2" -MD5SUM="ad451aeacd70d8cda3dd786cdb0f0ce1" +DOWNLOAD="http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-1.8.1.tar.bz2" +MD5SUM="4c5bddf761ced78ba862c19037791655" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="ArTourter" diff --git a/desktop/QtCurve-Gtk2/README b/desktop/QtCurve-Gtk2/README index 58799db4aee93..1d1a2d80a2ce3 100644 --- a/desktop/QtCurve-Gtk2/README +++ b/desktop/QtCurve-Gtk2/README @@ -12,5 +12,8 @@ package is compiled to use /etc/gtk-2.0/*-slackware-linux/gtkrc, while KDE is hardcoded to look in /etc/gtk-2.0/gtkrc. Consequently, you will probably want to put your preferred gtkrc in the GTK path, and then put a symlink to it at /etc/gtk-2.0/gtkrc for KDE to use (or vice versa - either will work). - Alternatively, gtk-chtheme works fine on a per user basis. + +If you are using a dark theme, and fonts in Firefox are unreadable because +it does not invert the colors, you can pass USERCHROME=no to the script, +which will disable the modification of userchrome.css in Firefox. |