From owner-freebsd-ports@freebsd.org Wed Mar 23 21:21:32 2016 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 7EDB8ADB663 for ; Wed, 23 Mar 2016 21:21:32 +0000 (UTC) (envelope-from truckman@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 6F70C11C4 for ; Wed, 23 Mar 2016 21:21:32 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6EC7DADB662; Wed, 23 Mar 2016 21:21:32 +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 6E6B6ADB661 for ; Wed, 23 Mar 2016 21:21:32 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EDC711C2; Wed, 23 Mar 2016 21:21:32 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u2NLLOa0069143; Wed, 23 Mar 2016 14:21:28 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201603232121.u2NLLOa0069143@gw.catspoiler.org> Date: Wed, 23 Mar 2016 14:21:24 -0700 (PDT) From: Don Lewis Subject: Re: gnome-post-install ordering To: mat@FreeBSD.org cc: ports@FreeBSD.org In-Reply-To: <2F936CEC82E5BACE893F56D6@ogg.in.absolight.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 21:21:32 -0000 On 23 Mar, Mathieu Arnold wrote: > +--On 21 mars 2016 13:43:43 -0700 Don Lewis wrote: > | I'd also like a target explicity for generating a dynamic plist that > | runs after post-install. Doing it in post-install works most of the > | time unless you start using post-install option helpers to install > | additional files. > > No, dynamic plists are evil you don't check what end up in the package, and > it's a mess. Well, for openoffice-4 and openoffice-devel, which have six and seven options (and probably expanding to eight) that affect the plist, I think dynamic plists are a necessary evil. Doing a parallel build on my eight-core package building box takes about 1 1/4 hours. That adds up to more than 16 hours to verify the plist is correct for all the options, assuming that they are all independent. It's also not easy to automate. Either I have to use poudriere testport -c, which is interactive, or I have to set up a bunch of make.conf files for the different option sets and do a bunch of bulk -z set runs. The latter requires that all the prerequisites be built N times. Even before getting to that point, all those builds would have to be done in order to generate the initial plist. There have also been cases where I've made bug fixes that affect the plist. If I don't get the plist change correct the first time, then it would add another 1 1/4 hours to the time it takes me to get a usable package that I can install on a machine with a display so that I can test the bug fix. > I think you mean USE_PYTHON=autoplist, but the python autoplist feature > only grabs stuff in the python module directory, so not icons. Yes, I meant python. Someone mentioned this PR: . I haven't dug into that problem.