Bump revision for all pkgs requiring libpng.

This commit is contained in:
Juan RP 2010-05-07 14:23:08 +02:00
parent 88c095014b
commit 63ada1176a
26 changed files with 97 additions and 21 deletions

View File

@ -6,6 +6,7 @@ long_desc="${long_desc}
This package contains the C libraries needed to run executables
that make use of MagickCore."
revision=1
replaces="ImageMagick<6.5.9"
Add_dependency run lcms

View File

@ -1,7 +1,7 @@
# Template file for 'SDL_image'
pkgname=SDL_image
version=1.2.10
revision=2
revision=3
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Load images as SDL surfaces"

View File

@ -1,7 +1,7 @@
# Template file for 'Thunar'
pkgname=Thunar
version=1.0.1
revision=4
revision=5
distfiles="http://mocha.xfce.org/archive/xfce-4.6.1/src/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-gnome-thumbnailers --enable-exif --enable-pcre"

View File

@ -1,7 +1,7 @@
# Template build file for 'cairo'.
pkgname=cairo
version=1.8.10
revision=1
revision=2
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-xlib=yes --enable-xlib-xrender=yes
@ -46,3 +46,8 @@ Add_dependency build libX11-devel
Add_dependency build xcb-util-devel
Add_dependency build libxcb-devel
Add_dependency build libXrender-devel
pre_configure()
{
sed -i -e "s|libpng12|libpng14|g" ${wrksrc}/configure
}

View File

@ -1,7 +1,7 @@
# Template build file for 'cairomm'.
pkgname=cairomm
version=1.8.4
revision=1
revision=2
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="C++ bindings to Cairo vector graphics library"

View File

@ -1,6 +1,7 @@
# Template file for 'compiz'
pkgname=compiz
version=0.8.6
revision=1
distfiles="http://releases.compiz.org/$version/compiz-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-gconf --disable-schemas-install

View File

@ -6,7 +6,7 @@ long_desc="${long_desc}
This package contains the utility programs that use the GD
library."
revision=2
revision=3
Add_dependency run libXpm
Add_dependency run libX11

View File

@ -1,7 +1,7 @@
# Template build file for 'gd'.
pkgname=gd
version=2.0.35
revision=4
revision=5
distfiles="http://www.libgd.org/releases/gd-$version.tar.bz2"
build_style=gnu_configure
short_desc="Graphics library for the dynamic creation of images"

View File

@ -1,6 +1,7 @@
# Template build file for 'gegl'.
pkgname=gegl
version=0.1.2
revision=1
distfiles="ftp://ftp.gimp.org/pub/gegl/0.1/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-docs --without-sdl --without-libopenraw

View File

