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

Julien Jorge j-jorge-guest at alioth.debian.org
Thu Jun 5 15:53:48 UTC 2008


Author: j-jorge-guest
Date: 2008-06-05 15:53:47 +0000 (Thu, 05 Jun 2008)
New Revision: 7230

Added:
   packages/trunk/plee-the-bear/debian/libbear-gui0.install
   packages/trunk/plee-the-bear/debian/patches/
   packages/trunk/plee-the-bear/debian/patches/built-paths.diff
   packages/trunk/plee-the-bear/debian/patches/series
Removed:
   packages/trunk/plee-the-bear/debian/bear-factory.install
Modified:
   packages/trunk/plee-the-bear/debian/changelog
   packages/trunk/plee-the-bear/debian/control
   packages/trunk/plee-the-bear/debian/rules
Log:
Fill the 'rules' file.

Deleted: packages/trunk/plee-the-bear/debian/bear-factory.install
===================================================================
--- packages/trunk/plee-the-bear/debian/bear-factory.install	2008-06-05 12:48:51 UTC (rev 7229)
+++ packages/trunk/plee-the-bear/debian/bear-factory.install	2008-06-05 15:53:47 UTC (rev 7230)
@@ -1,3 +0,0 @@
-debian/tmp/usr/bin/bear-factory usr/bin
-debian/tmp/usr/share/bear-factory/generic usr/share/bear-factory
-

