From owner-freebsd-ports@freebsd.org Thu Jan 3 18:43:24 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A3151433156 for ; Thu, 3 Jan 2019 18:43:24 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D4878945C; Thu, 3 Jan 2019 18:43:22 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 43Vxcy5dSWzDjJ3; Thu, 3 Jan 2019 18:43:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id DtfEqZszM7pu; Thu, 3 Jan 2019 18:43:06 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:b09e:e487:5dbd:6aef]) by mail.daemonic.se (Postfix) with ESMTPSA id 43Vxcp0P5gzDjJ1; Thu, 3 Jan 2019 18:43:06 +0000 (UTC) Subject: Re: vim - GTK2 or GTK3? To: Miroslav Lachman <000.fbsd@quip.cz>, Adriaan de Groot , freebsd-ports@freebsd.org References: <4833920.ppSauYnzuk@beastie.bionicmutton.org> From: Niclas Zeising Message-ID: <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org> Date: Thu, 3 Jan 2019 19:43:04 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0D4878945C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 18:43:24 -0000 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