Author: baby-guest
Date: 2007-08-31 17:36:11 +0000 (Fri, 31 Aug 2007)
New Revision: 4015

Added:
   packages/trunk/pingus/debian/patches/
   packages/trunk/pingus/debian/patches/data_dir.patch
   packages/trunk/pingus/debian/patches/series
Removed:
   packages/trunk/pingus/debian/menu.ex
   packages/trunk/pingus/debian/watch.ex
Modified:
   packages/trunk/pingus/debian/control
   packages/trunk/pingus/debian/menu
   packages/trunk/pingus/debian/pingus.desktop
   packages/trunk/pingus/debian/rules
Log:
Install  data properly



Modified: packages/trunk/pingus/debian/control
===================================================================
--- packages/trunk/pingus/debian/control        2007-08-31 11:06:31 UTC (rev 
4014)
+++ packages/trunk/pingus/debian/control        2007-08-31 17:36:11 UTC (rev 
4015)
@@ -4,7 +4,8 @@
 Maintainer: Debian Games Team <[EMAIL PROTECTED]> 
 Uploaders: Miriam Ruiz <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 5), quilt, scons,
- libphysfs-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev
+ libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev,
+ libphysfs-dev, libboost-dev
 Standards-Version: 3.7.2
 
 Package: pingus

Modified: packages/trunk/pingus/debian/menu
===================================================================
--- packages/trunk/pingus/debian/menu   2007-08-31 11:06:31 UTC (rev 4014)
+++ packages/trunk/pingus/debian/menu   2007-08-31 17:36:11 UTC (rev 4015)
@@ -1,5 +1,5 @@
 ?package(pingus):needs="X11" \
   section="Games/Strategy" \
-  title="Pingus - Enhanced Lemmings" \
+  title="Pingus - Enhanced Lemmings clone" \
   command="/usr/games/pingus" \
   icon="/usr/share/pixmaps/pingus.xpm"

Deleted: packages/trunk/pingus/debian/menu.ex
===================================================================
--- packages/trunk/pingus/debian/menu.ex        2007-08-31 11:06:31 UTC (rev 
4014)
+++ packages/trunk/pingus/debian/menu.ex        2007-08-31 17:36:11 UTC (rev 
4015)
@@ -1,2 +0,0 @@
-?package(pingus):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
-  title="pingus" command="/usr/bin/pingus"

Added: packages/trunk/pingus/debian/patches/data_dir.patch
===================================================================
--- packages/trunk/pingus/debian/patches/data_dir.patch                         
(rev 0)
+++ packages/trunk/pingus/debian/patches/data_dir.patch 2007-08-31 17:36:11 UTC 
(rev 4015)
@@ -0,0 +1,13 @@
+Index: pingus-0.7.0/src/pingus_main.cpp
+===================================================================
+--- pingus-0.7.0.orig/src/pingus_main.cpp      2007-08-31 17:26:52.000000000 
+0000
++++ pingus-0.7.0/src/pingus_main.cpp   2007-08-31 17:27:53.000000000 +0000
+@@ -622,7 +622,7 @@
+     }
+   
+   std::string data_path = br_find_prefix("data");
+-  data_path += "/share/pingus/data/";
++  data_path += "/share/games/pingus/data/";
+   //std::cout << "DataPath: " << data_path << std::endl;
+   path_manager.add_path(data_path);
+   path_manager.add_path("data");

Added: packages/trunk/pingus/debian/patches/series
===================================================================
--- packages/trunk/pingus/debian/patches/series                         (rev 0)
+++ packages/trunk/pingus/debian/patches/series 2007-08-31 17:36:11 UTC (rev 
4015)
@@ -0,0 +1 @@
+data_dir.patch

Modified: packages/trunk/pingus/debian/pingus.desktop
===================================================================
--- packages/trunk/pingus/debian/pingus.desktop 2007-08-31 11:06:31 UTC (rev 
4014)
+++ packages/trunk/pingus/debian/pingus.desktop 2007-08-31 17:36:11 UTC (rev 
4015)
@@ -1,7 +1,8 @@
 [Desktop Entry]
+Encoding=UTF-8
 Name=Pingus
-Encoding=UTF-8
-Comment=Pingus - Enhanced Lemmings
+GenericName=Free Lemmings(TM) clone
+Comment=Guide a horde of penguins through various obstacles
 Exec=pingus
 Icon=pingus
 Terminal=false

Modified: packages/trunk/pingus/debian/rules
===================================================================
--- packages/trunk/pingus/debian/rules  2007-08-31 11:06:31 UTC (rev 4014)
+++ packages/trunk/pingus/debian/rules  2007-08-31 17:36:11 UTC (rev 4015)
@@ -58,6 +58,24 @@
        dh_clean -k -i
        dh_installchangelogs -i ChangeLog
        dh_installdocs -i
+
+       mkdir -p "$(CURDIR)/debian/pingus-data/usr/share/games/pingus/"
+       find data/ \
+               -type f -a  \( \
+               -name "*.png" -o \
+               -name "*.jpg" -o \
+               -name "*.wav" -o \
+               -name "*.scm" -o \
+               -name "*.font" -o \
+               -name "*.it" -o \
+               -name "*.ogg" -o \
+               -name "*.s3m" -o \
+               -name "*.po" -o \
+               -name "*.worldmap" -o \
+               -name "*.res" -o \
+               -name "*.pingus" \
+               \) -exec cp --parents -v {} 
"$(CURDIR)/debian/pingus-data/usr/share/games/pingus/" \;
+
        dh_install -i
        dh_compress -i
        dh_fixperms -i
@@ -76,7 +94,7 @@
        dh_installexamples -a
        dh_install -a
        dh_installmenu -a
-       #dh_installman -a debian/pingus.6
+#      dh_installman -a debian/pingus.6
        dh_link -a
        dh_strip -a
        dh_compress -a

Deleted: packages/trunk/pingus/debian/watch.ex
===================================================================
--- packages/trunk/pingus/debian/watch.ex       2007-08-31 11:06:31 UTC (rev 
4014)
+++ packages/trunk/pingus/debian/watch.ex       2007-08-31 17:36:11 UTC (rev 
4015)
@@ -1,22 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
-version=3
-
-# Uncomment to examine a Webpage 
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php pingus-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/pingus-(.*)\.tar\.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/pingus-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge, for debscripts >= 2.9
-# http://sf.net/pingus/pingus-(.*)\.tar\.gz
-
-


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to