Commit 38200bec authored by Simon McVittie's avatar Simon McVittie

Eliminate custom package control files, and most custom copyright files

The differences are basically cosmetic, and not worth special-casing.
The only one I've kept is data/descent2-demo-data.copyright, which
is genuinely quite different.

To avoid a syntax error, wrap the copyright statement for Jedi Academy
into one line and strip the trailing newline.
parent 5eed9d83
......@@ -351,7 +351,6 @@ install:
cp -ar game_data_packager/ $(DESTDIR)$(pkgdatadir)/
python3 -m game_data_packager.version $(RELEASE) > out/installed-version.py
install -m0644 out/installed-version.py $(DESTDIR)$(pkgdatadir)/game_data_packager/version.py
install -m0644 out/*.control.in $(DESTDIR)$(pkgdatadir)/
install -m0644 out/*.copyright $(DESTDIR)$(pkgdatadir)/
install -m0644 out/*.png $(DESTDIR)$(pkgdatadir)/
install -m0644 data/*.png $(DESTDIR)$(pkgdatadir)/
......
Description: game data for Doom 3: Resurrection of Evil
This package was built using game-data-packager. It contains
proprietary game data and must not be redistributed.
.
Expansion: Doom 3: Resurrection of Evil
.
Intended for use with: dhewm3-d3xp
Description: game data for ET:Legacy
This package was built using game-data-packager. It contains
proprietary game data from Wolfenstein: Enemy Territory and must not be
redistributed. It is intended for use with the etlegacy engine and allows you
to play the original Enemy Territory game over the internet.
Description: Hexen II commercial data files
Hexen II requires an engine and game data to play. This package contains
the commercial data from Raven Software's game Hexen II,
and was generated using the "game-data-packager" program from the Debian
package of the same name.
.
To play Hexen II using this data, install a package providing the
"hexen2-engine" virtual package.
Description: Hexen II: HexenWorld
Hexen II requires an engine and game data to play. This package contains
the commercial data from HexenWorld, the multiplayer module for Hexen II,
and was generated using the "game-data-packager" program from
the Debian package of the same name.
.
To play Hexen II using this data, install a package providing the
"hexen2-engine" virtual package.
Description: Hexen II Mission Pack: Portal of Praevus
Hexen II requires an engine and game data to play. This package contains
the commercial data from Raven Software's Hexen II Mission Pack: Portal
of Praevus, and was generated using the "game-data-packager" program from
the Debian package of the same name.
.
To play Hexen II using this data, install a package providing the
"hexen2-engine" virtual package.
......@@ -62,7 +62,7 @@ packages:
jedi-academy-bonus-data:
aliases: [bonus]
longname: "Bonus maps for Jedi Academy"
copyright: |
copyright: >-
© 2003-2004 Activision, Inc. / LucasArts,
a division of Lucasfilm Entertainment Company Ltd. and/or Raven Software
description: |
......@@ -73,7 +73,6 @@ packages:
* Rift of Shadows CTF map
* Gas Mine, The Fortress, Conquest of Byss and Ord Mantell Canyon FFA maps
* "Destroyer" vehicle combat map for Siege mode
.
expansion_for: jedi-academy-data
install_to: $assets/jedi-academy
symlinks:
......
Description: Star Wars Jedi Knight: Jedi Academy bonus data files
Jedi Academy requires an engine and game data to play. This
package was generated using the "game-data-packager"
program from the Debian package of the same name, and contains
semi-official, free-to-download bonus data released by Raven Software
for Jedi Academy:
.
* Coruscant duel map
* Rift of Shadows CTF map
* Gas Mine, The Fortress, Conquest of Byss and Ord Mantell Canyon FFA maps
* "Destroyer" vehicle combat map for Siege mode
.
To play Jedi Academy using this data, install the jedi-academy-data
and openjk-academy packages.
The jedi-academy-bonus-data package was generated using game-data-packager.
Copyright © 2008-2013 Jonathan Dowland <jmtd@debian.org>.
The files under "/usr/share/games/jedi-academy" are user-supplied
files that are not covered by the copyright or licence of this package;
they are copyright © 2003-2004 Activision, Inc., LucasArts, a division of
Lucasfilm Entertainment Company Ltd. and/or Raven Software, with
all rights reserved.
The remainder of this package is covered by the following
Licence:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program 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.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2.
Description: Star Wars Jedi Knight: Jedi Academy data files
Jedi Academy requires an engine and game data to play. This
package contains the data from the full version of Jedi Academy,
and was generated using the "game-data-packager" program from
the Debian package of the same name.
.
To play Jedi Academy using this data, install the openjk-academy package.
The jedi-academy-data package was generated using game-data-packager.
Copyright © 2008-2013 Jonathan Dowland <jmtd@debian.org>.
The files under "/usr/share/games/jedi-academy" are user-supplied
files that are not covered by the copyright or licence of this package;
they are copyright © 2003 Activision, Inc. / LucasArts, a division of
Lucasfilm Entertainment Company Ltd., with all rights reserved.
The remainder of this package is covered by the following
Licence:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program 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.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2.
Description: Star Wars Jedi Knight II: Jedi Outcast data files
Jedi Knight II requires an engine and game data to play. This
package contains the data from the full version of Jedi Knight II,
and was generated using the "game-data-packager" program from
the Debian package of the same name.
.
To play Jedi Knight II using this data, install the openjk-outcast package.
The jedi-outcast-data package was generated using game-data-packager.
Copyright © 2008-2013 Jonathan Dowland <jmtd@debian.org>.
The files under "/usr/share/games/jedi-outcast" are user-supplied
files that are not covered by the copyright or licence of this package;
they are copyright © 2003 Activision, Inc. / LucasArts, a division of
Lucasfilm Entertainment Company Ltd., with all rights reserved.
The remainder of this package is covered by the following
Licence:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program 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.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2.
Description: Panzer General commercial data files
LGeneral requires an engine and game data to play. This package contains
the commercial data from SSI's game "Panzer General", and was
generated using the "game-data-packager" program from the Debian package of
the same name.
.
To play LGeneral using this data, please install the lgeneral package.
Description: Quake II demo data files
Quake II requires an engine and game data to play. This package contains
the data from the demo version of id Software's game "Quake II", and was
generated using the "game-data-packager" program from the Debian package of
the same name.
.
To play Quake II using this data, install the quake2 package.
Description: Quake II data files
Quake II requires an engine and game data to play. This package contains
the data from the full version of id Software's game "Quake II", and was
generated using the "game-data-packager" program from the Debian package of
the same name.
.
To play Quake II using this data, install the quake2 package.
Description: Quake II Mission Pack 2: Ground Zero data files
Quake II: Ground Zero is a Mission Pack for Quake II created by Rogue
Entertainment. This package was generated using the "game-data-packager"
program from the Debian package of the same name.
.
The game-code in this package was compiled from a version maintained
by the author of yamagi-quake2, derived from the Quake II mod SDK.
.
To play Quake II using this data, install the quake2 package and pass
"+set game rogue" as arguments.
Description: Quake II Mission Pack 1: The Reckoning data files
Quake II: The Reckoning is a Mission Pack for Quake II created by Xatrix
Entertainment. This package was generated using the "game-data-packager"
program from the Debian package of the same name.
.
The game-code in this package was compiled from a version maintained
by the author of yamagi-quake2, derived from the Quake II mod SDK.
.
To play Quake II using this data, install the quake2 package and pass
"+set game xatrix" as arguments.
Description: Quake 4 binary-only executables
This package contains the proprietary binary-only executables from
the game Quake 4.
.
This package was built using game-data-packager and should not be
redistributed.
.
Genre: First-person shooter
Published by: Activision / Bethesda
Built from: quake4-linux-1.4.2.x86.run
Description: Quake 4 game data - censored German version
This package contains the commercial data files from the German version
of the game Quake 4. This version does not interoperate with versions
from other regions or languages.
.
This package was built using game-data-packager. It contains proprietary
game data and must not be redistributed.
.
Genre: First-person shooter
Published by: Activision / Bethesda
Description: Quake 4 game data
This package contains the commercial data files from the game Quake 4.
.
This package was built using game-data-packager. It contains proprietary
game data and must not be redistributed.
.
Genre: First-person shooter
Published by: Activision / Bethesda
Description: Quake 4 binary-only executables - PunkBuster
This package contains the optional PunkBuster component of the proprietary
binary-only executables from the game Quake 4.
.
This package was built using game-data-packager and should not be
redistributed.
.
Genre: First-person shooter
Published by: Activision / Bethesda
Built from: quake4-linux-1.4.2.x86.run
......@@ -16,6 +16,9 @@ packages:
quake4-pb-bin:
DISABLED: mitigation for CVE-2007-5248 <http://aluigi.altervista.org/adv/d3engfspb-adv.txt>
short_description: Quake 4 PunkBuster binaries
description: |
This package contains the optional PunkBuster component of the
proprietary binary-only executables for Quake 4.
install_to: $prefix/lib/quake4
architecture: i386
version: "1.4.2"
......@@ -35,6 +38,9 @@ packages:
install_to: $prefix/lib/quake4
architecture: i386
version: "1.4.2"
description: |
This package contains the proprietary binary-only executables for
Quake 4.
depends:
- game-data-packager-runtime
- libc.so.6 (>= 2.2.4)
......@@ -73,6 +79,8 @@ packages:
- it
- pl
- ru
description: |
This package contains the commercial data files for Quake 4.
license:
- EULA.txt?steam
- patch 1.4.2 licenses
......@@ -95,6 +103,10 @@ packages:
provides: quake4-any-data
replaces: quake4-any-data
install_to: $assets/quake4
description: |
This package contains the commercial data files for the censored
German version of Quake 4. This version does not interoperate with
versions from other regions.
# this is not actually dubbed, just censored
langs:
- en
......
......@@ -2,7 +2,6 @@ debian/tmp/etc/game-data-packager
debian/tmp/etc/game-data-packager.conf
usr/games/game-data-packager
usr/share/bash-completion
usr/share/games/game-data-packager/*.control.in
usr/share/games/game-data-packager/*.copyright
usr/share/games/game-data-packager/*.png
usr/share/games/game-data-packager/*.preinst.in
......
......@@ -32,7 +32,6 @@ except ImportError:
from . import (PackagingSystem)
from ..data import (HashedFile)
from ..paths import (DATADIR)
from ..util import (
check_output,
mkdir_p,
......@@ -222,15 +221,7 @@ class DebPackaging(PackagingSystem):
raise FileNotFoundError('Cannot generate .deb packages without '
'python3-debian')
try:
control_in = open(os.path.join(DATADIR,
package.name + '.control.in'), encoding='utf-8')
control = Deb822(control_in)
for key in control.keys():
assert key == 'Description', 'specify "%s" only in YAML' % key
except FileNotFoundError:
control = Deb822()
control = Deb822()
control['Package'] = package.name
control['Version'] = package.version
control['Priority'] = 'optional'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment