Opened 13 years ago

Closed 12 years ago

#33655 closed update (fixed)

wesnoth: update to 1.10.1

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jordan@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc:
Port: wesnoth

Description

Here's a patch to update wesnoth to 1.10.1.

The autoconf configuration system has been removed; we must switch to cmake or scons. scons has usually been problematic for me, but we have a cmake portgroup to deal with most of cmake's quirks, so I opted for cmake.

Restricting the build to 32-bit no longer seems necessary; this version build fine i386 x86_64 universal for me.

The patches and running autoconf and adding to cppflags are no longer necessary; this version builds fine with the latest boost.

I removed all the configure args. All the args dealing with locating libraries seem to be unnecessary now; cmake finds them automatically. As for the others:

  • --disable-dbus: I couldn't find any evidence of dbus being used now
  • --disable-desktop-entry: I don't see any desktop entry being installed
  • --disable-sdltest: I can't find any corresponding cmake option
  • --disable-server: this means that the server is now built too; we could add a cmake configure arg to disable it again, but why shouldn't we build the server?
  • --disable-strict-compilation: this was on by default for me, but I don't know what it does anyway

There is still a problem: although fribidi is detected by cmake, at the end it says "Could not find FriBiDi. Disabling FriBiDi support" and wesnoth does not end up linked with fribidi. I have not attempted to resolve this yet; it should be resolved before committing.

Attachments (1)

wesnoth-1.10.1.diff (2.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: wesnoth-1.10.1.diff added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Maintainer timeout. Updated to 1.10.3 in r94484. The only way I could find to tell cmake where fribidi is was to patch FindFriBiDi.cmake.

Note: See TracTickets for help on using tickets.