Bug#1090888: libalien-wxwidgets-perl: does not support webview
Roland Rosenfeld
roland at debian.org
Fri Dec 20 15:45:01 GMT 2024
Package: libalien-wxwidgets-perl
Version: 0.69+dfsg-6
Severity: normal
X-Debbugs-CC: debian-perl at lists.debian.org
Control: affects -1 libwx-perl
Dear Maintainer,
I'm working on an upgrade to a RC version of chordpro, which now has
GUI support including PDF preview via Wx.
But the embedded PDF preview does not work in Debian.
After digging a little deeper I found out that the problem with Debian
libwx-perl package is, that it does not have webview support enabled.
Digging even deeper shows that the behavior of libwx-perl is inherited
from libalien-wxwidgets-perl.
If I add libwxgtk-webview3.2-dev to Build-Depends of
libalien-wxwidgets-perl, the resulting binary package has
+ 'webview' => {
+ 'dll' => 'libwx_gtk3u_webview-3.2.so',
+ 'link' => '-lwx_gtk3u_webview-3.2'
+ },
If I now use this changed libalien-wxwidgets-perl to build libwx-perl,
the new libwx-perl package Depends on libwxgtk-webview3.2-1 (>=
3.2.2+dfsg), has
-#define wxPERL_USE_WEBVIEW 0
+#define wxPERL_USE_WEBVIEW 1
and contains the Wx/WebView.pm, which was missing before.
This new libwx-perl Package (with Wx::WebView) now allows chordpro to
open the embedded PDF preview and solves my initial problem.
Would it be okay to do a team upload of libalien-wxwidgets-perl with
Build-Dependency on libwxgtk-webview3.2-dev as well as another team
upload of libwx-perl with a versioned Build-Dependency on the above
new libalien-wxwidgets-perl package?
Or do you have any objections on this change?
Greetings
Roland
More information about the pkg-perl-maintainers
mailing list