Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66673 - [0ad] Rebuild against wxgtk3

Attached to Project: Community Packages
Opened by Blair Bonnett (bcb) - Saturday, 16 May 2020, 08:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 17 May 2020, 23:47 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

0ad was the only package on my install needing wxgtk2/gtk2 (and is one of the few in the repos requiring wxgtk2).

Other distributions have switched to building against wxgtk3, e.g., Debian last August [1] and Fedora two years ago [2].

I built a local copy against wxgtk3. The only component which links to the wxgtk libraries is the Atlas map/scenario editor. I've never used it before but I spent some time going around the UI and trying as many things as I could, and didn't encounter any issues.

To get it to compile with GCC 10 I also had to apply the fcollada patch from upstreams issue #5709 [3].

I've attached arch-0ad-wxgtk3.patch which was generated with git diff --patch against the current package trunk from abs.

In case that doesn't work properly, I've also attached my modified PKGBUILD and the upstream fcollada patch.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933456
[2]: https://src.fedoraproject.org/rpms/0ad/c/b0863c90a58dfb8603e7a4be0ac71c9cbe096e0e?branch=master
[3]: https://trac.wildfiregames.com/ticket/5709
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 17 May 2020, 23:47 GMT
Reason for closing:  Fixed

Loading...