From e59f85f23abe3b6fee1c831df34e58b8b82e0bb0 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Mon, 15 Apr 2013 19:04:08 -0500 Subject: libraries/wxGTK: included libgnomeprint support Signed-off-by: Robby Workman --- libraries/wxGTK/README | 4 ++++ libraries/wxGTK/wxGTK.SlackBuild | 14 +++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/wxGTK/README b/libraries/wxGTK/README index d6ff59c439..25b994df96 100644 --- a/libraries/wxGTK/README +++ b/libraries/wxGTK/README @@ -5,5 +5,9 @@ controls and utilities. This is a unicode shared build. If you do not want the unicode build, use: UNICODE=NO ./wxGTK.SlackBuild +If you want support for gnomeprint pass GNOMEPRINT=yes to the script. This +will require libgnomeprint and libgnomeprintui, both available from +SlackBuilds.org. + This package conflicts with wxPython because wxGTK is already included there. Both cannot be installed at the same time! diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild index 5d066669a3..a9d131c168 100644 --- a/libraries/wxGTK/wxGTK.SlackBuild +++ b/libraries/wxGTK/wxGTK.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for wxGTK # Copyright 2006-2009 Chess Griffin -# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2010-2011,2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +25,11 @@ # Lots of key help from Eric Hameleers and the SBo admins. -# revision date: 2011/12/23 +# revision date: 2013/03/29 PRGNAM=wxGTK VERSION=${VERSION:-2.8.12} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -49,6 +49,13 @@ OUTPUT=${OUTPUT:-/tmp} # pass UNICODE=NO ./wxGTK.SlackBuild when building UNICODE=${UNICODE:-YES} +# Gnomeprint support +if [ "${GNOMEPRINT:-no}" = "no" ]; then + do_gp="without" +else + do_gp="with" +fi + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -97,6 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared \ --enable-mediactrl \ --with-opengl \ + --$do_gp-gnomeprint \ --${_do_unicode}able-unicode \ --build=$ARCH-slackware-linux -- cgit v1.2.3