2.5 is out! http://ufoai.org/wiki/News Reproducible: Always
Created attachment 380608 [details] ufo-ai-2.5.ebuild From my overlay, tbc. Enjoy.
Created attachment 381402 [details] ufo-ai-2.5.ebuild a few minor changes
doesn't work here. >>> Compiling source in /var/tmp/portage/games-strategy/ufo-ai-2.5/work/ufoai-2.5-source ... Running emake! make -j13 /bin/sh: line 0: cd: /var/tmp/portage/games-strategy/ufo-ai-2.5/work/ufoai-2.5-source/contrib/installer/mojosetup/scripts: No such file or directory ls: cannot access *.lua: No such file or directory find: 'base/maps': No such file or directory build/maps.mk:45: target '.' doesn't match the target pattern build/maps.mk:45: target 'base' doesn't match the target pattern build/maps.mk:45: target 'src' doesn't match the target pattern build/maps.mk:45: target 'src/po' doesn't match the target pattern ... build/maps.mk:45: target 'android-project/libs' doesn't match the target pattern find: 'base/models': No such file or directory find: 'base/models': No such file or directory find: 'base/models': No such file or directory find: 'base/models': No such file or directory make: *** No rule to make target 'release-linux-x86_64/ufo/libs/SDL_ttf/external/freetype-2.4.12/src/base/ftbase.c.o', needed by 'ufo'. Stop. make: *** Waiting for unfinished jobs.... emake failed * ERROR: games-strategy/ufo-ai-2.5::Local-Overlay failed (compile phase): The contrib folder isn't included in the unpacked sources.
Created attachment 382308 [details] build.log
Created attachment 382310 [details] emerge --info
Created attachment 382602 [details] ufo-ai-2.5.ebuild Was caused by the switch to sdl2. This should work.
(In reply to M. B. from comment #6) > Created attachment 382602 [details] > ufo-ai-2.5.ebuild > > Was caused by the switch to sdl2. This should work. Thanks, works.
not in portage tree?
doesn't work here: ... build/maps.mk:45: target 'android-project/src/org/ufoai' doesn't match the target pattern build/maps.mk:45: target 'android-project/res/values' doesn't match the target pattern build/maps.mk:45: target 'android-project/res/layout' doesn't match the target pattern build/maps.mk:45: target 'android-project/jni/src' doesn't match the target pattern build/maps.mk:45: target 'radiant/i18n' doesn't match the target pattern build/maps.mk:45: target 'eclipse/net.sourceforge.ufoai.dsl.ui/src-gen' doesn't match the target pattern build/maps.mk:45: target 'eclipse/net.sourceforge.ufoai.dsl/src-gen' doesn't match the target pattern build/maps.mk:45: target 'android-project/libs' doesn't match the target pattern find: `base/models': No such file or directory find: `base/models': No such file or directory find: `base/models': No such file or directory find: `base/models': No such file or directory ===> CXX [game] src/game/g_spawn.cpp ===> CXX [game] src/game/g_main.cpp i686-pc-linux-gnu-g++: error: -pg and -fomit-frame-pointer are incompatible i686-pc-linux-gnu-g++: error: -pg and -fomit-frame-pointer are incompatible Makefile:171: recipe for target 'release-linux-i386/game/game/g_spawn.cpp.o' failed make: *** [release-linux-i386/game/game/g_spawn.cpp.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:171: recipe for target 'release-linux-i386/game/game/g_main.cpp.o' failed make: *** [release-linux-i386/game/game/g_main.cpp.o] Error 1 emake failed
Created attachment 403704 [details] emerge --info
Created attachment 403706 [details] build.log
Fixed the ebuild to work with hardened and pushed to ::booboo.
(In reply to Sergey 'L29Ah' Alirzaev from comment #12) > Fixed the ebuild to work with hardened and pushed to ::booboo. I'm not sure if anyone is interested in booboo, provide a pull request instead: https://github.com/gentoo/gentoo
Pull request created with a slightly modified ebuild (mainly EAPI 5): https://github.com/gentoo/gentoo/pull/256 Builds and starts for me.
I'm not sure profiling needs to be supported. Also, the dedicated use flag is preferred.
Portage still ships only 2.4.
(In reply to DrSlony from comment #16) > Portage still ships only 2.4. Good point, I don't know what to do to accelerate this next step. If anyone wants the ebuild already (I squashed my commits into one and rebased it on top of master), get it from here: https://github.com/quazgar/gentoo/tree/master/games-strategy/ufo-ai
Meanwhile, halfway through 2016...
Created attachment 458768 [details] ufo-ai-2.5.ebuild Hence there seems to be a shortage of an ebuilds here I add one of my own ;) It is based on previous work in here and somewhat updated to reflect changes in ebuild writing guidelines. Ebuild works well. What puzzles me is how did ufoded got build if I did not use dedicated flag. Maybe it is build with "ufo" or "game" configure switch. I do not know.
Created attachment 534042 [details] ufoai-2.5.0 ebuild, metadata.xml, filesdir with a patch-collection Hi, I'm Geever from the UFO:AI Team. I created an ebuild for UFO:AI 2.5.0 (based on the previous ones in this thread). As you will see I changed a few things: - (For consistency) I would like the package name to be changed from ufo-ai to ufoai if possible - The main version to be extended to 3 parts (2.5.0) - Changed the USE flags so every component has one (client server mapeditor). Added metadata.xml with short explanation of the flags I included the code patches that we applied since the 2.5.0 release. Some of them are necessary for the game to build with a recent gcc, others fix some known issues. The game and the editor compiles with lots of warnings, but compiles and works. (2.6.0 will be better in this area hopefully.) I fixed installation of the UFORadiant (map editor), added installation of map sources if mapeditor is requested. A added some basic man files that the Debian guys created for us. I hope you find it okay and the ebuild can be added to the portage soon. I'm going to add the scripts to our repository as well, if needs any change I'd be happy to hear about it and update our version as well. Thx! -geever
Thank you Geever.
Note to devs, I've done some work on this and hope to finish soon.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d65c90b2161ef8205f0aaa3dfd3b9bd034f257 commit 43d65c90b2161ef8205f0aaa3dfd3b9bd034f257 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2018-06-05 22:24:18 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2018-06-06 20:36:28 +0000 games-strategy/ufoai: Rename from ufo-ai and bump to 2.5.0_p20180603 The rename and bump could not be done separately in a safe manner. Upstream has requested this rename for consistency. They also kindly provided an ebuild, which I fixed up. Closes: https://bugs.gentoo.org/515660 Package-Manager: Portage-2.3.40, Repoman-2.3.9 games-strategy/ufo-ai/Manifest | 3 - games-strategy/ufo-ai/files/ufo-ai-2.4-anon.patch | 17 --- .../ufo-ai/files/ufo-ai-2.4-locale.patch | 15 -- .../ufo-ai/files/ufo-ai-2.4-mathlib.patch | 29 ---- games-strategy/ufo-ai/ufo-ai-2.4.ebuild | 118 --------------- games-strategy/ufoai/Manifest | 3 + .../files/ufoai-2.5.0_p20180603-install.patch | 37 +++++ games-strategy/{ufo-ai => ufoai}/metadata.xml | 4 +- games-strategy/ufoai/ufoai-2.5.0_p20180603.ebuild | 166 +++++++++++++++++++++ profiles/updates/2Q-2018 | 1 + 10 files changed, 210 insertions(+), 183 deletions(-)