the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: bonobo
Version: 1.0.22
Revision: 3
Distribution: 10.4, 10.5
Source: mirror:gnome:sources/%n/1.0/%n-%v.tar.bz2
Source-MD5: 7718c374ed82911b24d95fa3ab55dda5
Depends: %N-shlibs (= %v-%r)
BuildDepends: fontconfig2-dev, freetype219, gdk-pixbuf (>= 0.18.0-12), x11, libjpeg, libtiff, netpbm, audiofile, esound (>= 0.2.38-1), glib, gtk+ (>= 1.2.10-20), giflib, imlib (>= 1.9.14-14), gnome-libs-dev (>= 1.4.2-19), gnome-print-dev (>= 0.36-11), oaf-dev (>= 0.6.10-22), libxml (>= 1.8.15), popt, libglade (>= 0.17-13), orbit-dev (>= 0.5.17-15), libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, x11-dev, gtk-doc (>= 1.8-1), fink (>= 0.24.12-1)
SetCPPFLAGS: -DORBIT_DEF_CORBA_sequence_CORBA_string -DTC_DEF_TC_CORBA_sequence_CORBA_string -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
SetCFLAGS: -Os
PatchFile: %n.patch
PatchFile-MD5: 03b1f85f3ab1c9a894802f651e153253
PatchScript: <<
%{default_script}
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
perl -pi -e 's,tests ,,' Makefile.in
<<
UpdatePoMakefile: true
InstallScript: <<
make -j1 install DESTDIR="%d"
perl -pi -e 's,-L.*?/libefs/src,,' %i/lib/bonobo/plugin/*.la
<<
SplitOff: <<
Package: %N-shlibs
Depends: fontconfig2-shlibs, freetype219-shlibs, gnome-libs (>= 1.4.2-19), oaf (>= 0.6.10-22), gnome-print (>= 0.36-11), libxml-shlibs (>= 1.8.15), orbit (>= 0.5.17-15), libgettext3-shlibs
Replaces: %N (<= 1.0.19-1)
Files: lib/libbonobo*.*.dylib lib/libefs.*.dylib
Shlibs: <<
%p/lib/libbonobo-print.2.dylib 3.0.0 %n (>= 1.0.20-2)
%p/lib/libbonobo.2.dylib 3.0.0 %n (>= 1.0.20-2)
%p/lib/libbonobox.2.dylib 3.0.0 %n (>= 1.0.20-2)
%p/lib/libefs.1.dylib 2.0.0 %n (>= 1.0.20-2)
<<
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Replaces: %N (<= 1.0.20-3)
Files: bin/libefs-config include lib/lib*.dylib lib/*.a lib/*.la lib/*.sh lib/pkgconfig share/idl
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
<<
DocFiles: AUTHORS COPYING* ChangeLog NEWS README TODO
Description: Library for compound documents in GNOME
DescDetail: <<
Bonobo is a library that provides the necessary framework for GNOME
applications to deal with compound documents, i.e. those with a
spreadsheet and graphic embedded in a word-processing document.
<<
DescPort: <<
This patch does:
- Add -module libtool flag to storage-modules.
- Workaround of remove(3) bug.
- Enable shared libraries on Mac OS X 10.1.
<<
License: GPL/LGPL
Maintainer: The Gnome Core Team
DescPackaging: <<
Originally packaged by Masanori Sekino.
<<
Homepage: http://www.gnome.org/
diff -Naur bonobo-1.0.20.old/configure bonobo-1.0.20.new/configure
--- bonobo-1.0.20.old/configure Fri Apr 12 00:10:55 2002
+++ bonobo-1.0.20.new/configure Wed Jun 12 06:03:38 2002
@@ -5533,11 +5533,11 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-flat_namespace -undefined suppress'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts $(test .$module != .yes && echo -install_name $rpath/$soname $tmp_verstring)'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -Naur bonobo-1.0.20.old/libefs/configure bonobo-1.0.20.new/libefs/configure
--- bonobo-1.0.20.old/libefs/configure Fri Apr 12 00:11:03 2002
+++ bonobo-1.0.20.new/libefs/configure Tue Jun 4 21:10:28 2002
@@ -4553,11 +4553,11 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-flat_namespace -undefined suppress'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -Naur bonobo-1.0.20.old/ltmain.sh bonobo-1.0.20.new/ltmain.sh
--- bonobo-1.0.20.old/ltmain.sh Fri Apr 12 00:10:55 2002
+++ bonobo-1.0.20.new/ltmain.sh Thu May 30 21:39:32 2002
@@ -1727,7 +1727,7 @@
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
+ # need_relink=yes
fi
if test -n "$old_archive_from_expsyms_cmds"; then
@@ -2888,6 +2888,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'