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 <tom@knienieder.com>
This commit is contained in:
reinhard 2000-12-26 12:52:18 +00:00
parent 62c0c5926d
commit 97a81261c6
9 changed files with 206 additions and 0 deletions

View File

@ -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 <tom@knienieder.com>
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 <bsd.port.mk>

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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;

View File

@ -0,0 +1 @@
replacement library for imlib

View File

@ -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}

View File

@ -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

View File

@ -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