libgegl0.1.0-shlibs stable port information

Package: libgegl0.1.0-shlibs
Version: 0.1.6
Revision: 2

Source: ftp://ftp.gimp.org/pub/gegl/0.1/gegl-%v.tar.bz2
Source-MD5: af5e5a7d3c7ddfaa2b3414de2a7e9113

BuildDepends: <<
asciidoc,
atk1 (>= 1.28.0-1),
autoconf2.6,
automake1.11,
cairo (>= 1.8.8-3),
fink (>= 0.28.0-1),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
glib2-dev (>= 2.22.0-1),
glitz,
graphviz,
gtk+2-dev (>= 2.18.0-1),
gtk-doc (>= 1.13-5),
intltool40,
libbabl0.1.0-dev (>= 0.1.4-1),
libgettext8-dev,
libjpeg8,
libopenraw1-dev (>= 0.0.8-2),
libpng14,
librsvg2 (>= 2.26.0-3),
libspiro0,
libtool2,
openexr-dev,
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.25),
x11-dev
<<
Depends: <<
cairo-shlibs (>= 1.8.8-3),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libbabl0.1.0-shlibs (>= 0.1.4-1),
libgettext8-shlibs,
libjpeg8-shlibs,
librsvg2-shlibs (>= 2.26.0-3),
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
GCC: 4.0

PatchFile: %n.patch
PatchFile-MD5: bc3cbd646c963ccd847d504dbc2e90f5

SetCPPFLAGS: -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/fontconfig2/lib
SetCFLAGS: -Os
ConfigureParams: --enable-dependency-tracking --disable-static --without-sdl --without-lua --build=%m-apple-darwin`uname -r|cut -f1 -d.` --host=%m-apple-darwin`uname -r|cut -f1 -d.` --disable-silent-rules --without-libavformat
CompileScript: <<
autoreconf -f -i
PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" ac_cv_path_W3M=no DSYMUTIL=: ./configure %c
touch docs/gallery/clones.png #this test fails
make
fink-package-precedence --prohibit-bdep=libgegl0.1.0-dev .
<<
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS COPYING* ChangeLog NEWS README

Shlibs: %p/lib/libgegl-0.1.0.dylib 106.0.0 %n (>= 0.1.6-1)

SplitOff: <<
Package: libgegl0.1.0-dev
Conflicts: libgegl0.0.0-dev
Replaces: libgegl0.0.0-shlibs (<< 0.0.22-4), libgegl0.0.0-dev
Depends: <<
%N (= %v-%r),
cairo-shlibs (>= 1.8.8-3),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libavcodec52-shlibs,
libavformat52-shlibs,
libavutil50-shlibs,
libbabl0.1.0-shlibs (>= 0.1.4-1),
libgettext8-shlibs,
libjpeg8-shlibs,
libopenraw1-shlibs (>= 0.0.8-2),
libpng14-shlibs,
librsvg2-shlibs (>= 2.26.0-3),
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
BuildDependsOnly: true
Files: <<
bin
include
lib/libgegl-0.1.{dylib,la}
lib/pkgconfig
share/gtk-doc
<<
DocFiles: AUTHORS COPYING* ChangeLog NEWS README
<<

DescPort: <<
Make sure modules link against dependencies and all symbols
get resolved.

Fix -I ordering. See:
http://bugzilla.gnome.org/show_bug.cgi?id=561317
<<
DescPackaging: <<
Build fails if .dSYM is created for plugins: docs/gallery
runs gegl, which recursively loads .so files. The foo.so in
foo.so.dSYM is not a "normal" dlopen()able bundle, so gegl
crashes. Could avoid using -g or could avoid running dsymutil.

Uses a subdir for the plugin interface version (of which
the lib itself has an interface subversion), so put the
plugins in a separate package. Not ideal to have the
plugins:Depends:shlibs (seems bad if libbabl0.0.1 loads
babl-0.0 plugins linked against libbabl0.0.0), but otherwise
consumers need to know to Depends on the plugins package.
Upstream does some pretty convoluted versioning, so we'll
just keep everything in -shlibs until it ceases to work.

Not building workshop, so don't need lua.

Expects to find bind_textdomain_codeset using gtk/glib flags,
so cannot use strict -lintl handling for glib .pc.

Uses libavutil directly but relies on inheriting its flags
from other libav* or something. Fragile, and some reported
failures, so make it explicit.

Fix gtk-doc install location. See:
https://bugzilla.gnome.org/show_bug.cgi?id=642494
<<
Description: Generic graph based-image processing lib
License: LGPL
Homepage: http://www.gegl.org
Maintainer: Daniel Macks

libgegl0.1.0-shlibs stable port .patch

diff -Nurd -x'*~' gegl-0.1.6.orig/configure.ac gegl-0.1.6/configure.ac
--- gegl-0.1.6.orig/configure.ac 2011-02-13 12:54:23.000000000 -0500
+++ gegl-0.1.6/configure.ac 2011-03-22 08:25:38.000000000 -0400
@@ -849,7 +849,7 @@
AC_ARG_WITH(libavformat, [ --without-libavformat build without libavformat support])

if test "x$with_libavformat" != xno; then
- PKG_CHECK_MODULES(AVFORMAT, libavformat libavcodec,
+ PKG_CHECK_MODULES(AVFORMAT, libavformat libavcodec libavutil,
have_libavformat="yes",
have_libavformat="no (libavformat not found)")
# verify the presence of the avformat.h header
diff -Nurd -x'*~' gegl-0.1.6.orig/docs/Makefile.am gegl-0.1.6/docs/Makefile.am
--- gegl-0.1.6.orig/docs/Makefile.am 2010-10-08 12:51:41.000000000 -0400
+++ gegl-0.1.6/docs/Makefile.am 2011-03-22 08:36:20.000000000 -0400
@@ -6,7 +6,7 @@
# is very small, and should probably be documented in a tutorial.
#

-gtkdochtmldir = $(DESTDIR)$(datadir)/gtk-doc/html/gegl
+gtkdochtmldir = $(datadir)/gtk-doc/html/gegl

HTML_FILES = \
operations.html \
diff -Nurd -x'*~' gegl-0.1.6.orig/operations/Makefile-common.am gegl-0.1.6/operations/Makefile-common.am
--- gegl-0.1.6.orig/operations/Makefile-common.am 2010-10-08 12:51:42.000000000 -0400
+++ gegl-0.1.6/operations/Makefile-common.am 2011-03-22 08:24:40.000000000 -0400
@@ -21,7 +21,7 @@
-I$(top_builddir)/gegl/module \
-I$(top_srcdir)/gegl/module

-AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
+AM_CPPFLAGS += $(DEP_CFLAGS) $(BABL_CFLAGS)

AM_LDFLAGS = -avoid-version -export-dynamic -module $(no_undefined)

libgegl0.1.0-shlibs _unstable_ port .patch