Re: [gentoo-user] wxPython/wxWidgets release number mismatch
Ühel kenal päeval, K, 19.09.2018 kell 08:58, kirjutas David Haller: > Hello, > > On Wed, 19 Sep 2018, Andrew Udvare wrote: > > Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ? > > wxGTK:3.0 uses gtk+-2 and wxGTK:3.0-gtk3 uses gtk+-3. That, and we couldn't do it with just flipping it to gtk3 in 3.0 SLOT, because some wxWidgets apps could be doing conditional direct GTK+ code as well, to go above the lowest common denominator toolkit support that wxWidgets provides. Or some might just be wrongly linking directly to gtk2 explicitly. Or had too much trouble with gtk3 in the less used parts of wxGTK while wxGTK gtk3 support hadn't quite matured yet. You can't have a program load in (link to) both gtk2 and gtk3 - it will abort to not go completely runtime crazy and crash due to same function names. Kind of like wxWidgets itself aborts if the library and app are using different C++ ABI (however that's less of a problem with todays relevant C++ ABI updates, unlike the gcc4 to 5 days). Therefore it was just a separate parallel installable SLOT with which we could move things over gradually and have the more maintained apps benefit before everything is working with it. Mart signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] wxPython/wxWidgets release number mismatch
Hello, On Wed, 19 Sep 2018, Andrew Udvare wrote: >Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ? wxGTK:3.0 uses gtk+-2 and wxGTK:3.0-gtk3 uses gtk+-3. HTH, -dnh -- The only "intuitive" interface is the nipple. After that, it's all learned. -- Bruce Ediger, bedi...@teal.csn.org, on X interfaces
Re: [gentoo-user] wxPython/wxWidgets release number mismatch
> On 2018-09-18, at 18:50, Mart Raudsepp wrote: > > > Yes, it'd be nice if we had wxpython-4. Help welcome. Also help welcome > in having wxpython-3 use wxGTK:3.0-gtk3 or have a separate SLOT for > that itself as well. Curiosity: what is the reason for wxGTK:3.0 and wxGTK:3.0-gtk3 ? Andrew
Re: [gentoo-user] wxPython/wxWidgets release number mismatch
> On 2018-09-17, at 19:51, Grant Edwards wrote: > > Sounds like a mess. The Gentoo stable versions _seem_ to work OK > together at the moment (for the apps I've tried), but the warning > every time you run one doesn't inspire confidence. That would be enough for me to stop using packages that rely on it. 2014 is a long time ago for any major package like this. I would expect crashes and instability with such apps. If I really need it, I would find another way to get the latest versions of wxPython and wxGTK installed. Maybe an overlay has that set up. Or you can build a local copy of the packages and use them that way. Andrew
Re: [gentoo-user] wxPython/wxWidgets release number mismatch
On 9/17/18 3:48 PM, Grant Edwards wrote: > Does anybody have any idea what the below is trying to tell me? > > _WHAT_ two compenents are mismatched? > > WTF is the point of printing a "release number mismatch" warning > without tell the user which two components are mismatched? > > You might as well print out > > WARNING: something might or might be wrong! > > I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help. I think you need to try this: revdep-rebuild -L wx_baseu-3.0 -- --ask I had an issue where Audacity and a few others could not start due to version mismatches. Got an issue where the ABIs were different. After running the above command and reinstalling, these apps started working again. Calculating dependencies... done! [ebuild R] x11-libs/wxGTK-3.0.4 [ebuild R] x11-libs/wxGTK-3.0.4-r300 [ebuild R] app-editors/wxhexeditor-0.24 [ebuild R] games-emulation/pcsx2-1.4.0 [ebuild R] app-arch/p7zip-16.02-r4 [ebuild R] net-ftp/filezilla-3.36.0 [ebuild R] media-video/mediainfo-18.08.1 [ebuild R] sci-visualization/gnuplot-5.2.4 [ebuild R] media-sound/audacity-2.2.2 [ebuild R] games-emulation/dolphin-5.0 I would presume wxPython will be in your list. Andrew signature.asc Description: OpenPGP digital signature
[gentoo-user] wxPython/wxWidgets release number mismatch
Does anybody have any idea what the below is trying to tell me? _WHAT_ two compenents are mismatched? WTF is the point of printing a "release number mismatch" warning without tell the user which two components are mismatched? You might as well print out WARNING: something might or might be wrong! I've reinstalled wxpython, pygtk, and wxGTK, and it didn't help. $ python Python 2.7.15 (default, Sep 12 2018, 15:19:18) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx /usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") >>> -- Grant Edwards grant.b.edwardsYow! Hmmm ... a CRIPPLED at ACCOUNTANT with a FALAFEL gmail.comsandwich is HIT by a TROLLEY-CAR ...