summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gdk-pixbuf/Makefile27
-rw-r--r--graphics/gdk-pixbuf/distinfo1
-rw-r--r--graphics/gdk-pixbuf/files/patch-aa46
-rw-r--r--graphics/gdk-pixbuf/pkg-comment1
-rw-r--r--graphics/gdk-pixbuf/pkg-descr6
-rw-r--r--graphics/gdk-pixbuf/pkg-plist16
6 files changed, 97 insertions, 0 deletions
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
new file mode 100644
index 000000000000..cb9478ce8ae8
--- /dev/null
+++ b/graphics/gdk-pixbuf/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: gdk-pixbuf
+# Version required: 0.2
+# Date created: 5th October 1999
+# Whom: Ade Lovett <ade@lovett.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= gdk-pixbuf-0.2
+CATEGORIES= graphics gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gdk-pixbuf
+
+MAINTAINER= ade@lovett.com
+
+LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/giflib" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/graphics/gdk-pixbuf/distinfo b/graphics/gdk-pixbuf/distinfo
new file mode 100644
index 000000000000..f926b3c89153
--- /dev/null
+++ b/graphics/gdk-pixbuf/distinfo
@@ -0,0 +1 @@
+MD5 (gdk-pixbuf-0.2.tar.gz) = d8d17d81a42494b9467e4ed292b65b49
diff --git a/graphics/gdk-pixbuf/files/patch-aa b/graphics/gdk-pixbuf/files/patch-aa
new file mode 100644
index 000000000000..e3f9aaf476ff
--- /dev/null
+++ b/graphics/gdk-pixbuf/files/patch-aa
@@ -0,0 +1,46 @@
+--- configure.orig Tue Sep 28 13:50:52 1999
++++ configure Tue Oct 5 16:16:32 1999
+@@ -2702,8 +2702,8 @@
+ echo "configure:2703: checking whether to build gmodulized gdk-pixbuf" >&5
+ oLIBS="$LIBS"
+ oCFLAGS="$CFLAGS"
+-LIBS="$LIBS `glib-config --libs gmodule`"
+-CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
++LIBS="$LIBS `$GLIB_CONFIG --libs gmodule`"
++CFLAGS="$CFLAGS `$GLIB_CONFIG --cflags gmodule`"
+ if test "$cross_compiling" = yes; then
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+ else
+@@ -2752,8 +2752,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 "$ac_t""yes" 1>&6
+@@ -3696,8 +3696,8 @@
+ fi
+
+ GDK_PIXBUF_LIBDIR='-L${libdir}'
+-GDK_PIXBUF_INCLUDEDIR="-I${includedir} `gnome-config --cflags glib libart` `glib-config --cflags gmodule`"
+-GDK_PIXBUF_LIBS="$LIBS `gnome-config --libs glib libart` `glib-config --libs gmodule` -lgdk_pixbuf"
++GDK_PIXBUF_INCLUDEDIR="-I${includedir} `gnome-config --cflags glib libart` `$GLIB_CONFIG --cflags gmodule`"
++GDK_PIXBUF_LIBS="$LIBS `gnome-config --libs glib libart` `$GLIB_CONFIG --libs gmodule` -lgdk_pixbuf"
+
+
+
+--- Makefile.in.orig Tue Sep 28 13:54:53 1999
++++ Makefile.in Tue Oct 5 16:23:16 1999
+@@ -101,7 +101,7 @@
+ ZVT_LIBS = @ZVT_LIBS@
+
+ SUBDIRS = macros src
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = gdk_pixbufConf.sh
+
+ EXTRA_DIST = configure acconfig.h gdk_pixbufConf.sh.in
diff --git a/graphics/gdk-pixbuf/pkg-comment b/graphics/gdk-pixbuf/pkg-comment
new file mode 100644
index 000000000000..e5a8b45b1fea
--- /dev/null
+++ b/graphics/gdk-pixbuf/pkg-comment
@@ -0,0 +1 @@
+A graphic library for GNOME
diff --git a/graphics/gdk-pixbuf/pkg-descr b/graphics/gdk-pixbuf/pkg-descr
new file mode 100644
index 000000000000..0f8ad8a7f21f
--- /dev/null
+++ b/graphics/gdk-pixbuf/pkg-descr
@@ -0,0 +1,6 @@
+The GdkPixBuf library provides a number of features:
+
+ - Image loading facilities.
+ - Rendering of a GdkPixBuf into various formats:
+ drawables (windows, pixmaps), GdkRGB buffers.
+ - A cache interface
diff --git a/graphics/gdk-pixbuf/pkg-plist b/graphics/gdk-pixbuf/pkg-plist
new file mode 100644
index 000000000000..93b21d79a04a
--- /dev/null
+++ b/graphics/gdk-pixbuf/pkg-plist
@@ -0,0 +1,16 @@
+etc/gdk_pixbufConf.sh
+include/gdk-pixbuf/gdk-pixbuf-io.h
+include/gdk-pixbuf/gdk-pixbuf.h
+lib/gdk-pixbuf/loaders/libpixbuf-gif.so
+lib/gdk-pixbuf/loaders/libpixbuf-jpeg.so
+lib/gdk-pixbuf/loaders/libpixbuf-png.so
+lib/gdk-pixbuf/loaders/libpixbuf-tiff.so
+lib/gdk-pixbuf/loaders/libpixbuf-xpm.so
+lib/libgdk_pixbuf.a
+lib/libgdk_pixbuf.so
+lib/libgdk_pixbuf.so.0
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@dirrm include/gdk-pixbuf
+@dirrm lib/gdk-pixbuf/loaders
+@dirrm lib/gdk-pixbuf