r7248 - in packages/trunk/plee-the-bear/debian: . patches

Julien Jorge j-jorge-guest at alioth.debian.org
Fri Jun 6 15:39:41 UTC 2008


Author: j-jorge-guest
Date: 2008-06-06 15:39:41 +0000 (Fri, 06 Jun 2008)
New Revision: 7248

Added:
   packages/trunk/plee-the-bear/debian/patches/dont-compile-extra-stuff.diff
   packages/trunk/plee-the-bear/debian/plee-the-bear.menu
Modified:
   packages/trunk/plee-the-bear/debian/changelog
   packages/trunk/plee-the-bear/debian/control
   packages/trunk/plee-the-bear/debian/patches/series
   packages/trunk/plee-the-bear/debian/plee-the-bear-man.sgml
   packages/trunk/plee-the-bear/debian/plee-the-bear.install
   packages/trunk/plee-the-bear/debian/rules
   packages/trunk/plee-the-bear/debian/running-bear-man.sgml
Log:
- Fill the man pages.
- Call update-menus and update-icons-cache.
- Fix installation paths.

Modified: packages/trunk/plee-the-bear/debian/changelog
===================================================================
--- packages/trunk/plee-the-bear/debian/changelog	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/changelog	2008-06-06 15:39:41 UTC (rev 7248)
@@ -1,4 +1,4 @@
-plee-the-bear (0.2.0-1) unstable; urgency=low
+plee-the-bear (0.2.1-1) unstable; urgency=low
 
   * Initial release (Closes: #482663)
 

Modified: packages/trunk/plee-the-bear/debian/control
===================================================================
--- packages/trunk/plee-the-bear/debian/control	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/control	2008-06-06 15:39:41 UTC (rev 7248)
@@ -12,7 +12,7 @@
 Package: plee-the-bear
 Section: games
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, plee-the-bear-data (= ${binary:Version})
 Homepage: http://plee-the-bear.sourceforge.net/
 Description: A 2D platform game
  Plee the Bear will be a 2D platform game like those we found on consoles in

Added: packages/trunk/plee-the-bear/debian/patches/dont-compile-extra-stuff.diff
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/dont-compile-extra-stuff.diff	                        (rev 0)
+++ packages/trunk/plee-the-bear/debian/patches/dont-compile-extra-stuff.diff	2008-06-06 15:39:41 UTC (rev 7248)
@@ -0,0 +1,18 @@
+Index: plee-the-bear-0.2.1/dev/CMakeLists.txt
+===================================================================
+--- plee-the-bear-0.2.1.orig/dev/CMakeLists.txt	2008-06-06 16:56:46.000000000 +0200
++++ plee-the-bear-0.2.1/dev/CMakeLists.txt	2008-06-06 16:57:00.000000000 +0200
+@@ -12,9 +12,10 @@
+ 
+ SUBDIRS(
+   common
+-  image-cutter
+-  level-editor
++#  image-cutter
++#  level-editor
+   model-compiler
+   bear_engine
+   plee-the-bear
+-  texture-tools )
++#  texture-tools
++   )

Modified: packages/trunk/plee-the-bear/debian/patches/series
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/series	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/patches/series	2008-06-06 15:39:41 UTC (rev 7248)
@@ -1 +1,2 @@
 built-paths.diff
+dont-compile-extra-stuff.diff

Modified: packages/trunk/plee-the-bear/debian/plee-the-bear-man.sgml
===================================================================
--- packages/trunk/plee-the-bear/debian/plee-the-bear-man.sgml	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/plee-the-bear-man.sgml	2008-06-06 15:39:41 UTC (rev 7248)
@@ -17,13 +17,13 @@
   -->
 
   <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!ENTITY dhfirstname "<firstname>Julien</firstname>">
+  <!ENTITY dhsurname   "<surname>Jorge</surname>">
   <!-- Please adjust the date whenever revising the manpage. -->
   <!ENTITY dhdate      "<date>mai 25, 2008</date>">
   <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
        allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhsection   "<manvolnum>6</manvolnum>">
   <!ENTITY dhemail     "<email>julien_jorge at yahoo.fr</email>">
   <!ENTITY dhusername  "Julien Jorge">
   <!ENTITY dhucpackage "<refentrytitle>PLEE-THE-BEAR</refentrytitle>">
@@ -44,7 +44,7 @@
       &dhsurname;
     </author>
     <copyright>
-      <year>2003</year>
+      <year>2008</year>
       <holder>&dhusername;</holder>
     </copyright>
     &dhdate;
