r4002 - packages/trunk/boswars/debian

Cyril Brulebois kibi-guest at alioth.debian.org
Wed Aug 29 22:15:29 UTC 2007


Author: kibi-guest
Date: 2007-08-29 22:15:29 +0000 (Wed, 29 Aug 2007)
New Revision: 4002

Added:
   packages/trunk/boswars/debian/boswars.6
Removed:
   packages/trunk/boswars/debian/boswars-gl.menu
   packages/trunk/boswars/debian/manpage.6.in
Modified:
   packages/trunk/boswars/debian/changelog
   packages/trunk/boswars/debian/control
   packages/trunk/boswars/debian/rules
Log:
Only build boswars, no longer boswars-gl

Deleted: packages/trunk/boswars/debian/boswars-gl.menu
===================================================================
--- packages/trunk/boswars/debian/boswars-gl.menu	2007-08-29 21:05:26 UTC (rev 4001)
+++ packages/trunk/boswars/debian/boswars-gl.menu	2007-08-29 22:15:29 UTC (rev 4002)
@@ -1,2 +0,0 @@
-?package(boswars-gl):needs="X11" section="Games/Strategy"\
-  title="Bos Wars (OpenGL)" command="/usr/games/boswars-gl"

Copied: packages/trunk/boswars/debian/boswars.6 (from rev 4001, packages/trunk/boswars/debian/manpage.6.in)
===================================================================
--- packages/trunk/boswars/debian/boswars.6	                        (rev 0)
+++ packages/trunk/boswars/debian/boswars.6	2007-08-29 22:15:29 UTC (rev 4002)
@@ -0,0 +1,82 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH BOSWARS 6 "August 12, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+boswars \- futuristic real-time strategy game
+.br
+.SH SYNOPSIS
+.B boswars
+[\fIOPTIONS\fR]
+.SH OPTIONS
+.TP
+\fB\-c\fR file.lua
+configuration start file (default stratagus.lua)
+.TP
+\fB\-d\fR datapath
+path to stratagus data
+.TP
+\fB\-e\fR
+Start editor
+.TP
+\fB\-h\fR
+Help shows this page
+.TP
+\fB\-l\fR
+Disable command log
+.TP
+\fB\-P\fR port
+Network port to use
+.TP
+\fB\-n\fR server
+Network server host preset
+.TP
+\fB\-L\fR lag
+Network lag in # frames (default 10 = 333ms)
+.TP
+\fB\-U\fR update
+Network update rate in # frames (default 5=6x per s)
+.TP
+\fB\-N\fR name
+Name of the player
+.TP
+\fB\-s\fR sleep
+Number of frames for the AI to sleep before it starts
+.TP
+\fB\-v\fR mode
+Video mode (0=default,1=640x480,2=800x600,
+3=1024x768,4=1280x960,5=1600x1200)
+.TP
+\fB\-D\fR
+Video mode depth = pixel per point (for Win32/TNT)
+.TP
+\fB\-F\fR
+Full screen video mode
+.TP
+\fB\-S\fR
+Sync speed (100 = 30 frames/s)
+.TP
+\fB\-W\fR
+Windowed video mode
+.PP
+map is relative to StratagusLibPath=datapath, use ./map for relative to the current working directory.
+
+
+.SH AUTHOR
+boswars was written by the Bos Wars and Stratagus Project.
+.PP
+This manual page was written by Cyril Brulebois <cyril.brulebois at enst\-bretagne.fr>,
+for the Debian project (but may be used by others).

Modified: packages/trunk/boswars/debian/changelog
===================================================================
--- packages/trunk/boswars/debian/changelog	2007-08-29 21:05:26 UTC (rev 4001)
+++ packages/trunk/boswars/debian/changelog	2007-08-29 22:15:29 UTC (rev 4002)
@@ -6,6 +6,10 @@
        alternative in Build-Depends.
      - No menu icon yet, since upstream's .ico seems not to be representative
        of the game.
+     - At the moment, the package is built without OpenGL support, since the
+       next upstream release will have a runtime switch for that, no need to
+       use two binary packages and then ask for the removal of one once the
+       next upstream release is packaged.
 
  -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Mon, 13 Aug 2007 14:35:55 +0200
 

Modified: packages/trunk/boswars/debian/control
===================================================================
--- packages/trunk/boswars/debian/control	2007-08-29 21:05:26 UTC (rev 4001)
+++ packages/trunk/boswars/debian/control	2007-08-29 22:15:29 UTC (rev 4002)
@@ -20,18 +20,6 @@
  .
   Homepage: http://www.boswars.org/
 
-Package: boswars-gl
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, boswars-data (= ${source:Version})
-Description: futuristic real-time strategy game
- Bos Wars is a futuristic real-time strategy game. It is possible to play
- against human opponents over local network (LAN), internet, or against the
- computer.
- .
- This package includes the binary with OpenGL enabled.
- .
-  Homepage: http://www.boswars.org/
-
 Package: boswars-data
 Architecture: all
 Suggests: python

