From owner-freebsd-ports@freebsd.org Sat Jan 5 19:58:20 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 8603A141F8EF for ; Sat, 5 Jan 2019 19:58:20 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-xc32.google.com (mail-yw1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 826F06A644 for ; Sat, 5 Jan 2019 19:58:18 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw1-xc32.google.com with SMTP id t13so15783233ywe.13 for ; Sat, 05 Jan 2019 11:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uUNc76MvI9YEbvUmsCZzzqlyqsSyJVt71qKpM/sgW5g=; b=YHCaVI6/m440iMzE4t24sjJxs0SbFtS6tj0eRF/ksMDpsaKBANoyh8DYKv7KBd+TNP rEpYAvY6OuUPXchkBCk3t7NLBdiX729MFKy8zCBvxEFhv2sW5n4tRNc872T0iwGkvVSk HxbIARofZERKiX7ZC6tz3Co+YIbimTp29o6fMpxzQShej3DDBuxbWy2dMHQawM+ypSrJ RcEqf6z7FpsMmgaOLmpdpm0xhiRGl1aA0EU+FFcHM4LZoMpuIuCE41Q5JZfz6tYp4yGD BQbuI8FEgOf1TyRkuxYdXj1PjH6xB2oVufuy6G02iIl40KMx7tLQ+p8f0Yvei66O65eB tbsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uUNc76MvI9YEbvUmsCZzzqlyqsSyJVt71qKpM/sgW5g=; b=reBn9Gn5hPWYilWan756zf3KQitU+srnoopRJbPWtXhjyzQkecjG5fSpmid9WH607h gwHeookHeWoD3tnDlMQTJwD0y9jM5WFTXOO+4MqCHDKgGuofw1JgU+E+BHwWUpPPM2Pa JH06Lz8t8N/QljU+z4ydDj2AM1Ekt+wSD6EvyuM8dhyLFJL02f4/oqFt/YSFo0UGfyfW 3NoApCVnMvDe8AvDFQDGWift5Q/a7C6nZPcdzG3EgMubDW/rgkzzAmZWb+H/lf2BU1DA T1dnrQsvRXzy19ZNHeAKwxgcoc4Faxkc2r5Ybv5NLGdSrTFpUV+Pjg32FwThqq7fb/YY 8I0g== X-Gm-Message-State: AA+aEWa0pCmeeUfRiDDcHVah1saTPHxIKncHXHNiwZAqoo4qi5z/X9RM c0Dzy0eGpUNZIC/U/+K25hZhVc4UGiwMcTtHMqtWfg== X-Google-Smtp-Source: AFSGD/VaYbi6ChXfDfc9hZ30NfkzOr40I/D3CbPGbPwX53d+wj/pM9Tn3UpOeUytusoD7ofSsculCB7zCM9QYV0oQPw= X-Received: by 2002:a81:d201:: with SMTP id x1mr59361757ywi.9.1546718297697; Sat, 05 Jan 2019 11:58:17 -0800 (PST) MIME-Version: 1.0 References: <4833920.ppSauYnzuk@beastie.bionicmutton.org> <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org> In-Reply-To: <64288441-f2f7-60fb-eb71-bcc6f2b20185@freebsd.org> From: Adam Weinberger Date: Sat, 5 Jan 2019 12:58:01 -0700 Message-ID: Subject: Re: vim - GTK2 or GTK3? To: Niclas Zeising Cc: Miroslav Lachman <000.fbsd@quip.cz>, Adriaan de Groot , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 826F06A644 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adamw-org.20150623.gappssmtp.com header.s=20150623 header.b=YHCaVI6/; spf=pass (mx1.freebsd.org: domain of adamw@adamw.org designates 2607:f8b0:4864:20::c32 as permitted sender) smtp.mailfrom=adamw@adamw.org X-Spamd-Result: default: False [-3.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; R_DKIM_ALLOW(-0.20)[adamw-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[adamw.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[adamw-org.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.3.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.85)[-0.853,0]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.79)[ipnet: 2607:f8b0::/32(-2.20), asn: 15169(-1.67), country: US(-0.08)] 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: Sat, 05 Jan 2019 19:58:20 -0000 On Thu, Jan 3, 2019 at 11:43 AM Niclas Zeising 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