Modified: packages/trunk/plee-the-bear/debian/changelog
===================================================================
--- packages/trunk/plee-the-bear/debian/changelog	2008-06-05 12:48:51 UTC (rev 7229)
+++ packages/trunk/plee-the-bear/debian/changelog	2008-06-05 15:53:47 UTC (rev 7230)
@@ -1,6 +1,6 @@
 plee-the-bear (0.2.0-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release (Closes: #482663)
 
  -- Julien Jorge <julien_jorge at yahoo.fr>  Sun, 25 May 2008 11:08:32 +0200
 

Modified: packages/trunk/plee-the-bear/debian/control
===================================================================
--- packages/trunk/plee-the-bear/debian/control	2008-06-05 12:48:51 UTC (rev 7229)
+++ packages/trunk/plee-the-bear/debian/control	2008-06-05 15:53:47 UTC (rev 7230)
@@ -1,105 +1,156 @@
 Source: plee-the-bear
-Section: unknown
+Section: games
 Priority: extra
 Maintainer: Julien Jorge <julien_jorge at yahoo.fr>
-Build-Depends: debhelper (>= 5), libsdl-mixer1.2-dev (>= 1.2.6),
- libboost-filesystem-dev (>= 1.33), mesa-common-dev (>= 6.5)
- libclaw-dev (>= 1.5.2b), libclaw-graphic-dev (>= 1.5.2b),
- libclaw-logger-dev (>= 1.5.2b), libclaw-application-dev (>= 1.5.2b),
- libclaw-configuration-file-dev (>= 1.5.2b), libwxgtk2.8-dev (>= 2.8)
-Standards-Version: 3.7.2
+Build-Depends: quilt, docbook-to-man, debhelper (>= 5),
+ libsdl-mixer1.2-dev (>= 1.2.6), libboost-filesystem-dev (>= 1.33),
+ mesa-common-dev (>= 6.5), libclaw-dev (>= 1.5.2b),
+ libclaw-graphic-dev (>= 1.5.2b), libclaw-logger-dev (>= 1.5.2b),
+ libclaw-application-dev (>= 1.5.2b), libclaw-configuration-file-dev (>= 1.5.2b)
+Standards-Version: 3.7.3
 
 Package: plee-the-bear
+Section: games
 Architecture: any
 Depends: ${shlibs:Depends}, running-bear (= ${binary:Version}),
  libbear-generic-items0 (= ${binary:Version}),
  libbear-gui0 (= ${binary:Version})
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+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
+ the beginning of the 90's. The basis of the scenario fit in few lines:
+ .
+ 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".
+ .
+ Following honey drops on the ground, Plee reaches the edge of the forest.
+ Beginning of the game.
+ .
+ The current version is a demo.
 
 Package: plee-the-bear-data
+Section: games
 Architecture: all
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Homepage: http://plee-the-bear.sourceforge.net/
+Description: Data for Plee the Bear
+ Data files for the game Plee the Bear.
 
-Package: plee-the-bear-desc
-Architecture: all
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
-
 Package: running-bear
+Section: games
 Architecture: any
 Depends: ${shlibs:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Homepage: http://plee-the-bear.sourceforge.net/
+Description: Main program of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The Bear Engine is an engine for 2D platform games. This program offers a
+ simple way to launch games made with this engine.
 
-Package: bear-factory
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
-
 Package: libbear-audio0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
- 
+Description: Audio related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::audio module offers an easy way to play music and sounds.
+
 Package: libbear-communication0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
- 
+Description: Internal communication part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::communication module offers an easy way to send messages among named
+ instances.
+
 Package: libbear-engine0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Main library of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::engine module coordinates the use of the other modules of the Bear
+ Engine to create a environment for 2D platform games.
 
+Package: libbear-gui0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Homepage: http://plee-the-bear.sourceforge.net/
+Description: GUI controller related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::gui module offers an easy way to create a graphical user interface.
+
 Package: libbear-input0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Input controller related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::input module offers an easy way to access to the controlers (mouse,
+ keyboard, joystick).
 
 Package: libbear-text0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Text related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::text module offers an easy way to deal with fonts and texts.
 
 Package: libbear-time0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Time related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::time_ref module offers an easy way to get the time...
 
 Package: libbear-universe0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Audio related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::universe module offers an easy way to introduce a 2D physic engine in
+ the game.
 
 Package: libbear-visual0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: Graphism related part of the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ The bear::visual module offers an easy way to draw on the screen and deal with
+ image resources.
 
 Package: libbear-generic-items0
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
 Homepage: http://plee-the-bear.sourceforge.net/
-Description: 
+Description: A set of game independent items for the Bear Engine
+ This library is part of the Bear Engine.
+ .
+ This module contains a set of game independent items for 2D platform games.
 
-

Added: packages/trunk/plee-the-bear/debian/libbear-gui0.install
===================================================================
--- packages/trunk/plee-the-bear/debian/libbear-gui0.install	                        (rev 0)
+++ packages/trunk/plee-the-bear/debian/libbear-gui0.install	2008-06-05 15:53:47 UTC (rev 7230)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libbear_gui0.so.* usr/lib

Added: packages/trunk/plee-the-bear/debian/patches/built-paths.diff
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/built-paths.diff	                        (rev 0)
+++ packages/trunk/plee-the-bear/debian/patches/built-paths.diff	2008-06-05 15:53:47 UTC (rev 7230)
@@ -0,0 +1,43 @@
+Index: plee-the-bear-0.2.0/data/CMakeLists.txt
+===================================================================
+--- plee-the-bear-0.2.0.orig/data/CMakeLists.txt	2008-06-05 16:26:21.000000000 +0200
++++ plee-the-bear-0.2.0/data/CMakeLists.txt	2008-06-05 16:26:57.000000000 +0200
+@@ -33,18 +33,16 @@
+   ADD_CUSTOM_TARGET( ${CCR_TARGET} ALL DEPENDS ${CCR_OUTPUT_FILES} )
+ ENDMACRO( CUSTOM_COMPILE_RULE )
+ 
+-SET( BASE_DIR "${GAME_ROOT_DIRECTORY}" )
+-
+ # model compiler
+-SET( MC_EXEC "${BASE_DIR}/bin/mc" )
++SET( MC_EXEC "${EXECUTABLE_OUTPUT_PATH}/mc" )
+ 
+ SET( MODEL_FILES
+-  model/headstone.mdl
+-  model/player_1.mdl
+-  model/player_2.mdl
+-  model/sting.mdl
+-  model/stone.mdl
+-  model/wasp.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/headstone.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/player_1.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/player_2.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/sting.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/stone.mdl
++  ${CMAKE_CURRENT_SOURCE_DIR}/model/wasp.mdl
+ )
+ 
+ CUSTOM_COMPILE_RULE( model_files "${MC_EXEC}" .cm ${MODEL_FILES} )
+Index: plee-the-bear-0.2.0/CMakeLists.txt
+===================================================================
+--- plee-the-bear-0.2.0.orig/CMakeLists.txt	2008-06-05 16:29:33.000000000 +0200
++++ plee-the-bear-0.2.0/CMakeLists.txt	2008-06-05 16:29:50.000000000 +0200
+@@ -30,7 +30,7 @@
+ ENDIF( NOT PTB_INSTALL_CUSTOM_LIBRARY_DIR )
+ 
+ # Directories where the executable and libraries are built
+-SET( EXECUTABLE_OUTPUT_PATH "${GAME_ROOT_DIRECTORY}/bin" )
++SET( EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}/bin" )
+ SET( LIBRARY_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}" )
+ 
+ # common flags

Added: packages/trunk/plee-the-bear/debian/patches/series
===================================================================
--- packages/trunk/plee-the-bear/debian/patches/series	                        (rev 0)
+++ packages/trunk/plee-the-bear/debian/patches/series	2008-06-05 15:53:47 UTC (rev 7230)
@@ -0,0 +1 @@
+built-paths.diff

Modified: packages/trunk/plee-the-bear/debian/rules
===================================================================
--- packages/trunk/plee-the-bear/debian/rules	2008-06-05 12:48:51 UTC (rev 7229)
+++ packages/trunk/plee-the-bear/debian/rules	2008-06-05 15:53:47 UTC (rev 7230)
@@ -16,105 +16,74 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+BUILD_TREE=$(CURDIR)/build-tree
 
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	
+	# Perform an out-of-tree build to keep a clean source tree
+	mkdir $(BUILD_TREE)
+	cd $(BUILD_TREE); cmake .. \
+		-DCMAKE_INSTALL_PREFIX:STRING="/usr" -DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
+		-DBUILD_STATIC:BOOL=ON
 
 	touch configure-stamp
 
 
-#Architecture 
-build: build-arch build-indep
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
 
-build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp 
+	cd $(BUILD_TREE); $(MAKE)
 
-	# Add here commands to compile the arch part of the package.
-	#$(MAKE) 
 	touch $@
 
-build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp 
-
-	# Add here commands to compile the indep part of the package.
-	#$(MAKE) doc
-	touch $@
-
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	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/plee-the-bear.6
+	rm -fr .pc
 	dh_clean 
 
-install: install-indep install-arch
-install-indep:
+install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k -i 
-	dh_installdirs -i
+	dh_clean -k
+	dh_installdirs
+	cd $(BUILD_TREE); $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	docbook-to-man debian/running-bear-man.sgml > debian/running-bear.1
+	docbook-to-man debian/plee-the-bear-man.sgml > debian/plee-the-bear.6
 
-	# Add here commands to install the indep part of the package into
-	# debian/<package>-doc.
-	#INSTALLDOC#
+# Build architecture independant packages using the common target.
+binary-indep: build install
+# We have nothing to do by default.
 
-	dh_install -i
-
-install-arch:
+# Build architecture dependant packages using the common target.
+binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_clean -k -s 
-	dh_installdirs -s
-
-	# Add here commands to install the arch part of the package into 
-	# debian/tmp.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/plee-the-bear install
-
-	dh_install -s
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
 	dh_installchangelogs Changelog
 	dh_installdocs
 	dh_installexamples
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate	
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
+	dh_installmenu
 	dh_installman
 	dh_link
 	dh_strip
 	dh_compress 
 	dh_fixperms
-#	dh_perl
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
 
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
-
 binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
+.PHONY: build clean binary-indep binary-arch binary install configure




More information about the Pkg-games-commits mailing list