diff options
Diffstat (limited to 'graphics/babl')
-rw-r--r-- | graphics/babl/DESCR | 9 | ||||
-rw-r--r-- | graphics/babl/Makefile | 27 | ||||
-rw-r--r-- | graphics/babl/Makefile.version | 6 | ||||
-rw-r--r-- | graphics/babl/PLIST | 24 | ||||
-rw-r--r-- | graphics/babl/buildlink3.mk | 21 | ||||
-rw-r--r-- | graphics/babl/distinfo | 7 | ||||
-rw-r--r-- | graphics/babl/patches/patch-aa | 15 | ||||
-rw-r--r-- | graphics/babl/patches/patch-ab | 19 |
8 files changed, 128 insertions, 0 deletions
diff --git a/graphics/babl/DESCR b/graphics/babl/DESCR new file mode 100644 index 00000000000..90f19602d72 --- /dev/null +++ b/graphics/babl/DESCR @@ -0,0 +1,9 @@ +babl is a dynamic, any to any, pixel format translation library. + +It allows converting between different methods of storing pixels known +as pixel formats that have with different bitdepths and other data +representations, color models and component permutations. + +A vocabulary to formulate new pixel formats from existing primitives is +provided as well as the framework to add new color models and data +types. diff --git a/graphics/babl/Makefile b/graphics/babl/Makefile new file mode 100644 index 00000000000..fb2fab424e3 --- /dev/null +++ b/graphics/babl/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ +# + +DISTNAME= babl-${BABL_VERSION} +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.gimp.org/pub/babl/0.0/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= bjs@NetBSD.org +HOMEPAGE= http://gegl.org/babl/ +COMMENT= Dynamic pixel conversion library +### +### NOTE: to build documentation--which requires additional dependencies-- +### define BUILD_DOCS in MAKE_ENV. +### +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config gmake + +PKGCONFIG_OVERRIDE+= babl.pc.in + +.include "Makefile.version" + +.include "../../mk/dlopen.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/babl/Makefile.version b/graphics/babl/Makefile.version new file mode 100644 index 00000000000..04678de40c1 --- /dev/null +++ b/graphics/babl/Makefile.version @@ -0,0 +1,6 @@ +# $NetBSD: Makefile.version,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ +# + +BABL_API_VERSION= 0.0 +BABL_PKG_VERSION= 22 +BABL_VERSION= ${BABL_API_VERSION}.${BABL_PKG_VERSION} diff --git a/graphics/babl/PLIST b/graphics/babl/PLIST new file mode 100644 index 00000000000..056b94f5765 --- /dev/null +++ b/graphics/babl/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ +include/babl-0.0/babl/babl-component.h +include/babl-0.0/babl/babl-conversion.h +include/babl-0.0/babl/babl-extension.h +include/babl-0.0/babl/babl-fish.h +include/babl-0.0/babl/babl-format.h +include/babl-0.0/babl/babl-image.h +include/babl-0.0/babl/babl-model.h +include/babl-0.0/babl/babl-sampling.h +include/babl-0.0/babl/babl-type.h +include/babl-0.0/babl/babl-version.h +include/babl-0.0/babl/babl.h +lib/babl-0.0/CIE-Lab.so +lib/babl-0.0/gegl-fixups.so +lib/babl-0.0/gggl-lies.so +lib/babl-0.0/gggl.so +lib/babl-0.0/gimp-8bit.so +lib/babl-0.0/naive-CMYK.so +lib/babl-0.0/sse-fixups.so +lib/libbabl-0.0.la +lib/pkgconfig/babl.pc +@dirrm lib/babl-0.0 +@dirrm include/babl-0.0/babl +@dirrm include/babl-0.0 diff --git a/graphics/babl/buildlink3.mk b/graphics/babl/buildlink3.mk new file mode 100644 index 00000000000..b0d416ebe97 --- /dev/null +++ b/graphics/babl/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BABL_BUILDLINK3_MK:= ${BABL_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= babl +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbabl} +BUILDLINK_PACKAGES+= babl +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}babl + +.if ${BABL_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.babl+= babl>=0.0.22 +BUILDLINK_PKGSRCDIR.babl?= ../../graphics/babl +.endif # BABL_BUILDLINK3_MK + +.include "../../mk/dlopen.buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/babl/distinfo b/graphics/babl/distinfo new file mode 100644 index 00000000000..c6e413ed987 --- /dev/null +++ b/graphics/babl/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ + +SHA1 (babl-0.0.22.tar.bz2) = 9de50fb5833f41691f50f6e735d6422aad52ea94 +RMD160 (babl-0.0.22.tar.bz2) = a10c07e70f1fe8944a969bba46484acf410c2583 +Size (babl-0.0.22.tar.bz2) = 396413 bytes +SHA1 (patch-aa) = f9f29ca359160ca37193cab85c5ab794208e84b1 +SHA1 (patch-ab) = 1fc18c1767277f92c0c65a1e27a72e4636eb406b diff --git a/graphics/babl/patches/patch-aa b/graphics/babl/patches/patch-aa new file mode 100644 index 00000000000..ee5ead9c94d --- /dev/null +++ b/graphics/babl/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ + +Don't build the RSS changelog, as doing so requires Ruby. + +--- docs/Makefile.in.orig 2008-06-12 17:50:53.000000000 -0400 ++++ docs/Makefile.in +@@ -547,7 +547,7 @@ uninstall-info: uninstall-info-recursive + + .SILENT: + +-all: $(HTML_FILES) rss ++all: $(HTML_FILES) + + BablFishPath.html: $(babl_fish_path_dhtml) + echo -n "HTML:" diff --git a/graphics/babl/patches/patch-ab b/graphics/babl/patches/patch-ab new file mode 100644 index 00000000000..d94a34e3feb --- /dev/null +++ b/graphics/babl/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ + +Only build documentation if BUILD_DOCS is defined in MAKE_ENV. + +--- Makefile.am.orig 2008-06-12 17:05:58.000000000 -0400 ++++ Makefile.am +@@ -3,8 +3,11 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 + SUBDIRS = \ + babl \ + extensions \ +- tests \ ++ tests ++ifdef BUILD_DOCS ++SUBDIRS+= \ + docs ++endif + + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = babl.pc |