Subject: Re: Disabling gtk-demo from gtk2
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Julio M. Merino Vidal <firstname.lastname@example.org>
Date: 09/11/2007 23:41:19
On Sep 11, 2007, at 11:35 PM, Johnny C. Lam wrote:
> Thomas Klausner wrote:
>> On Tue, Sep 11, 2007 at 05:27:13PM +0200, Julio M. Merino Vidal
>>> At last I got to doing this. I built gtk2 alone, timing a
>>> 'make' just after a 'make extract', inside a virtual machine
>>> with NetBSD- current and up-to-date pkgsrc.
>>> The current gtk2 package took 32m41s (real time) to build (wow,
>>> that's a lot more than it used to take not-so-long-ago!). If I
>>> disable the 'demos' and 'tests' directories, the time is cut to
>>> 25m32s, so the speed savings is 7m. This was run on a Core 2
>>> Duo 2.16 machine (host; virtual machine is a bit slower ;-), so
>>> the savings will be much bigger on older machines (but I'm lazy
>>> to try now because it will take a long while...).
>> Well, then go ahead and make it an option or a separate package...
> Please don't make it a package option unless it results in a binary
> package that actually differs whether the option is set or not. I
> noticed some other package doing this the other day, which is
> completely wrong.
Surely not! I've been arguing against that for a looong time :-)
Julio M. Merino Vidal <email@example.com>