[SCM] Packaging for Red Eclipse branch, master, updated. b5dd329d615792477a2e4507c5da4f11d7cdb199

Martin Erik Werner martinerikwerner at gmail.com
Mon Dec 12 00:44:41 UTC 2011


The following commit has been merged in the master branch:
commit a9977fe8f2d038a1e9a794b07dcab67713b6f7c6
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Sun Dec 11 23:13:02 2011 +0100

    rm cube2font, now in a separate package

diff --git a/debian/changelog b/debian/changelog
index c63a5ea..8bb6d86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,6 @@ redeclipse (1.2-1) unstable; urgency=low
     - build-with-debug-symbols.patch: added
     - fix-install-target.patch: added
   * Build-depends on separate cube2font and fonts-play
-  * Added manual pages for redeclipse[-server] and cube2font
+  * Added manual pages for redeclipse[-server]
 
- -- Martin Erik Werner <martinerikwerner at gmail.com>  Sat, 10 Dec 2011 01:54:49 +0100
+ -- Martin Erik Werner <martinerikwerner at gmail.com>  Sun, 11 Dec 2011 23:09:24 +0100
diff --git a/debian/clean b/debian/clean
index 4b46683..ee663c2 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,4 +1,2 @@
 bin/reclient_native
 bin/reserver_native
-src/cube2font
-src/shared/cube2font.o
diff --git a/debian/control b/debian/control
index c51d027..d08ec09 100644
--- a/debian/control
+++ b/debian/control
@@ -63,13 +63,3 @@ Description: data for the Red Eclipse FPS game
  .
  This package contains the data content, e.g. maps, models, textures, sounds,
  etc. for Red Eclipse
-
-Package: redeclipse-cube2font
-Section: graphics
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: utility program for creating font bitmaps for Cube Engine games
- cube2font is a utility program designed to create font bitmaps for Cube
- Engine games, it works by taking a Truetype font and building it into a
- set of coordinates in an image. cube2font is an improved version of the
- previous TTF2Font, supporting a much larger range of characters.
diff --git a/debian/cube2font.1 b/debian/cube2font.1
deleted file mode 100644
index 4d01575..0000000
--- a/debian/cube2font.1
+++ /dev/null
@@ -1,85 +0,0 @@
-.TH CUBE2FONT 1 "2011-11-07" "" "cube2font Manual"
-.SH NAME
-cube2font \- Utility program designed to create font bitmaps for Cube Engine games
-.SH SYNOPSIS
-.B cube2font
-.I infile outfile border pad offset advance charwidth charheight texwidth texheight
-.SH DESCRIPTION
-cube2font is a utility program designed to create font bitmaps for Cube Engine games, it works by taking a Truetype font and building it into a set of coordinates in an image. cube2font is an improved version of the previous TTF2Font, supporting a much larger range of characters.
-.PP
-The program outputs one or more PNG images containing a grid of characters, so-called "texes", and an accompanying config file in plaintext, which lists the character coordinates in the images.
-.PP
-To use them in a cube game, it is convenient to generate them using e.g.
-.B data/fonts/fontname
-as the
-.I outfile
-parameter, and then change the font name in the resulting config file to just "fontname".
-.SH PARAMETERS
-.TP
-.I infile
-.br
-Path to input file in truetype format.
-.TP
-.I outfile
-Sets the output font name, and is also used as an output filename template: A number and the .png extension will be appended to the texes, and a .cfg extension to the coordinate file.
-.TP
-.I border
-.br
-Size of black border around each character, in pixels, on the texes.
-.TP
-.I pad
-.br
-Added padding around characters, in pixels, on the texes, to prevent them "bleeding" into neighbouring characters.
-.TP
-.I offset
-.br
-Added spacing to the left of each character, in pixels, when they are rendered ingame. If exaggerated it would look something like this:
-.br
-.IP
-|   A|   B|
-.TP
-.I advance
-.br
-Added spacing to the right of each character, in pixels, when they are rendered ingame. If exaggerated it would look something like this:
-.br
-.IP
-|A   |B   |
-.TP
-.I charwidth
-.br
-Width of generated characters on the texes.
-.TP
-.I charheight
-.br
-Height of generated characters on the texes.
-.TP
-.I texwidth
-.br
-Width of generated texes.
-.TP
-.I texheight
-.br
-Height of generated texes.
-.SH EXAMPLES
-.B cube2font default.ttf data/fonts/default 3 19 1 1 49 49 512 512
-.RS 4
-Generates a font with a 3 pixel black border, an additional 19 pixels of space around characters, one pixel of extra spacing at both sides when displayed ingame, a character size of 49x49 pixels, and a tex size of 512x512 pixels.
-.PP
-This would normally generate the files
-.br
-.B data/fonts/default.cfg
-.br
-.B data/fonts/default0.png
-.br
-.B data/fonts/default1.png
-.br
-.B data/fonts/default2.png
-.br
-and set the font name to "data/fonts/default" (which would need to be changed).
-.RE
-.SH AUTHORS
-cube2font was created by Lee "eihrul" Salzman.
-.PP
-This manual page was written by Martin Erik Werner
-.br
-<martinerikwerner at gmail.com>
diff --git a/debian/redeclipse-cube2font.install b/debian/redeclipse-cube2font.install
deleted file mode 100644
index e69de29..0000000
diff --git a/debian/redeclipse-cube2font.manpages b/debian/redeclipse-cube2font.manpages
deleted file mode 100644
index 71542bb..0000000
--- a/debian/redeclipse-cube2font.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/cube2font.1
diff --git a/debian/rules b/debian/rules
index a2aa377..d8ce0e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ override_dh_auto_clean:
 	dh_auto_clean --sourcedirectory=src/enet
 
 override_dh_auto_build:
-	dh_auto_build -- client server cube2font
+	dh_auto_build -- client server
 	install -d debian/tmp/usr/share/icons/hicolor/16x16/apps \
 			debian/tmp/usr/share/icons/hicolor/32x32/apps \
 			debian/tmp/usr/share/icons/hicolor/48x48/apps \

-- 
Packaging for Red Eclipse



More information about the Pkg-games-commits mailing list