[ scummvm-Patches-1521412 ] Hardcoded path for theme files
SourceForge.net
noreply at sourceforge.net
Wed Jul 12 21:45:07 CEST 2006
Patches item #1521412, was opened at 2006-07-12 21:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1521412&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Willem Jan Palenstijn (wjpalenstijn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Hardcoded path for theme files
Initial Comment:
Since 0.9.0, scummvm comes with a number of data files
(modern.ini, modern.zip) that it has to be able to find.
On most linux systems, the default place to put such
files is $prefix/share/scummvm.
I'd like to add this directory to the standard search
path for themes, and was thinking of the following:
* add 'datadir' to configure similar to the current
'mandir'/'bindir'.
(So with a --datadir switch, defaulting to /usr/share.)
* add -DDATA_PATH=\"$_datadir/scummvm\" to the compiler
flags, or maybe put it in config.h.
* let ThemeNew.cpp call addDefaultDirectory(DATA_PATH) if
DATA_PATH is defined.
The attached patch implements this, and I have in fact
added this to the Fedora Core packages for 0.9.0.
Any comments/suggestions? Would this be useful for other
platforms as well? If so, please add a reply about which
directory your platform could use.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1521412&group_id=37116
More information about the Scummvm-tracker
mailing list