bug-freedink
[Top][All Lists]
Advanced

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

[Bug-freedink] Re: DFarc "make install" problem/question/finnish transla


From: Sylvain Beucler
Subject: [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation.
Date: Tue, 23 Sep 2008 00:02:09 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

>> I see the problem, but I don't understand how this could happen!
>>
>> The build fails at share/Makefile.am:
>>      $(XDG_ICON_RESOURCE) install --context mimetypes --size 32      \
>>              $(srcdir)/pixmaps/dfarc.png $(mimetype)
>> But apparently your $(XDG_ICON_RESOURCE) is empty, and so the build
>> tries to run 'install', the first argument :)
>>
>> However, the presence of XDG_ICON_RESOURCE is checked in configure.ac,
>> and if it's missing, 'HAVE_XDG' is not defined, and the build installs
>> the icon differently.
>>
>> So, to fix your problem for a source package, you probably just need
>> to depend on "xdg-utils". But I still wonder how you get this error %)

OK, 'test -x' returns true, 'test -x ""' returns false. So this is a
bug in configure.ac.

Blame the djvu developers from which I took the code ;) Plus SF.net
appears to have problems, I can't report the bug to them :/


>> Note: if this is not a source package, but a binary package, then
>> things get complicated because the .desktop file need to be installed
>> and registered in a post-install script.  I don't know if this is the
>> case here.
>>
>>
>>   
> This is a source package. I installed xdg-utils and now I get:
> --------------
> /usr/bin/xdg-icon-resource install --context mimetypes --size 32    \
>        ./pixmaps/dfarc.png application-x-dmod
> xdg-icon-resource: No writable system icon directory found.
> ---------------
> I tried: export XDG_ICON_RESOURCE=$HOME/.icons and install went trough  
> fine even though that directory doesn't even exist. Should I just put  
> something to XDG_ICON_RESOURCE to make it work? That doesn't sound good.

I checked '/usr/bin/xdg-icon-resource' (which is a shell script) and
apparently you lack '/usr/share/icons'.  Is it the case?  I got this
error a few days ago with a minimal Gentoo system.

-- 
Sylvain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]