From 97a81261c61aab06bef67851c89300c7dab68c02 Mon Sep 17 00:00:00 2001 From: reinhard Date: Tue, 26 Dec 2000 12:52:18 +0000 Subject: [PATCH] The GdkPixbuf library is a replacement for Imlib. GdkPixbuf provides the following: a basic data structure to provide reference-counted images, functions to load images synchronously from disk or progressively from arbitrary data buffers, and convenience functions to transform pixbufs and render them to drawables. From: Tom Knienieder --- graphics/gdk-pixbuf/Makefile | 34 ++++++++++ graphics/gdk-pixbuf/files/md5 | 3 + .../gdk-pixbuf/patches/patch-doc_Makefile_an | 11 ++++ .../gdk-pixbuf/patches/patch-doc_Makefile_in | 11 ++++ graphics/gdk-pixbuf/patches/patch-io_jpeg | 11 ++++ graphics/gdk-pixbuf/pkg/COMMENT | 1 + graphics/gdk-pixbuf/pkg/DESCR | 7 ++ graphics/gdk-pixbuf/pkg/PLIST | 65 +++++++++++++++++++ graphics/gdk-pixbuf/pkg/PLIST.noshared | 63 ++++++++++++++++++ 9 files changed, 206 insertions(+) create mode 100644 graphics/gdk-pixbuf/Makefile create mode 100644 graphics/gdk-pixbuf/files/md5 create mode 100644 graphics/gdk-pixbuf/patches/patch-doc_Makefile_an create mode 100644 graphics/gdk-pixbuf/patches/patch-doc_Makefile_in create mode 100644 graphics/gdk-pixbuf/patches/patch-io_jpeg create mode 100644 graphics/gdk-pixbuf/pkg/COMMENT create mode 100644 graphics/gdk-pixbuf/pkg/DESCR create mode 100644 graphics/gdk-pixbuf/pkg/PLIST create mode 100644 graphics/gdk-pixbuf/pkg/PLIST.noshared diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile new file mode 100644 index 00000000000..dac114d4934 --- /dev/null +++ b/graphics/gdk-pixbuf/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/12/26 12:52:18 reinhard Exp $ + +DISTNAME= gdk-pixbuf-0.9.0 +CATEGORIES= graphics +NEED_VERSION= 1.346 +MASTER_SITES= ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/ + +HOMEPAGE= http://developer.gnome.org/arch/imaging/gdkpixbuf.html + +LIB_DEPENDS= png.1::graphics/png \ + jpeg.62::graphics/jpeg \ + tiff.35.::graphics/tiff \ + gtk.1.2::x11/gtk+ + +MAINTAINER= Tom Knienieder + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +SEPARATE_BUILD= concurrent +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +CONFIGURE_ARGS+= --enable-static +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +pre-patch: + @find ${WRKSRC} -name "Makefile.in" | xargs perl -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g' + +.include diff --git a/graphics/gdk-pixbuf/files/md5 b/graphics/gdk-pixbuf/files/md5 new file mode 100644 index 00000000000..0f5daf9530d --- /dev/null +++ b/graphics/gdk-pixbuf/files/md5 @@ -0,0 +1,3 @@ +MD5 (gdk-pixbuf-0.9.0.tar.gz) = 7cdb44cfc573fb492f203fdf1d69908c +RMD160 (gdk-pixbuf-0.9.0.tar.gz) = 80c64d4adf1e3169c1dac74db8c68370b96cec22 +SHA1 (gdk-pixbuf-0.9.0.tar.gz) = 38f0bf801d85a3c7ac5adac54e32fad4233bca21 diff --git a/graphics/gdk-pixbuf/patches/patch-doc_Makefile_an b/graphics/gdk-pixbuf/patches/patch-doc_Makefile_an new file mode 100644 index 00000000000..528d627696a --- /dev/null +++ b/graphics/gdk-pixbuf/patches/patch-doc_Makefile_an @@ -0,0 +1,11 @@ +--- doc/Makefile.am.orig Mon Dec 25 17:00:21 2000 ++++ doc/Makefile.am Mon Dec 25 17:00:32 2000 +@@ -97,8 +97,6 @@ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ +- echo '-- Installing $(srcdir)/html/index.sgml' ; \ +- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ + echo '-- Fixing Crossreferences' ; \ + gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)|| true; \ + fi) diff --git a/graphics/gdk-pixbuf/patches/patch-doc_Makefile_in b/graphics/gdk-pixbuf/patches/patch-doc_Makefile_in new file mode 100644 index 00000000000..4d079ebc232 --- /dev/null +++ b/graphics/gdk-pixbuf/patches/patch-doc_Makefile_in @@ -0,0 +1,11 @@ +--- doc/Makefile.in.orig Mon Dec 25 17:11:10 2000 ++++ doc/Makefile.in Mon Dec 25 17:11:24 2000 +@@ -300,8 +300,6 @@ install-data-local: + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ +- echo '-- Installing $(srcdir)/html/index.sgml' ; \ +- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ + echo '-- Fixing Crossreferences' ; \ + gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)|| true; \ + fi) diff --git a/graphics/gdk-pixbuf/patches/patch-io_jpeg b/graphics/gdk-pixbuf/patches/patch-io_jpeg new file mode 100644 index 00000000000..cf933087a46 --- /dev/null +++ b/graphics/gdk-pixbuf/patches/patch-io_jpeg @@ -0,0 +1,11 @@ +--- gdk-pixbuf/io-jpeg.c.orig Mon Dec 25 18:46:57 2000 ++++ gdk-pixbuf/io-jpeg.c Mon Dec 25 18:47:09 2000 +@@ -308,7 +308,7 @@ gdk_pixbuf__jpeg_image_begin_load (Modul + src->pub.init_source = init_source; + src->pub.fill_input_buffer = fill_input_buffer; + src->pub.skip_input_data = skip_input_data; +- src->pub.resync_to_restart = jpeg_resync_to_restart; ++ src->pub.resync_to_restart = NULL; + src->pub.term_source = term_source; + src->pub.bytes_in_buffer = 0; + src->pub.next_input_byte = NULL; diff --git a/graphics/gdk-pixbuf/pkg/COMMENT b/graphics/gdk-pixbuf/pkg/COMMENT new file mode 100644 index 00000000000..93f2942d5d8 --- /dev/null +++ b/graphics/gdk-pixbuf/pkg/COMMENT @@ -0,0 +1 @@ +replacement library for imlib diff --git a/graphics/gdk-pixbuf/pkg/DESCR b/graphics/gdk-pixbuf/pkg/DESCR new file mode 100644 index 00000000000..b17bd0568b9 --- /dev/null +++ b/graphics/gdk-pixbuf/pkg/DESCR @@ -0,0 +1,7 @@ +The GdkPixbuf library is a replacement for Imlib. GdkPixbuf provides +the following: a basic data structure to provide reference-counted images, +functions to load images synchronously from disk or progressively from +arbitrary data buffers, and convenience functions to transform pixbufs +and render them to drawables. + +WWW: ${HOMEPAGE} diff --git a/graphics/gdk-pixbuf/pkg/PLIST b/graphics/gdk-pixbuf/pkg/PLIST new file mode 100644 index 00000000000..6b9feaadb04 --- /dev/null +++ b/graphics/gdk-pixbuf/pkg/PLIST @@ -0,0 +1,65 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/26 12:52:18 reinhard Exp $ +bin/gdk-pixbuf-config +include/gdk-pixbuf/gdk-pixbuf-features.h +include/gdk-pixbuf/gdk-pixbuf-loader.h +include/gdk-pixbuf/gdk-pixbuf-xlib.h +include/gdk-pixbuf/gdk-pixbuf-xlibrgb.h +include/gdk-pixbuf/gdk-pixbuf.h +lib/gdk_pixbufConf.sh +lib/gdk_pixbuf_xlibConf.sh +lib/gnomecanvaspixbufConf.sh +lib/libgdk_pixbuf.a +lib/libgdk_pixbuf.la +lib/libgdk_pixbuf_xlib.a +lib/libgdk_pixbuf_xlib.la +lib/libgdk_pixbuf.so.2.0 +lib/libgdk_pixbuf_xlib.so.2.0 +share/aclocal/gdk-pixbuf.m4 +share/html/gdk-pixbuf-decl.txt +share/html/gdk-pixbuf-sections.txt +share/html/gdk-pixbuf.hierarchy +share/html/gdk-pixbuf.html +share/html/gdk-pixbuf.types +share/html/gdk-pixbuf/a2605.html +share/html/gdk-pixbuf/a3640.html +share/html/gdk-pixbuf/a3652.html +share/html/gdk-pixbuf/a3694.html +share/html/gdk-pixbuf/a3716.html +share/html/gdk-pixbuf/book1.html +share/html/gdk-pixbuf/compiling.html +share/html/gdk-pixbuf/extra-configuration-options.html +share/html/gdk-pixbuf/gdk-pixbuf-animation.html +share/html/gdk-pixbuf/gdk-pixbuf-creating.html +share/html/gdk-pixbuf/gdk-pixbuf-file-loading.html +share/html/gdk-pixbuf/gdk-pixbuf-from-drawables.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-from-drawables.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-init.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-rendering.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-rgb.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html +share/html/gdk-pixbuf/gdk-pixbuf-refcounting.html +share/html/gdk-pixbuf/gdk-pixbuf-rendering.html +share/html/gdk-pixbuf/gdk-pixbuf-scaling.html +share/html/gdk-pixbuf/gdk-pixbuf-util.html +share/html/gdk-pixbuf/gdkpixbufloader.html +share/html/gdk-pixbuf/gnomecanvaspixbuf.html +share/html/gdk-pixbuf/index.html +share/html/gdk-pixbuf/license.html +share/html/gdk-pixbuf/r15.html +share/html/gdk-pixbuf/r27.html +share/html/gdk-pixbuf/x2624.html +share/html/gdk-pixbuf/x2676.html +share/html/gdk-pixbuf/x3659.html +share/html/gdk-pixbuf/x3671.html +share/html/gdk-pixbuf/x3711.html +share/html/gdk-pixbuf/x3713.html +share/html/gdk-pixbuf/x3723.html +share/html/gdk-pixbuf/x3735.html +share/html/gdk-pixbuf/x3765.html +share/html/gdk-pixbuf/x3787.html +@dirrm share/html/gdk-pixbuf +@dirrm share/html +@exec mkdir -p %D/lib/gdk-pixbuf/loaders +@dirrm lib/gdk-pixbuf/loaders +@dirrm lib/gdk-pixbuf +@dirrm include/gdk-pixbuf diff --git a/graphics/gdk-pixbuf/pkg/PLIST.noshared b/graphics/gdk-pixbuf/pkg/PLIST.noshared new file mode 100644 index 00000000000..ea5b53c5d15 --- /dev/null +++ b/graphics/gdk-pixbuf/pkg/PLIST.noshared @@ -0,0 +1,63 @@ +@comment $OpenBSD: PLIST.noshared,v 1.1.1.1 2000/12/26 12:52:19 reinhard Exp $ +bin/gdk-pixbuf-config +include/gdk-pixbuf/gdk-pixbuf-features.h +include/gdk-pixbuf/gdk-pixbuf-loader.h +include/gdk-pixbuf/gdk-pixbuf-xlib.h +include/gdk-pixbuf/gdk-pixbuf-xlibrgb.h +include/gdk-pixbuf/gdk-pixbuf.h +lib/gdk_pixbufConf.sh +lib/gdk_pixbuf_xlibConf.sh +lib/gnomecanvaspixbufConf.sh +lib/libgdk_pixbuf.a +lib/libgdk_pixbuf.la +lib/libgdk_pixbuf_xlib.a +lib/libgdk_pixbuf_xlib.la +share/aclocal/gdk-pixbuf.m4 +share/html/gdk-pixbuf-decl.txt +share/html/gdk-pixbuf-sections.txt +share/html/gdk-pixbuf.hierarchy +share/html/gdk-pixbuf.html +share/html/gdk-pixbuf.types +share/html/gdk-pixbuf/a2605.html +share/html/gdk-pixbuf/a3640.html +share/html/gdk-pixbuf/a3652.html +share/html/gdk-pixbuf/a3694.html +share/html/gdk-pixbuf/a3716.html +share/html/gdk-pixbuf/book1.html +share/html/gdk-pixbuf/compiling.html +share/html/gdk-pixbuf/extra-configuration-options.html +share/html/gdk-pixbuf/gdk-pixbuf-animation.html +share/html/gdk-pixbuf/gdk-pixbuf-creating.html +share/html/gdk-pixbuf/gdk-pixbuf-file-loading.html +share/html/gdk-pixbuf/gdk-pixbuf-from-drawables.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-from-drawables.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-init.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-rendering.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-rgb.html +share/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html +share/html/gdk-pixbuf/gdk-pixbuf-refcounting.html +share/html/gdk-pixbuf/gdk-pixbuf-rendering.html +share/html/gdk-pixbuf/gdk-pixbuf-scaling.html +share/html/gdk-pixbuf/gdk-pixbuf-util.html +share/html/gdk-pixbuf/gdkpixbufloader.html +share/html/gdk-pixbuf/gnomecanvaspixbuf.html +share/html/gdk-pixbuf/index.html +share/html/gdk-pixbuf/license.html +share/html/gdk-pixbuf/r15.html +share/html/gdk-pixbuf/r27.html +share/html/gdk-pixbuf/x2624.html +share/html/gdk-pixbuf/x2676.html +share/html/gdk-pixbuf/x3659.html +share/html/gdk-pixbuf/x3671.html +share/html/gdk-pixbuf/x3711.html +share/html/gdk-pixbuf/x3713.html +share/html/gdk-pixbuf/x3723.html +share/html/gdk-pixbuf/x3735.html +share/html/gdk-pixbuf/x3765.html +share/html/gdk-pixbuf/x3787.html +@dirrm share/html/gdk-pixbuf +@dirrm share/html +@exec mkdir -p %D/lib/gdk-pixbuf/loaders +@dirrm lib/gdk-pixbuf/loaders +@dirrm lib/gdk-pixbuf +@dirrm include/gdk-pixbuf