@@ -57,39 +57,41 @@
   <refnamediv>
     <refname>&dhpackage;</refname>
 
-    <refpurpose>program to do something</refpurpose>
+    <refpurpose>2D platform game</refpurpose>
   </refnamediv>
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>&dhpackage;</command>
 
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
+      <arg><option>--log-file=file</option></arg>
+      <arg><option>--log-level=string</option></arg>
 
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
+   </cmdsynopsis>
   </refsynopsisdiv>
   <refsect1>
     <title>DESCRIPTION</title>
 
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
+    <para>Plee the Bear will be a 2D platform jump and run game, as fun as the
+          best platform games of the 90's. The basis of the scenario fit in few
+          lines</para>
 
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
+    <para>4 PM or so, Plee wakes up, tired. He has dreamed again about that
+          awesome period when he went across the entire world together with his
+          belle. He puts his leg in the honey pot... empty! Moreover every
+          single honey pot in the house is empty. "One more trick of that kid",
+          he thinks. "I'm going to give him such a wallop of which he sure will
+          remember".</para>
 
-    <para><command>&dhpackage;</command> is a program that...</para>
+    <para>Following honey drops on the ground, Plee reaches the edge of the
+          forest. Beginning of the game.</para>
 
+    <para>The current version is a demo.</para>
+
   </refsect1>
   <refsect1>
     <title>OPTIONS</title>
 
-    <para>These programs follow the usual &gnu; command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
+    <para>The following options can be passed to the program:</para>
 
     <variablelist>
       <varlistentry>
@@ -101,23 +103,25 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
+        <term><option>--log-file=file</option></term>
         <listitem>
-          <para>Show version of program.</para>
+          <para>Write log output in "file".</para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><option>--log-level=string</option></term>
+        <listitem>
+          <para>Output log messages up to a given level, among "error",
+                "warning" and "verbose".</para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>
     <title>SEE ALSO</title>
 
-    <para>bar (1), baz (1).</para>
+    <para>running-bear (6).</para>
 
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
   </refsect1>
   <refsect1>
     <title>AUTHOR</title>

