Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502286 - games-strategy/widelands-0.18 version bump
Summary: games-strategy/widelands-0.18 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement with 3 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 22:06 UTC by Kai Dietrich
Modified: 2016-03-24 15:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
widelands-0.18.ebuild (widelands-0.18.ebuild,2.07 KB, text/plain)
2014-03-03 14:24 UTC, Mario Kicherer
Details
fixed widelands-0.18.ebuild (widelands-0.18.ebuild,2.20 KB, text/plain)
2014-03-31 21:30 UTC, AlexOmskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Dietrich 2014-02-23 22:06:59 UTC
widelands build 18 is releasedm :)

https://wl.widelands.org/news/2014/02/22/widelands-build-18-released/

Reproducible: Always
Comment 1 Mario Kicherer 2014-03-03 14:24:40 UTC
Created attachment 371642 [details]
widelands-0.18.ebuild

This ebuild works for me on AMD64. I just removed the cxxflags.patch and the two sed commands containin "#define OF(x)" but I did not check if both are not required anymore.
Comment 2 Paramonov Valeriy 2014-03-05 06:50:24 UTC
Don't work for me.

homeserver temp # cat build.log 
 * Package:    games-strategy/widelands-0.18
 * Repository: gentoo
 * Maintainer: games@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking widelands-build18-src.tar.bz2 to /var/tmp/portage/games-strategy/widelands-0.18/work
>>> Source unpacked in /var/tmp/portage/games-strategy/widelands-0.18/work
>>> Preparing source in /var/tmp/portage/games-strategy/widelands-0.18/work/widelands-build18-src ...

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/games-strategy/widelands/files/widelands-0.18-gcc47.patch
 *   ( widelands-0.18-gcc47.patch )

 * ERROR: games-strategy/widelands-0.18::gentoo failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3417:  Called epatch '/usr/portage/games-strategy/widelands/files/widelands-0.18-gcc47.patch'
 *   environment, line 1553:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
Comment 3 Paramonov Valeriy 2014-03-05 11:02:48 UTC
I just commented this two string in ebuld file:

#	epatch \
#		"${FILESDIR}"/${P}-gcc47.patch

And everything build well. But game show build 17DEV :)
Comment 4 Mario Kicherer 2014-03-05 16:08:35 UTC
You should also rename the patches in widelands/files/ as their name contains a version string. If the version of the ebuild is changed (0.17 -> 0.18) it won't find its patches without renaming the patches as well.
Comment 5 Paramonov Valeriy 2014-03-05 17:23:40 UTC
I had already played! )
Comment 6 AlexOmskiy 2014-03-31 21:13:54 UTC
(In reply to Mario Kicherer from comment #1)
> Created attachment 371642 [details]
> widelands-0.18.ebuild
> 
> This ebuild works for me on AMD64. I just removed the cxxflags.patch and the
> two sed commands containin "#define OF(x)" but I did not check if both are
> not required anymore.

gcc47.patch NOT need too - build 18 include this fix

and i remove *boost* strings in src_prepare() - cc1plus warnings: can't find /usr/inclide/boost-1_55 (but build without errors).
simply i rm it for simply '/usr/inclide/boost'.

amd64 gcc-4.8.2 boost-1.55

build - fine
start - good
work (game-play) - testing
Comment 7 AlexOmskiy 2014-03-31 21:30:06 UTC
Created attachment 373988 [details]
fixed widelands-0.18.ebuild
Comment 8 Wojciech Myrda 2016-03-23 23:13:07 UTC
any reason this one is not in portage? It did work for me just fine and I did play it successfully. I did change EAPI=3 to EAPI=5 just to update it a little bit but I am not sure even if that is required.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2016-03-24 15:40:08 UTC
I got distracted while updating the cxxflags patch.  in portage now.