From owner-freebsd-ports@freebsd.org Thu Apr 20 21:18:21 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B565D48355 for ; Thu, 20 Apr 2017 21:18:21 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 35107ADF for ; Thu, 20 Apr 2017 21:18:21 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 30EBCD48353; Thu, 20 Apr 2017 21:18:21 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3065FD48350; Thu, 20 Apr 2017 21:18:21 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from smtpq6.tb.mail.iss.as9143.net (smtpq6.tb.mail.iss.as9143.net [212.54.42.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96C58ADD; Thu, 20 Apr 2017 21:18:17 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from [212.54.42.118] (helo=lsmtp4.tb.mail.iss.as9143.net) by smtpq6.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1d1JSx-0000mZ-1e; Thu, 20 Apr 2017 23:18:15 +0200 Received: from f49083.upc-f.chello.nl ([80.56.49.83] helo=[192.168.1.74]) by lsmtp4.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1d1JSw-0005du-Tm; Thu, 20 Apr 2017 23:18:15 +0200 Message-ID: <1492723094.55896.22.camel@FreeBSD.org> Subject: Re: manpath change for ports ? From: Koop Mast To: Baptiste Daroussin , arch@FreeBSD.org, ports@FreeBSD.org Date: Thu, 20 Apr 2017 23:18:14 +0200 In-Reply-To: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SourceIP: 80.56.49.83 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.2 cv=C/qZ8UH+ c=1 sm=1 tr=0 a=06UDlCbfTTtHZh+D0N39nQ==:17 a=IkcTkHD0fZMA:10 a=AzvcPWV-tVgA:10 a=GUOmPLy3Ybawj284_7AA:9 a=QEXdDO2ut3YA:10 none X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 21:18:21 -0000 On Tue, 2017-03-07 at 00:56 +0100, Baptiste Daroussin wrote: > Hi all, > > I would like to propose a change in the localbase hier for ports > > I think we should add /usr/local/share/man in the manpath along with > at first > and maybe instead of in long term. > > The reason is: > - /usr/local/share/man seems more consistent to me with base which > have: >   /usr/share/man > - It will remove lots of patches from the ports tree where were we > need to patch >   upstream build system to install in a non usual path. > > My proposal is to add to the manpath /usr/local/share/man in default > man(1) > command in FreeBSD 12 (MFCed to 11-STABLE) > > and either provide an errata for 11.0/10.3 or a > /usr/local/etc/man.d/something.conf via a port or something like that > for those > two, what do you think? > > For the same reason I would like to allow porters to stop patching > (with pathfix > or anything else) the path for pkgconfig files and allow > /usr/local/lib/pkgconfig along with the current > /usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig > > Which will also remove tons of hacks from the ports tree. > > What do you think? > > Best regards, > Bapt Hello, I recently committed the USES for the meson build system to ports. This USES configures the meson build system with some default variables which includes the location of the man pages. This setting is just a flag to the meson command so it easy to change. Meson also handles the generation and installation of pkg-config files that a port wants. The problem is that this is handled by the script itself and there is no way to configure it, so we need to hack the meson port to change it from lib/pkg-config to libdata/pkg-config like we currently are using. (1) Or add a hack to meson.mk to move the pkg- config to the right location (evil++ imho). My point I want to make is that currently there is only 1 port build via the meson system (graphics/graphene). Should we change man/pkg- config file locations now, it very easy. If we want to change them later we will need to mass bump every meson build port. It is important to note that GStreamer and GNOME are moving over to using meson instead of autotools and that Wayland, Xorg en Mesa are exploring want is needed to make the switch. So I think it important that the decision what to do is done now and that we stick with it. Reading the rest of the thread it seems nobody is really against the proposed change of man and pkg-config path's. So how does one submit a policy change like this? I'm also not sure I'm the right person to push this, I just got back from a break and I don't want to really deal with something super high profile right away. -Koop (1) I would like to see lib/pkg-config back in the search path of pkgconf since that means I don't have to do a crash course python programming.