Your message dated Wed, 26 Jul 2017 01:20:30 +0000
with message-id <[email protected]>
and subject line Bug#786986: fixed in wxwidgets3.0 3.0.3.1+dfsg-1
has caused the Debian Bug report #786986,
regarding Wxwidgets webview link flags problem
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
786986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786986
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wxwidgets3.0
Version: 3.0.2-1
Severity: important

Tags: patch

As discussed in irc, wx-config actually has a wrong behaviour (Debian specific 
bug I guess)
this is causing autoconf to behave wrongly [1] when webview is not available.

Example (webview is *not* installed):

$ dpkg -s libwxgtk-webview3.0-dev

dpkg-query: package 'libwxgtk-webview3.0-dev' is not installed and no 
information is available

$ wx-config --libs webview
-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_webview-3.0 -lwx_baseu-3.0 


this is returning webview flags, causing a build failure.

I don't know what should be the correct behaviour.

wx-config --libs webview,core,gtk
-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_webview-3.0 
-lwx_gtk2u_core-3.0 -lwx_gtk2u_gtk-3.0 -lwx_baseu-3.0 


when called with multiple libraries it can strip the webview (patching around 
line 1247 of wx-config), but this makes the build fail


the following patch seems to do the trick

-        # Only add base if --libs was specified and not just --optional-libs
-          if [ -n "$output_option_libs" ]; then
-                wx_libs="$wx_libs base"
+   if dpkg -s libwxgtk-webview3.0-dev > /dev/null 2>&1 ; then
+                # Only add base if --libs was specified and not just 
--optional-libs
+                if [ -n "$output_option_libs" ]; then
+                      wx_libs="$wx_libs base"
+     fi
+   else
+                exit 2


(attached the pach to apply directly on the debian patch)

I'm not sure if the patch is actually working on each corner case, but I'm 
submitting it anyway


thanks for considering it,

Cheers,

Gianfranco
[1] https://github.com/vslavik/poedit/issues/178

Attachment: patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: wxwidgets3.0
Source-Version: 3.0.3.1+dfsg-1

