View Single Post
Old 07-03-2017, 09:27 PM   #21
norbusan
Zealot
norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.
 
Posts: 140
Karma: 82382
Join Date: Jan 2013
Device: Kindle Paperwhite, Kobo Glo, Kobo GloHD
Quote:
Originally Posted by norbusan View Post
Hi
Indeed, I checked and see that the installation does not work out, as mime type and desktop files are not installed.

The error is happening in the desktop-integration install process, and xdg-icon-resource breaks. I was suprised because --root (--staging-root) is passed to the install, and it wasn't forwarded to the desktop integration install code.

Reading through setupp/install.py I also see a comment that one needs to set XDG_DATA_DIRS, which I did, without any change.

I will try to fix this so that the correct desktop files are installed.
Indeed, there are many bugs. The problem is that xdg-mime and xdf-desktop-menu does not honor XDG_DATA_DIRS and hard code the location of gnome dirs to /usr/ something, which cannot be overriden. Thus the build fails.

I have fixed that now locally in my repo by changing the linux.py installation routine for debian to use 'install' instead of xdg-mime/xdg-desktop-menu for the debian builds.

Best

Norbert
norbusan is offline   Reply With Quote