summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-04 13:13:16 +0000
committeragc <agc@pkgsrc.org>1998-09-04 13:13:16 +0000
commitddc354a7d928faa238b778dbbad9040520ac3ff1 (patch)
tree5de401224644948555e9844c68780086eeeb4694 /graphics/imlib
parent7b222185cbd15a8f2366dcce964ef41b5907f388 (diff)
downloadpkgsrc-ddc354a7d928faa238b778dbbad9040520ac3ff1.tar.gz
Add imlib-1.7, an image manipulation library for X11, to the NetBSD
packages collection.
Diffstat (limited to 'graphics/imlib')
-rw-r--r--graphics/imlib/Makefile26
-rw-r--r--graphics/imlib/files/md53
-rw-r--r--graphics/imlib/patches/patch-aa22
-rw-r--r--graphics/imlib/patches/patch-ab16
-rw-r--r--graphics/imlib/pkg/COMMENT1
-rw-r--r--graphics/imlib/pkg/DESCR3
-rw-r--r--graphics/imlib/pkg/PLIST15
7 files changed, 86 insertions, 0 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
new file mode 100644
index 00000000000..40fd50b9172
--- /dev/null
+++ b/graphics/imlib/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 1998/09/04 13:13:16 agc Exp $
+#
+
+DISTNAME= imlib-1.7
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.labs.redhat.com/pub/imlib/TAR/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.labs.redhat.com/imlib/
+
+DEPENDS+= gtk+-1.1.1:../../x11/gtk
+DEPENDS+= tiff-3.4:../../graphics/tiff
+DEPENDS+= jpeg-6b:../../graphics/jpeg
+DEPENDS+= png-1.0.2:../../graphics/png
+DEPENDS+= giflib-3.0:../../graphics/giflib
+
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
+CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include -I${LOCALBASE}/include/giflib'
+
+WRKSRC= ${WRKDIR}/imlib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/imlib/files/md5 b/graphics/imlib/files/md5
new file mode 100644
index 00000000000..c71fca10a31
--- /dev/null
+++ b/graphics/imlib/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/09/04 13:13:17 agc Exp $
+
+MD5 (imlib-1.7.tar.gz) = 37b52a18ed25d195d00d77bbf127c18e
diff --git a/graphics/imlib/patches/patch-aa b/graphics/imlib/patches/patch-aa
new file mode 100644
index 00000000000..1a9b54fcac0
--- /dev/null
+++ b/graphics/imlib/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 1998/09/04 13:13:17 agc Exp $
+
+Use NetBSD's libtool
+
+--- configure.orig Tue Sep 1 16:50:33 1998
++++ configure Tue Sep 1 16:51:04 1998
+@@ -1209,6 +1209,7 @@
+ fi
+
+ # Always use our own libtool.
++if false; then
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+ # Check for any special flags to pass to ltconfig.
+@@ -1253,6 +1254,7 @@
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
diff --git a/graphics/imlib/patches/patch-ab b/graphics/imlib/patches/patch-ab
new file mode 100644
index 00000000000..57091a06c9b
--- /dev/null
+++ b/graphics/imlib/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 1998/09/04 13:13:17 agc Exp $
+
+Try as I might, passing things through the environment, this always
+ends up like this...
+
+--- Makefile.in 1998/09/01 17:14:00 1.1
++++ Makefile.in 1998/09/01 17:14:54
+@@ -48,7 +48,7 @@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
+ transform = @program_transform_name@
+
+ NORMAL_INSTALL = :
diff --git a/graphics/imlib/pkg/COMMENT b/graphics/imlib/pkg/COMMENT
new file mode 100644
index 00000000000..c0cbb034d4d
--- /dev/null
+++ b/graphics/imlib/pkg/COMMENT
@@ -0,0 +1 @@
+an image manipulation library for X11.
diff --git a/graphics/imlib/pkg/DESCR b/graphics/imlib/pkg/DESCR
new file mode 100644
index 00000000000..0af3dad3e52
--- /dev/null
+++ b/graphics/imlib/pkg/DESCR
@@ -0,0 +1,3 @@
+Imlib is an advanced replacement library for libraries like libXpm
+that provides many more features with much greater flexibility and
+speed.
diff --git a/graphics/imlib/pkg/PLIST b/graphics/imlib/pkg/PLIST
new file mode 100644
index 00000000000..a27e463d4b0
--- /dev/null
+++ b/graphics/imlib/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 1998/09/04 13:13:18 agc Exp $
+bin/imlib_config
+bin/imlib-config
+etc/imrc
+etc/im_palette.pal
+include/gdk_imlib.h
+include/gdk_imlib_private.h
+include/gdk_imlib_types.h
+include/Imlib.h
+include/Imlib_private.h
+include/Imlib_types.h
+lib/libgdk_imlib.a
+lib/libgdk_imlib.so.8.0
+lib/libImlib.so.8.0
+lib/libImlib.a