vim - GTK2 or GTK3?

Adam Weinberger adamw at adamw.org
Sat Jan 5 19:58:20 UTC 2019


On Thu, Jan 3, 2019 at 11:43 AM Niclas Zeising <zeising at 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 at 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 at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list