You are not logged in.

#1 2022-03-21 12:15:31

Cynosure
Member
Registered: 2022-03-21
Posts: 3

What is the pattern for optional build flags on official packages.

I want to use some optional VTK modules for a project I am trying to port to the AUR. VTK is in the community repository but does not ship with these optional modules enabled. In general, what is the common pattern for when the "official" version of a package does not have all the flags you want enabled during build? Should I create a package in the AUR that builds with the flags that I want? Or is that a waste? I have messaged the maintainer but I doubt I will hear back since it is a low priority issue.

Any pointers would be appreciated smile.

Offline

#2 2022-03-21 13:29:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: What is the pattern for optional build flags on official packages.

Cynosure wrote:

Should I create a package in the AUR that builds with the flags that I want? Or is that a waste?

It'd only be a waste if there was little to no interest in it.  If this is just for yourself, you can rebuilt it locally with the flags you need - but if this meets a need other users are likely to also have, then this is an appropriate case for having an AUR version of a repo package.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

Board footer

Powered by FluxBB