From 75a4a592e5ccda30715f93563d741b83e0dcf39e Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 25 Apr 2011 13:37:00 +0000 Subject: Slackware 13.37 Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun! --- source/l/cairo/cairo-1.10.0-buggy_gradients.patch | 13 ++++++++ source/l/cairo/cairo.SlackBuild | 40 ++++++++++++++++------- source/l/cairo/cairo.libpng14.diff | 11 ------- 3 files changed, 42 insertions(+), 22 deletions(-) create mode 100644 source/l/cairo/cairo-1.10.0-buggy_gradients.patch delete mode 100644 source/l/cairo/cairo.libpng14.diff (limited to 'source/l/cairo') diff --git a/source/l/cairo/cairo-1.10.0-buggy_gradients.patch b/source/l/cairo/cairo-1.10.0-buggy_gradients.patch new file mode 100644 index 000000000..13ef50b25 --- /dev/null +++ b/source/l/cairo/cairo-1.10.0-buggy_gradients.patch @@ -0,0 +1,13 @@ +--- a/src/cairo-xlib-display.c 2010-08-04 11:57:49.000000000 +0200 ++++ b/src/cairo-xlib-display.c 2010-08-04 11:58:28.000000000 +0200 +@@ -353,11 +353,7 @@ + /* Prior to Render 0.10, there is no protocol support for gradients and + * we call function stubs instead, which would silently consume the drawing. + */ +-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10 + display->buggy_gradients = TRUE; +-#else +- display->buggy_gradients = FALSE; +-#endif + display->buggy_pad_reflect = FALSE; + display->buggy_repeat = FALSE; diff --git a/source/l/cairo/cairo.SlackBuild b/source/l/cairo/cairo.SlackBuild index 655cf2f49..cd31e8ecd 100755 --- a/source/l/cairo/cairo.SlackBuild +++ b/source/l/cairo/cairo.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008-2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,8 +21,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=1.8.8 -BUILD=${BUILD:-3} +VERSION=1.10.2 +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -67,11 +67,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Use libpng-1.4.x: -zcat $CWD/cairo.libpng14.diff.gz | patch -p0 --verbose || exit 1 - -# Time to try leaving this out again? -# --disable-xcb +# Thanks to Ubuntu for this, but I found it at Gentoo's bugtracker +# http://bugs.gentoo.org/show_bug.cgi?id=336696 +zcat $CWD/cairo-1.10.0-buggy_gradients.patch.gz | patch -p1 || exit 1 CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,10 +78,30 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --sysconfdir=/etc \ --disable-gtk-doc \ - --disable-glitz \ --disable-quartz \ --disable-static \ - --disable-win32 + --disable-win32 \ + --disable-trace \ + --enable-xlib \ + --enable-freetype \ + --enable-ps \ + --enable-pdf \ + --enable-svg \ + --enable-tee \ + --enable-gobject \ + --build=$ARCH-slackware-linux +# None of these are 'stable' yet... +# --enable-qt \ +# --enable-gl \ +# --enable-drm \ +# --enable-xcb \ +# --enable-xlib-xcb \ +# --enable-xcb-drm \ +# --enable-drm-xr \ +# Skipping this, because it causes a dependency on the specific +# version of binutils installed at compile time: +# --enable-trace + make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG @@ -92,7 +110,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \ mkdir -p $PKG/usr/doc/cairo-$VERSION cp -a \ - AUTHORS COPYING* NEWS README TODO \ + AUTHORS BIBLIOGRAPHY BUGS CODING_STYLE COPYING* HACKING NEWS PORTING_GUIDE README RELEASING \ $PKG/usr/doc/cairo-$VERSION ( cd $PKG/usr/doc/cairo-$VERSION ; ln -sf /usr/share/gtk-doc/html/cairo html ) diff --git a/source/l/cairo/cairo.libpng14.diff b/source/l/cairo/cairo.libpng14.diff deleted file mode 100644 index 12bed2c0e..000000000 --- a/source/l/cairo/cairo.libpng14.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- ./configure.orig 2009-06-16 07:25:50.000000000 -0500 -+++ ./configure 2010-05-03 00:12:23.000000000 -0500 -@@ -27890,7 +27890,7 @@ - - if test "x$png_REQUIRES" = x; then - # libpng13 is GnuWin32's libpng-1.2.8 :-( -- for l in libpng12 libpng13 libpng10 ; do -+ for l in libpng14 libpng12 libpng13 libpng10 ; do - if $PKG_CONFIG --exists $l ; then - png_REQUIRES=$l - use_png=yes -- cgit v1.2.3