build 16 rc 1 of widelands has been released... so a new ebuild would be highly appreciated :-) Reproducible: Always Steps to Reproduce: 1. try to install widelands-0.16-rc1 2. ... 3. profit
we'll pick up 0.16 final.
Created attachment 268741 [details] widelands-0.16_rc1.ebuild My widelands-0.16_rc1 ebuild. It worked in my configuration, but ymmv.
Created attachment 268745 [details, diff] The one patch needed for the rc1-build.
thanks for that ebuild :-) a dependency (media-libs/glew) was missing so i added it, and now it works flawlessly *happy-happy* *joy-joy*
ok, build 16 has been released so i devised a cunning plan: i'm gonna reopen this one ;-)
Take note of the comments in bug 362379.
If I just copy widelands-0.16_rc1.ebuild in portges, then move him to widelands-0.16.ebuild and then accept him thru ebuild? He will work? Or how to make? Thx.
Besides the patches I've already mentioned, revision 5912 would be useful too - main problem with widelands is the once-per-year release schedule, coupled with "use dev releases" advices.
Created attachment 274573 [details] widelands build16 ebuild I am attaching my widelands-0.16 ebuild based on widelands-0.16_rc1 ebuild with patches proposed by Rafał Mużyło.
Created attachment 274575 [details, diff] deep gold mine patch
Created attachment 274577 [details, diff] patch for install
Created attachment 274579 [details, diff] Fix for deep(-er) mine worker order
The install patch fails for me: >>> Preparing source in /var/tmp/portage/games-strategy/widelands-0.16/work/widelands-build16-src ... * Applying widelands-0.16-barbarian_mine.patch ... [ ok ] * Applying widelands-0.16-correct_install.patch ... * Failed Patch: widelands-0.16-correct_install.patch ! * ( /usr/local/portage/games-strategy/widelands/files/widelands-0.16-correct_install.patch ) from /var/tmp/portage/games-strategy/widelands-0.16/temp/widelands-0.16-correct_install.patch.out: ***** widelands-0.16-correct_install.patch ***** ================================================ PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/games-strategy/widelands/files/widelands-0.16-correct_install.patch' ================================================ patching file CMakeLists.txt Hunk #5 FAILED at 1. Hunk #6 FAILED at 11. 2 out of 6 hunks FAILED -- saving rejects to file CMakeLists.txt.rej ================================================
I retested ebuild with patches (also diffed uploaded versions with local) on my machine - it patches for me. Can you try to delete /usr/portage/distfiles/widelands-build16-src.tar.bz2 and regenerate Manifest? If it still will not work, can you upload your /var/tmp/portage/games-strategy/widelands-0.16/temp/widelands-0.16-correct_install.patch.out and /var/tmp/portage/games-strategy/widelands-0.16/work/widelands-build16-src/CMakeLists.txt.rej, even better if you would upload all CMakeLists.txt.*
Sorry, everything is alright. It was my fault: I downloaded the install patch via the hyperlink "Raw Unified" instead of "View".
The 0.16 is now in portage.