PR: ports/14303

Submitted by:Ade Lovett <ade@lovett.com>
Initial import.
New graphics library for GNOME. (Imlib replacement.)
This commit is contained in:
Yukihiro Nakai 1999-10-14 05:00:15 +00:00
parent c2f7c42fc3
commit 6d7f4a4423
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22421
6 changed files with 97 additions and 0 deletions

View File

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

View File

@ -0,0 +1 @@
MD5 (gdk-pixbuf-0.2.tar.gz) = d8d17d81a42494b9467e4ed292b65b49

View File

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

View File

@ -0,0 +1 @@
A graphic library for GNOME

View File

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

View File

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