@ -0,0 +1,25 @@
--- plug-ins/file-ico/ico-load.c 2010-01-18 19:01:46.000000000 -0500
+++ plug-ins/file-ico/ico-load.c 2010-01-18 19:14:43.000000000 -0500
@@ -286,14 +286,22 @@
switch (color_type)
{
case PNG_COLOR_TYPE_GRAY:
+#if PNG_LIBPNG_VER < 10400
png_set_gray_1_2_4_to_8 (png_ptr);
+#else
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
+#endif
if ( bit_depth == 16 )
png_set_strip_16 (png_ptr);
png_set_gray_to_rgb (png_ptr);
png_set_add_alpha (png_ptr, 0xff, PNG_FILLER_AFTER);
break;
case PNG_COLOR_TYPE_GRAY_ALPHA:
+#if PNG_LIBPNG_VER < 10400
png_set_gray_1_2_4_to_8 (png_ptr);
+#else
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
+#endif
if ( bit_depth == 16 )
png_set_strip_16 (png_ptr);
png_set_gray_to_rgb (png_ptr);

View File

@ -1,7 +1,7 @@
# Template build file for 'gimp'.
pkgname=gimp
version=2.6.8
revision=1
revision=2
distfiles="ftp://ftp.gimp.org/pub/gimp/v2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--without-aa --without-gvfs --without-gnomevfs
@ -30,14 +30,14 @@ conf_files="
subpackages="gimp-devel gimp-python"
Add_dependency run atk
Add_dependency run glibc
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gtk+
Add_dependency run glibc
Add_dependency run lcms
Add_dependency run alsa-lib
Add_dependency run dbus-glib
@ -68,13 +68,14 @@ Add_dependency run babl
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build glib-devel
Add_dependency build gtk+-devel
Add_dependency build atk-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gtk+-devel
Add_dependency build glibc-devel
Add_dependency build lcms-devel
Add_dependency build alsa-lib-devel
Add_dependency build dbus-glib-devel

View File

@ -1,6 +1,7 @@
# Template file for 'graphviz'
pkgname=graphviz
version=2.26.0
revision=1
distfiles="http://www.graphviz.org/pub/graphviz/stable/SOURCES/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Graph Visualization Software"

View File

@ -1,6 +1,7 @@
# Template file for 'gst-plugins-good'.
pkgname=gst-plugins-good
version=0.10.22
revision=1
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-gudev --with-libv4l2 --enable-experimental

View File

@ -1,6 +1,7 @@
# Template build file for 'gtk+'.
pkgname=gtk+
version=2.20.1
revision=1
distfiles="${GNOME_SITE}/gtk+/2.20/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-cups --with-xinput --enable-introspection=no"
@ -23,6 +24,7 @@ triggers="gtk-pixbuf-loaders gtk-immodules"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
@ -42,8 +44,10 @@ Add_dependency run libX11
Add_dependency run tiff
Add_dependency run jpeg
Add_dependency run libpng
Add_dependency build pkg-config
Add_dependency build perl
Add_dependency build zlib-devel
Add_dependency build glib-devel ">=2.24.0"
Add_dependency build atk-devel ">=1.29.92"
Add_dependency build pango-devel

View File

@ -1,6 +1,7 @@
# Template file for 'lbreakout2'
pkgname=lbreakout2
version=2.6.1
revision=1
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-rpath --enable-sdl-net

View File

@ -1,6 +1,7 @@
# Template build file for 'librsvg'.
pkgname=librsvg
version=2.26.3
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.26/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="SVG library for GNOME2"

View File

@ -1,7 +1,7 @@
# Template build file for 'libwmf'.
pkgname=libwmf
version=0.2.8.4
revision=4
revision=5
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-gsfontdir=/usr/share/fonts/Type1

View File

@ -1,7 +1,7 @@
# Template file for 'neverball'
pkgname=neverball
version=1.5.4
revision=2
revision=3
distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="Puzzle/action game similar to Super Monkey Ball"

View File

@ -1,6 +1,7 @@
# Template build file for 'pekwm'.
pkgname=pekwm
version=0.1.12
revision=1
distfiles="http://www.pekwm.org/projects/pekwm/files/pekwm-$version.tar.gz"
build_style=gnu_configure
short_desc="Window manager based on aewm++"
@ -59,3 +60,8 @@ Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build libXpm-devel
Add_dependency build libXrandr-devel
pre_configure()
{
sed -i -e "s|libpng12|libpng14|g" ${wrksrc}/configure
}

View File

@ -1,7 +1,7 @@
# Template build file for 'poppler'.
pkgname=poppler
version=0.12.4
revision=1
revision=2
distfiles="http://poppler.freedesktop.org/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-zlib --disable-poppler-qt

View File

@ -1,7 +1,7 @@
# Template file for 'qt'
pkgname=qt
version=4.6.2
revision=2
revision=3
_distname=qt-everywhere-opensource-src
wrksrc=${_distname}-${version}
distfiles="ftp://ftp.qt.nokia.com/qt/source/${_distname}-$version.tar.gz"

View File

@ -1,6 +1,7 @@
# Template file for 'vlc'
pkgname=vlc
version=1.0.6
revision=1
distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-hal --disable-mtp --disable-gme

View File

@ -1,7 +1,7 @@
# Template file for 'webkit-gtk'
pkgname=webkit-gtk
version=1.2.0
revision=1
revision=2
wrksrc=webkit-${version}
distfiles="http://www.webkitgtk.org/webkit-${version}.tar.gz"
build_style=gnu_configure

View File

@ -1,6 +1,7 @@
# Template build file for 'xcursorgen'.
pkgname=xcursorgen
version=1.0.3
revision=1
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="X cursor generator"
@ -9,8 +10,16 @@ checksum=ed5f3ffe881c21ffca85406e5a5f553ed4985cc5e9acdb535f682c33bebac254
long_desc="
$pkgname creates an X cursor file from a collection of PNG images."
Add_dependency run glibc
Add_dependency run libX11
Add_dependency run libXcursor
Add_dependency run libpng
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXcursor
Add_dependency full libpng
Add_dependency build libX11-devel
Add_dependency build libXcursor-devel
Add_dependency build libpng-devel
pre_configure()
{
sed -i -e "s|libpng12|libpng14|" ${wrksrc}/configure
}

View File

@ -0,0 +1,11 @@
--- modules/libpr0n/encoders/png/nsPNGEncoder.cpp.orig 2010-01-17 00:15:53.979744638 +0100
+++ modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-01-17 00:16:07.855993411 +0100
@@ -135,7 +135,7 @@
// initialize
mPNG = png_create_write_struct(PNG_LIBPNG_VER_STRING,
- png_voidp_NULL,
+ NULL,
ErrorCallback,
ErrorCallback);
if (! mPNG)

View File

@ -9,10 +9,10 @@ if [ -n "${_xulpatchver}" ]; then
else
version=${_xulver}
fi
revision=1
wrksrc=mozilla-${_xulver}
distfiles="${MOZILLA_SITE}/firefox/releases/${_ffver}/source/firefox-${_ffver}.source.tar.bz2"
build_style=gnu_configure
LDFLAGS="-Wl,-R/usr/lib/${pkgname}-${_xulver}"
configure_args="--enable-application=xulrunner --enable-libxul
--disable-crashreporter --disable-tests --disable-debug --enable-dbus
--enable-startup-notification --enable-canvas --enable-svg
@ -84,6 +84,13 @@ Add_dependency build nss-devel
Add_dependency build libnotify-devel
Add_dependency build dbus-glib-devel
Add_dependency build startup-notification-devel
Add_dependency build diffutils
pre_configure()
{
# Use cmp(1) from diffutils
export PATH="/usr/bin:/bin:$PATH"
}
post_install()
{