Deleted: packages/trunk/boswars/debian/manpage.6.in
===================================================================
--- packages/trunk/boswars/debian/manpage.6.in	2007-08-29 21:05:26 UTC (rev 4001)
+++ packages/trunk/boswars/debian/manpage.6.in	2007-08-29 22:15:29 UTC (rev 4002)
@@ -1,82 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH BOSWARS_BINARY_NAME 6 "August 12, 2007"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-boswars_binary_name \- futuristic real-time strategy game
-.br
-.SH SYNOPSIS
-.B boswars_binary_name
-[\fIOPTIONS\fR]
-.SH OPTIONS
-.TP
-\fB\-c\fR file.lua
-configuration start file (default stratagus.lua)
-.TP
-\fB\-d\fR datapath
-path to stratagus data
-.TP
-\fB\-e\fR
-Start editor
-.TP
-\fB\-h\fR
-Help shows this page
-.TP
-\fB\-l\fR
-Disable command log
-.TP
-\fB\-P\fR port
-Network port to use
-.TP
-\fB\-n\fR server
-Network server host preset
-.TP
-\fB\-L\fR lag
-Network lag in # frames (default 10 = 333ms)
-.TP
-\fB\-U\fR update
-Network update rate in # frames (default 5=6x per s)
-.TP
-\fB\-N\fR name
-Name of the player
-.TP
-\fB\-s\fR sleep
-Number of frames for the AI to sleep before it starts
-.TP
-\fB\-v\fR mode
-Video mode (0=default,1=640x480,2=800x600,
-3=1024x768,4=1280x960,5=1600x1200)
-.TP
-\fB\-D\fR
-Video mode depth = pixel per point (for Win32/TNT)
-.TP
-\fB\-F\fR
-Full screen video mode
-.TP
-\fB\-S\fR
-Sync speed (100 = 30 frames/s)
-.TP
-\fB\-W\fR
-Windowed video mode
-.PP
-map is relative to StratagusLibPath=datapath, use ./map for relative to the current working directory.
-
-
-.SH AUTHOR
-boswars_binary_name was written by the Bos Wars and Stratagus Project.
-.PP
-This manual page was written by Cyril Brulebois <cyril.brulebois at enst\-bretagne.fr>,
-for the Debian project (but may be used by others).

Modified: packages/trunk/boswars/debian/rules
===================================================================
--- packages/trunk/boswars/debian/rules	2007-08-29 21:05:26 UTC (rev 4001)
+++ packages/trunk/boswars/debian/rules	2007-08-29 22:15:29 UTC (rev 4002)
@@ -42,20 +42,9 @@
 build-arch: build-arch-stamp
 build-arch-stamp: configure-stamp 
 	
-	# Compile with OpenGL
-	scons CCFLAGS=$(CCFLAGS) opengl=1
-	cp boswars boswars-gl
-	
-	# Compile without OpenGL
+	# Compile without OpenGL at the moment, see changelog
 	scons CCFLAGS=$(CCFLAGS) opengl=0
 	
-	# Generate the manpages from the skeleton
-	for i in boswars boswars-gl; do \
-		sed -e "s/boswars_binary_name/$$i/; s/BOSWARS_BINARY_NAME/\U$$i/" \
-			debian/manpage.6.in \
-			> debian/$$i.6; \
-	done
-	
 	touch $@
 
 build-indep: build-indep-stamp
@@ -79,12 +68,6 @@
 	-rm -rf .sconf_temp
 	-rm config.log
 	
-	# Additional binary, see the two-pass build target.
-	-rm boswars-gl
-	
-	# Manpages generated from the skeleton
-	-rm debian/boswars.6 debian/boswars-gl.6
-	
 	dh_clean 
 
 install: install-indep install-arch
@@ -114,17 +97,13 @@
 	
 	# Add here commands to install the arch part of the package into 
 	# debian/tmp.
-	for i in boswars boswars-gl; do \
-		install -d debian/$$i/usr/games;  \
-		install $$i debian/$$i/usr/games; \
-		dh_installman -p$$i debian/$$i.6; \
-	done
+	install -d debian/boswars/usr/games
+	install boswars debian/boswars/usr/games
+	dh_installman -pboswars debian/boswars.6
 	
 	# Install the documentation
-	for i in boswars boswars-gl; do \
-		install -d debian/$$i/usr/share/doc/$$i/html; \
-		cp -r doc/* debian/$$i/usr/share/doc/$$i/html; \
-	done
+	install -d debian/boswars/usr/share/doc/boswars/html
+	cp -r doc/* debian/boswars/usr/share/doc/boswars/html
 	
 	dh_install -s
 




More information about the Pkg-games-commits mailing list