We believe that the bug you reported is fixed in the latest version of
wxwidgets3.0, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olly Betts <[email protected]> (supplier of updated wxwidgets3.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Jul 2017 11:50:14 +1200
Source: wxwidgets3.0
Binary: libwxbase3.0-0v5 libwxbase3.0-dev libwxgtk3.0-0v5 libwxgtk3.0-dev 
libwxgtk-media3.0-0v5 libwxgtk-media3.0-dev libwxgtk-webview3.0-0v5 
libwxgtk-webview3.0-dev wx-common wx3.0-headers wx3.0-i18n wx3.0-examples 
wx3.0-doc
Architecture: source
Version: 3.0.3.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: wxWidgets Maintainers <[email protected]>
Changed-By: Olly Betts <[email protected]>
Description:
 libwxbase3.0-0v5 - wxBase library (runtime) - non-GUI support classes of 
wxWidgets t
 libwxbase3.0-dev - wxBase library (development) - non-GUI support classes of 
wxWidge
 libwxgtk-media3.0-0v5 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ media 
library runt
 libwxgtk-media3.0-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ media 
library deve
 libwxgtk-webview3.0-0v5 - wxWidgets Cross-platform C++ GUI toolkit (webview 
library runtime
 libwxgtk-webview3.0-dev - wxWidgets Cross-platform C++ GUI toolkit (webview 
library develop
 libwxgtk3.0-0v5 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
 libwxgtk3.0-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
 wx-common  - wxWidgets Cross-platform C++ GUI toolkit (common support files)
 wx3.0-doc  - wxWidgets Cross-platform C++ GUI toolkit (documentation)
 wx3.0-examples - wxWidgets Cross-platform C++ GUI toolkit (examples)
 wx3.0-headers - wxWidgets Cross-platform C++ GUI toolkit (header files)
 wx3.0-i18n - wxWidgets Cross-platform C++ GUI toolkit (i18n support)
Closes: 786986 844486 850557
Changes:
 wxwidgets3.0 (3.0.3.1+dfsg-1) unstable; urgency=medium
 .
   * New upstream release.
     + debian/patches/: Refresh patches and drop those incorporated upstream:
       - gst1.0.patch
       - Define-wxIsNaN-as-std-isnan-in-C-11-mode.patch
       - Fix-STC-compilation-with-GCC6.patch
       - ed88188be7e97a0503f3471f7b0452740b732902.patch
     + debian/rules: Workaround missing execute bit on docs/doxygen/regen.sh
       in 3.0.3.1 (already fixed in upstream release branch).
   * debian/watch: Upstream now host releases on github.
   * debian/repack.sh: Make agnostic to compression used on upstream tarballs.
   * debian/control.in: Add graphviz to BDI. (Closes: #850557)
   * debian/control.in,debian/rules: Drop -dbg debug package now we have
     automatically generated debug packages.
   * debian/rules: Drop --without-gnomeprint from GTK_CONFIGURE_OPTIONS as it
     no longer does anything - gnomeprint support was dropped pre-3.0.0.
   * debian/patches/wx-config-conditionalise-webview-in-std.patch: If the -dev
     package for webview isn't installed, make wx-config behave as if webview
     was disabled at build time. (Closes: #786986)
   * debian/patches/warn-for-compiler-abi-mismatch.patch: Don't warn, as that
     can result in a pop up dialog with some applications. (Closes: #844486).
     Fix broken code in relaxed string comparison in patch which has worked so
     far mostly by luck.
   * debian/control.in: Note conformance with Standards-Version 4.0.0.
   * debian/control.in: Remove links to upstream homepage from long
     descriptions.
   * Update URLs pointing to upstream website and trac to use https.
   * debian/control.in: Use https: instead of git: for Vcs-Git.
   * debian/control.in: Update Vcs-Browser to use cgit URL instead of gitweb,
     as the gitweb URL now just redirects to the cgit one.
   * debian/rules: Use $(DEB_SOURCE) instead of calling dpkg-parsechangelog
     directly.
Checksums-Sha1:
 d3e57b2cb72d839412b2cbd13d6aafc557042b0b 3171 wxwidgets3.0_3.0.3.1+dfsg-1.dsc
 6fccbe3fe156568d9acb114182bbc74740cabd1d 12267880 
wxwidgets3.0_3.0.3.1+dfsg.orig.tar.xz
 981740cdb0eaf0830618c7097ad63456163d730c 40236 
wxwidgets3.0_3.0.3.1+dfsg-1.debian.tar.xz
 9dec4e050690614ef491c9e2e6147005940f98c9 18959 
wxwidgets3.0_3.0.3.1+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 601ecd3f923477451928b6713aed8bf540e7a0ddf21ebd0b67aa14a074c5ba76 3171 
wxwidgets3.0_3.0.3.1+dfsg-1.dsc
 81a1272e033f28ee74da66c7cc9a8b8756c616cd87fe685f18c54aba8342a7b1 12267880 
wxwidgets3.0_3.0.3.1+dfsg.orig.tar.xz
 8cdd8295b9a21808227b8c9faf5ed144ef1b5011e995f74e515e0994a8827155 40236 
wxwidgets3.0_3.0.3.1+dfsg-1.debian.tar.xz
 2e6ca98e33a0cc96b8ad4b147c318e8593e8e12be5230edb24ffccfb9bfe8007 18959 
wxwidgets3.0_3.0.3.1+dfsg-1_amd64.buildinfo
Files:
 8a3904a30429748d49958543ca9128ee 3171 libs optional 
wxwidgets3.0_3.0.3.1+dfsg-1.dsc
 a0f035608694a024854d3cb05906c1cb 12267880 libs optional 
wxwidgets3.0_3.0.3.1+dfsg.orig.tar.xz
 c610e3e2e49b83fff111a9a0898290d7 40236 libs optional 
wxwidgets3.0_3.0.3.1+dfsg-1.debian.tar.xz
 8a2d7dc7b1422df0f50a7094bb604fc0 18959 libs optional 
wxwidgets3.0_3.0.3.1+dfsg-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAll34PcACgkQGBR7Bzut
KwdpTBAAwG6EpFjVQBSC8NHCfJoJpWBCDk/5mRaqNPBXP9pBij01ZYmRuUMyV/cW
JbVqbhEI7hs0yO9bg/wwoG+/wrTGxtSnl+/gwxY/JXKiHseagpJ8QT52saGh3yh/
qwP7wadN+EiGTDZu6a9tDwzay+9aftg0uXGKuqFpq+uGNm1ZM612Cj1fT+JgKedg
6gN/sPvdNc5VXx8o8JEumG6sBW4JHjaocVzIv+b0v+lnnFUmvDddYfFWXDu9lVle
cIqVwZKkxkoLIYP7eVkxh8dK8ibgyEWx4DrUbKvFp0FyO2Zwyo9XGvyoVV/Cp2m6
rGSPnibhEk+n1k4srVcQfsH1Yx8v0mTRXCZyZ4Jc+kIFr3hYH5DpBzseI+HOZOU4
d1a7izdOcZmCiLaeLq7bQEMJfgOupycrOmKDpDp3tRPYstE/qcvojLaHi+5H5y1f
VdOxdpZKMhgQfyz+fU9bQ8XD6OyP35uDADPpaNeyPcYIsJFsQ8uL5JO+qKUYvjrF
zvz4f1KFmygDU9Bj5ICA9rduUMAgXhdHLMtm0+VDa4o2tJrQoAAWwwGY+OdQz71q
kiwZ8P1zw5IIVt2XZUlXDD+DoeSB5hml8E8OF3iOE7iOhGVswNwuVWXleaRX8jK/
Rttgf+iSqPhsJOErM0fR+1yIupJsHTBJCoT1KbCkyBh5WYtfZ0E=
=mJxT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to