[oolite] 09/15: generate manifest.plist even without Xcode

Nicolas Boulenguez nicolas.boulenguez at free.fr
Thu Jul 28 23:24:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

nicobou-guest pushed a commit to branch master
in repository oolite.

commit 1b63acdde8fd8d8e675b3eceb283d3cc58c54428
Author: Nicolas Boulenguez <nicolas.boulenguez at free.fr>
Date:   Thu Jul 28 13:00:59 2016 +0200

    generate manifest.plist even without Xcode
---
 debian/patches/avoid_depending_on_xcode.diff | 26 ++++++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/avoid_depending_on_xcode.diff b/debian/patches/avoid_depending_on_xcode.diff
new file mode 100644
index 0000000..0757955
--- /dev/null
+++ b/debian/patches/avoid_depending_on_xcode.diff
@@ -0,0 +1,26 @@
+Description: Generate manifest.plist even without Xcode.
+ As described in Doc/Version-bump.txt, the version in
+ DebugOXP/Debug.oxp/manifest.plist is set manually. Generating
+ manifest.plist from it is much easyer.
+ .
+ tools/mkmanifest.sh was not called anywhere else and may be removed.
+Author: Nicolas Boulenguez <nicolas at debian.org>
+
+--- a/GNUmakefile.postamble
++++ b/GNUmakefile.postamble
+@@ -21,14 +21,12 @@
+ SRC_BIN                          = $(OBJC_PROGRAM_NAME)$(OS_EXT)
+ DEST_BIN                         = $(OBJC_PROGRAM_NAME)$(EXT)$(OS_EXT)
+ 
+-MKMANIFEST=tools/mkmanifest.sh
+-
+ PROGDIR=$(OBJC_PROGRAM_NAME).app
+ 
+ after-all::
+ 	$(MKDIRS) $(PROGDIR)
+ 	$(MKDIRS) $(PROGDIR)/Resources
+-	$(MKMANIFEST) > $(PROGDIR)/Resources/manifest.plist
++	sed 's/Debug OXP/core/;s/\.debug//' DebugOXP/Debug.oxp/manifest.plist > $(PROGDIR)/Resources/manifest.plist
+ 	$(CP) $(CP_FLAGS) Resources/README.TXT $(PROGDIR)/Resources
+ 	$(CP) $(CP_FLAGS) Resources/InfoPlist.strings $(PROGDIR)/Resources
+ 	$(CP) $(CP_FLAGS) Resources/AIs $(PROGDIR)/Resources
diff --git a/debian/patches/series b/debian/patches/series
index bdd66ba..990dacc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ secure-format-log-string-1.84.diff
 # gnustep_app_builder.diff
 avoid_date_cpp_macro.diff
 fix-desktop-file.diff
+avoid_depending_on_xcode.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/oolite.git



More information about the Pkg-games-commits mailing list