Menu-spec update (Was: [Patch] Update 'How to' to clarify computation of datadir)
Jeremy C. Reed
reed at reedmedia.net
Tue Mar 21 22:19:08 EET 2006
On Tue, 21 Mar 2006, Rodney Dawes wrote:
> Shouldn't this just match the Menu Spec's File locations section [1],
> which describes where these files go? Or should we just clarify datadir
> to mean $prefix/share and sysconfdir to mean $prefix/etc, or /etc when
> $prefix is /usr? Should this all be done in a spec outside the Menu
> Spec? Don't "we" already do this outside the Menu Spec, in the Linux
> Standards Base Filesystem Hierarchy Standard document?
This should be allowed to be customized.
I don't like having to patch ROX, GTK and other software for things like:
--- gtk/xdgmime/xdgmime.c.orig 2005-08-07 15:32:27.000000000 +0200
+++ gtk/xdgmime/xdgmime.c
@@ -236,7 +236,7 @@ xdg_run_command_on_dirs (XdgDirectoryFun
xdg_data_dirs = getenv ("XDG_DATA_DIRS");
if (xdg_data_dirs == NULL)
- xdg_data_dirs = "/usr/local/share/:/usr/share/";
+ xdg_data_dirs = PREFIX "/share/";
ptr = xdg_data_dirs;
Almost all autoconf configure-based software allows customization like
this. Why does this spec have to be so hard-coded^H^H^H^H^H^H^H^H^H^Hdifficult?
Jeremy C. Reed
echo '9,J8HD,fDGG8B@?:536FC5=8 at I;C5?@H5B0D at 5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'
More information about the xdg
mailing list