Add debian directory
Markus Koschany
11 years ago
0 | lgeneral for Debian | |
1 | ------------------- | |
2 | ||
3 | In order to play LGeneral you have to install lgc-pg, a tool for converting the | |
4 | original game data files of Panzer General to LGeneral's native file format. | |
5 | You can obtain them from the original CD-ROM or with game-data-packager. | |
6 | ||
7 | Examples | |
8 | ======== | |
9 | ||
10 | 1. Convert the original Panzer General game data and create a Debian package. | |
11 | ||
12 | game-data-packager lgeneral -f pg-data.tar.gz | |
13 | ||
14 | 2. Fetch a compressed pg-data archive of Panzer General game data from the web | |
15 | and create a Debian package. | |
16 | ||
17 | game-data-packager lgeneral -w | |
18 | ||
19 | One of the goals for LGeneral is to create a free game data package. | |
20 | If you are aware of any free data files for LGeneral, please report to the | |
21 | following bug report. | |
22 | ||
23 | http://bugs.debian.org/193061 | |
24 | ||
25 | You can gather more information about LGeneral for Debian at | |
26 | http://wiki.debian.org/Games/LGeneral. | |
27 | ||
28 | -- Markus Koschany <apo@gambaru.de> Tue, 07 Oct 2012 14:34:16 +0200 |
0 | lgeneral for Debian | |
1 | ------------------- | |
2 | ||
3 | LGeneral was repacked. Please read debian/copyright for more information. | |
4 | ||
5 | You can download the original source tarball from | |
6 | ||
7 | http://lgames.sourceforge.net/index.php?project=LGeneral | |
8 | ||
9 | Markus Koschany 2012-10-07 |
0 | lgeneral (1.2.3+dfsg-1) unstable; urgency=low | |
1 | ||
2 | * New Maintainer. (Closes: #465942) | |
3 | * New upstream release. | |
4 | * Reintroduction of lgc-pg which is now included in the sources. | |
5 | * Depend on game-data-packager and lgc-pg to provide game data | |
6 | for users who own a copy of Panzer General. (Closes: #690683) | |
7 | * Switch to package format 3.0 (quilt). | |
8 | * Build with hardening=+all and -Wl, --as-needed to avoid unnecessary | |
9 | dependencies. | |
10 | * Set compat level to 9 and debhelper build-dep to >=9. | |
11 | * Bump Standards-Version to 3.9.4, no changes needed. | |
12 | * Fix FTBFS because of Hardening Werror=format-security error. | |
13 | * Remove non-free files and make LGeneral comply to the DFSG. | |
14 | * Improve LGeneral's manpages. | |
15 | * Update debian/copyright to copyright format 1.0 | |
16 | ||
17 | -- Markus Koschany <apo@gambaru.de> Tue, 17 Oct 2012 17:56:28 +0200 | |
18 | ||
19 | lgeneral (1.1.1-5) unstable; urgency=low | |
20 | ||
21 | * QA upload. | |
22 | + Set maintainer to Debian QA Group <packages@qa.debian.org> | |
23 | * Add Homepage. | |
24 | * Add ${misc:Depends} to binary package. | |
25 | * Remove broken URL from manpage. (Closes: #320730). | |
26 | * Add desktop file from Ubuntu. (Remove deprecated Encoding). | |
27 | + Install in rules and call dh_desktop. | |
28 | * Make clean not ignore errors. | |
29 | * Add watch file. | |
30 | * Version debhelper build-dep and set to >= 5.0.0. | |
31 | * Move DH_COMPAT from rules to debian/compat and set to 5. | |
32 | * Bump Standards Version to 3.8.0. | |
33 | ||
34 | -- Barry deFreese <bdefreese@debian.org> Wed, 04 Feb 2009 13:38:51 -0500 | |
35 | ||
36 | lgeneral (1.1.1-4) unstable; urgency=low | |
37 | ||
38 | * moved to contrib (closes: bug#239673) | |
39 | ||
40 | -- Lukasz Jachowicz <honey@debian.org> Wed, 28 Jul 2004 10:34:02 +0200 | |
41 | ||
42 | lgeneral (1.1.1-3) unstable; urgency=low | |
43 | ||
44 | * Fixed debian/rules to update some timestamps (closes: bug#214296) | |
45 | * Do not suggest lgeneral-data anymore - this package woud be | |
46 | DFSG-compilant. | |
47 | ||
48 | -- Lukasz Jachowicz <honey@debian.org> Tue, 2 Feb 2004 02:05:01 +0200 | |
49 | ||
50 | lgeneral (1.1.1-2) unstable; urgency=low | |
51 | ||
52 | * Now suggests lgeneral-data and lgc-pg (closes: bug#193061) | |
53 | ||
54 | -- Lukasz Jachowicz <honey@debian.org> Thu, 2 Oct 2003 19:27:11 +0000 | |
55 | ||
56 | lgeneral (1.1.1-1) unstable; urgency=low | |
57 | ||
58 | * New upstream release (closes: bug#149008) | |
59 | ||
60 | -- Lukasz Jachowicz <honey@debian.org> Tue, 8 Apr 2003 06:43:13 +0000 | |
61 | ||
62 | lgeneral (0.5.0-4) unstable; urgency=low | |
63 | ||
64 | * Fixed typo in description and manual (closes: bug#122127) | |
65 | ||
66 | -- Lukasz Jachowicz <honey@debian.org> Mon, 3 Dec 2001 15:12:23 +0200 | |
67 | ||
68 | lgeneral (0.5.0-3) unstable; urgency=low | |
69 | ||
70 | * Updated the libSDL dependencies (closes: bug#119287) | |
71 | * Fixed typo in description (closes: bug#119662) | |
72 | * Fixed build dependencies (closes: bug#117935) | |
73 | ||
74 | -- Lukasz Jachowicz <honey@debian.org> Thu, 12 Nov 2001 17:15:33 +0200 | |
75 | ||
76 | lgeneral (0.5.0-2) unstable; urgency=low | |
77 | ||
78 | * Fixed missing dependencies (closes: bug#114683) | |
79 | ||
80 | -- Lukasz Jachowicz <honey@debian.org> Thu, 8 Oct 2001 23:25:35 +0200 | |
81 | ||
82 | lgeneral (0.5.0-1) unstable; urgency=low | |
83 | ||
84 | * Initial Release. | |
85 | * Adjusted the configure.in file to fix path problems. | |
86 | * Wrote the manual page for lgeneral. | |
87 | * Renamed ChangeLog to changelog. | |
88 | ||
89 | -- Lukasz Jachowicz <honey@debian.org> Thu, 20 Sep 2001 17:05:55 +0200 | |
90 |
0 | 9 |
0 | Source: lgeneral | |
1 | Priority: optional | |
2 | Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> | |
3 | Uploaders: Markus Koschany <apo@gambaru.de> | |
4 | Section: contrib/games | |
5 | Build-Depends: autotools-dev, | |
6 | debhelper (>= 9), | |
7 | libsdl-mixer1.2-dev, | |
8 | libsdl1.2-dev | |
9 | Standards-Version: 3.9.4 | |
10 | Homepage: http://lgames.sourceforge.net | |
11 | Vcs-Git: git://git.debian.org/pkg-games/lgeneral.git | |
12 | Vcs-Browser: http://git.debian.org/?p=pkg-games/lgeneral.git;a=summary | |
13 | ||
14 | Package: lgeneral | |
15 | Architecture: any | |
16 | Depends: game-data-packager | lgeneral-data-nonfree, | |
17 | lgc-pg, | |
18 | ${misc:Depends}, | |
19 | ${shlibs:Depends} | |
20 | Description: strategy game in the tradition of Panzer General | |
21 | LGeneral is a turn-based strategy game heavily inspired by Panzer General. | |
22 | You play single scenarios or whole campaigns turn by turn against a human | |
23 | player or the AI. | |
24 | . | |
25 | Entrenchment, rugged defense, defensive fire, surprise contacts, surrender, | |
26 | unit supply, weather influence, reinforcements and other implementations | |
27 | contribute to the tactical and strategic depth of the game. | |
28 | . | |
29 | This is the game engine only. LGeneral requires lgc-pg, which converts the | |
30 | game data of the original Panzer General game, to function properly. | |
31 | ||
32 | Package: lgc-pg | |
33 | Architecture: any | |
34 | Depends: ${misc:Depends}, ${shlibs:Depends} | |
35 | Description: LGeneral converter for Panzer General game data | |
36 | LGeneral is a turn-based strategy game heavily inspired by Panzer General. | |
37 | . | |
38 | This package provides lgc-pg a tool to convert the original game data of | |
39 | Panzer General to LGeneral's native file format. |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: lgeneral | |
2 | Upstream-Contact: Michael Speck <kulkanie@gmx.net> | |
3 | Source: http://lgames.sourceforge.net | |
4 | Comment: | |
5 | The source tarball was repacked. The following files had to be removed | |
6 | because the usage for commercial use is forbidden. | |
7 | . | |
8 | PanzerGeneral-Guru.txt | |
9 | bkgnd.bmp | |
10 | brief_frame.bmp | |
11 | ||
12 | Files: * | |
13 | Copyright: 2001-2012 Michael Speck <kulkanie@gmx.net> | |
14 | 2005-2006 Leo Savernik <l.savernik@aon.at> | |
15 | 1995, 1997 Free Software Foundation, Inc. | |
16 | 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> | |
17 | 2002 Gernot Galli <gernot_galli@onlinehome.de> | |
18 | License: GPL-2+ | |
19 | ||
20 | Files: lgc-pg/shptool.c | |
21 | tools/ltrextract/ltrextract.c | |
22 | tools/ltrextract/util.c | |
23 | tools/ltrextract/util.h | |
24 | util/localize.c | |
25 | util/localize.h | |
26 | util/paths.c | |
27 | util/paths.h | |
28 | util/paths-linux.c | |
29 | util/portability.c | |
30 | lged/lged.c | |
31 | Copyright: 2005-2006 Leo Savernik <l.savernik@aon.at> | |
32 | License: BSD-2-clause | |
33 | ||
34 | Files: util/hashtable* | |
35 | Copyright: 2002 Christopher Clark <Christopher.Clark@cl.cam.ac.uk> | |
36 | License: BSD-3-clause | |
37 | ||
38 | Files: debian/* | |
39 | Copyright: 2001-2004 Lukasz Jachowicz <honey@debian.org> | |
40 | 2009 Barry deFreese <bdefreese@debian.org> | |
41 | 2012 Markus Koschany <apo@gambaru.de> | |
42 | License: GPL-2+ | |
43 | ||
44 | License: GPL-2+ | |
45 | This package is free software; you can redistribute it and/or modify | |
46 | it under the terms of the GNU General Public License 2 as published by | |
47 | the Free Software Foundation; either version 2 of the License, or | |
48 | (at your option) any later version. | |
49 | . | |
50 | This package is distributed in the hope that it will be useful, | |
51 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
52 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
53 | GNU General Public License for more details. | |
54 | . | |
55 | You should have received a copy of the GNU General Public License | |
56 | along with this program. If not, see <http://www.gnu.org/licenses/> | |
57 | . | |
58 | On Debian systems, the complete text of the GNU General | |
59 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". | |
60 | ||
61 | License: BSD-2-clause | |
62 | Copyright (C) 2005 Leo Savernik All rights reserved. | |
63 | . | |
64 | Redistribution and use in source and binary forms, with or without | |
65 | modification, are permitted provided that the following conditions | |
66 | are met: | |
67 | 1. Redistributions of source code must retain the above copyright | |
68 | notice, this list of conditions and the following disclaimer. | |
69 | 2. Redistributions in binary form must reproduce the above copyright | |
70 | notice, this list of conditions and the following disclaimer in the | |
71 | documentation and/or other materials provided with the distribution. | |
72 | . | |
73 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY | |
74 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
75 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
76 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR | |
77 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
78 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
79 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
80 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | |
81 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
82 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
83 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
84 | ||
85 | License: BSD-3-clause | |
86 | Copyright (c) 2002, Christopher Clark | |
87 | All rights reserved. | |
88 | . | |
89 | Redistribution and use in source and binary forms, with or without | |
90 | modification, are permitted provided that the following conditions | |
91 | are met: | |
92 | . | |
93 | Redistributions of source code must retain the above copyright | |
94 | notice, this list of conditions and the following disclaimer. | |
95 | . | |
96 | Redistributions in binary form must reproduce the above copyright | |
97 | notice, this list of conditions and the following disclaimer in the | |
98 | documentation and/or other materials provided with the distribution. | |
99 | . | |
100 | Neither the name of the original author; nor the names of any contributors | |
101 | may be used to endorse or promote products derived from this software | |
102 | without specific prior written permission. | |
103 | . | |
104 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
105 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
106 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
107 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER | |
108 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
109 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
110 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
111 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
112 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
113 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
114 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 | README.lgc-pg |
0 | usr/bin/lgc-pg usr/games | |
1 | usr/share/games/lgeneral/convdata | |
2 | usr/share/man/man1/lgc-pg.1 usr/share/man/man1 |
0 | usr/bin/lgeneral usr/games | |
1 | usr/share/games/applications usr/share | |
2 | usr/share/games/icons/* usr/share/pixmaps | |
3 | usr/share/games/lgeneral/campaigns usr/share/games/lgeneral | |
4 | usr/share/games/lgeneral/gfx usr/share/games/lgeneral | |
5 | usr/share/games/lgeneral/themes usr/share/games/lgeneral | |
6 | usr/share/locale | |
7 | usr/share/man/man6/lgeneral.6 usr/share/man/man6 |
0 | ?package(lgeneral):needs="X11" section="Games/Strategy"\ | |
1 | title="LGeneral" command="/usr/games/lgeneral" |
0 | From: Markus Koschany <apo@gambaru.de> | |
1 | Date: Wed, 26 Sep 2012 17:41:32 +0200 | |
2 | Subject: Fix FTBFS Hardening Werror=format-security | |
3 | ||
4 | Fix error: format not a string literal and no format arguments | |
5 | [-Werror=format-security] | |
6 | --- | |
7 | lgc-pg/units.c | 2 +- | |
8 | src/engine.c | 6 +++--- | |
9 | 2 files changed, 4 insertions(+), 4 deletions(-) | |
10 | ||
11 | diff --git a/lgc-pg/units.c b/lgc-pg/units.c | |
12 | index f7ad3d7..5c3b708 100644 | |
13 | --- a/lgc-pg/units.c | |
14 | +++ b/lgc-pg/units.c | |
15 | @@ -552,7 +552,7 @@ int units_convert_database( char *tac_icons ) | |
16 | } | |
17 | } | |
18 | /* get flags */ | |
19 | - sprintf( flags, unit_classes[entry.class * 3 + 2] ); | |
20 | + sprintf( flags, "%s", unit_classes[entry.class * 3 + 2] ); | |
21 | if ( apply_unit_mods ) { | |
22 | i = 0; | |
23 | while ( add_flags[i*2][0] != 'X' ) { | |
24 | diff --git a/src/engine.c b/src/engine.c | |
25 | index 8b049a0..74468a0 100644 | |
26 | --- a/src/engine.c | |
27 | +++ b/src/engine.c | |
28 | @@ -2311,7 +2311,7 @@ static void engine_handle_button( int id ) | |
29 | if ( gui->module_dlg->subdir[0] != 0 ) | |
30 | sprintf( path, "%s/%s", gui->module_dlg->subdir, (char*)gui->module_dlg->lbox->cur_item ); | |
31 | else | |
32 | - sprintf( path, (char*)gui->module_dlg->lbox->cur_item ); | |
33 | + sprintf( path, "%s", (char*)gui->module_dlg->lbox->cur_item ); | |
34 | free( setup.modules[gui->setup->sel_id] ); | |
35 | setup.modules[gui->setup->sel_id] = strdup( path ); | |
36 | gui_handle_player_select( gui->setup->list->cur_item ); | |
37 | @@ -2756,7 +2756,7 @@ static void engine_check_events(int *reinit) | |
38 | result = gui_get_message_pane_selection(camp_pane); | |
39 | if (result && strcmp(result, "nextscen") == 0) { | |
40 | /* start scenario */ | |
41 | - sprintf( setup.fname, camp_cur_scen->scen ); | |
42 | + sprintf( setup.fname, "%s", camp_cur_scen->scen ); | |
43 | setup.type = SETUP_DEFAULT_SCEN; | |
44 | end_scen = 1; | |
45 | *reinit = 1; | |
46 | @@ -4243,7 +4243,7 @@ void engine_run() | |
47 | } | |
48 | else { | |
49 | /* next scenario */ | |
50 | - sprintf( setup.fname, camp_cur_scen->scen ); | |
51 | + sprintf( setup.fname, "%s", camp_cur_scen->scen ); | |
52 | setup.type = SETUP_CAMP_BRIEFING; | |
53 | reinit = 1; | |
54 | } |
0 | From: Markus Koschany <apo@gambaru.de> | |
1 | Date: Mon, 8 Oct 2012 16:28:00 +0200 | |
2 | Subject: Improve manpages of LGeneral | |
3 | ||
4 | --- | |
5 | lgc-pg/lgc-pg.1 | 20 +++----------- | |
6 | src/lgeneral.6 | 83 +++++++++++++++++++++++++++++-------------------------- | |
7 | 2 files changed, 48 insertions(+), 55 deletions(-) | |
8 | ||
9 | diff --git a/lgc-pg/lgc-pg.1 b/lgc-pg/lgc-pg.1 | |
10 | index 3de1890..8c84937 100644 | |
11 | --- a/lgc-pg/lgc-pg.1 | |
12 | +++ b/lgc-pg/lgc-pg.1 | |
13 | @@ -2,7 +2,7 @@ | |
14 | .\" First parameter, NAME, should be all caps | |
15 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | |
16 | .\" other parameters are allowed: see man(7), man(1) | |
17 | -.TH LGC-PG 1 "November 13, 2002" | |
18 | +.TH LGC-PG 1 "October 07, 2012" | |
19 | .\" Please adjust this date whenever revising the manpage. | |
20 | .\" | |
21 | .\" Some roff macros, for reference: | |
22 | @@ -23,11 +23,6 @@ lgc-pg \- Converter Tool for original Panzer General\*R Data Files | |
23 | .br | |
24 | .SH DESCRIPTION | |
25 | LGC-PG is a simple tool to convert the original Panzer General\*R Data into LGeneral Data Files. | |
26 | - | |
27 | -.\" TeX users may be more comfortable with the \fB<whatever>\fP and | |
28 | -.\" \fI<whatever>\fP escape sequences to invode bold face and italics, | |
29 | -.\" respectively. | |
30 | - | |
31 | .SH OPTIONS | |
32 | .TP | |
33 | .B \-s | |
34 | @@ -35,7 +30,7 @@ You always need to specify the source directory (which contains | |
35 | the original data or a custom scenario). | |
36 | .TP | |
37 | .B \-d | |
38 | -This specify's the destination path that contains the LGeneral data struct. (usually /usr/share/games/lgeneral) | |
39 | +This specifies the destination path that contains the LGeneral data struct. (usually /usr/share/games/lgeneral) | |
40 | .TP | |
41 | .B \-\-defpal | |
42 | This one is optional and forces all PG graphics to use the default | |
43 | @@ -55,20 +50,13 @@ This is the <ID> in the source file name (game<ID>.scn). If you do not specify a | |
44 | .B \-t <TACICONS> | |
45 | If custom tactical icons are involved (scenario offers a TACICONS.SHP)this is the name of the graphical file. | |
46 | If this option is not provided it defaults to <NAME>.bmp. | |
47 | -. TP | |
48 | .SH EXAMPLES | |
49 | .TP | |
50 | 1) Converts all data from CD-ROM | |
51 | .TP | |
52 | - > lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral | |
53 | -.TP | |
54 | +lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral | |
55 | .TP | |
56 | 2) Converts a custom scenario | |
57 | .TP | |
58 | - > lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 | |
59 | -.TP | |
60 | +lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 | |
61 | ||
62 | -.SH AUTHOR | |
63 | -.TP | |
64 | -This manual page was written by Gernot Galli <gernot_galli@onlinehome.de>, | |
65 | -for the Debian GNU/Linux system (but may be used by others). | |
66 | diff --git a/src/lgeneral.6 b/src/lgeneral.6 | |
67 | index 37788e1..4303061 100644 | |
68 | --- a/src/lgeneral.6 | |
69 | +++ b/src/lgeneral.6 | |
70 | @@ -1,44 +1,49 @@ | |
71 | -.\" Hey, EMACS: -*- nroff -*- | |
72 | -.\" First parameter, NAME, should be all caps | |
73 | -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | |
74 | -.\" other parameters are allowed: see man(7), man(1) | |
75 | -.TH LGENERAL 6 "November 13, 2002" | |
76 | -.\" Please adjust this date whenever revising the manpage. | |
77 | -.\" | |
78 | -.\" Some roff macros, for reference: | |
79 | -.\" .nh disable hyphenation | |
80 | -.\" .hy enable hyphenation | |
81 | -.\" .ad l left justify | |
82 | -.\" .ad b justify to both left and right margins | |
83 | -.\" .nf disable filling | |
84 | -.\" .fi enable filling | |
85 | -.\" .br insert line break | |
86 | -.\" .sp <n> insert n+1 empty lines | |
87 | -.\" for manpage-specific macros, see man(7) | |
88 | +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.12. | |
89 | +.TH LGENERAL "6" "October 2012" "LGeneral 1.2.3" "User Commands" | |
90 | .SH NAME | |
91 | LGeneral \- a turn-based strategy game engine. | |
92 | .SH SYNOPSIS | |
93 | -.B lgeneral | |
94 | - | |
95 | +\fBlgeneral\fR [options] [resource\-file] | |
96 | .SH DESCRIPTION | |
97 | -LGeneral is a strategy game engine similar to SSI's Panzer General\*R, | |
98 | -but it has some differences to the original: | |
99 | -.TP | |
100 | -1)Reinforcement: | |
101 | -.TP | |
102 | -In Panzer General\*R you could buy reinforcement by prestige. In LGeneral reinforcement appears in a specific turn and will be placed around an allied town that was not lost during playing. This also means that conquered towns may not serve as deploy centers. | |
103 | -.TP | |
104 | -.TP | |
105 | -2)Core Units: | |
106 | -.TP | |
107 | -You do not have core units in LGeneral. | |
108 | -.TP | |
109 | - | |
110 | +LGeneral is a strategy game engine heavily inspired by Panzer General. | |
111 | +You play single scenarios or whole campaigns turn by turn against a | |
112 | +human player or the AI. | |
113 | .SH OPTIONS | |
114 | -This program has no command line opotions. | |
115 | -.TP | |
116 | - | |
117 | -.SH AUTHOR | |
118 | -.TP | |
119 | -This manual page was written by Gernot Galli <gernot_galli@onlinehome.de>, | |
120 | -for the Debian GNU/Linux system (but may be used by others). | |
121 | +.HP | |
122 | +\fB\-\-ai\-debug=\fR<loglev> | |
123 | +.IP | |
124 | +Verbosity level of debug messages for AI turn | |
125 | +.HP | |
126 | +\fB\-\-campaign\-start=\fR<state> | |
127 | +.IP | |
128 | +Initial state to start campaign with (debug only) | |
129 | +.HP | |
130 | +\fB\-\-control=\fR<who> | |
131 | +.IP | |
132 | +Entity who controls the current side. <who> is either human, | |
133 | +or cpu (short: h, or c). Multiple options can be specified. | |
134 | +In this case the first option refers to the first side, the | |
135 | +second option to the second side, etc. | |
136 | +.HP | |
137 | +\fB\-\-(no\-)deploy\-turn\fR | |
138 | +.IP | |
139 | +Allow/Disallow deployment of troops before scenario starts. | |
140 | +.HP | |
141 | +\fB\-\-(no\-)purchase\fR | |
142 | +.IP | |
143 | +Enable/Disable option for purchasing by prestige. If disabled | |
144 | +the predefined reinforcements are used. | |
145 | +.TP | |
146 | +\fB\-\-notitle\fR | |
147 | +Inhibit title screen | |
148 | +.HP | |
149 | +\fB\-\-speed=\fR<n> Accelerate animation speed by <n> | |
150 | +.TP | |
151 | +\fB\-\-version\fR | |
152 | +Display version information and quit | |
153 | +.PP | |
154 | +<resource\-file> scenario file relative to scenarios\-directory, | |
155 | +or campaign file relative to campaigns\-directory | |
156 | +under /usr/share/games/lgeneral | |
157 | +.SH SEE ALSO | |
158 | +\fBlgc-pg\fR(1) |
0 | From: Markus Koschany <apo@gambaru.de> | |
1 | Date: Mon, 8 Oct 2012 23:00:31 +0200 | |
2 | Subject: Fix icon path and escape hyphens | |
3 | ||
4 | --- | |
5 | Makefile.in | 2 +- | |
6 | lgc-pg/lgc-pg.1 | 6 +++--- | |
7 | 2 files changed, 4 insertions(+), 4 deletions(-) | |
8 | ||
9 | diff --git a/Makefile.in b/Makefile.in | |
10 | index c17f64b..09054af 100644 | |
11 | --- a/Makefile.in | |
12 | +++ b/Makefile.in | |
13 | @@ -730,7 +730,7 @@ uninstall-info: uninstall-info-recursive | |
14 | # the right way to handle it? At least it works... as long as $datadir | |
15 | # does not contain plus signs. :-) | |
16 | lgeneral.desktop: | |
17 | - @sed -e "s+Icon=+Icon=$(datadir)/icons/lgeneral48.png+" \ | |
18 | + @sed -e "s+Icon=+Icon=/usr/share/pixmaps/lgeneral48.png+" \ | |
19 | < lgeneral.desktop.in > lgeneral.desktop | |
20 | ||
21 | package-translations: | |
22 | diff --git a/lgc-pg/lgc-pg.1 b/lgc-pg/lgc-pg.1 | |
23 | index 8c84937..efa1773 100644 | |
24 | --- a/lgc-pg/lgc-pg.1 | |
25 | +++ b/lgc-pg/lgc-pg.1 | |
26 | @@ -19,7 +19,7 @@ | |
27 | lgc-pg \- Converter Tool for original Panzer General\*R Data Files | |
28 | .SH SYNOPSIS | |
29 | .B lgc-pg | |
30 | -[-s SOURCE] [-d DEST] [--defpal] [--custom] [-n NAME] [-i ID] [-t TACICONS] | |
31 | +[\-s SOURCE] [\-d DEST] [\-\-defpal] [\-\-custom] [\-n NAME] [\-i ID] [\-t TACICONS] | |
32 | .br | |
33 | .SH DESCRIPTION | |
34 | LGC-PG is a simple tool to convert the original Panzer General\*R Data into LGeneral Data Files. | |
35 | @@ -54,9 +54,9 @@ If this option is not provided it defaults to <NAME>.bmp. | |
36 | .TP | |
37 | 1) Converts all data from CD-ROM | |
38 | .TP | |
39 | -lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral | |
40 | +lgc-pg \-s /mnt/windows/DAT \-d /usr/share/games/lgeneral | |
41 | .TP | |
42 | 2) Converts a custom scenario | |
43 | .TP | |
44 | -lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 | |
45 | +lgc-pg \-s /home/jones/newstuff/dunk \-d /usr/share/games/lgeneral \-\-custom \-n Dunkirk \-i 44 | |
46 |
0 | 0001-Fix-FTBFS-Hardening-Werror-format-security.patch | |
1 | 0002-Improve-manpages-of-LGeneral.patch | |
2 | 0003-Fix-icon-path-and-escape-hyphens.patch |
0 | #!/usr/bin/make -f | |
1 | #export DH_VERBOSE=1 | |
2 | ||
3 | export DH_OPTIONS | |
4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | |
5 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | |
6 | ||
7 | %: | |
8 | dh $@ --with autotools_dev | |
9 | ||
10 | override_dh_auto_configure: | |
11 | dh_auto_configure -- prefix=/usr datadir=/usr/share/games | |
12 | ||
13 | override_dh_auto_install: | |
14 | dh_auto_install | |
15 | find $(CURDIR) -type d -empty -delete |
0 | 3.0 (quilt) |
0 | unapply-patches |