Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

GTK2 EOL

Open NicoHood opened this issue 5 years ago • 5 comments

GTK2 has reached its end of life. Correct me if I am wrong, but the arduino ide still uses GTK2? That should be fixed now, almost every other application is GTK3 ready now.

Also see: https://archlinux.org/todo/gtk-2-eol/ https://blog.gtk.org/2020/12/16/gtk-4-0/

It does mean, however, that GTK 2 has reached the end of its life. We will do one final 2.x release in the coming days, and we encourage everybody to port their GTK 2 applications to GTK 3 or 4.

NicoHood avatar Dec 20 '20 16:12 NicoHood

I ran pacman -Rdd gtk2 and your arduino package still works fine. So no GTK2 dependency?

CReimer avatar Jan 12 '21 17:01 CReimer

Some recently opened another issue about arduino and gtk2 for archlinux. He pointed out, that there were some gtk2 related comments in the changelog: https://github.com/arduino/Arduino/blob/c33fb9fde3cdd6c5d6629fa2a672ef19c110902a/build/shared/revisions.txt#L176

So is gtk2 support now fully optional? Do we still need gtk3 then or even 4 or maybe none at all?

NicoHood avatar Sep 28 '21 07:09 NicoHood

@NicoHood It doesn't look like much is happening on the upstream side with regards to upgrading Arduino from GTK+2. How do you feel about changing the arduino package to makedep on gtk2-compat and depend on gtk3?

xyproto avatar Aug 26 '22 15:08 xyproto

Does this work? What is the difference between gtk2-compat and gtk2?

NicoHood avatar Aug 27 '22 07:08 NicoHood

@NicoHood gtk2-compat uses gtk3 but offers gtk2-like configuration files and header files. It does not work for every project, but it appears to work for arduino.

xyproto avatar Aug 27 '22 12:08 xyproto