the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libgdl-1.3-shlibs
Version: 2.28.2
Revision: 2
Source: mirror:gnome:sources/gdl/2.28/gdl-%v.tar.bz2
Source-MD5: 8070b7effb3ca80e7f4f0c90924f6718
SourceRename: libgdl-%v.tar.bz2
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libgettext8-shlibs,
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
SourceDirectory: gdl-%v
BuildDepends: <<
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
fink (>= 0.24.12),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gettext-tools,
glib2-dev (>= 2.22.0-1),
glitz,
gtk+2-dev (>= 2.18.0-1),
gtk-doc (>= 1.13-5),
intltool40,
libgettext8-dev,
libiconv-dev,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
x11-dev
<<
PatchFile: %n.patch
PatchFile-MD5: a6d2838130beb1cac38a0f483f09fa5d
PatchScript: <<
%{default_script}
perl -pi -e 's,^(uidir =.*)/gdl/(.*),\1/libgdl-1.3/\2,' gdl/Makefile.in
perl -pi -e 's,^(gdl_images_dir=.*)/gdl/(.*),\1/libgdl-1.3/\2,' configure
perl -pi -e 's/(GETTEXT_PACKAGE=)gdl-1/\1libgdl-1.3/' configure
<<
ConfigureParams: --enable-dependency-tracking PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" --libdir=%p/lib/libgdl
CompileScript: <<
./configure %c
make
fink-package-precedence --prohibit-bdep %n .
<<
InstallScript: <<
make install DESTDIR=%d pkgconfigdir=%p/lib/pkgconfig
ln -s libgdl/libgdl-1.{dylib,la} %i/lib
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po MAINTAINERS NEWS README
Shlibs: <<
%p/lib/libgdl/libgdl-1.3.dylib 4.0.0 %n (>= 2.28.2-1)
<<
SplitOff: <<
Package: libgdl-1.3-dev
Depends: %N (= %v-%r)
BuildDependsOnly: true
Conflicts: libgdl1.0, libgdl-1.0
Replaces: libgdl1.0, libgdl-1.0, libgdl-1.3-shlibs (<< 2.28.2-2)
Files: <<
lib/libgdl/libgdl-1.{dylib,la}
lib/libgdl-1.{dylib,la}
lib/pkgconfig
include
share/gtk-doc
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po MAINTAINERS NEWS README
<<
DescPort: <<
Recent glib doesn't publish -lintl, so pass it directly.
<<
DescPackaging: <<
Rename package and tarball to libgdl because fink has a pre-existing
and seemingly-unrelated "gdl" package
Rename runtime support files directory and gettext message catalogs
to match install_name versioning so they can be in -shlibs and not
conflict with different-libversion packages.
Sometime between fink's old 0.7 packaging and modern 2.24, the
public gdl-gnome shared library was dropped. To maintain
compatibility with other packages that use it, we rename from
libgdl1.0 to libgdl-1.0 and change the install_name so can
keep "old" dual-library pkg installed and also install "new".
Now we keep that new pkg-naming/file-layout scheme.
Clean up .pc Requires: don't need entries that are not
#included by public .h to avoid publishing useless and hidden
InheritedBuildDepends.
lib/libgdl-1.{dylib,la} was accidentally in libgdl-1.3-shlibs
instead of libgdl-1.3-dev in its 2.28.2-1 release.
<<
Description: Gnome Devtool Libraries
DescDetail: <<
This package contains components and libraries that are intended to be
shared between GNOME development tools, including gnome-debug,
gnome-build, and anjuta2.
The current pieces of GDL include:
- A symbol browser bonobo component (symbol-browser-control).
- A docking widget (gdl).
- A utility library that also contains the stubs and skels for
the symbol browser and text editor components (gdl, idl).
<<
License: LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/
diff -Nurd -x'*~' gdl-2.28.2.orig/gdl/Makefile.in gdl-2.28.2/gdl/Makefile.in
--- gdl-2.28.2.orig/gdl/Makefile.in 2009-11-24 11:08:17.000000000 -0500
+++ gdl-2.28.2/gdl/Makefile.in 2010-04-23 09:03:02.000000000 -0400
@@ -339,7 +339,7 @@
libgdl_1_la_LIBADD = \
$(GDL_DEPENDENCIES_LIBS) \
- $(XML_LIBS)
+ $(XML_LIBS) $(INTLLIBS)
libgdl_1_la_LDFLAGS = $(EXTRA_LDFLAGS) \
-version-info $(GDL_CURRENT):$(GDL_REVISION):$(GDL_AGE)
diff -Nurd -x'*~' gdl-2.28.2.orig/gdl-1.0.pc.in gdl-2.28.2/gdl-1.0.pc.in
--- gdl-2.28.2.orig/gdl-1.0.pc.in 2009-09-21 17:00:02.000000000 -0400
+++ gdl-2.28.2/gdl-1.0.pc.in 2010-04-23 09:21:29.000000000 -0400
@@ -8,6 +8,6 @@
Name: gdl
Description: Gnome DevTool Libraries
Version: @VERSION@
-Requires: gtk+-2.0 libxml-2.0
+Requires: gtk+-2.0
Libs: -L${libdir} -lgdl-1
Cflags: -I${includedir}