From owner-freebsd-ports@freebsd.org Thu Jan 3 17:09:08 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 5A43914307B9 for ; Thu, 3 Jan 2019 17:09:08 +0000 (UTC) (envelope-from SRS0=BtIU=PL=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 ACF75857F2; Thu, 3 Jan 2019 17:09:07 +0000 (UTC) (envelope-from SRS0=BtIU=PL=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9AB8928423; Thu, 3 Jan 2019 18:08:51 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id DEC9C28416; Thu, 3 Jan 2019 18:08:44 +0100 (CET) Subject: Re: vim - GTK2 or GTK3? To: Adriaan de Groot , freebsd-ports@freebsd.org References: <4833920.ppSauYnzuk@beastie.bionicmutton.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Thu, 3 Jan 2019 18:08:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <4833920.ppSauYnzuk@beastie.bionicmutton.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: ACF75857F2 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: elsa.codelab.cz]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=BtIU=PL=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[209.16.49.86.zen.spamhaus.org : 127.0.0.11]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=BtIU=PL=quip.cz=000.fbsd@elsa.codelab.cz]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.82)[0.820,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.937,0]; IP_SCORE(0.50)[ip: (1.29), ipnet: 94.124.104.0/21(0.64), asn: 42000(0.51), country: CZ(0.04)]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[] 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 17:09:08 -0000 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. Miroslav Lachman