Hans Joachim Desserud has proposed merging 
lp:~hjd/widelands/debian-absolute-paths into lp:~widelands-dev/widelands/debian.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1382832 in widelands: "Latest PPA version refuse to start (could not 
find file or directory: /usr/games/usr/share/games/widelands)"
  https://bugs.launchpad.net/widelands/+bug/1382832

For more details, see:
https://code.launchpad.net/~hjd/widelands/debian-absolute-paths/+merge/238818

Specify absolute paths when building Widelands. Solves the linked bug.

I've verified Widelands starts again on Ubuntu 14.04 with a testbuild from 
https://code.launchpad.net/~hjd/+recipe/widelands-test with this change.

I suspected the absolute paths option might be the case when I saw the changes 
for r7212. However, I wonder what this really does because the paths supplied 
to cmake doesn't look absolute...


(If this fix ends up merged, I will merge it over to the packaging branch for 
12.04 too)
-- 
https://code.launchpad.net/~hjd/widelands/debian-absolute-paths/+merge/238818
Your team Widelands Developers is requested to review the proposed merge of 
lp:~hjd/widelands/debian-absolute-paths into lp:~widelands-dev/widelands/debian.
=== modified file 'debian/rules'
--- debian/rules	2014-03-11 20:57:31 +0000
+++ debian/rules	2014-10-19 12:22:14 +0000
@@ -13,6 +13,7 @@
 override_dh_auto_configure:
 	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
 	  dh_auto_configure -Scmake -- \
+		-DWL_PATHS_ARE_ABSOLUTE="true" \
 		-DWL_INSTALL_PREFIX=/usr \
 		-DWL_INSTALL_DATADIR=share/games/widelands \
 		-DWL_INSTALL_BINDIR=games \

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to