the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnome-games
Version: 2.26.3
Revision: 3
GCC: 4.0
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
dpkg-base-files,
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
gconf2 (>= 2.28.0-1),
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
gmp5-shlibs,
gnome-base,
gnome-python2-py26 (>= 2.28.0-1),
gnome-python2-desktop-py26 (>= 2.28.0-1),
gstreamer-0.10 (>= 0.10.26-1),
gstreamer-0.10-shlibs (>= 0.10.26-1),
gtk+2 (>= 2.18.0-1),
gtk+2-shlibs (>= 2.18.0-1),
guile18,
guile18-shlibs,
libgettext8-shlibs,
librsvg2-gtk (>= 2.26.0-3),
librsvg2-shlibs (>= 2.26.0-3),
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
pycairo-py26 (>= 1.8.8-4),
pygobject2-py26 (>= 2.20.0-1),
pygtk2-gtk-py26 (>= 2.16.0-1),
python26,
rarian-compat,
x11
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
autoconf2.6,
automake1.11,
cairo (>= 1.8.8-3),
fink (>= 0.24.12-1),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gconf2-dev (>= 2.28.0-1),
gettext-bin,
gettext-tools (>= 0.17),
glib2-dev (>= 2.22.0-1),
glitz,
gmp5,
gnome-common,
gnome-doc-utils (>= 0.18.0-1),
gnome-python2-py26-dev (>= 2.28.0-1),
gnome-python2-desktop-py26-dev (>= 2.28.0-1),
gstreamer-0.10-dev (>= 0.10.26-1),
gtk-doc (>= 1.13-5),
gtk+2-dev (>= 2.18.0-1),
guile18-dev,
intltool40,
libgettext8-dev,
libiconv-dev,
librsvg2 (>= 2.26.0-3),
libtool2,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
pycairo-py26-dev (>= 1.8.8-4),
pygobject2-py26-dev (>= 2.20.0-1),
pygtk2-gtk-py26-dev (>= 2.16.0-1),
x11-dev
<<
Replaces: gnome-games-dev (<< 2.12.0-1), gnome-games-shlibs (<< 2.12.0-1)
Source: mirror:gnome:sources/%n/2.26/%n-%v.tar.bz2
Source-MD5: 32c69a25671d8d23b19f234efcc177ca
PatchFile: %n.patch
PatchFile-MD5: bda2b0f08a100f4b2904883342d8a3a5
PatchScript: <<
#!/bin/sh -ev
%{default_script}
perl -pi -e 's|#\!\s*/usr/bin/env\s+python.*|#\!%p/bin/python2.6|' `find . -name \*.py -o -name \*.in -o -name \*.am`
# recode ./some/path/AUTHORS as AUTHORSs/AUTHORS.some.path
mkdir AUTHORSs
for cl in `find . -name AUTHORS` ; do
cp $cl AUTHORSs/`echo $cl | sed 's/^\.\(.*\)\/\(AUTHORS\)/\2\1/;s/\//./g'`
done
# recode ./some/path/README as READMEs/README.some.path
mkdir READMEs
for cl in `find . -name README` ; do
cp $cl READMEs/`echo $cl | sed 's/^\.\(.*\)\/\(README\)/\2\1/;s/\//./g'`
done
<<
SetCFLAGS: -Os
BuildAsNobody: false
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: <<
--enable-dependency-tracking \
--disable-scrollkeeper --disable-schemas-install \
--disable-sdltest \
--without-ggz-server --with-sound=gstreamer \
--enable-omitgames=gnibbles,iagno,gnect,glchess \
PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" \
PYTHON=%p/bin/python2.6 \
GUILE=%p/bin/guile-1.8 GUILE_CONFIG=%p/bin/guile-1.8-config \
--with-libggz-dir=%p/lib/ggz2 \
SMCLIENT_CFLAGS=" " SMCLIENT_LIBS="-lSM -lICE -L/usr/X11/lib -L/usr/X11R6/lib" \
--disable-tests
<<
CompileScript: <<
#!/bin/sh -ev
if [ $UID -ne 0 ]; then echo "%n cannot be built with --build-as-nobody"; exit 1; fi
autoreconf -fi
./configure %c
echo "Please ignore the above warning about the games group."
make
fink-package-precedence .
<<
#InfoTest: <<
# TestDepends: check
# TestScript: make check || exit 2
#<<
InstallScript: make -j1 install DESTDIR=%d
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
# glchess gnect gnibbles iagno
for s in aisleriot blackjack glines gnobots2 \
gnometris gnomine gnotravex gnotski gtali mahjongg same-gnome; do
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/$s.schemas >/dev/null
done
%p/bin/gtk-update-icon-cache -f -t %p/share/icons/hicolor
fi
<<
PostRmScript: <<
if [ upgrade != "$1" ]; then
scrollkeeper-update
%p/bin/gtk-update-icon-cache -f -t %p/share/icons/hicolor
fi
<<
SplitOff: <<
Package: %N-shlibs
Description: Placeholder to aid upgrading
Depends: fink-obsolete-packages
InstallScript: <<
mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%n
<<
<<
SplitOff2: <<
Package: %N-dev
Description: Placeholder to aid upgrading
Depends: fink-obsolete-packages
InstallScript: <<
mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%n
<<
<<
# %p/etc/gconf/schemas/glchess.schemas
# %p/etc/gconf/schemas/gnect.schemas
# %p/etc/gconf/schemas/gnibbles.schemas
# %p/etc/gconf/schemas/iagno.schemas
ConfFiles: <<
%p/etc/gconf/schemas/aisleriot.schemas
%p/etc/gconf/schemas/blackjack.schemas
%p/etc/gconf/schemas/glines.schemas
%p/etc/gconf/schemas/gnobots2.schemas
%p/etc/gconf/schemas/gnometris.schemas
%p/etc/gconf/schemas/gnomine.schemas
%p/etc/gconf/schemas/gnotravex.schemas
%p/etc/gconf/schemas/gnotski.schemas
%p/etc/gconf/schemas/gtali.schemas
%p/etc/gconf/schemas/mahjongg.schemas
%p/etc/gconf/schemas/same-gnome.schemas
<<
DocFiles: AUTHORSs/* COPYING* ChangeLog HACKING MAINTAINERS NEWS READMEs/* TODO
Description: The Gnome simple games collection
DescDetail: <<
The following games are included:
aisleriot ("sol" solitaire)
blackjack
gnometris
gnect (four-in-a-row) (disabled in %f)
gnomine (minesweeper)
same-gnome
mahjongg
gtali
gnotravex
gnotski (sliding-blocks puzzle)
glines (five or more)
iagno (Othello) (disabled in %f)
glchess (disabled in %f)
gnobots2
gnibbles (disabled in %f)
gnome-sudoku
<<
DescPort: <<
Recent glib doesn't publish -lintl, so pass it directly.
<<
DescPackaging: <<
gnome-games 2.12.0 dropped the shared library (no other packages
depend on it), so we no longer need to have splitoff pkgs.
Something broken in the ggz-gtk stuff (missing includes?); do
leave it disabled (and therefore no gnibbles, iagno, gnect,
glchess) for now
Self-test requires x11 display.
Something goofy in the generated autotool pieces (reruns
autoconf & make after ./configure and "sometimes" crashes
trying). So instead just redo all autotools.
Test for "games" group doesn't understand OS X groups, but
it's just a heuristic, unrelated to the actual detection and
chgrp.
<<
License: GPL/GFDL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/
diff -Nurd -x'*~' gnome-games-2.26.3.orig/libgames-support/Makefile.am gnome-games-2.26.3/libgames-support/Makefile.am
--- gnome-games-2.26.3.orig/libgames-support/Makefile.am 2009-06-29 19:14:26.000000000 -0400
+++ gnome-games-2.26.3/libgames-support/Makefile.am 2010-02-07 10:37:11.000000000 -0500
@@ -155,7 +155,7 @@
$(AM_CFLAGS)
libgames_support_la_LIBADD = \
- $(GTK_LIBS)
+ $(GTK_LIBS) $(INTLLIBS)
if WITH_SMCLIENT
libgames_support_la_SOURCES += \