Overview
Request 265736 accepted
Hedgewars now successfully builds on openSUSE 13.2 (and others).
First of all, there were problems with two Haskell packages required by hedgewars-server, but I sorted this out[1,2] with the maintainers of devel:languages:haskell.
After the hedgewars package was no longer "unresolvable", I had to add two patches to make it compile again.
On the one hand, changes introduced in the GHC Haskell compiler resulted in a build failure in gameServer/Actions.hs. The upstream developers already noticed it and published a patch on their bugtracker[3], which I simply copied.
On the other hand, CMake complained while working in the share/hedgewars/Data/Locale directory about a missing target "Qt4:lrelease". This was discussed on the CMake bugtracker[4], but the CMake developers see the problem within Hedgewars and not CMake, so I created a patch that adds a "find_package(Qt4 REQUIRED)" command to the respective CMakeLists.txt file as proposed in the CMake bugtracker.
References:
[1] https://build.opensuse.org/request/show/265581
[2] https://build.opensuse.org/request/show/265587
[3] https://code.google.com/p/hedgewars/issues/detail?id=798&can=1&q=Actions.hs
[4] http://http://www.cmake.org/Bug/view.php?id=14969
- Created by ttrubep1
- In state accepted
- Package maintainers: Mailaender and dbuck
Request History
ttrubep1 created request
Hedgewars now successfully builds on openSUSE 13.2 (and others).
First of all, there were problems with two Haskell packages required by hedgewars-server, but I sorted this out[1,2] with the maintainers of devel:languages:haskell.
After the hedgewars package was no longer "unresolvable", I had to add two patches to make it compile again.
On the one hand, changes introduced in the GHC Haskell compiler resulted in a build failure in gameServer/Actions.hs. The upstream developers already noticed it and published a patch on their bugtracker[3], which I simply copied.
On the other hand, CMake complained while working in the share/hedgewars/Data/Locale directory about a missing target "Qt4:lrelease". This was discussed on the CMake bugtracker[4], but the CMake developers see the problem within Hedgewars and not CMake, so I created a patch that adds a "find_package(Qt4 REQUIRED)" command to the respective CMakeLists.txt file as proposed in the CMake bugtracker.
References:
[1] https://build.opensuse.org/request/show/265581
[2] https://build.opensuse.org/request/show/265587
[3] https://code.google.com/p/hedgewars/issues/detail?id=798&can=1&q=Actions.hs
[4] http://http://www.cmake.org/Bug/view.php?id=14969
dbuck accepted request
Thanks for your work!