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 ?
3) something else ?
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.
- just force the pwd to the datadirectory in .desktop file and not
patch the code
- 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
packaging@lists.fedoraproject.org