Modified: packages/trunk/plee-the-bear/debian/plee-the-bear.install
===================================================================
--- packages/trunk/plee-the-bear/debian/plee-the-bear.install	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/plee-the-bear.install	2008-06-06 15:39:41 UTC (rev 7248)
@@ -1,8 +1,7 @@
-debian/tmp/usr/bin/* usr/bin
+debian/tmp/usr/games/* usr/games
 debian/tmp/usr/lib/plee-the-bear usr/lib
 debian/tmp/usr/share/applications usr/share
 debian/tmp/usr/share/icons usr/share
-debian/tmp/usr/share/menu usr/share
 debian/tmp/usr/share/pixmaps usr/share
 debian/tmp/usr/share/plee-the-bear/game_description usr/share/plee-the-bear
 

Added: packages/trunk/plee-the-bear/debian/plee-the-bear.menu
===================================================================
--- packages/trunk/plee-the-bear/debian/plee-the-bear.menu	                        (rev 0)
+++ packages/trunk/plee-the-bear/debian/plee-the-bear.menu	2008-06-06 15:39:41 UTC (rev 7248)
@@ -0,0 +1,5 @@
+?package(plee-the-bear):needs="X11" section="Games/Action" \
+  title="Plee The Bear" \
+  command="plee-the-bear" \
+  hints="Catch your son, he ate all your honey and ran away." \
+  icon="ptb.xpm"

Modified: packages/trunk/plee-the-bear/debian/rules
===================================================================
--- packages/trunk/plee-the-bear/debian/rules	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/rules	2008-06-06 15:39:41 UTC (rev 7248)
@@ -28,7 +28,11 @@
 	cd $(BUILD_TREE); cmake .. \
 		-DCMAKE_INSTALL_PREFIX:STRING="/usr" -DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
 		-DBUILD_STATIC:BOOL=ON \
-		-DBEAR_INSTALL_LIBRARY_DIR:STRING="/usr/lib/plee-the-bear"
+		-DBEAR_INSTALL_LIBRARY_DIR:STRING="lib/plee-the-bear" \
+		-DPTB_INSTALL_CUSTOM_LIBRARY_DIR:STRING="lib/plee-the-bear" \
+		-DBEAR_INSTALL_EXECUTABLE_DIR:STRING="games" \
+		-DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--as-needed,-rpath,/usr/lib/plee-the-bear" \
+		-DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--as-needed,-rpath,/usr/lib/plee-the-bear"
 
 	touch configure-stamp
 
@@ -48,7 +52,7 @@
 	rm -f build-stamp configure-stamp
 	if [ -d $(BUILD_TREE) ]; then cd $(BUILD_TREE); $(MAKE) clean; fi
 	rm -fr $(BUILD_TREE)
-	rm -f debian/running-bear.1
+	rm -f debian/running-bear.6
 	rm -f debian/plee-the-bear.6
 	rm -fr .pc
 	dh_clean 
@@ -72,9 +76,12 @@
 	dh_testroot
 	dh_installchangelogs Changelog
 	dh_installdocs
-	dh_installmenu
-	dh_installman
+	dh_installmenu -pplee-the-bear
+	dh_installman -pplee-the-bear debian/plee-the-bear.6 \
+	              debian/running-bear.6
 	dh_install
+	dh_desktop -pplee-the-bear
+	dh_icons -pplee-the-bear
 	dh_link
 	dh_strip
 	dh_compress 

Modified: packages/trunk/plee-the-bear/debian/running-bear-man.sgml
===================================================================
--- packages/trunk/plee-the-bear/debian/running-bear-man.sgml	2008-06-06 15:16:57 UTC (rev 7247)
+++ packages/trunk/plee-the-bear/debian/running-bear-man.sgml	2008-06-06 15:39:41 UTC (rev 7248)
@@ -17,17 +17,17 @@
   -->
 
   <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!ENTITY dhfirstname "<firstname>Julien</firstname>">
+  <!ENTITY dhsurname   "<surname>Jorge</surname>">
   <!-- Please adjust the date whenever revising the manpage. -->
   <!ENTITY dhdate      "<date>mai 25, 2008</date>">
   <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
        allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhsection   "<manvolnum>6</manvolnum>">
   <!ENTITY dhemail     "<email>julien_jorge at yahoo.fr</email>">
   <!ENTITY dhusername  "Julien Jorge">
-  <!ENTITY dhucpackage "<refentrytitle>PLEE-THE-BEAR</refentrytitle>">
-  <!ENTITY dhpackage   "plee-the-bear">
+  <!ENTITY dhucpackage "<refentrytitle>RUNNING-BEAR</refentrytitle>">
+  <!ENTITY dhpackage   "running-bear">
 
   <!ENTITY debian      "<productname>Debian</productname>">
   <!ENTITY gnu         "<acronym>GNU</acronym>">
@@ -44,7 +44,7 @@
       &dhsurname;
     </author>
     <copyright>
-      <year>2003</year>
+      <year>2008</year>
       <holder>&dhusername;</holder>
     </copyright>
     &dhdate;
@@ -57,42 +57,40 @@
   <refnamediv>
     <refname>&dhpackage;</refname>
 
-    <refpurpose>program to do something</refpurpose>
+    <refpurpose>This program is a launcher for games made with the Bear
+                Engine.</refpurpose>
   </refnamediv>
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>&dhpackage;</command>
 
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
-
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
+      <arg><option>--game=file</option></arg>
+      <arg><option>--log-file=file</option></arg>
+      <arg><option>--log-level=string</option></arg>
+      
+   </cmdsynopsis>
   </refsynopsisdiv>
   <refsect1>
     <title>DESCRIPTION</title>
 
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
-
-    <para><command>&dhpackage;</command> is a program that...</para>
-
+    <para>This program is a launcher for games made with the Bear
+          Engine.</para>
   </refsect1>
   <refsect1>
     <title>OPTIONS</title>
 
-    <para>These programs follow the usual &gnu; command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
+    <para>The following options can be passed to the program:</para>
 
     <variablelist>
       <varlistentry>
+        <term><option>-g=file</option>
+          <option>--game=file</option>
+        </term>
+        <listitem>
+          <para>Read the configuration of the game from a given file.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
         <term><option>-h</option>
           <option>--help</option>
         </term>
@@ -101,25 +99,21 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
+        <term><option>--log-file=file</option></term>
         <listitem>
-          <para>Show version of program.</para>
+          <para>Write log output in "file".</para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><option>--log-level=string</option></term>
+        <listitem>
+          <para>Output log messages up to a given level, among "error",
+                "warning" and "verbose".</para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>bar (1), baz (1).</para>
-
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
-  </refsect1>
-  <refsect1>
     <title>AUTHOR</title>
 
     <para>This manual page was written by &dhusername; &dhemail; for




More information about the Pkg-games-commits mailing list