Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2019 19:43:04 +0100
From:      Niclas Zeising <zeising@freebsd.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>, Adriaan de Groot <adridg@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: vim - GTK2 or GTK3?
Message-ID:  <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org>
In-Reply-To: <f554ec1c-520a-eed9-4be9-8e256ba5ccd2@quip.cz>
References:  <mailman.95.1546516802.80376.freebsd-ports@freebsd.org> <4833920.ppSauYnzuk@beastie.bionicmutton.org> <f554ec1c-520a-eed9-4be9-8e256ba5ccd2@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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=20
>> 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=20
>> installed on
>> my system running KDE Plasma. Not for vim though:
>>
>> Installed packages to be REMOVED:
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gtk2-2.24.32
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fontforge-20170731
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mftrace-1.2.18_1
>>
>> Installed packages to be REMOVED:
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gtk3-3.22.30_4
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gpsd-3.17
>>
>> I'm a fan of pushing for toolkit migration, so reducing the number of=20
>> things
>> that pull in GTK2 is a good thing.
>>
>>
>> So if we're expressing hopes that ports might be made GTK2-free (by=20
>> porting to
>> GTK3 for instance) then I'd hope that fontforge gets that treatment,=20
>> too. From
>> looking at the source repo, I don't think the GTK2 option actually=20
>> works (and
>> the comments suggest it's not all that good anyway). In the=20
>> configure.ac it
>> looks like there are spelling-inconsistencies between
>> =C2=A0=C2=A0=C2=A0=C2=A0fontforge_can_use_gtk=3Dyes
>> and, e.g,,
>> =C2=A0=C2=A0=C2=A0=C2=A0FONTFORGE_ARG_ENABLE_GDK
>>
>> (mtrace depends on fontforge, so fixing fontforge would clean GTK2 off=
 my
>> system)
>=20
> It is not so simple. What works for you doesn't work for somebody else.=
=20
> I am running KDE4 with QT4 but some applications use GTK2 as the only=20
> option or I set them to use GTK2 because GTK2 has better theme=20
> integration to KDE4 / QT style than GTK3 (in my personal case).
> And, for example, Total Commander has two choices - QT or GTK2. I tried=
=20
> it to build with QT but it failed so I switched to GTK2 and it builds f=
ine.
> So in my current situation I am glad we have GTK2 and GTK3 and all my=20
> applications are working (better with GTK2 than GTK3). And having both=20
> GTK versions installed is not a big problem. Their size is relatively=20
> small compared to apps like browsers, libreoffice etc.
>=20

No one is suggesting removing GTK2.  However, having most ports, where=20
there is a choice, defaulting to GTK3 rather than GTK2 might be sensible.
Regards
--=20
Niclas Zeising



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64288441-f2f7-60fb-eb71-bcc6f2b20185>