Package Details: slade-git 3.1.2_b2+19+gc4bfa47f-1

Git Clone URL: https://aur.archlinux.org/slade-git.git (read-only)
Package Base: slade-git
Description: SLADE3 Doom editor (git version)
Upstream URL: http://slade.mancubus.net/
Licenses: GPL
Conflicts: slade
Provides: slade
Submitter: grubber
Maintainer: grubber
Last Packager: grubber
Votes: 3
Popularity: 0.381163
First Submitted: 2014-01-28 21:01
Last Updated: 2017-07-04 04:37

Latest Comments

crisisinaptica commented on 2017-07-04 00:09

Yeah, the thing is I don't really know the reasons for dropping webview from the official wxgtk2 package, I have compiled it myself without problems adding --enable-webview to the PKGBUILD used to build the official package.
Maybe it's functionality no official packages use anymore and A.Rojas is looking to trim down the package?
I hope there's nothing more serious behind this decision.

I'll be droping him a short mail to ask.

We can compile SLADE with -DNO_WEBVIEW=ON, but it's not the intended user experience the devs have in mind...

Sebelino commented on 2017-07-03 21:01

@crisisinaptica Thank you for the detective work. So, it appears that the most practical solution is to add the following line to the cmake command in the PKGBUILD:

-DNO_WEBVIEW=ON \

crisisinaptica commented on 2017-07-01 10:50

Hi grubber, thanks for maintaining this package!

Slade won't compile since the last wxgtk2 package update, unless you pass the 'NO_WEBVIEW=ON' option flag to cmake.

wxgtk2 package doesn't contain the 'libwx_gtk2u_webview-3.0.so' library anymore:
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/wxgtk&id=eafe01956aed209d097847e7421c75f3d7d42a4a

A.Rojas (trusted user, maintainer of wxgtk2) recommends switching to wxgtk3 asap (see the comments):
https://bugs.archlinux.org/task/54419

I don't know that much about Cmake, but it seems the libraries shipped with wxgtk2 are being chosen instead the wxgtk3 ones by the 'find_package' Cmake command.
https://github.com/sirjuddington/SLADE/blob/master/src/CMakeLists.txt

I suppose we can blame the 'FindwxWidgets.cmake' find module shipped with the Cmake package (?)

Edit:
After some research on how the FindWxWidgets module works I have learned that you can add -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 to the Cmake command to force the use of the libraries provided by wxgtk3, but SLADE will not build with these.

So there are two ways to compile SLADE right now on Arch, one is to build wxgtk2 yourself with --enable-webiew, the other is the -DNO_WEBVIEW=ON flag.