debian/0000755000000000000000000000000012075646641007201 5ustar debian/lgc-pg.manpages0000644000000000000000000000002012071671041012043 0ustar lgc-pg/lgc-pg.1 debian/lgeneral.install0000644000000000000000000000063412071671041012351 0ustar debian/lgeneral32.xpm usr/share/pixmaps usr/games/lgeneral usr/share/games/applications usr/share usr/share/games/icons/* usr/share/pixmaps usr/share/games/lgeneral/campaigns usr/share/games/lgeneral usr/share/games/lgeneral/gfx usr/share/games/lgeneral usr/share/games/lgeneral/sounds usr/share/games/lgeneral usr/share/games/lgeneral/themes usr/share/games/lgeneral usr/share/locale debian/changelog0000644000000000000000000000623712071671041011047 0ustar lgeneral (1.2.3+dfsg-1) unstable; urgency=low * New Maintainer. (Closes: #465942) * New upstream release. * Reintroduction of lgc-pg which is now part of the sources. * Depend on game-data-packager and lgc-pg to provide game data for users who own a copy of Panzer General. For more information please refer to README.Debian. (Closes: #690683) * Switch to package format 3.0 (quilt). * Build with hardening=+all. * Set compat level to 9 and debhelper build-dep to >=9 for automatic hardening build flags. * Bump Standards-Version to 3.9.4. * Fix FTBFS because of Hardening Werror=format-security error. * Remove and replace non-free files and make LGeneral comply to the DFSG. (Closes: #691451) * Improve and update LGeneral's manpages. * Update debian/copyright to copyright format 1.0. * Add icon to Debian menu. -- Markus Koschany Tue, 25 Oct 2012 17:56:28 +0200 lgeneral (1.1.1-5) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group * Add Homepage. * Add ${misc:Depends} to binary package. * Remove broken URL from manpage. (Closes: #320730). * Add desktop file from Ubuntu. (Remove deprecated Encoding). + Install in rules and call dh_desktop. * Make clean not ignore errors. * Add watch file. * Version debhelper build-dep and set to >= 5.0.0. * Move DH_COMPAT from rules to debian/compat and set to 5. * Bump Standards Version to 3.8.0. -- Barry deFreese Wed, 04 Feb 2009 13:38:51 -0500 lgeneral (1.1.1-4) unstable; urgency=low * moved to contrib (closes: bug#239673) -- Lukasz Jachowicz Wed, 28 Jul 2004 10:34:02 +0200 lgeneral (1.1.1-3) unstable; urgency=low * Fixed debian/rules to update some timestamps (closes: bug#214296) * Do not suggest lgeneral-data anymore - this package woud be DFSG-compilant. -- Lukasz Jachowicz Tue, 2 Feb 2004 02:05:01 +0200 lgeneral (1.1.1-2) unstable; urgency=low * Now suggests lgeneral-data and lgc-pg (closes: bug#193061) -- Lukasz Jachowicz Thu, 2 Oct 2003 19:27:11 +0000 lgeneral (1.1.1-1) unstable; urgency=low * New upstream release (closes: bug#149008) -- Lukasz Jachowicz Tue, 8 Apr 2003 06:43:13 +0000 lgeneral (0.5.0-4) unstable; urgency=low * Fixed typo in description and manual (closes: bug#122127) -- Lukasz Jachowicz Mon, 3 Dec 2001 15:12:23 +0200 lgeneral (0.5.0-3) unstable; urgency=low * Updated the libSDL dependencies (closes: bug#119287) * Fixed typo in description (closes: bug#119662) * Fixed build dependencies (closes: bug#117935) -- Lukasz Jachowicz Thu, 12 Nov 2001 17:15:33 +0200 lgeneral (0.5.0-2) unstable; urgency=low * Fixed missing dependencies (closes: bug#114683) -- Lukasz Jachowicz Thu, 8 Oct 2001 23:25:35 +0200 lgeneral (0.5.0-1) unstable; urgency=low * Initial Release. * Adjusted the configure.in file to fix path problems. * Wrote the manual page for lgeneral. * Renamed ChangeLog to changelog. -- Lukasz Jachowicz Thu, 20 Sep 2001 17:05:55 +0200 debian/README.source0000644000000000000000000000047412071671041011351 0ustar lgeneral for Debian ------------------- LGeneral was repacked. Please read debian/copyright for more information. You can use uupdate to download the pristine source tarball, alternatively the original sources are available at http://lgames.sourceforge.net/index.php?project=LGeneral Markus Koschany 2012-10-07 debian/rules0000755000000000000000000000107312071671041010246 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DH_OPTIONS export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --parallel --with autotools_dev override_dh_auto_configure: dh_auto_configure -- \ --prefix=/usr \ --datadir=/usr/share/games \ --bindir=/usr/games override_dh_auto_install: dh_auto_install find $(CURDIR) -type d -empty -delete # LGeneral segfaults on GNOME 3 if the empty sounds directory is not present # but works fine with other DE/setups. For the time being let's create it again. mkdir -p $(CURDIR)/usr/share/games/lgeneral/sounds debian/watch0000644000000000000000000000021712071671041010216 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://sf.net/lgeneral/lgeneral-(.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian uupdate debian/compat0000644000000000000000000000000212071671041010363 0ustar 9 debian/lgeneral.menu0000644000000000000000000000031412071671041011642 0ustar ?package(lgeneral):needs="X11" \ section="Games/Strategy" \ title="LGeneral" \ longtitle="classic turn-based strategy game" \ icon="/usr/share/pixmaps/lgeneral32.xpm" \ command="/usr/games/lgeneral" debian/control0000644000000000000000000000303112074124231010562 0ustar Source: lgeneral Priority: optional Maintainer: Debian Games Team Uploaders: Markus Koschany Section: contrib/games Build-Depends: autotools-dev, debhelper (>= 9), libsdl-mixer1.2-dev, libsdl1.2-dev Standards-Version: 3.9.4 Homepage: http://lgames.sourceforge.net Vcs-Git: git://anonscm.debian.org/pkg-games/lgeneral.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/lgeneral.git;a=summary Package: lgeneral Architecture: any Depends: game-data-packager | lgeneral-data-nonfree, lgc-pg, ${misc:Depends}, ${shlibs:Depends} Description: strategy game in the tradition of Panzer General LGeneral is a turn-based strategy game heavily inspired by Panzer General. You play single scenarios or whole campaigns turn by turn against a human player or the AI. . Entrenchment, rugged defense, defensive fire, surprise contacts, surrender, unit supply, weather influence, reinforcements and other implementations contribute to the tactical and strategic depth of the game. . This is the game engine only. LGeneral requires lgc-pg, which converts the game data of the original Panzer General game, to function properly. Package: lgc-pg Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Suggests: lgeneral Description: LGeneral converter for Panzer General game data LGeneral is a turn-based strategy game heavily inspired by Panzer General. . This package provides lgc-pg a tool to convert the original game data of Panzer General to LGeneral's native file format. debian/lgeneral.manpages0000644000000000000000000000002212071671041012465 0ustar src/lgeneral.6 debian/lgeneral.docs0000644000000000000000000000002512071671041011625 0ustar README.lgeneral TODO debian/copyright0000644000000000000000000006075412071671041011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lgeneral Upstream-Contact: Michael Speck Source: http://lgames.sourceforge.net Comment: The source tarball was repacked. The following files had to be removed because they are not suited for commercial use. . PanzerGeneral-Guru.txt lgc-pg/convdata/mapnames . These files belong to the commercial game Panzer General and had to be replaced by free data. src/themes/default/bkgnd.bmp src/themes/default/brief_frame.bmp src/themes/default/click.wav lgc-pg/convdata/* danger.bmp, fog.bmp, grid.bmp, title.bmp, damage_bars.bmp and select_frame.bmp were not affected. . Files: * Copyright: 1995 Ulrich Drepper 1995,1997 Free Software Foundation, Inc. 2005-2006 Leo Savernik 2001-2012 Michael Speck 2012 Markus Koschany License: GPL-2+ Files: lgc-pg/shptool.c tools/ltrextract/ltrextract.c tools/ltrextract/util.c tools/ltrextract/util.h util/localize.c util/localize.h util/paths.c util/paths.h util/paths-linux.c util/portability.c lged/lged.c Copyright: 2005-2006 Leo Savernik License: BSD-2-clause Files: util/hashtable* Copyright: 2002 Christopher Clark License: BSD-3-clause Files: src/themes/default/bkgnd.bmp Copyright: Wikipedia user ArmadniGeneral License: CC-BY-SA 3.0 unported Files: debian/* Copyright: 2001-2004 Lukasz Jachowicz 2009 Barry deFreese 2012 Markus Koschany License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: BSD-2-clause Copyright (C) 2005 Leo Savernik All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-3-clause Copyright (c) 2002, Christopher Clark All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of the original author; nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: CC-BY-SA 3.0 unported THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; to Distribute and Publicly Perform the Work including as incorporated in Collections; and, to Distribute and Publicly Perform Adaptations. For the avoidance of doubt: . Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. 8. Miscellaneous . Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. debian/lgc-pg.install0000644000000000000000000000006312071671041011725 0ustar usr/games/lgc-pg usr/share/games/lgeneral/convdata debian/lgeneral32.xpm0000644000000000000000000001375212071671041011661 0ustar /* XPM */ static char *lgeneral32_xpm[] = { "32 32 243 2", "AA c none", "BA c #AFB7AF", "CA c #C4CAC4", "DA c #D6E1E2", "EA c #F1F3F4", "FA c #CCD6D2", "GA c #BAC4BA", "HA c #777F78", "IA c #484949", "JA c #4D5050", "KA c #9EA4AA", "LA c #F8FAFD", "MA c #FDFDFE", "NA c #EAF1EE", "OA c #F5F9F5", "PA c #C4D6D0", "QA c #AEC3BB", "RA c #D4E1DB", "SA c #FBFCFB", "TA c #F4F8F5", "UA c #E7EEEE", "VA c #D1DBDB", "WA c #6A7878", "XA c #3E4949", "YA c #E0E5E0", "ZA c #E3E6E5", "aA c #DFE5E0", "bA c #BAC8C9", "cA c #4D6767", "dA c #556F6F", "eA c #A5BCBB", "fA c #809E9D", "gA c #8AA7A4", "hA c #8DAAA8", "iA c #55726F", "jA c #516C6A", "kA c #354C4A", "lA c #486262", "mA c #587575", "nA c #3C5353", "oA c #1A2626", "pA c #243737", "qA c #1F2828", "rA c #314644", "sA c #415C5C", "tA c #394D4D", "uA c #314541", "vA c #3B5959", "wA c #425D5D", "xA c #456262", "yA c #4F6C6C", "zA c #728E8E", "0A c #1D2929", "1A c #546461", "2A c #CEDBD7", "3A c #E0EBE3", "4A c #F3F8F5", "5A c #B7C6C6", "6A c #375151", "7A c #3A5454", "8A c #9DB5B5", "9A c #4E6C6C", "+A c #233939", "/A c #213434", "AB c #0E1414", "BB c #192222", "CB c #172626", "DB c #111D1D", "EB c #182929", "FB c #070D0D", "GB c #4A5F5E", "HB c #A7B9AE", "IB c #7A8585", "JB c #626F6F", "KB c #2B2B2B", "LB c #4A6564", "MB c #BBD0C8", "NB c #BCD1CE", "OB c #DFE8E8", "PB c #C8D0C9", "QB c #414A45", "RB c #3F4644", "SB c #92AAA4", "TB c #678787", "UB c #314949", "VB c #293F3F", "WB c #334444", "XB c #455E5E", "YB c #1F3131", "ZB c #152424", "aB c #131D1D", "bB c #576D68", "cB c #809B97", "dB c #617F7F", "eB c #77938F", "fB c #85A1A1", "gB c #445858", "hB c #344C4A", "iB c #4A6764", "jB c #688787", "kB c #4E6A6A", "lB c #658780", "mB c #65847F", "nB c #7B9795", "oB c #789895", "pB c #6A8D8D", "qB c #466767", "rB c #365151", "sB c #354D4D", "tB c #3F5B5B", "uB c #3C5858", "vB c #405B5B", "wB c #6A8885", "xB c #739592", "yB c #557373", "zB c #759792", "0B c #9BB3B3", "1B c #688888", "2B c #272B2B", "3B c #3B5555", "4B c #5F7F7F", "5B c #618080", "6B c #648585", "7B c #5B7A7A", "8B c #577575", "9B c #618282", "+B c #648787", "/B c #7D9B93", "AC c #759593", "BC c #97AEAA", "CC c #9DB3AC", "DC c #B2C4C4", "EC c #87A5A5", "FC c #485555", "GC c #789593", "HC c #98B3B2", "IC c #9BB6B2", "JC c #9AB5B5", "KC c #95B1B1", "LC c #A1BABA", "MC c #A1BAB6", "NC c #A1B9B9", "OC c #9EB7B6", "PC c #9DB7B6", "QC c #90AEAE", "RC c #B2C9C9", "SC c #CDDDD6", "TC c #9EB7B7", "UC c #B7CCC8", "VC c #DFEAE4", "WC c #E2EDE5", "XC c #E7EEEC", "YC c #9BB6B3", "ZC c #658080", "aC c #485A57", "bC c #2D3636", "cC c #313A36", "dC c #2F3939", "eC c #2A3434", "fC c #394040", "gC c #37403C", "hC c #373F3F", "iC c #343E3B", "jC c #343C3B", "kC c #263131", "lC c #3A4141", "mC c #3B4343", "nC c #364141", "oC c #3B4643", "pC c #394543", "qC c #647872", "rC c #434C45", "sC c #3E504C", "tC c #4E6565", "uC c #040909", "vC c #132222", "wC c #0F1B1B", "xC c #060B0B", "yC c #040808", "zC c #050A0A", "0C c #080E0E", "1C c #030707", "2C c #070E0E", "3C c #050909", "4C c #070C0C", "5C c #080F0F", "6C c #0C1515", "7C c #162424", "8C c #0C1313", "9C c #0A1111", "+C c #111B1B", "/C c #0B1515", "AD c #0C1717", "BD c #081111", "CD c #0E1A1A", "DD c #1E2F2F", "ED c #0D1919", "FD c #121E1E", "GD c #223535", "HD c #0D1818", "ID c #091212", "JD c #131F1F", "KD c #091111", "LD c #1C2E2E", "MD c #172525", "ND c #1C2C2C", "OD c #152222", "PD c #283232", "QD c #5F7B7B", "RD c #2A3C3C", "SD c #111F1F", "TD c #547575", "UD c #3A5353", "VD c #192929", "WD c #678A8A", "XD c #253737", "YD c #050C0C", "ZD c #2A4040", "aD c #132121", "bD c #0A1414", "cD c #577777", "dD c #192A2A", "eD c #091313", "fD c #3A5555", "gD c #658484", "hD c #2B3636", "iD c #6F8F8F", "jD c #344D4D", "kD c #203333", "lD c #233737", "mD c #2D4545", "nD c #283E3E", "oD c #223636", "pD c #253B3B", "qD c #2F4848", "rD c #243A3A", "sD c #203434", "tD c #273E3E", "uD c #213535", "vD c #2A4141", "wD c #2C4444", "xD c #243939", "yD c #334D4D", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAABACADAEAFAGAHAIAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAKALAMANAOAPAQARASATAUAVAWAXAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAYAZAaAbAcAdAeAfAgAhAiAjAkAlAmAnAoApAqArAsAtAuAvAwAxAyAzA0AAA", "AA1A2A3A4A5A6A7A8A9A+A/AABBBCBDBEBFBGBHBIBJBKBAAAAAAAAAAAAAAAAAA", "AALBMBNBOBPBQBRBSBTBUBVBWBXBYBZBaBbBcBdBeBfBgBAAAAAAAAAAAAAAAAAA", "AAhBiBjBkBlBmBnBoBpBqBrBsBtBuB7AvBwBxByBzB0B1B2BAAAAAAAAAAAAAAAA", "AAAA3B4B5B6B7B7B8B9B5B4ByB+B5B5B/ByBACBCCCDCECFCAAAAAAAAAAAAAAAA", "AAAAGCHCICJCKCKCLCMCHCNCOCPCQCRCSCTCUCVCWCXCYCZCAAAAAAAAAAAAAAAA", "AAAAaCbCcCdCeCeCfCgCbChCiCjCkClCmCnCoCpCqCrCsCtCAAAAAAAAAAAAAAAA", "AAAAuCvCwCxCyCFBzCFBzC0C1C2C3C4CzCyC3C5C6C7C8C9CAAAAAAAAAAAAAAAA", "AAAA+C/CADBDCDDDEDADFDGDHDIDJDDDKD/CZBLDMDNDODPDAAAAAAAAAAAAAAAA", "AAQDRDyC4CSDTDUDKDVDWDXDYDZDpBaDbDtBcDdDeDCDfDgDhDAAAAAAAAAAAAAA", "AAiDjDkD/AlDmDnDoDpDqDrDsDtDqDuDsDvDwDxDoDpDyD1BECAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }; debian/source/0000755000000000000000000000000012071671041010465 5ustar debian/source/include-binaries0000644000000000000000000000002612071671041013623 0ustar debian/lgeneral32.xpm debian/source/format0000644000000000000000000000001412071671041011673 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000265112071671041011232 0ustar lgeneral for Debian ------------------- In order to play LGeneral you have to install lgc-pg, a tool for converting the original game data files of Panzer General to LGeneral's native file format. You can obtain them from the original CD-ROM or with game-data-packager. Examples ======== LGeneral support for game-data-packager is available for the first time starting with version 33. This application creates a proper debian package which you just need to install. If you own a copy of Panzer General yourself, you can do the following: 1. Convert the original Panzer General game data and create a Debian package. game-data-packager lgeneral -f pg-data.tar.gz 2. Fetch a compressed pg-data archive of Panzer General game data from the web and create a Debian package. game-data-packager lgeneral -w You can directly convert the data by extracting the tar.gz archive and performing the following command. This will install all files into /usr/share/games/lgeneral if you run lgc-pg with appropriate permissions. (Not recommended, it's better to use game-data-packager) lgc-pg -s Free data ========= You can help to create a free game data package for LGeneral. If you are aware of any free data files for LGeneral, please report back to the following bug report. http://bugs.debian.org/193061 You can gather more information about LGeneral for Debian at http://wiki.debian.org/Games/LGeneral. debian/patches/0000755000000000000000000000000012071671041010614 5ustar debian/patches/series0000644000000000000000000000021212071671041012024 0ustar 0001-Fix-FTBFS-Hardening-Werror-format-security.patch 0002-Improve-manpages-of-LGeneral.patch 0003-Fix-icon-path-and-escape-hyphens.patch debian/patches/0003-Fix-icon-path-and-escape-hyphens.patch0000644000000000000000000000324512071671041020301 0ustar From: Markus Koschany Date: Mon, 8 Oct 2012 23:00:31 +0200 Subject: Fix icon path and escape hyphens --- Makefile.in | 2 +- lgc-pg/lgc-pg.1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index c17f64b..09054af 100644 --- a/Makefile.in +++ b/Makefile.in @@ -730,7 +730,7 @@ uninstall-info: uninstall-info-recursive # the right way to handle it? At least it works... as long as $datadir # does not contain plus signs. :-) lgeneral.desktop: - @sed -e "s+Icon=+Icon=$(datadir)/icons/lgeneral48.png+" \ + @sed -e "s+Icon=+Icon=/usr/share/pixmaps/lgeneral48.png+" \ < lgeneral.desktop.in > lgeneral.desktop package-translations: diff --git a/lgc-pg/lgc-pg.1 b/lgc-pg/lgc-pg.1 index 8c84937..efa1773 100644 --- a/lgc-pg/lgc-pg.1 +++ b/lgc-pg/lgc-pg.1 @@ -19,7 +19,7 @@ lgc-pg \- Converter Tool for original Panzer General\*R Data Files .SH SYNOPSIS .B lgc-pg -[-s SOURCE] [-d DEST] [--defpal] [--custom] [-n NAME] [-i ID] [-t TACICONS] +[\-s SOURCE] [\-d DEST] [\-\-defpal] [\-\-custom] [\-n NAME] [\-i ID] [\-t TACICONS] .br .SH DESCRIPTION LGC-PG is a simple tool to convert the original Panzer General\*R Data into LGeneral Data Files. @@ -54,9 +54,9 @@ If this option is not provided it defaults to .bmp. .TP 1) Converts all data from CD-ROM .TP -lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral +lgc-pg \-s /mnt/windows/DAT \-d /usr/share/games/lgeneral .TP 2) Converts a custom scenario .TP -lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 +lgc-pg \-s /home/jones/newstuff/dunk \-d /usr/share/games/lgeneral \-\-custom \-n Dunkirk \-i 44 debian/patches/0002-Improve-manpages-of-LGeneral.patch0000644000000000000000000001262712071671041017527 0ustar From: Markus Koschany Date: Mon, 8 Oct 2012 16:28:00 +0200 Subject: Improve manpages of LGeneral --- lgc-pg/lgc-pg.1 | 20 +++----------- src/lgeneral.6 | 83 +++++++++++++++++++++++++++++-------------------------- 2 files changed, 48 insertions(+), 55 deletions(-) diff --git a/lgc-pg/lgc-pg.1 b/lgc-pg/lgc-pg.1 index 3de1890..8c84937 100644 --- a/lgc-pg/lgc-pg.1 +++ b/lgc-pg/lgc-pg.1 @@ -2,7 +2,7 @@ .\" 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 LGC-PG 1 "November 13, 2002" +.TH LGC-PG 1 "October 07, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -23,11 +23,6 @@ lgc-pg \- Converter Tool for original Panzer General\*R Data Files .br .SH DESCRIPTION LGC-PG is a simple tool to convert the original Panzer General\*R Data into LGeneral Data Files. - -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, -.\" respectively. - .SH OPTIONS .TP .B \-s @@ -35,7 +30,7 @@ You always need to specify the source directory (which contains the original data or a custom scenario). .TP .B \-d -This specify's the destination path that contains the LGeneral data struct. (usually /usr/share/games/lgeneral) +This specifies the destination path that contains the LGeneral data struct. (usually /usr/share/games/lgeneral) .TP .B \-\-defpal This one is optional and forces all PG graphics to use the default @@ -55,20 +50,13 @@ This is the in the source file name (game.scn). If you do not specify a .B \-t If custom tactical icons are involved (scenario offers a TACICONS.SHP)this is the name of the graphical file. If this option is not provided it defaults to .bmp. -. TP .SH EXAMPLES .TP 1) Converts all data from CD-ROM .TP - > lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral -.TP +lgc-pg -s /mnt/windows/DAT -d /usr/share/games/lgeneral .TP 2) Converts a custom scenario .TP - > lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 -.TP +lgc-pg -s /home/jones/newstuff/dunk -d /usr/share/games/lgeneral --custom -n Dunkirk -i 44 -.SH AUTHOR -.TP -This manual page was written by Gernot Galli , -for the Debian GNU/Linux system (but may be used by others). diff --git a/src/lgeneral.6 b/src/lgeneral.6 index 37788e1..4303061 100644 --- a/src/lgeneral.6 +++ b/src/lgeneral.6 @@ -1,44 +1,49 @@ -.\" 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 LGENERAL 6 "November 13, 2002" -.\" 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 insert n+1 empty lines -.\" for manpage-specific macros, see man(7) +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.12. +.TH LGENERAL "6" "October 2012" "LGeneral 1.2.3" "User Commands" .SH NAME LGeneral \- a turn-based strategy game engine. .SH SYNOPSIS -.B lgeneral - +\fBlgeneral\fR [options] [resource\-file] .SH DESCRIPTION -LGeneral is a strategy game engine similar to SSI's Panzer General\*R, -but it has some differences to the original: -.TP -1)Reinforcement: -.TP -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. -.TP -.TP -2)Core Units: -.TP -You do not have core units in LGeneral. -.TP - +LGeneral is a strategy game engine heavily inspired by Panzer General. +You play single scenarios or whole campaigns turn by turn against a +human player or the AI. .SH OPTIONS -This program has no command line opotions. -.TP - -.SH AUTHOR -.TP -This manual page was written by Gernot Galli , -for the Debian GNU/Linux system (but may be used by others). +.HP +\fB\-\-ai\-debug=\fR +.IP +Verbosity level of debug messages for AI turn +.HP +\fB\-\-campaign\-start=\fR +.IP +Initial state to start campaign with (debug only) +.HP +\fB\-\-control=\fR +.IP +Entity who controls the current side. is either human, +or cpu (short: h, or c). Multiple options can be specified. +In this case the first option refers to the first side, the +second option to the second side, etc. +.HP +\fB\-\-(no\-)deploy\-turn\fR +.IP +Allow/Disallow deployment of troops before scenario starts. +.HP +\fB\-\-(no\-)purchase\fR +.IP +Enable/Disable option for purchasing by prestige. If disabled +the predefined reinforcements are used. +.TP +\fB\-\-notitle\fR +Inhibit title screen +.HP +\fB\-\-speed=\fR Accelerate animation speed by +.TP +\fB\-\-version\fR +Display version information and quit +.PP + scenario file relative to scenarios\-directory, +or campaign file relative to campaigns\-directory +under /usr/share/games/lgeneral +.SH SEE ALSO +\fBlgc-pg\fR(1) debian/patches/0001-Fix-FTBFS-Hardening-Werror-format-security.patch0000644000000000000000000000461012071671041022112 0ustar From: Markus Koschany Date: Wed, 26 Sep 2012 17:41:32 +0200 Subject: Fix FTBFS Hardening Werror=format-security Fix error: format not a string literal and no format arguments [-Werror=format-security] --- lgc-pg/units.c | 2 +- src/engine.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lgc-pg/units.c b/lgc-pg/units.c index f7ad3d7..5c3b708 100644 --- a/lgc-pg/units.c +++ b/lgc-pg/units.c @@ -552,7 +552,7 @@ int units_convert_database( char *tac_icons ) } } /* get flags */ - sprintf( flags, unit_classes[entry.class * 3 + 2] ); + sprintf( flags, "%s", unit_classes[entry.class * 3 + 2] ); if ( apply_unit_mods ) { i = 0; while ( add_flags[i*2][0] != 'X' ) { diff --git a/src/engine.c b/src/engine.c index 8b049a0..74468a0 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2311,7 +2311,7 @@ static void engine_handle_button( int id ) if ( gui->module_dlg->subdir[0] != 0 ) sprintf( path, "%s/%s", gui->module_dlg->subdir, (char*)gui->module_dlg->lbox->cur_item ); else - sprintf( path, (char*)gui->module_dlg->lbox->cur_item ); + sprintf( path, "%s", (char*)gui->module_dlg->lbox->cur_item ); free( setup.modules[gui->setup->sel_id] ); setup.modules[gui->setup->sel_id] = strdup( path ); gui_handle_player_select( gui->setup->list->cur_item ); @@ -2756,7 +2756,7 @@ static void engine_check_events(int *reinit) result = gui_get_message_pane_selection(camp_pane); if (result && strcmp(result, "nextscen") == 0) { /* start scenario */ - sprintf( setup.fname, camp_cur_scen->scen ); + sprintf( setup.fname, "%s", camp_cur_scen->scen ); setup.type = SETUP_DEFAULT_SCEN; end_scen = 1; *reinit = 1; @@ -4243,7 +4243,7 @@ void engine_run() } else { /* next scenario */ - sprintf( setup.fname, camp_cur_scen->scen ); + sprintf( setup.fname, "%s", camp_cur_scen->scen ); setup.type = SETUP_CAMP_BRIEFING; reinit = 1; } debian/lgc-pg.docs0000644000000000000000000000001612071671041011205 0ustar README.lgc-pg