libgsf-bin stable port information

Package: libgsf-bin
Version: 1.14.21
Revision: 1

Depends: <<
libgsf1.114-shlibs (= %v-%r),
bzip2-shlibs,
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libgettext8-shlibs,
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.17-2)
<<
BuildDepends: <<
bzip2-dev,
fink (>= 0.24.12),
fink-package-precedence,
gconf2-dev (>= 2.28.0-1),
gettext-tools,
glib2-dev (>= 2.22.0-1),
gtk-doc (>= 1.13-5),
intltool40,
libbonobo2-dev (>= 2.24.2-1),
libgettext8-dev,
libiconv-dev,
libxml2 (>= 2.6.30-1),
orbit2-dev (>= 2.14.17-2),
pkgconfig (>= 0.23),
popt
<<

Source: mirror:gnome:sources/libgsf/1.14/libgsf-%v.tar.bz2
Source-MD5: 2b702648b853402554c97d75405c60d3

PatchFile: %n.patch
PatchFile-MD5: f55b08c94e0b7b4461c75c741ac19a18
PatchScript: <<
%{default_script}
perl -pi -e 's/^(GETTEXT_PACKAGE=.*)/\1-1.114/' configure
perl -pi -e 's/-version-info/-no-undefined -version-info/' gsf/Makefile.in gsf-gnome/Makefile.in
<<
SetCFLAGS: -Os
ConfigureParams: --mandir=%p/share/man --enable-gtk-doc --without-python --with-bz2 --with-gio --with-gnome-vfs --with-bonobo --disable-schemas-install --enable-dependency-tracking --disable-static --disable-silent-rules PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
CompileScript: <<
./configure %c
make
fink-package-precedence --prohibit-bdep libgsf1.114-gnome-dev --prohibit-bdep libgsf1.114-dev .
<<
InstallScript: <<
make install DESTDIR=%d
<<

SplitOff2: <<
Package: libgsf1.114-gnome-shlibs
Depends: <<
libgsf1.114-shlibs (= %v-%r),
bzip2-shlibs,
glib2-shlibs (>= 2.22.0-1),
libbonobo2-shlibs (>= 2.24.2-1),
libgettext8-shlibs,
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.17-2)
<<
Files: lib/libgsf-gnome-1.*.dylib
Shlibs: %p/lib/libgsf-gnome-1.114.dylib 115.0.1 %n (>= 1.14.17-1)
DocFiles: AUTHORS BUGS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
<<
SplitOff3: <<
Package: libgsf1.114-shlibs
Depends: <<
bzip2-shlibs,
glib2-shlibs (>= 2.22.0-1),
libgettext8-shlibs,
libxml2-shlibs (>= 2.6.30-1)
<<
Conflicts: libgsf
Replaces: libgsf
Files: lib/libgsf-1.*.dylib share/locale
Shlibs: %p/lib/libgsf-1.114.dylib 115.0.1 %n (>= 1.14.17-1)
DocFiles: AUTHORS BUGS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
<<

SplitOff12: <<
Package: libgsf1.114-gnome-dev
Depends: libgsf1.114-gnome-shlibs (= %v-%r)
Replaces: libgsf-gnome (<< 1.9.1-1), libgsf-gnome-dev
Conflicts: libgsf-gnome-dev
BuildDependsOnly: true
Files: lib/libgsf-gnome-1* lib/pkgconfig/libgsf-gnome* include/libgsf-1/gsf-gnome
DocFiles: AUTHORS BUGS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
<<
SplitOff13: <<
Package: libgsf1.114-dev
Depends: libgsf1.114-shlibs (= %v-%r)
Replaces: libgsf-shlibs (<< 1.9.1-1), libgsf, libgsf-dev, libgsf-doc
Conflicts: libgsf-dev, libgsf-doc
BuildDependsOnly: true
Files: lib/libgsf-1* lib/pkgconfig/libgsf* include/libgsf-1/gsf share/gtk-doc
DocFiles: AUTHORS BUGS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
<<

Description: GNOME Structured File library
DescDetail: <<
A library for reading and writing structured files (eg MS OLE and Zip)
<<
DescPackaging: <<
gtk-doc moved libgsf-doc -> libgsf as of 1.14.1-1 then ->
libgsf1.114-dev later in 1.14 series.

libgsf itself is what uses gettext, so the catalogs are there and
are renamed to include the install_name versioning.

Cannot build python bindings because files are missing from the
tarball. See: http://bugzilla.gnome.org/show_bug.cgi?id=349049
Spawn a -pyXX package collection in separate .info when fixed.

--disable-schemas-install disables installing the datafile, not just
running the gconftool cache update. Not going to fix it now.

Gnome component has gnomevfs-based API even if libgsf back-end
is built with gio instead, but emulates at build-time so do
not need any gnome-vfs deps here although users of -gnome-dev
pkg probably still need BDep:gnome-vfs-dev. Crazy!

1.14.15 adds new public symbols vs 1.14.14 (does not break
backward compat) but does not bump compatibility_version.
Manually tweak c_v because upstream doesn't want to follow lt
docs. See: http://bugzilla.gnome.org/show_bug.cgi?id=586804

The -gnome lib should be separated out (so pkgs that
aren't using it gon't get its dep tree), but have had "=%v-%r"
deps within this family for so long, very hard to change from
having these all present and in one .info.
<<
DescPort: <<
Recent glib doesn't publish -lintl, so pass it directly.
<<
License: LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnumeric.org

libgsf-bin stable port .patch

diff -Nurd -x'*~' libgsf-1.14.17.orig/gsf/Makefile.in libgsf-1.14.17/gsf/Makefile.in
--- libgsf-1.14.17.orig/gsf/Makefile.in 2010-02-13 18:42:14.000000000 -0500
+++ libgsf-1.14.17/gsf/Makefile.in 2010-02-21 13:44:32.000000000 -0500
@@ -359,7 +359,7 @@
@WITH_GIO_TRUE@gioh = gsf-input-gio.h gsf-output-gio.h
@WITH_GIO_FALSE@giola =
@WITH_GIO_TRUE@giola = $(LIBGSF_GIO_LIBS)
-libgsf_1_la_LIBADD = $(LIBGSF_LIBS) $(Z_LIBS) $(BZ2_LIBS) $(giola)
+libgsf_1_la_LIBADD = $(LIBGSF_LIBS) $(Z_LIBS) $(BZ2_LIBS) $(giola) $(INTLLIBS)
libgsf_1_la_LDFLAGS = -version-info $(VERSION_INFO) $(am__append_1)
@WITH_WIN32_TRUE@libgsf_1_la_DEPENDENCIES = lib.def
libgsf_1_la_SOURCES = \
diff -Nurd -x'*~' libgsf-1.14.17.orig/ltmain.sh libgsf-1.14.17/ltmain.sh
--- libgsf-1.14.17.orig/ltmain.sh 2010-02-13 18:42:03.000000000 -0500
+++ libgsf-1.14.17/ltmain.sh 2010-02-21 13:33:04.000000000 -0500
@@ -6261,8 +6261,8 @@
# Darwin ld doesn't like 0 for these options...
func_arith $current + 1
minor_current=$func_arith_result
- xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
- verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ xlcverstring="${wl}-compatibility_version ${wl}$minor_current.0.1 ${wl}-current_version ${wl}$minor_current.$revision"
+ verstring="-compatibility_version $minor_current.0.1 -current_version $minor_current.$revision"
;;

freebsd-aout)

libgsf-bin _unstable_ port .patch