teg stable port information

Package: teg
Version: 0.11.2
Revision: 1
Description: Strategy game similar to Risk
License: GPL
Maintainer: Dave Vasilevsky

Depends: <<
libgnomeui2-shlibs (>= 2.24.2-3),
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
gnome-keyring-shlibs (>= 2.28.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-shlibs (>= 2.24.2-1),
libbonoboui2-shlibs (>= 2.24.1-2),
libglade2-shlibs (>= 2.6.4-4),
libgnome2-shlibs (>= 2.28.0-1),
libgnomecanvas2-shlibs (>= 2.26.0-3),
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.17-2),
pango1-xft2-ft219 (>= 1.24.5-4),

x11-shlibs,
libgettext8-shlibs,
readline5-shlibs,
popt-shlibs,
gconf2 (>= 2.28.0-1),
rarian-compat
<<

BuildDepends: <<
libgnomeui2-dev (>= 2.24.2-3),
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gconf2-dev (>= 2.28.0-1),
glib2-dev (>= 2.22.0-1),
glitz,
gnome-keyring-dev (>= 2.28.0-1),
gnome-vfs2-unified-dev (>= 1:2.24.2-1),
gtk+2-dev (>= 2.18.0-1),
libart2 (>= 2.3.16-1),
libbonobo2-dev (>= 2.24.2-1),
libbonoboui2-dev (>= 2.24.1-2),
libglade2 (>= 2.6.4-4),
libgnome2-dev (>= 2.28.0-1),
libgnomecanvas2-dev (>= 2.26.0-3),
libiconv-dev,
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),

fink (>= 0.24.12-1),
x11-dev,
libgettext8-dev,
intltool40,
readline5,
popt
<<

Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 880c18eb586c4642fe14e6b41e8a642f

UseMaxBuildJobs: true
ConfigureParams: --with-readline --disable-ggz
SetCPPFLAGS: -I%p/include/libxml2
SetLDFLAGS: -liconv
PatchFile: %n.patch
PatchFile-MD5: 2e2b598b602ef55cbd634cf00f2e79c7

InstallScript: GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make -j1 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/teg.schemas >/dev/null
fi
<<
PostRmScript: <<
if [ upgrade != "$1" ]; then
scrollkeeper-update
fi
<<

DocFiles: COPYING HACKING PEOPLE README* TODO
Homepage: http://sourceforge.net/projects/teg/
DescDetail: <<
Tenes Empanadas Graciela is a clone of Plan Tactico y Estrategico
de la Guerra, a turn based strategy game, based on Risk. It's a
multiplayer game (it can be played across the internet), it has a
server, a GNOME client, and an AI.
<<
DescPort: <<
- No longer includes GGZ support, it wants a complete GGZ install,
and we only have parts of recent GGZ.
- Patch out use of docbook to create HTML docs, they're already present.
<<

teg stable port .patch

diff -Naur teg-old/docs/gnome-help/C/Makefile.in teg-new/docs/gnome-help/C/Makefile.in
--- teg-old/docs/gnome-help/C/Makefile.in 2007-03-14 20:45:39.000000000 -0400
+++ teg-new/docs/gnome-help/C/Makefile.in 2010-10-20 03:37:35.000000000 -0400
@@ -507,10 +507,6 @@
# Suse Linux 10.0 does not have "db2html", only "docbook2html" which is a script that calls "jw"
# Check if any of those is available.
$(docname)/index.html: $(srcdir)/$(docname).sgml
- -srcdir=`cd $(srcdir) && pwd`; \
- test ! "x`which db2html`" = "x" && db2html $$srcdir/$(docname).sgml; \
- test ! "x`which docbook2html`" = "x" && docbook2html $$srcdir/$(docname).sgml; \
- test ! "x`which jw`" = "x" && jw -f docbook -b html $$srcdir/$(docname).sgml

# remove $(docname) to make installation work
app-dist-hook: index.html
diff -Naur teg-old/docs/gnome-help/pl/Makefile.in teg-new/docs/gnome-help/pl/Makefile.in
--- teg-old/docs/gnome-help/pl/Makefile.in 2007-03-14 20:45:40.000000000 -0400
+++ teg-new/docs/gnome-help/pl/Makefile.in 2010-10-20 03:37:29.000000000 -0400
@@ -514,16 +514,6 @@
# Do it in the following steps:
# SGML iso8859-2 -> HTML iso8859-2 -> HTML UTF-8 -> HTML ASCII with entities
$(docname)/index.html: $(srcdir)/$(docname).sgml
- -srcdir=`cd $(srcdir) && pwd`; \
- test ! "x`which db2html`" = "x" && db2html $$srcdir/$(docname).sgml; \
- test ! "x`which docbook2html`" = "x" && docbook2html $$srcdir/$(docname).sgml; \
- test ! "x`which jw`" = "x" && jw -f docbook -b html $$srcdir/$(docname).sgml
-
- -for file in *.html; do \
- iconv -f iso-8859-2 -t utf-8 $$file > utf8_$$file; \
- tidy --show-warnings no --quiet yes --input-encoding utf8 utf8_$$file > $$file; \
- rm -f utf8_$$file; \
- done

# removed $(docname) to make thing install
app-dist-hook: index.html

teg _unstable_ port .patch