diff options
-rw-r--r-- | libraries/libgnomeprint/libgnomeprint-2.18.8-stdio-include.patch | 9 | ||||
-rw-r--r-- | libraries/libgnomeprint/libgnomeprint.SlackBuild | 21 | ||||
-rw-r--r-- | libraries/libgnomeprint/libgnomeprint.info | 10 |
3 files changed, 25 insertions, 15 deletions
diff --git a/libraries/libgnomeprint/libgnomeprint-2.18.8-stdio-include.patch b/libraries/libgnomeprint/libgnomeprint-2.18.8-stdio-include.patch new file mode 100644 index 0000000000..dd9195434e --- /dev/null +++ b/libraries/libgnomeprint/libgnomeprint-2.18.8-stdio-include.patch @@ -0,0 +1,9 @@ +--- a/libgnomeprint/modules/cups/gnome-print-cups-transport.c ++++ b/libgnomeprint/modules/cups/gnome-print-cups-transport.c +@@ -34,6 +34,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++#include <stdio.h> + #include <unistd.h> + #include <locale.h> diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild index ed921d8b8d..ef30588c02 100644 --- a/libraries/libgnomeprint/libgnomeprint.SlackBuild +++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild @@ -25,16 +25,14 @@ # Modified by the SlackBuilds.org project PRGNAM=libgnomeprint -VERSION=2.18.6 +VERSION=2.18.8 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -58,12 +56,14 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -71,6 +71,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 -i $CWD/libgnomeprint-2.18.8-stdio-include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -79,11 +81,10 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ - --build=$ARCH-slackware-linux \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS BUGS COPYING* ChangeLog INSTALL NEWS README \ diff --git a/libraries/libgnomeprint/libgnomeprint.info b/libraries/libgnomeprint/libgnomeprint.info index 9032fd9d52..ce40db06c0 100644 --- a/libraries/libgnomeprint/libgnomeprint.info +++ b/libraries/libgnomeprint/libgnomeprint.info @@ -1,10 +1,10 @@ PRGNAM="libgnomeprint" -VERSION="2.18.6" +VERSION="2.18.8" HOMEPAGE="http://www.gnome.org" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/libgnomeprint-2.18.6.tar.bz2" -MD5SUM="a5aa248058a07de4b3cf444673cfc683" +DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/libgnomeprint-2.18.8.tar.bz2" +MD5SUM="63b05ffb5386e131487c6af30f4c56ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgnomecups" -MAINTAINER="nobody" -EMAIL="nobody" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" |