Re: patching datafile locations for upstream projects ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux