[opensuse] Leap 42.2 'geany.spec' broken, %if %{prefer_gtk2}, now mixes gtk2 + gtk3
All, Geany currently builds with gtk3 in Leap and looks horrible regardless of theme. Talked to the devs on github and they said building against gtk2 would provide the traditional interface. The suse geany.spec supports building against gtk2 by passing the 'prefer_gtk2' parameter. However, the suse geany.spec is broken as passing 'prefer_gtk2' results in a build that includes both gtk2 and gtk3 -- which of course will not run. For example setting '%define prefer_gtk2 1' in the spec, results in a successful build: $ rpmbuild -ba geany.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SKIeFq + umask 022 + cd /home/david/rpmbuild/BUILD + cd /home/david/rpmbuild/BUILD + rm -rf geany-1.29 + /usr/bin/bzip2 -dc /home/david/rpmbuild/SOURCES/geany-1.29.tar.bz2 + /bin/tar -xf - + STATUS=0 <snip> ------------------------------------------ Install Geany in : /usr Using GTK version : 2.24.31 Enable binary relocation : no Build with plugin support : yes Use (UNIX domain) socket support : yes Use virtual terminal support : yes Build HTML documentation : yes Build PDF documentation : no Build API documentation : yes Generate GtkDoc header : yes Configuration is done OK. + make make all-recursive <snip> Wrote: /home/david/rpmbuild/SRPMS/geany-1.29-39.1.src.rpm Wrote: /home/david/rpmbuild/RPMS/x86_64/geany-1.29-39.1.x86_64.rpm Wrote: /home/david/rpmbuild/RPMS/noarch/geany-lang-1.29-39.1.noarch.rpm Wrote: /home/david/rpmbuild/RPMS/x86_64/geany-devel-1.29-39.1.x86_64.rpm Wrote: /home/david/rpmbuild/RPMS/x86_64/libgeany0-1.29-39.1.x86_64.rpm Wrote: /home/david/rpmbuild/RPMS/x86_64/geany-doc-1.29-39.1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JACvkI + umask 022 + cd /home/david/rpmbuild/BUILD + cd geany-1.29 + /usr/bin/rm -rf /home/david/rpmbuild/BUILDROOT/geany-1.29-39.1.x86_64 + rm -rf filelists Then when you attempt to start geany: $ geany (geany:7704): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported Trace/breakpoint trap (core dumped) WTF?? Why is GTK+3 in the same process the spec file told to build against gtk2?? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/04/2017 11:59 AM, David C. Rankin wrote:
All,
Geany currently builds with gtk3 in Leap and looks horrible regardless of theme. Talked to the devs on github and they said building against gtk2 would provide the traditional interface. The suse geany.spec supports building against gtk2 by passing the 'prefer_gtk2' parameter. However, the suse geany.spec is broken as passing 'prefer_gtk2' results in a build that includes both gtk2 and gtk3 -- which of course will not run.
UUhh... Disregard, CRI suffered, failed to install the new libgeany0, after installing the fresh libgeany0 the beautify GTK+2 interface and themes are back and everything is the right size, and it all fits in the window again. Jesus Christ when will the UI guys stop breaking packages with the latest-greatest-gotta have-broken crap toolkits. No there are no decent GTK3+ themes that work with apps built for gtk2. Look at what mozilla had to do just to get FF and Tbird to look decent (there is still more annoying newness there than good) Until GTK+3 stops deprecating every theme (that worked in GTK+3.(x-1), nobody is going to go though the time to build themes for that toolkit. There are literally 1000's of good gtk2 themes out there -- you can count on 1 hand the usable gtk3 themes available -- and out of those, none are suited for intricate interfaces like editors, etc.. The devs on Github were surprised suse was building geany against gtk3, they were under the impression that Arch (which you would expect) was the only distro building geany against GTK+3 (which explains the lack of attention given to making geany usable with GTK+3) You literally lose 10-20% of the usable screen space on a laptop in geany built against gtk3 (even with the notebook tabs turned off) -- David C. Rankin, J.D.,P. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
David C. Rankin