the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: pong
Version: 1.0.2
Revision: 7
Distribution: 10.4, 10.5
Maintainer: None
Source: gnome
Source-MD5: 6d794f21b5e6d09eb438f432725cb3d4
Depends: %N-shlibs (= %v-%r), audiofile-shlibs, bonobo-shlibs, esound-shlibs, gconf, gdk-pixbuf-shlibs, libgettext8-shlibs, glib-shlibs, gnome-libs-shlibs, gtk+-shlibs, imlib-shlibs, libglade-shlibs, libxml-shlibs, oaf-shlibs, orbit-shlibs, rarian-compat
BuildDepends: audiofile, bonobo-dev, esound, gconf-dev, gdk-pixbuf, gettext-bin, libgettext8-dev, gettext-tools, glib, gnome-libs-dev, gtk+, imlib, libglade, libxml, oaf-dev, orbit-dev, x11-dev, popt, gnome-print-dev, fink (>= 0.24.12-1)
UpdateLibtool: True
PatchFile: %n.patch
PatchFile-MD5: c0249dd4597871cabf4b2513aab7f6d2
PatchScript: <<
%{default_script}
perl -pi -e 's/(-scrollkeeper-update)/#\1/' omf-install/Makefile.in
perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' pong.m4
<<
InstallScript: make -j1 install DESTDIR="%d"
DocFiles: AUTHORS ChangeLog COPYING COPYING.LIB NEWS README TODO
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update -q
fi
<<
PostRmScript: <<
if [ upgrade != "$1" ]; then
scrollkeeper-update -q
fi
<<
SplitOff: <<
Package: %N-shlibs
Depends: audiofile-shlibs, esound-shlibs, libgettext8-shlibs, glib-shlibs, gnome-libs-shlibs, gob, gtk+-shlibs, imlib-shlibs, libglade-shlibs, libxml-shlibs, x11
Files: lib/*.0.dylib
Shlibs: <<
%p/lib/libpong-1-bonobo.0.dylib 1.0.0 %n (>= 1.0.2-2)
%p/lib/libpong-1-glade.0.dylib 1.0.0 %n (>= 1.0.2-2)
%p/lib/libpong-1-manual.0.dylib 1.0.0 %n (>= 1.0.2-2)
%p/lib/libpong-1.0.dylib 1.0.0 %n (>= 1.0.2-2)
<<
DocFiles: COPYING COPYING.LIB README
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
Files: include lib
DocFiles: COPYING COPYING.LIB README
BuildDependsOnly: True
<<
Description: Library for creating configuration dialogs
DescDetail: <<
PonG is a library and a GUI tool for creating configuration dialogs. It
uses an XML file which describes the configuration dialog and the gconf
keys that should be used.
<<
DescPort: <<
Disabled building of samples as not required.
<<
DescPackaging: <<
Originally packaged by Matt Stephenson.
patch test for oaf (missing -l for indirect symbol) for cleaner
compile (no real effect: OAF_* isn't used for anything and the other
*_LIBS already get libgnomesupport from gnome-config).
patch pong-widget-interface.h for strict variable type-checking
patch docs/C/Makefile.in: blank sgml_ents gives spurious install error
patch po/Makefile.in.in: fix regex for determining language code
<<
License: GPL/LGPL
Homepage: http://www.5z.com/jirka/pong.html
diff -Nurd -x'*~' pong-1.0.2.orig/bonobo/Makefile.in pong-1.0.2/bonobo/Makefile.in
--- pong-1.0.2.orig/bonobo/Makefile.in 2001-07-08 23:44:23.000000000 -0400
+++ pong-1.0.2/bonobo/Makefile.in 2006-04-11 01:26:56.000000000 -0400
@@ -150,7 +150,7 @@
AUTOMAKE_OPTIONS = 1.3
-SUBDIRS = . sample
+SUBDIRS = .
INCLUDES = -I. -I$(top_srcdir)/pong -I$(srcdir) -I$(top_srcdir)/intl -I$(top_builddir)/intl -I$(top_builddir) -I$(top_srcdir) -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -I$(includedir) $(GNOME_INCLUDEDIR) @LIBGLADE_CFLAGS@ @OAF_CFLAGS@ @BONOBO_CFLAGS@ @GCONF_CFLAGS@ @PIXBUF_CFLAGS@ -DG_LOG_DOMAIN=\"PonG-Bonobo\"
diff -Nurd -x'*~' pong-1.0.2.orig/configure pong-1.0.2/configure
--- pong-1.0.2.orig/configure 2001-07-08 23:35:04.000000000 -0400
+++ pong-1.0.2/configure 2006-04-11 01:42:37.000000000 -0400
@@ -3606,7 +3606,7 @@
no_oaf=yes
else
OAF_CFLAGS="`$OAF_CONFIG $oaf_config_args --cflags`"
- OAF_LIBS="`$OAF_CONFIG $oaf_config_args --libs`"
+ OAF_LIBS="`$OAF_CONFIG $oaf_config_args --libs` -lgnomesupport"
oaf_config_major_version=`$OAF_CONFIG $oaf_config_args --version | \
sed -e 's,^[^0-9.]*,,g' -e 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
oaf_config_minor_version=`$OAF_CONFIG $oaf_config_args --version | \
diff -Nurd -x'*~' pong-1.0.2.orig/docs/C/Makefile.in pong-1.0.2/docs/C/Makefile.in
--- pong-1.0.2.orig/docs/C/Makefile.in 2001-07-08 23:44:28.000000000 -0400
+++ pong-1.0.2/docs/C/Makefile.in 2006-04-11 02:03:47.000000000 -0400
@@ -192,7 +192,7 @@
doc_DATA = index.html
-sgml_files = $(sgml_ents) $(docname).sgml
+sgml_files = $(docname).sgml
omf_dir = $(top_srcdir)/omf-install
diff -Nurd -x'*~' pong-1.0.2.orig/po/Makefile.in.in pong-1.0.2/po/Makefile.in.in
--- pong-1.0.2.orig/po/Makefile.in.in 2001-07-02 19:54:08.000000000 -0400
+++ pong-1.0.2/po/Makefile.in.in 2006-05-24 01:12:47.000000000 -0400
@@ -106,7 +106,7 @@
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
+ lang=`echo $$cat | sed 's/\..*$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \
if test -r $$cat; then \
@@ -126,7 +126,7 @@
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
+ lang=`echo $$cat | sed 's/\..*$$//'`; \
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
done
if test "$(PACKAGE)" = "gettext"; then \
@@ -172,7 +172,7 @@
catalogs='$(GMOFILES)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
+ lang=`echo $$cat | sed 's/\..*$$//'`; \
cp $$lang.po $$lang.old.po; \
echo "$$lang:"; \
if $(MSGMERGE) $$lang ; then \
diff -Nurd -x'*~' pong-1.0.2.orig/pong/pong-widget-interface.h pong-1.0.2/pong/pong-widget-interface.h
--- pong-1.0.2.orig/pong/pong-widget-interface.h 2001-04-14 21:05:21.000000000 -0400
+++ pong-1.0.2/pong/pong-widget-interface.h 2006-04-11 01:49:37.000000000 -0400
@@ -85,7 +85,7 @@
gboolean pong_widget_interface_get_value (GtkWidget *w,
const char *specifier,
- GConfValueType type,
+ PongType type,
GConfValue **value);
gboolean pong_widget_interface_set_value (GtkWidget *w,
const char *specifier,