aboutsummaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-04-12 16:29:28 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-04-12 16:29:28 +0000
commit2f9515c2a8249ddcc9689f6f42bae99d696e2035 (patch)
treee65c3da17f9a7abf196c053e6b6b944fd149a711 /graphics/gdk-pixbuf
parent7dd3d4daa27cfc934a7e62890b62ba883e876439 (diff)
downloadports-2f9515c2a8249ddcc9689f6f42bae99d696e2035.tar.gz
ports-2f9515c2a8249ddcc9689f6f42bae99d696e2035.zip
Notes
Diffstat (limited to 'graphics/gdk-pixbuf')
-rw-r--r--graphics/gdk-pixbuf/Makefile20
-rw-r--r--graphics/gdk-pixbuf/files/patch-aa41
-rw-r--r--graphics/gdk-pixbuf/files/patch-ab28
-rw-r--r--graphics/gdk-pixbuf/files/patch-ac107
-rw-r--r--graphics/gdk-pixbuf/files/patch-ad16
-rw-r--r--graphics/gdk-pixbuf/files/patch-ltmain.sh23
6 files changed, 9 insertions, 226 deletions
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index 3dfc18d86899..6c5da48b02da 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -2,36 +2,34 @@
# $FreeBSD$
# $MCom: ports/graphics/gdk-pixbuf/Makefile,v 1.2 2006/09/10 00:51:10 mezz Exp $
-PORTNAME?= gdk-pixbuf
+PORTNAME= gdk-pixbuf
PORTVERSION= 0.22.0
-PORTREVISION= 14
-CATEGORIES?= graphics
+PORTREVISION= 15
+CATEGORIES= graphics
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/gdk-pixbuf/0.22
DISTNAME= gdk-pixbuf-${PORTVERSION}
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
-COMMENT?= Graphic library for GTK+
+COMMENT= Graphic library for GTK+
-LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff \
libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= gmake libtool pathfix tar:bzip2
USE_XORG= xt xi x11
-USE_GNOME+= gtk12
+USE_GNOME= gtk12
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -L${STAGEDIR}${PREFIX}/lib" \
- BUILD_CANVAS="${BUILD_CANVAS}"
CPPFLAGS+= -I${LOCALBASE}/include
-
-BUILD_CANVAS?= no
+LDFLAGS+= -L${STAGEDIR}${PREFIX}/lib -L${LOCALBASE}/lib
post-patch:
- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} '/confexecdir =/s/=.*/= $$(sysconfdir)/' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/graphics/gdk-pixbuf/files/patch-aa b/graphics/gdk-pixbuf/files/patch-aa
deleted file mode 100644
index eddda5e6374c..000000000000
--- a/graphics/gdk-pixbuf/files/patch-aa
+++ /dev/null
@@ -1,41 +0,0 @@
---- configure.orig Thu Apr 18 18:52:49 2002
-+++ configure Fri Apr 19 12:40:56 2002
-@@ -8849,6 +8849,7 @@
- fi
- STRIP_DUMMY=
-
-+if [ x"$BUILD_CANVAS" != x"no" ]; then
- # Extract the first word of "gnome-config", so it can be a program name with args.
- set dummy gnome-config; ac_word=$2
- echo "$as_me:8854: checking for $ac_word" >&5
-@@ -8878,6 +8879,10 @@
- esac
- fi
- GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
-+else
-+GNOME_CONFIG="no"
-+fi
-+
-
- if test -n "$GNOME_CONFIG"; then
- echo "$as_me:8883: result: $GNOME_CONFIG" >&5
-@@ -8994,8 +8999,8 @@
- #define USE_GMODULE 1
- EOF
-
-- GMODULE_LIBS="`glib-config --libs gmodule`"
-- GMODULE_FLAGS="`glib-config --cflags gmodule`"
-+ GMODULE_LIBS="`$GLIB_CONFIG --libs gmodule`"
-+ GMODULE_FLAGS="`$GLIB_CONFIG --cflags gmodule`"
-
- echo "$as_me:9000: result: yes" >&5
- echo "${ECHO_T}yes" >&6
-@@ -10104,7 +10109,7 @@
- fi;
-
- if test "x$with_html_dir" = "x" ; then
-- HTML_DIR='${datadir}/gnome/html'
-+ HTML_DIR='${datadir}/html'
- else
- HTML_DIR=$with_html_dir
- fi
diff --git a/graphics/gdk-pixbuf/files/patch-ab b/graphics/gdk-pixbuf/files/patch-ab
deleted file mode 100644
index ae0c38ff325e..000000000000
--- a/graphics/gdk-pixbuf/files/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile.in.orig Sat Oct 5 01:19:24 2002
-+++ Makefile.in Sat Oct 5 01:20:58 2002
-@@ -115,22 +115,10 @@
-
- bin_SCRIPTS = gdk-pixbuf-config
-
--confexecdir = $(libdir)
--confexec_DATA = \
-- gdk_pixbufConf.sh \
-- gdk_pixbuf_xlibConf.sh \
-- gnomecanvaspixbufConf.sh
--
--
--EXTRA_DIST = \
-- gdk_pixbufConf.sh.in \
-- gdk_pixbuf_xlibConf.sh.in \
-- gnomecanvaspixbufConf.sh.in \
-- gdk-pixbuf-config.in \
-- gdk-pixbuf.m4 \
-- gdk-pixbuf.spec \
-- gdk-pixbuf.spec.in
-+confexecdir = $(sysconfdir)
-+confexec_DATA = gdk_pixbufConf.sh gdk_pixbuf_xlibConf.sh @BUILD_CANVAS_ITEM_TRUE@gnomecanvaspixbufConf.sh
-
-+EXTRA_DIST = gdk_pixbufConf.sh.in gdk_pixbuf_xlibConf.sh.in gdk-pixbuf-config.in gdk-pixbuf.m4 gdk-pixbuf.spec gdk-pixbuf.spec.in @BUILD_CANVAS_ITEM_TRUE@gnomecanvaspixbufConf.sh.in
-
- m4datadir = $(prefix)/share/aclocal
- m4data_DATA = gdk-pixbuf.m4
diff --git a/graphics/gdk-pixbuf/files/patch-ac b/graphics/gdk-pixbuf/files/patch-ac
index 830e4a77accb..ed3e7e2d3c65 100644
--- a/graphics/gdk-pixbuf/files/patch-ac
+++ b/graphics/gdk-pixbuf/files/patch-ac
@@ -1,112 +1,5 @@
--- gdk-pixbuf/Makefile.in.orig Sat Oct 5 01:29:29 2002
+++ gdk-pixbuf/Makefile.in Sat Oct 5 01:32:30 2002
-@@ -132,71 +132,71 @@
- # The PNG plugin.
- #
- libpixbufloader_png_la_SOURCES = io-png.c
--libpixbufloader_png_la_LDFLAGS = -module -avoid-version
--libpixbufloader_png_la_LIBADD = $(LIBPNG) libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_png_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_png_la_LIBADD = $(LIBPNG) libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The JPEG loader
- #
- libpixbufloader_jpeg_la_SOURCES = io-jpeg.c
--libpixbufloader_jpeg_la_LDFLAGS = -module -avoid-version
--libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG) libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_jpeg_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG) libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The XPM loader
- #
- libpixbufloader_xpm_la_SOURCES = io-xpm.c
--libpixbufloader_xpm_la_LDFLAGS = -module -avoid-version
--libpixbufloader_xpm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_xpm_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_xpm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The GIF loader
- #
- libpixbufloader_gif_la_SOURCES = io-gif.c
--libpixbufloader_gif_la_LDFLAGS = -module -avoid-version
--libpixbufloader_gif_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_gif_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_gif_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The ICO loader
- #
- libpixbufloader_ico_la_SOURCES = io-ico.c
--libpixbufloader_ico_la_LDFLAGS = -module -avoid-version
--libpixbufloader_ico_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_ico_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_ico_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The RAS loader
- #
- libpixbufloader_ras_la_SOURCES = io-ras.c
--libpixbufloader_ras_la_LDFLAGS = -module -avoid-version
--libpixbufloader_ras_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_ras_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_ras_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The TIFF loader
- #
- libpixbufloader_tiff_la_SOURCES = io-tiff.c
--libpixbufloader_tiff_la_LDFLAGS = -module -avoid-version
--libpixbufloader_tiff_la_LIBADD = $(LIBTIFF) libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_tiff_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_tiff_la_LIBADD = $(LIBTIFF) libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The PNM loader
- #
- libpixbufloader_pnm_la_SOURCES = io-pnm.c
--libpixbufloader_pnm_la_LDFLAGS = -module -avoid-version
--libpixbufloader_pnm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_pnm_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_pnm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The BMP loader
- #
- libpixbufloader_bmp_la_SOURCES = io-bmp.c
--libpixbufloader_bmp_la_LDFLAGS = -module -avoid-version
--libpixbufloader_bmp_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_bmp_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_bmp_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- #
- # The XBM loader
- #
- libpixbufloader_xbm_la_SOURCES = io-xbm.c
--libpixbufloader_xbm_la_LDFLAGS = -module -avoid-version
--libpixbufloader_xbm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS)
-+libpixbufloader_xbm_la_LDFLAGS = -avoid-version -module
-+libpixbufloader_xbm_la_LIBADD = libgdk_pixbuf.la $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
- @HAVE_PNG_TRUE@PNG_LIB = @HAVE_PNG_TRUE@libpixbufloader-png.la
-
-@@ -259,11 +259,11 @@
-
- LDADDS = libgdk_pixbuf.la $(GLIB_LIBS) $(GTK_LIBS) $(STATIC_LIB_DEPS)
-
--test_gdk_pixbuf_LDADD = $(LDADDS) $(GNOME_LIBS) -lgmodule
--testpixbuf_LDADD = $(LDADDS) $(GNOME_LIBS) -lgmodule
-+test_gdk_pixbuf_LDADD = $(LDADDS) $(GNOME_LIBS) `$(GLIB_CONFIG) --libs gmodule`
-+testpixbuf_LDADD = $(LDADDS) $(GNOME_LIBS) `$(GLIB_CONFIG) --libs gmodule`
- testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
- testpixbuf_scale_LDADD = $(LDADDS) $(GNOME_LIBS)
--testanimation_LDADD = $(LDADDS) $(GNOME_LIBS) -lgmodule
-+testanimation_LDADD = $(LDADDS) $(GNOME_LIBS) `$(GLIB_CONFIG) --libs gmodule`
-
- GDK_PIXBUF_LIBS = $(GLIB_LIBS) $(GTK_LIBS)
-
@@ -400,7 +400,7 @@
libpixbufloader_bmp_la_OBJECTS = io-bmp.lo
libpixbufloader_xbm_la_DEPENDENCIES = libgdk_pixbuf.la
diff --git a/graphics/gdk-pixbuf/files/patch-ad b/graphics/gdk-pixbuf/files/patch-ad
deleted file mode 100644
index 37e0eca6216e..000000000000
--- a/graphics/gdk-pixbuf/files/patch-ad
+++ /dev/null
@@ -1,16 +0,0 @@
---- gdk-pixbuf-config.in.orig Tue Oct 23 20:44:44 2001
-+++ gdk-pixbuf-config.in Fri Oct 26 11:06:32 2001
-@@ -40,11 +40,11 @@
- ;;
- --cflags)
- includes=-I@includedir@/gdk-pixbuf-1.0
-- echo $includes `gtk-config --cflags`
-+ echo $includes `@GTK_CONFIG@ --cflags`
- ;;
- --libs)
- libdirs=-L@libdir@
-- echo $libdirs -lgdk_pixbuf `gtk-config --libs`
-+ echo $libdirs -lgdk_pixbuf `@GTK_CONFIG@ --libs`
- ;;
- *)
- echo "${usage}" 1>&2
diff --git a/graphics/gdk-pixbuf/files/patch-ltmain.sh b/graphics/gdk-pixbuf/files/patch-ltmain.sh
index d35b31cea82a..a8a70028bcbb 100644
--- a/graphics/gdk-pixbuf/files/patch-ltmain.sh
+++ b/graphics/gdk-pixbuf/files/patch-ltmain.sh
@@ -8,26 +8,3 @@
continue
;;
-@@ -2442,6 +2443,9 @@
- *-*-openbsd*)
- # Do not include libc due to us having libc/libc_r.
- ;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
-@@ -4208,10 +4212,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"