Re: freedesktop/desktop-file-utils: update-desktop-database problem
- From: guenther <guenther rudersport de>
- To: garnome-list gnome org
- Subject: Re: freedesktop/desktop-file-utils: update-desktop-database problem
- Date: Wed, 14 Sep 2005 17:35:30 +0200
On Wed, 2005-09-14 at 09:46 -0400, Joseph E. Sacco, PhD wrote:
> Attached is a patched Makefile that resolves the update-desktop-database
> problem.
>
> The problem
> -----------
> The command
>
> update-desktop-database
>
> updates the cache file of each entry found in
>
> XDG_DATA_DIRS
>
> The user running the command must have write permission in each datadir
> associated with each entry in XDG_DATA_DIRS. If not, the command will
> fail.
[ snipp ]
What's going on here anyway? Why does a post-install target in
freedesktop/desktop-file-utils call update-desktop-database at all?
This executable needs to be called every time there are new .desktop
files in $prefix/share/applications -- which is the case *after* you
installed one or more new packages.
IMHO it does not make any sense calling this right after installing
desktop-file-utils, as there are no .desktop files yet. This needs to be
run after you finished building GARNOME.
...guenther
--
char *t="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]