Date: Sat, 5 Jan 2019 12:58:01 -0700 From: Adam Weinberger <adamw@adamw.org> To: Niclas Zeising <zeising@freebsd.org> Cc: Miroslav Lachman <000.fbsd@quip.cz>, Adriaan de Groot <adridg@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: vim - GTK2 or GTK3? Message-ID: <CAP7rwcgnD41=J2wayw=57kcABs_hCopUVA47-N--Up_XVEjNrg@mail.gmail.com> In-Reply-To: <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org> References: <mailman.95.1546516802.80376.freebsd-ports@freebsd.org> <4833920.ppSauYnzuk@beastie.bionicmutton.org> <f554ec1c-520a-eed9-4be9-8e256ba5ccd2@quip.cz> <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 3, 2019 at 11:43 AM Niclas Zeising <zeising@freebsd.org> wrote: > > On 1/3/19 6:08 PM, Miroslav Lachman wrote: > > Adriaan de Groot wrote on 2019/01/03 14:28: > >> Niclas wrote: > >> > >> On Thursday, 3 January 2019 13:00:02 CET > >> freebsd-ports-request@freebsd.org > >> wrote: > >>>> Firefox and Chromium both depend on GTK3, so it's highly likely that a > >>>> typical desktop user has GTK3 installed. > >>> > >>> +1, GTK3 is probably the best choice. > >>> > >>> As a side note, it looks like libreoffice defaults to GTK2 as well, > >>> perhaps it should be switched to GTK3 also? > >> > >> As a not-really-GTK-using person, I still have both GTK2 and GTK3 > >> installed on > >> my system running KDE Plasma. Not for vim though: > >> > >> Installed packages to be REMOVED: > >> gtk2-2.24.32 > >> fontforge-20170731 > >> mftrace-1.2.18_1 > >> > >> Installed packages to be REMOVED: > >> gtk3-3.22.30_4 > >> gpsd-3.17 > >> > >> I'm a fan of pushing for toolkit migration, so reducing the number of > >> things > >> that pull in GTK2 is a good thing. > >> > >> > >> So if we're expressing hopes that ports might be made GTK2-free (by > >> porting to > >> GTK3 for instance) then I'd hope that fontforge gets that treatment, > >> too. From > >> looking at the source repo, I don't think the GTK2 option actually > >> works (and > >> the comments suggest it's not all that good anyway). In the > >> configure.ac it > >> looks like there are spelling-inconsistencies between > >> fontforge_can_use_gtk=yes > >> and, e.g,, > >> FONTFORGE_ARG_ENABLE_GDK > >> > >> (mtrace depends on fontforge, so fixing fontforge would clean GTK2 off my > >> system) > > > > It is not so simple. What works for you doesn't work for somebody else. > > I am running KDE4 with QT4 but some applications use GTK2 as the only > > option or I set them to use GTK2 because GTK2 has better theme > > integration to KDE4 / QT style than GTK3 (in my personal case). > > And, for example, Total Commander has two choices - QT or GTK2. I tried > > it to build with QT but it failed so I switched to GTK2 and it builds fine. > > So in my current situation I am glad we have GTK2 and GTK3 and all my > > applications are working (better with GTK2 than GTK3). And having both > > GTK versions installed is not a big problem. Their size is relatively > > small compared to apps like browsers, libreoffice etc. > > > > No one is suggesting removing GTK2. However, having most ports, where > there is a choice, defaulting to GTK3 rather than GTK2 might be sensible. > Regards > -- > Niclas Zeising Thank you to everybody who weighed in on this! It sounds like switching the default from GTK2 to GTK3 makes sense, so I will roll that into the Feb 1 update. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcgnD41=J2wayw=57kcABs_hCopUVA47-N--Up_XVEjNrg>