#1 Rebuild against wxWidgets 3.0
Merged 5 years ago by jenslody. Opened 5 years ago by swt2c.
rpms/ swt2c/codeblocks wxGTK3  into  master

file modified
+5 -2
@@ -7,7 +7,7 @@ 

  

  Name:		codeblocks

  Version:	17.12

- Release:	7%{?svnrelease}%{?dist}

+ Release:	8%{?svnrelease}%{?dist}

  Summary:	An open source, cross platform, free C++ IDE

  License:	GPLv3+

  URL:		http://www.codeblocks.org/
@@ -23,7 +23,7 @@ 

  BuildRequires:	gcc

  BuildRequires:	gcc-c++

  BuildRequires:	libtool

- BuildRequires:	wxGTK-devel

+ BuildRequires:	wxGTK3-devel

  BuildRequires:	zlib-devel

  BuildRequires:	bzip2-devel

  BuildRequires:	tinyxml-devel
@@ -350,6 +350,9 @@ 

  

  

  %changelog

+ * Mon Aug 15 2018 Scott Talbert <swt@techie.net> - 17.12-8

+ - Rebuild against wxWidgets 3.0

+ 

  * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.12-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

no initial comment

Some additional info: this change moves Codeblocks from wxWidgets 2.8 (no longer maintained, last release in 2011) to wxWidgets 3.0. I built it and did some light testing in Rawhide.

rebased onto e905a22

5 years ago

rebased onto 8bad951

5 years ago

This is stalled and needed. I've been asked as a provenpackager to merge this.
If there are no objections within couple of days, I'll merge and build.

Pull-Request has been merged by jenslody

5 years ago

I just merged and will push a build, even if I'm still not happy with it, because it breaks toolbars with wayland.

Thanks. Glad you've said you're not happy about it - it's so much better reply than ignoring a PR.

@swt2c will you be able to help with the toolbars problem?

@jenslody do you have details?

It's an upstream issue and not fixed in current sources, works fine with wx2.8 and and in x11.
The toolbars are legacy toolbars, not aui, because the xrc's use an own pseuo-class wxToolBarAddon with an own xml-handler.
Dragging/dropping the toolbars in wayland is broken and in wx3 the cursor while dragging is incorrect.
I should try to find time to dig into the issue deeper to fix it upstream before the upcoming release (of C::B).
But there is so much to do currently besides Code::Blocks and Fedora.

@jenslody if we build with the GTK+2 version of wx3.0 that will force x11-only and should avoid the issue for now. Do you want me to do another PR with that change?

I just tested it locally inside C::B and it seems to work.
So yes, please update the PR.