summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-07-21 09:56:35 +0000
committerwiz <wiz@pkgsrc.org>2003-07-21 09:56:35 +0000
commit07b638a8fba3e48d7ed8fd8c10a5bf91e065c3b3 (patch)
tree40c5a4f3309a9330893683faba2f21525977c56b /graphics
parent822e7b1f7e620a4b165b56d206acd4cecdbdf5c8 (diff)
downloadpkgsrc-07b638a8fba3e48d7ed8fd8c10a5bf91e065c3b3.tar.gz
Initial import of libggigcp-0.8.2, requested by Christoph Egger.
LibGGIGCP is a generic color and palette management extension. It supports conversion between different color spaces such as RGBA, YUV, HSV, and CMYK. Furthermore it supports a generic color-blending, which can also be used for translucency effects.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libggigcp/DESCR4
-rw-r--r--graphics/libggigcp/Makefile28
-rw-r--r--graphics/libggigcp/PLIST15
-rw-r--r--graphics/libggigcp/distinfo7
-rw-r--r--graphics/libggigcp/patches/patch-aa13
-rw-r--r--graphics/libggigcp/patches/patch-ab13
-rw-r--r--graphics/libggigcp/patches/patch-ac13
7 files changed, 93 insertions, 0 deletions
diff --git a/graphics/libggigcp/DESCR b/graphics/libggigcp/DESCR
new file mode 100644
index 00000000000..8ce7ee62289
--- /dev/null
+++ b/graphics/libggigcp/DESCR
@@ -0,0 +1,4 @@
+LibGGIGCP is a generic color and palette management extension. It
+supports conversion between different color spaces such as RGBA,
+YUV, HSV, and CMYK. Furthermore it supports a generic color-blending,
+which can also be used for translucency effects.
diff --git a/graphics/libggigcp/Makefile b/graphics/libggigcp/Makefile
new file mode 100644
index 00000000000..8f6641789dd
--- /dev/null
+++ b/graphics/libggigcp/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+#
+
+DISTNAME= libggigcp-0.8.2.src
+PKGNAME= ${DISTNAME:S/.src//}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ggi/} \
+ ftp://ftp.ggi-project.org/pub/ggi/extensions/libgcp/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.ggi-project.org/packages/libggigcp.html
+COMMENT= Color management extension for GGI
+
+USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= yes
+
+PKG_SYSCONFSUBDIR= ggi
+EGDIR= ${PREFIX}/share/examples/libggigcp
+CONF_FILES= ${EGDIR}/libggigcp.conf ${PKG_SYSCONFDIR}/libggigcp.conf
+
+.include "../../graphics/libggi/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libggigcp/PLIST b/graphics/libggigcp/PLIST
new file mode 100644
index 00000000000..276f92c1c39
--- /dev/null
+++ b/graphics/libggigcp/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+include/ggi/gcp.h
+include/ggi/internal/gcp.h
+lib/ggi/gcp/default/color.a
+lib/ggi/gcp/default/color.la
+lib/ggi/gcp/default/color.so
+lib/libggigcp.a
+lib/libggigcp.la
+lib/libggigcp.so
+lib/libggigcp.so.0
+lib/libggigcp.so.0.8
+share/examples/libggigcp/libggigcp.conf
+@dirrm lib/ggi/gcp/default
+@dirrm lib/ggi/gcp
+@dirrm share/examples/libggigcp
diff --git a/graphics/libggigcp/distinfo b/graphics/libggigcp/distinfo
new file mode 100644
index 00000000000..1a6182a281d
--- /dev/null
+++ b/graphics/libggigcp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+
+SHA1 (libggigcp-0.8.2.src.tar.bz2) = 1319add16a48da4528b05bd478652b2c8cb4f714
+Size (libggigcp-0.8.2.src.tar.bz2) = 245574 bytes
+SHA1 (patch-aa) = 15d6c86cbfc0a3f9c45a3f82eb93b0eb46a8ecd1
+SHA1 (patch-ab) = 9a8bb0053cddba4ef01ae75f23f69df9b8959770
+SHA1 (patch-ac) = 7242cd7dd5095d61c0e1f40e5d14ea406a40d32f
diff --git a/graphics/libggigcp/patches/patch-aa b/graphics/libggigcp/patches/patch-aa
new file mode 100644
index 00000000000..137b45dd5fa
--- /dev/null
+++ b/graphics/libggigcp/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+
+--- Makefile.in.orig Mon Jul 21 08:29:45 2003
++++ Makefile.in
+@@ -99,7 +99,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign
+
+ SUBDIRS = include gcp default demos doc m4
+
+-ggiconfdatadir = $(sysconfdir)/$(ggi_subdir)
++ggiconfdatadir = $(datadir)/examples/libggigcp
+ ggiconfdata_DATA = libggigcp.conf
+
+ DISTCLEANFILES = libggigcp.conf
diff --git a/graphics/libggigcp/patches/patch-ab b/graphics/libggigcp/patches/patch-ab
new file mode 100644
index 00000000000..a99d18ccae7
--- /dev/null
+++ b/graphics/libggigcp/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+
+--- configure.orig Mon Jul 21 08:29:45 2003
++++ configure
+@@ -7824,7 +7824,7 @@ cat >>confdefs.h <<EOF
+ EOF
+
+ cat >>confdefs.h <<EOF
+-#define GCPCONFFILE "$PATHTAG$static_sysconfdir/$ggi_subdir/$gcp_conffile"
++#define GCPCONFFILE "$PATHTAG$static_sysconfdir/$gcp_conffile"
+ EOF
+
+ # Add the stamp file to the list of files AC keeps track of,
diff --git a/graphics/libggigcp/patches/patch-ac b/graphics/libggigcp/patches/patch-ac
new file mode 100644
index 00000000000..bf7cd9bdb5c
--- /dev/null
+++ b/graphics/libggigcp/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/07/21 09:56:35 wiz Exp $
+
+--- gcp/Makefile.in.orig Tue Dec 17 22:59:50 2002
++++ gcp/Makefile.in
+@@ -96,7 +96,7 @@ install_sh = @install_sh@
+ static_libdir = @static_libdir@
+ static_sysconfdir = @static_sysconfdir@
+ INCLUDES = -DBUILDING_LIBGCP -I$(top_srcdir)/include $(extra_includes)
+-libggigcp_la_LIBADD = -lggi -lgg
++libggigcp_la_LIBADD = -lggi -lgg -lm
+
+ lib_LTLIBRARIES = libggigcp.la
+