[game-data-packager] 02/03: quake2: libc6-dev is needed to build the game.so

Alexandre Detiste detiste-guest at moszumanska.debian.org
Thu Oct 15 09:19:48 UTC 2015


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 9d2c1e8546d516d028d1107a351b8b5effcd7675
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Thu Oct 15 11:18:28 2015 +0200

    quake2: libc6-dev is needed to build the game.so
---
 data/quake2.yaml            | 4 ++--
 game_data_packager/build.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/quake2.yaml b/data/quake2.yaml
index 32e0dc9..6ea0957 100644
--- a/data/quake2.yaml
+++ b/data/quake2.yaml
@@ -367,7 +367,7 @@ packages:
       id: 2330
       path: "common/Quake 2/xatrix"
     debian:
-      build-depends: gcc, make
+      build-depends: gcc, make, libc6-dev
       provides: quake2-xatrix
       conflicts: quake2-xatrix
       replaces: quake2-xatrix
@@ -422,7 +422,7 @@ packages:
       id: 2340
       path: "common/Quake 2/rogue"
     debian:
-      build-depends: gcc, make
+      build-depends: gcc, make, libc6-dev
       provides: quake2-rogue
       conflicts: quake2-rogue
       replaces: quake2-rogue
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index d35daad..7a56973 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -2069,8 +2069,8 @@ class PackagingTask(object):
             if 'build-depends' in package.debian:
                 for tool in package.debian['build-depends'].split(','):
                     tool = tool.strip()
-                    if not which(tool):
-                        logger.error('tool "%s" is needed to build "%s"' %
+                    if not which(tool) and not PACKAGE_CACHE.is_installed(tool):
+                        logger.error('package "%s" is needed to build "%s"' %
                                      (tool, package.name))
                         possible.discard(package)
                         self.missing_tools.add(tool)

-- 
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