Update to 0.1.0: Support for RGBA representation in the frequency domain, un-pre-multiply close-to-zero alpha values to complete black instead of slightly brighter than black, add a BABL_ALPHA_THRESHOLD constant to the API, do a complete overhaul of the babl API and do some changes to increase portability of the library.diff -r1.2 -r1.3 pkgsrc/graphics/babl/Makefile
(wiz)
@@ -1,23 +1,25 @@ | @@ -1,23 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2009/01/28 13:02:49 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2009/06/10 09:19:49 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= babl-${BABL_VERSION} | 3 | DISTNAME= babl-${BABL_VERSION} | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= ftp://ftp.gimp.org/pub/babl/0.0/ | 5 | MASTER_SITES= ftp://ftp.gimp.org/pub/babl/0.0/ | |
6 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
7 | 7 | |||
8 | MAINTAINER= bjs@NetBSD.org | 8 | MAINTAINER= bjs@NetBSD.org | |
9 | HOMEPAGE= http://gegl.org/babl/ | 9 | HOMEPAGE= http://gegl.org/babl/ | |
10 | COMMENT= Dynamic pixel conversion library | 10 | COMMENT= Dynamic pixel conversion library | |
11 | LICENSE= gnu-lgpl-v3 | |||
12 | ||||
11 | ### | 13 | ### | |
12 | ### NOTE: to build documentation--which requires additional dependencies-- | 14 | ### NOTE: to build documentation--which requires additional dependencies-- | |
13 | ### define BUILD_DOCS in MAKE_ENV. | 15 | ### define BUILD_DOCS in MAKE_ENV. | |
14 | ### | 16 | ### | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 18 | |||
17 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
18 | USE_LIBTOOL= yes | 20 | USE_LIBTOOL= yes | |
19 | USE_TOOLS+= pkg-config gmake | 21 | USE_TOOLS+= pkg-config gmake | |
20 | 22 | |||
21 | PKGCONFIG_OVERRIDE+= babl.pc.in | 23 | PKGCONFIG_OVERRIDE+= babl.pc.in | |
22 | 24 | |||
23 | .include "Makefile.version" | 25 | .include "Makefile.version" |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2009/01/28 13:02:49 tron Exp $ | 1 | $NetBSD: distinfo,v 1.3 2009/06/10 09:19:49 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (babl-0.0.22.tar.bz2) = 9de50fb5833f41691f50f6e735d6422aad52ea94 | 3 | SHA1 (babl-0.1.0.tar.bz2) = 6e95e24c48b8018fefbf8e69ad62f4a4de56640c | |
4 | RMD160 (babl-0.0.22.tar.bz2) = a10c07e70f1fe8944a969bba46484acf410c2583 | 4 | RMD160 (babl-0.1.0.tar.bz2) = 7bf933eacd9654ea20e639394fc7481bc918f79b | |
5 | Size (babl-0.0.22.tar.bz2) = 396413 bytes | 5 | Size (babl-0.1.0.tar.bz2) = 406488 bytes | |
6 | SHA1 (patch-aa) = f9f29ca359160ca37193cab85c5ab794208e84b1 | 6 | SHA1 (patch-aa) = f9f29ca359160ca37193cab85c5ab794208e84b1 | |
7 | SHA1 (patch-ab) = 1fc18c1767277f92c0c65a1e27a72e4636eb406b | 7 | SHA1 (patch-ab) = 1fc18c1767277f92c0c65a1e27a72e4636eb406b | |
8 | SHA1 (patch-ac) = ab520d63cc602790a818aa9b5d8d3c1995d444ac | 8 | SHA1 (patch-ac) = f4a19fdd85c735ce8579aa4da20f1102366e747c | |
9 | SHA1 (patch-ad) = e80215f859a5049e0f5aba7c4829ee1cf9d7689b |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | # $NetBSD: Makefile.version,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ | 1 | # $NetBSD: Makefile.version,v 1.2 2009/06/10 09:19:49 wiz Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | BABL_API_VERSION= 0.0 | 4 | BABL_API_VERSION= 0.1 | |
5 | BABL_PKG_VERSION= 22 | 5 | BABL_PKG_VERSION= 0 | |
6 | BABL_VERSION= ${BABL_API_VERSION}.${BABL_PKG_VERSION} | 6 | BABL_VERSION= ${BABL_API_VERSION}.${BABL_PKG_VERSION} |
@@ -1,24 +1,17 @@ | @@ -1,24 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2009/06/10 09:19:49 wiz Exp $ | |
2 | include/babl-0.0/babl/babl-component.h | 2 | include/babl-0.0/babl/babl-macros.h | |
3 | include/babl-0.0/babl/babl-conversion.h | 3 | include/babl-0.0/babl/babl-types.h | |
4 | include/babl-0.0/babl/babl-extension.h | |||
5 | include/babl-0.0/babl/babl-fish.h | |||
6 | include/babl-0.0/babl/babl-format.h | |||
7 | include/babl-0.0/babl/babl-image.h | |||
8 | include/babl-0.0/babl/babl-model.h | |||
9 | include/babl-0.0/babl/babl-sampling.h | |||
10 | include/babl-0.0/babl/babl-type.h | |||
11 | include/babl-0.0/babl/babl-version.h | 4 | include/babl-0.0/babl/babl-version.h | |
12 | include/babl-0.0/babl/babl.h | 5 | include/babl-0.0/babl/babl.h | |
13 | lib/babl-0.0/CIE-Lab.so | 6 | lib/babl-0.0/CIE-Lab.la | |
14 | lib/babl-0.0/gegl-fixups.so | 7 | lib/babl-0.0/gegl-fixups.la | |
15 | lib/babl-0.0/gggl-lies.so | 8 | lib/babl-0.0/gggl-lies.la | |
16 | lib/babl-0.0/gggl.so | 9 | lib/babl-0.0/gggl.la | |
17 | lib/babl-0.0/gimp-8bit.so | 10 | lib/babl-0.0/gimp-8bit.la | |
18 | lib/babl-0.0/naive-CMYK.so | 11 | lib/babl-0.0/naive-CMYK.la | |
19 | lib/babl-0.0/sse-fixups.so | 12 | lib/babl-0.0/sse-fixups.la | |
20 | lib/libbabl-0.0.la | 13 | lib/libbabl-0.0.la | |
21 | lib/pkgconfig/babl.pc | 14 | lib/pkgconfig/babl.pc | |
22 | @dirrm lib/babl-0.0 | 15 | @dirrm lib/babl-0.0 | |
23 | @dirrm include/babl-0.0/babl | 16 | @dirrm include/babl-0.0/babl | |
24 | @dirrm include/babl-0.0 | 17 | @dirrm include/babl-0.0 |
@@ -1,15 +1,13 @@ | @@ -1,15 +1,13 @@ | |||
1 | $NetBSD: patch-ac,v 1.1 2009/01/28 13:02:49 tron Exp $ | 1 | $NetBSD: patch-ac,v 1.2 2009/06/10 09:19:49 wiz Exp $ | |
2 | 2 | |||
3 | Mac OS X build fix, taken from: | 3 | --- extensions/Makefile.am.orig 2009-04-17 17:05:15.000000000 +0000 | |
4 | http://svn.gnome.org/viewvc/babl/trunk/babl/babl-cpuaccel.c?r1=316&r2=347 | 4 | +++ extensions/Makefile.am | |
5 | 5 | @@ -12,7 +12,7 @@ AM_CPPFLAGS = \ | ||
6 | --- babl/babl-cpuaccel.c.orig 2008-05-23 15:37:21.000000000 +0100 | 6 | -I$(top_srcdir)/babl \ | |
7 | +++ babl/babl-cpuaccel.c 2009-01-25 15:13:14.000000000 +0000 | 7 | -I$(top_srcdir)/extensions | |
8 | @@ -39,6 +39,7 @@ | 8 | ||
9 | typedef unsigned int guint32; | 9 | -extdir = $(DESTDIR)$(libdir)/babl-@BABL_API_VERSION@ | |
10 | typedef int gint; | 10 | +extdir = $(libdir)/babl-@BABL_API_VERSION@ | |
11 | typedef char gchar; | 11 | ext_LTLIBRARIES = \ | |
12 | +typedef size_t gsize; | 12 | CIE-Lab.la \ | |
13 | #define TRUE 1 | 13 | gegl-fixups.la \ | |
14 | #define FALSE 0 | |||
15 | #define G_GNUC_CONST |
$NetBSD: patch-ad,v 1.1 2009/06/10 09:19:49 wiz Exp $
--- extensions/Makefile.in.orig 2009-05-20 20:42:51.000000000 +0000
+++ extensions/Makefile.in
@@ -242,7 +242,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/babl \
-I$(top_srcdir)/extensions
-extdir = $(DESTDIR)$(libdir)/babl-@BABL_API_VERSION@
+extdir = $(libdir)/babl-@BABL_API_VERSION@
ext_LTLIBRARIES = \
CIE-Lab.la \
gegl-fixups.la \