[game-data-packager] 01/01: mass replace compress_deb -> compress_pkg
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Tue Mar 14 23:58:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit 779722223b63581cff524b861fda9ddf47f284a6
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Wed Mar 15 00:57:46 2017 +0100
mass replace compress_deb -> compress_pkg
---
data/baldurs-gate-1.yaml | 2 +-
data/baldurs-gate-2.yaml | 2 +-
data/comi.yaml | 2 +-
data/doom3.yaml | 2 +-
data/enemy-territory.yaml | 2 +-
data/etqw.yaml | 2 +-
data/freespace2.yaml | 2 +-
data/fullthrottle.yaml | 2 +-
data/grimfandango.yaml | 2 +-
data/icewind-dale-1.yaml | 2 +-
data/icewind-dale-2.yaml | 2 +-
data/ja.yaml | 2 +-
data/jk2.yaml | 2 +-
data/morrowind.yaml | 2 +-
data/planescape-torment.yaml | 2 +-
data/quake3.yaml | 2 +-
data/quake4.yaml | 2 +-
data/rtcw.yaml | 2 +-
data/unreal.yaml | 2 +-
doc/adding_a_game.mdwn | 2 +-
doc/tags.txt | 2 +-
game_data_packager/__init__.py | 4 ++--
game_data_packager/build.py | 2 +-
23 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/data/baldurs-gate-1.yaml b/data/baldurs-gate-1.yaml
index 8fd8c01..8580bd5 100644
--- a/data/baldurs-gate-1.yaml
+++ b/data/baldurs-gate-1.yaml
@@ -4,7 +4,7 @@ longname: "Baldur's Gate - The Original Saga"
copyright: © 1998 Bioware
genre: Role Playing
engine: gemrb-baldurs-gate
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [fr,de,pl,ru]
gog:
path:
diff --git a/data/baldurs-gate-2.yaml b/data/baldurs-gate-2.yaml
index 5909b81..8fdabaa 100644
--- a/data/baldurs-gate-2.yaml
+++ b/data/baldurs-gate-2.yaml
@@ -4,7 +4,7 @@ longname: "Baldur's Gate 2"
copyright: © 2000 Bioware
genre: Role Playing
engine: gemrb-baldurs-gate-2
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [fr,de,pl,ru]
gog:
path:
diff --git a/data/comi.yaml b/data/comi.yaml
index 327f7f4..e2f1d5e 100644
--- a/data/comi.yaml
+++ b/data/comi.yaml
@@ -4,7 +4,7 @@ franchise: Monkey Island
copyright: © 1997 Lucasfilm Games
# gzip -1 saves significant size; gzip -6 only saves an extra 10M and
# takes 1.5x time; xz is really slow
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
plugin: scummvm_common
wiki: The_Curse_of_Monkey_Island
disks: 2
diff --git a/data/doom3.yaml b/data/doom3.yaml
index 07bb686..255c0ae 100644
--- a/data/doom3.yaml
+++ b/data/doom3.yaml
@@ -1,5 +1,5 @@
---
-compress_deb: false
+compress_pkg: false
longname: 'Doom 3 (original or BFG Edition)'
try_repack_from: [/usr/local/share/dhewm3]
engine: dhewm3-doom3
diff --git a/data/enemy-territory.yaml b/data/enemy-territory.yaml
index 03e7dd9..ef347be 100644
--- a/data/enemy-territory.yaml
+++ b/data/enemy-territory.yaml
@@ -6,7 +6,7 @@ engine: etlegacy
wikibase: http://wolfenstein.wikia.com/wiki/
wiki: "Wolfenstein:_Enemy_Territory"
genre: First-person shooter
-compress_deb: false
+compress_pkg: false
help_text: |
Data from Wolfenstein Enemy Territory can be downloaded automatically.
You can skip the download by providing et260b.x86_full.zip.
diff --git a/data/etqw.yaml b/data/etqw.yaml
index 3e8d054..30b6a71 100644
--- a/data/etqw.yaml
+++ b/data/etqw.yaml
@@ -6,7 +6,7 @@ engine: etqw | etqw-server
genre: First-person shooter
wikibase: http://quake.wikia.com/wiki/
wiki: Enemy_Territory%3A_Quake_Wars
-compress_deb: false
+compress_pkg: false
binary_executables: i386
try_repack_from:
- /usr/local/games/etqw
diff --git a/data/freespace2.yaml b/data/freespace2.yaml
index 66104af..695cb41 100644
--- a/data/freespace2.yaml
+++ b/data/freespace2.yaml
@@ -2,7 +2,7 @@
longname: Freespace 2
genre: Flight simulator
engine: freespace2
-compress_deb: false
+compress_pkg: false
disks: 3
# FS2.bmp & mod.ini
diff --git a/data/fullthrottle.yaml b/data/fullthrottle.yaml
index 40895e4..e3c759d 100644
--- a/data/fullthrottle.yaml
+++ b/data/fullthrottle.yaml
@@ -3,7 +3,7 @@ longname: Full Throttle
copyright: © 1995 Lucasfilm Games
# gzip -1 saves significant size; gzip -9 only saves an extra 12M and
# takes 3.5x time; xz is really slow
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
plugin: scummvm_common
wiki: Full_Throttle
gameid: ft
diff --git a/data/grimfandango.yaml b/data/grimfandango.yaml
index 54375f2..620972f 100644
--- a/data/grimfandango.yaml
+++ b/data/grimfandango.yaml
@@ -10,7 +10,7 @@ disks: 2
# from 71MB to 51MB... but it takes 10 minutes to do it (on a Core i7),
# which is going to make people think game-data-packager has crashed.
# gzip compression is only fractionally smaller than uncompressed.
-compress_deb: false
+compress_pkg: false
# for upgrade from versions where it was not multilingual
try_repack_from:
- /usr/share/games/grimfandango
diff --git a/data/icewind-dale-1.yaml b/data/icewind-dale-1.yaml
index b33cd6c..d80ae98 100644
--- a/data/icewind-dale-1.yaml
+++ b/data/icewind-dale-1.yaml
@@ -4,7 +4,7 @@ longname: "Icewind Dale - Complete"
copyright: © 2000 Interplay Entertainment Corp.
genre: Role Playing
engine: gemrb-icewind-dale
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [de,pl,ru]
help_text: |
Data for Icewind Dale can be downloaded from gog.com automatically.
diff --git a/data/icewind-dale-2.yaml b/data/icewind-dale-2.yaml
index e14cc0d..73aea9a 100644
--- a/data/icewind-dale-2.yaml
+++ b/data/icewind-dale-2.yaml
@@ -4,7 +4,7 @@ longname: "Icewind Dale 2"
copyright: © 2002 Interplay Entertainment Corp.
genre: Role Playing
engine: gemrb-icewind-dale-2
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [de,fr,pl,ru]
help_text: |
Data for Icewind Dale 2 can be downloaded from gog.com automatically.
diff --git a/data/ja.yaml b/data/ja.yaml
index 8ed2a00..8a4afc3 100644
--- a/data/ja.yaml
+++ b/data/ja.yaml
@@ -6,7 +6,7 @@ copyright: © 2003 Activision, Inc. / LucasArts, a division of Lucasfilm Enterta
# things in it are the control files and copyright information,
# alongside ~ 1.2 GiB of compressed zip files. xz can save 20 MiB,
# but that's less than 2% of the total size and takes 10 times as long.
-compress_deb: false
+compress_pkg: false
engine: openjk-academy | openjk-academy-server
genre: Action
disks: 2
diff --git a/data/jk2.yaml b/data/jk2.yaml
index 20675e1..eb73f0e 100644
--- a/data/jk2.yaml
+++ b/data/jk2.yaml
@@ -6,7 +6,7 @@ engine: openjk-outcast
genre: Action
# Like Jedi Academy, there isn't much point in compressing this .deb.
-compress_deb: false
+compress_pkg: false
steam:
id: 6030
diff --git a/data/morrowind.yaml b/data/morrowind.yaml
index 2940047..4b59526 100644
--- a/data/morrowind.yaml
+++ b/data/morrowind.yaml
@@ -7,7 +7,7 @@ try_repack_from:
- ~/.local/share/openmw/data
# A lot of the content is compressed, but not all of it.
# TODO: benchmark time vs. size and find a good compromise
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [de,es,it,pl,ru]
diff --git a/data/planescape-torment.yaml b/data/planescape-torment.yaml
index 15c8aa5..66557a3 100644
--- a/data/planescape-torment.yaml
+++ b/data/planescape-torment.yaml
@@ -3,7 +3,7 @@ longname: "Planescape Torment"
copyright: © 1999 Interplay Productions
genre: Role Playing
engine: gemrb-planescape-torment
-compress_deb: [-Zgzip, -z1]
+compress_pkg: [-Zgzip, -z1]
missing_langs: [de,fr,pl]
help_text: |
Data for Planescape Torment can be downloaded from gog.com automatically.
diff --git a/data/quake3.yaml b/data/quake3.yaml
index a8a92ee..1105a14 100644
--- a/data/quake3.yaml
+++ b/data/quake3.yaml
@@ -9,7 +9,7 @@ genre: First-person shooter
wikibase: http://quake.wikia.com/wiki/
wiki: Quake_III_Arena
-compress_deb: false
+compress_pkg: false
try_repack_from:
# Older versions of g-d-p used this directory
- /usr/share/games/quake3
diff --git a/data/quake4.yaml b/data/quake4.yaml
index e382748..5651fb6 100644
--- a/data/quake4.yaml
+++ b/data/quake4.yaml
@@ -9,7 +9,7 @@ steam:
genre: First-person shooter
wikibase: http://quake.wikia.com/wiki/
wiki: Quake_4
-compress_deb: false
+compress_pkg: false
binary_executables: i386
packages:
diff --git a/data/rtcw.yaml b/data/rtcw.yaml
index 1e8422d..7ebacb1 100644
--- a/data/rtcw.yaml
+++ b/data/rtcw.yaml
@@ -11,7 +11,7 @@ wikibase: http://wolfenstein.wikia.com/wiki/
wiki: Return_to_Castle_Wolfenstein
# Like Jedi Academy, there isn't much point in compressing this .deb.
-compress_deb: false
+compress_pkg: false
help_text: |
Install Return to Castle Wolfenstein from CD-ROM using Windows or Wine,
diff --git a/data/unreal.yaml b/data/unreal.yaml
index c937ddc..ca95e65 100644
--- a/data/unreal.yaml
+++ b/data/unreal.yaml
@@ -12,7 +12,7 @@ wiki: Unreal
# -Zgzip -z6: 64s, 318M
# -Zgzip -z9: 183s, 317M
# default xz: 411s, 253M
-compress_deb: [-Zgzip, -z4]
+compress_pkg: [-Zgzip, -z4]
binary_executables: i386
packages:
diff --git a/doc/adding_a_game.mdwn b/doc/adding_a_game.mdwn
index e5ab3db..f4175df 100644
--- a/doc/adding_a_game.mdwn
+++ b/doc/adding_a_game.mdwn
@@ -30,7 +30,7 @@ which should get you easily started.
This should match the title screen of the game, if any.
* `engine`: string: package name that contain the program needed to run the game.
* `genre`: the game genre
-* `compress_deb`: boolean, default true: If false, the `.deb` or `.rpm`
+* `compress_pkg`: boolean, default true: If false, the `.deb` or `.rpm`
will never be compressed.
Use this if it contains non-compressible files (e.g. `*.pk3`
which are zip files) for which `xz` will waste a lot of time and
diff --git a/doc/tags.txt b/doc/tags.txt
index b06d516..04af53c 100644
--- a/doc/tags.txt
+++ b/doc/tags.txt
@@ -2,7 +2,7 @@ longname: string
franchise: string
copyright: string
fanmade: bool
-compress_deb: bool/list of strings (=argv)
+compress_pkg: bool/list of strings (=argv)
aliases: list
engine: string
plugin: string
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 78dfd31..f111f91 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -127,9 +127,9 @@ class GameData(object):
# False: -Znone
# str: -Zstr (gzip, xz or none)
# list: arbitrary options (e.g. -z9 -Zgz -Sfixed)
- self.compress_deb = True
+ self.compress_pkg = True
- for k in ('longname', 'copyright', 'compress_deb', 'help_text', 'disks', 'fanmade',
+ for k in ('longname', 'copyright', 'compress_pkg', 'help_text', 'disks', 'fanmade',
'engine', 'genre', 'missing_langs', 'franchise', 'wiki', 'wikibase',
'steam', 'gog', 'dotemu', 'origin', 'url_misc', 'wikipedia',
'binary_executables', 'copyright_notice'):
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 53e416a..9b552a0 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -2025,7 +2025,7 @@ class PackagingTask(object):
# (Vorbis is already compressed)
compress_pkg = compress and not package.rip_cd
if compress_pkg:
- compress_pkg = self.game.compress_deb
+ compress_pkg = self.game.compress_pkg
pkg = self.packaging.build_package(per_package_dir, self.game,
package, destination, compress=compress_pkg,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list