ggv stable port information

Package: ggv
Version: 2.12.0
Revision: 1006
Depends: <<
atk1-shlibs (>= 1.28.0-1),
dpkg-base-files,
gconf2 (>= 2.28.0-1),
gconf2-shlibs (>= 2.28.0-1),
ghostscript (>= 8.51-1) | system-ghostscript8 (>= 8.51-1),
glib2-shlibs (>= 2.22.0-1),
gnome-vfs2-unified-shlibs (>= 1:2.24.2-1),
gtk+2-shlibs (>= 2.18.0-1),
libart2-shlibs (>= 2.3.16-1),
libbonobo2 (>= 2.24.2-1),
libbonobo2-shlibs (>= 2.24.2-1),
libbonoboui2-shlibs (>= 2.24.2-1),
libgettext8-shlibs,
libgnome2-shlibs (>= 2.28.0-1),
libgnomecanvas2-shlibs (>= 2.26.0-3),
libgnomeui2-shlibs (>= 2.24.2-3),
libiconv,
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.17-2),
pango1-xft2-ft219 (>= 1.24.5-4),
popt-shlibs,
rarian-compat,
x11-shlibs
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
autoconf2.6,
automake1.11,
cairo (>= 1.8.8-3),
fink (>= 0.24.12),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gconf2-dev (>= 2.28.0-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.22.0-1),
glitz,
gnome-vfs2-unified-dev (>= 1:2.24.2-1),
gtk+2-dev (>= 2.18.0-1),
intltool40,
libart2 (>= 2.3.16-1),
libbonobo2-dev (>= 2.24.2-1),
libbonoboui2-dev (>= 2.24.2-1),
libgettext8-dev,
libgnome2-dev (>= 2.28.0-1),
libgnomecanvas2-dev (>= 2.26.0-3),
libgnomeui2-dev (>= 2.24.2-3),
libiconv-dev,
libtool2,
libxml2 (>= 2.6.30-1),
orbit2-dev (>= 2.14.17-2),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
popt,
x11-dev
<<
Source: mirror:gnome:sources/%n/2.12/%n-%v.tar.bz2
Source-MD5: 418f0ef3f8b82bb0c423a2a1cf6769f7
PatchFile: %n.patch
PatchFile-MD5: bd1625bb80f7877c9fe253f5dd34ffe5
PatchScript: <<
%{default_script}
perl -ni -e "print unless /-scrollkeeper-update/" omf-install/Makefile.am
<<
SetCFLAGS: -Os
ConfigureParams: --libexecdir=%p/lib/%n --mandir=%p/share/man --disable-schemas-install --enable-dependency-tracking --disable-shared PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
CompileScript: <<
autoreconf -fi
./configure %c
make
fink-package-precedence .
<<
InstallScript: <<
make install DESTDIR=%d
<<
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/ggv.schemas >/dev/null
fi
<<
PostRmScript: <<
if [ update != "$1" ]; then
scrollkeeper-update
fi
<<
ConfFiles: %p/etc/gconf/schemas/ggv.schemas
DocFiles: AUTHORS COPYING* ChangeLog po/ChangeLog:ChangeLog.po MAINTAINERS NEWS README TODO
Description: GNOME Ghostview
DescDetail: <<
"ggv" allows you to view PostScript documents, and print ranges
of pages, using Ghostscript.
<<
License: GPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/
DescPackaging: <<
Had to add F77=no to configure to get around a weird libtool thing
when "fort77" is installed.

Don't need shared-mode build of binary objects for something
that's just an executable.

Onboard autotools are very old and don't support 10.5+
single-arch (among other deficiencies). And make static-lib a
libtool convenience lib so that it uses same modern build
system.


<<
DescPort: <<
Recent glib doesn't publish -lintl, so pass it directly.
<<

ggv stable port .patch

diff -Nurd -x'*~' ggv-2.12.0.orig/src/Makefile.am ggv-2.12.0/src/Makefile.am
--- ggv-2.12.0.orig/src/Makefile.am 2004-11-30 15:01:01.000000000 -0500
+++ ggv-2.12.0/src/Makefile.am 2010-05-16 13:29:37.000000000 -0400
@@ -54,10 +54,10 @@

ggv_LDADD = \
libgtkgs.la \
- recent-files/librecent.a
+ recent-files/librecent.la $(INTLLIBS)

LIBS = $(GGV_LIBS) \
- recent-files/librecent.a
+ recent-files/librecent.la


uidir = $(datadir)/gnome-2.0/ui
diff -Nurd -x'*~' ggv-2.12.0.orig/src/recent-files/Makefile.am ggv-2.12.0/src/recent-files/Makefile.am
--- ggv-2.12.0.orig/src/recent-files/Makefile.am 2004-08-17 11:38:44.000000000 -0400
+++ ggv-2.12.0/src/recent-files/Makefile.am 2010-05-16 13:29:26.000000000 -0400
@@ -16,9 +16,9 @@
egg-recent-util.c \
egg-recent-util.h

-noinst_LIBRARIES = librecent.a
+noinst_LTLIBRARIES = librecent.la

-librecent_a_SOURCES = $(EGG_FILES)
+librecent_la_SOURCES = $(EGG_FILES)

EXTRA_DIST = update-from-egg.sh

ggv _unstable_ port .patch