[Fedora-packaging] patching datafile locations for upstream projects ?
Patrice Dumas
pertusus at free.fr
Wed Nov 12 20:45:24 UTC 2008
On Wed, Nov 12, 2008 at 08:08:49PM +0200, Jani Mikkonen wrote:
> Hello.
>
> Say, i have few packages - mostly games - that rely that same
> datafiles that are found from cwd (or same path as executable as
> binary) and im wondering what is the right way to patch these so i
> could make functional packages out of them.
>
> 1) just force the pwd to the datadirectory in .desktop file and not
> patch the code
>
> 2) hardcode the paths or atleast make them defineable at compiletime ?
I think that this is the best, and even better is to be able to define
compile time defaults, and allow command line args or env setting to
override the directory.
--
Pat
More information about the Fedora-packaging
mailing list