Discussion:
Bug#1090888: libalien-wxwidgets-perl: does not support webview
Add Reply
Roland Rosenfeld
2024-12-20 15:50:01 UTC
Reply
Permalink
Package: libalien-wxwidgets-perl
Version: 0.69+dfsg-6
Severity: normal
X-Debbugs-CC: debian-***@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
gregor herrmann
2024-12-20 19:00:02 UTC
Reply
Permalink
Post by Roland Rosenfeld
If I add libwxgtk-webview3.2-dev to Build-Depends of
libalien-wxwidgets-perl, 

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?
Sounds good to me.


Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
Loading...