Mailing list archives : pcb-rnd

ID:5856
From:rn...@igor2.repo.hu
Date:Sat, 8 Oct 2022 11:57:02 +0200 (CEST)
Subject:[pcb-rnd] new: librnd gtk4 enabled by default
Hi all,
 
I've made a slight change in ./configure of librnd: hid_gtk4_gl is enabled 
by default. This means if you have a system that does not have gtk2 but 
does have gtk4, ./configure will automatically pick gtk4 up, without any 
extra arg.
 
Systems that have gtk2 but not gtk4 there's no change: gtk2 is picked up. 
On systems that have both gtk2 and gtk4, ./configure defaults to gtk2 
builtin, which excludes gtk4. This is because gtk2 is still the HID that 
got much more testing. 
 
If you want both gtk2 and gtk4, you'll need to explicitly request all 
three modules to be plugins:
 
./configure --plugin-hid_gtk2_gdk --plugin-hid_gtk2_gl 
--plugin-hid-gtk4_gl
 
 
(All-plugins is the default for binary distrib packages.)
 
 
This change affects you:
 
- only if you are compiling librnd from source...
 
- ... and you are on a system that has gtk4 but no gtk2 installed
 
- previously you had to explicitly enable gtk4, now configure picks it up 
automatically (if you are using librnd from svn)
 
 
I've made this change because I haven't seen any gtk4 bugreport for a 
while and major distributions are on their way to remove gtk2; with this 
change whenever that happens, gtk4 will work more automatically when 
compiling librnd from source.
 
 
Best regards,
 
Igor2
 
 

Reply subtree:
5856 [pcb-rnd] new: librnd gtk4 enabled by default from rn...@igor2.repo.hu