libggi2 stable port information

Package: libggi2
Version: 2.0.1
Revision: 1012
Architecture: i386, powerpc
Depends: %N-shlibs (= %v-%r), ncurses (>= 5.4-20041023-1006), libncurses5-shlibs (>= 5.4-20041023-1006), x11, aalib-shlibs
BuildDepends: libgii0, libgii0-dev, libncurses5 (>= 5.4-20041023-1006), x11-dev, aalib, fink (>= 0.24.12-1)
Source: mirror:custom:v2.0/libggi-%v.tar.bz2
CustomMirror: <<
primary: ftp://ftp.ggi-project.org/pub/ggi/ggi
primary: http://www.ggi-project.org/ftp/ggi
<<
PatchFile: %n.patch
PatchFile-MD5: 46bcd57ba18ea9b0a1e1dcb3d6329854
PatchScript: <<
%{default_script}
perl -pi.bak -e 's,hardcode_direct=yes,hardcode_direct=no,g' configure
# On 10.4, time.h doesn't define CLK_TCK; limits.h is needed.
# (Before time.h included machine/limits.h, now only machine/_limits.h)
perl -pi.bak -e 's,^.*ndef CLK_TCK$,#ifdef __APPLE__\n\#include \n\#endif\n$&,' programs/check/speed.c
<<
ConfigureParams: --mandir=%i/share/man --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-dependency-tracking
CompileScript: ac_cv_exeext='' ./configure %c; make
SplitOff: <<
Package: %N-shlibs
Depends: libgii0-shlibs
Files: lib/libggi.%v.dylib lib/libggi.2.dylib
Shlibs: %p/lib/libggi.2.dylib 3.0.0 %n (>= 2.0.1-1)
DocFiles: ChangeLog ChangeLog.1999 FAQ INSTALL NEWS README TODO
<<
SplitOff2: <<
Package: %N-dev
Depends: %N (= %v-%r)
Replaces: %N (<< 2.0.1-12)
BuildDependsOnly: true
Files: include lib/libggi* lib/ggi/default/*.la lib/ggi/display/*.la
DocFiles: ChangeLog ChangeLog.1999 FAQ INSTALL NEWS README TODO
<<
DocFiles: ChangeLog ChangeLog.1999 FAQ INSTALL NEWS README TODO
Description: Flexible drawing library
DescDetail: <<
LibGGI, the dynamic GGI (General Graphics Interface) library is a flexible
drawing library.

It provides an opaque interface to the display's acceleration functions. It
was originally intended to allow user programs to interface with KGI, the
GGI Kernel Graphics Interface, but other display types can be easily used by
loading the appropriate "display target" (e.g. X, memory).

LibGGI consists of a main library (libggi.dylib) and a multitude of
dynamic drivers. The library then loads the necessary "drivers" for the
requested mode, taking hints from the graphics device if necessary. LibGGI
can also load extension libraries, e.g. to provide enhanced 2D and 3D
functions.
<<
DescPackaging: <<
Previous versions by Sylvain Cuaz.

--mandir=%i/share/man to comply with fink policy
<<
Homepage: http://www.ggi-project.org/
Maintainer: None
License: GPL
Source-MD5: 34cf0a97754434270c614d7063f04fdc

libggi2 stable port .patch

diff -ru libggi-2.0.1/configure libggi-2.0.1-patched/configure
--- libggi-2.0.1/configure Sun Aug 26 11:59:48 2001
+++ libggi-2.0.1-patched/configure Sat Oct 19 15:27:51 2002
@@ -3706,11 +3706,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 -ru libggi-2.0.1/ltmain.sh libggi-2.0.1-patched/ltmain.sh
--- libggi-2.0.1/ltmain.sh Sun Aug 26 11:56:45 2001
+++ libggi-2.0.1-patched/ltmain.sh Sat Oct 19 15:29:26 2002
@@ -2859,6 +2859,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='~'
@@ -3914,10 +3919,10 @@

# Directory that this library needs to be installed in:
libdir='$install_libdir'"
- if test "$installed" = no && test $need_relink = yes; then
- $echo >> $output "\
-relink_command=\"$relink_command\""
- fi
+# if test "$installed" = no && test $need_relink = yes; then
+# $echo >> $output "\
+#relink_command=\"$relink_command\""
+# fi
done
fi

libggi2 _unstable_ port .patch