Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413387 - games-strategy/widelands-0.17: version bump request
Summary: games-strategy/widelands-0.17: version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL: https://launchpad.net/widelands/build...
Whiteboard:
Keywords:
: 414663 415933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-24 16:40 UTC by Martin Walch
Modified: 2012-05-15 11:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2012-04-24 16:40:22 UTC
Source tarball and (very long) release notes can be found at:

https://launchpad.net/widelands/build17/build-17

This new widelands version has been released yesterday. However, I open this bug report, because building fails for me in the configuration step (cmake), and I have not found a proper solution for this so far.

First, SRC_URI needs a change from this:

http://launchpad.net/widelands/${MY_PV}/${MY_PV}/+download/${MY_P}.tar.bz2

to something like this:

http://launchpad.net/widelands/${MY_PV}/${MY_PV/build/build-}/+download/${MY_P}.tar.bz2

The patches from build 16 need to be revisited: libpng15.patch and goldmine.patch seem to be obsolete now, but the three sed lines in src_prepare might still be needed.

The mentioned cmake problem happens for me on amd64 with 1.48.0-r1 (and also some earlier versions I have tried). The output looks like this:

> CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1200 (message):
>  Unable to find the requested Boost libraries.
> 
>   Boost version: 1.48.0
> 
>   Boost include path: /usr/include/boost-1_48
> 
>   The following Boost libraries could not be found:
> 
>           boost_signals
> 
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   CMakeLists.txt:146 (find_package)
Comment 1 Rafał Mużyło 2012-04-24 17:44:42 UTC
libpng15.patch was never really correct in the first place.
Fix for boost_signals is trivial:
sed -i -e '/Boost_USE_STATIC_LIBS/s:ON:OFF:' CMakeLists.txt || die
(if you'll look at CMakeFileLists.txt, you'd notice that if unit tests are enabled and it's not MSVC, shared boost_signals are used too).

On a semi-related note: it would seem only ioapi.h sed (from the old ones) is needed, as other two include that header.
Comment 2 Rafał Mużyło 2012-04-24 18:31:15 UTC
...also something I forgot to mention: ggz-client-libs are no longer used.
Comment 3 Rafał Mużyło 2012-05-05 13:49:44 UTC
*** Bug 414663 has been marked as a duplicate of this bug. ***
Comment 4 Rafał Mużyło 2012-05-14 13:59:00 UTC
*** Bug 415933 has been marked as a duplicate of this bug. ***
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-15 11:16:36 UTC
Fixed in main tree. Thanks for reporting.

Also I am too lazy to mess with the old seds as they work for now so keeping as-is :)