Option vs. flavor?

Mathieu Arnold mat at FreeBSD.org
Mon Dec 18 21:51:04 UTC 2017


Le 17/12/2017 à 15:32, Adam Weinberger a écrit :
>> On 17 Dec, 2017, at 1:48, Yuri <yuri at rawbw.com> wrote:
>>
>> On 12/16/17 22:06, Adam Weinberger wrote:
>>> Is the port of any use without the data file? If everybody who uses
>>> the port needs the data file, I wouldn't make it an option at all.
>>> The precedent is that ports with huge data files are marked
>>> NO_PACKAGE, so there's no impact on the package builders. Make it
>>> non-optional, mark it as NO_PACKAGE, and then the port works for all
>>> users.
>>>
>>> If, however, the port IS real-world usable without the data files,
>>> I'd turn the data file into a second port. That way, package people
>>> can very easily install the NO_BUILD slave and still install the
>>> main program by pkg.
>>
>>
>> Hi Adam,
>>
>>
>> It is usable without data. Portions of the data are recommended to be
>> downloaded into the specific directory for particular functions. Of
>> course, it's more convenient to just a have all of it installed, and
>> users will need all of it for all functions.
>>
>> This is the large physics package called Geant4 for simulation of the
>> passage of particles through matter. https://reviews.freebsd.org/D13504
>
> Ah okay. Then I'd say, make a slave port that just
> fetches/extracts/installs the data files, and an option in the Geant4
> master port that defaults to off. Set the slave port to NO_PACKAGE.

I do not really see any reason to set NO_PACKAGE. There already are big
packages in our repositories:

-rw-r--r--  2 root  wheel   1,0G 10 déc.  05:49 ufoai-data-2.5.txz
-rw-r--r--  2 root  wheel   1,1G 14 déc.  10:06 texlive-docs-20150523.txz
-rw-r--r--  2 root  wheel   1,3G 10 déc.  15:30 flightgear-data-2017.3.1.txz
-rw-r--r--  2 root  wheel   1,5G 14 déc.  20:24 diaspora-1.1.1_1.txz
-rw-r--r--  2 root  wheel   1,7G 10 déc.  05:20 urbanterror-data-4.2.023.txz


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171218/8d473e41/attachment.sig>


More information about the freebsd-ports mailing list