bug-freedink
[Top][All Lists]
Advanced

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

Re: [Bug-freedink] Please create an AppData file for FreeDink - install


From: beuc
Subject: Re: [Bug-freedink] Please create an AppData file for FreeDink - install in datarootdir
Date: Thu, 29 May 2014 21:05:21 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Thu, May 29, 2014 at 07:39:53PM +0100, Richard Hughes wrote:
> On 28 May 2014 20:22,  <address@hidden> wrote:
> > I mentioned the install location issue because your 2 sample patches
> > use 'datadir' instead of 'datarootdir'.  Do you plan to update them?
> 
> Doesn't datadir also contain the destdir? I'm a bit of a buildsystem
> newbie -- what's the real difference?

That's what I wrote a couple mails ago:

  Btw don't recommend to install the files in $(datadir): for Debian
  games in particular, $(datadir)=/usr/share/games, while
  $(datarootdir)=/usr/share.  I got the issue with .desktop files.

More precisely I ended up having my .desktop files in
/usr/share/games/application/*.desktop - which isn't taken into
account.  It took me a little while to detect that users installed the
game but had no way to run it, short of the command line :/

What could likely happen is that most Debian/Ubuntu games end up
deploying their appdata.xml in /usr/share/games/appdata/, out of the
scope of the software center.

So installing in 'datarootdir' is the way to go.
Just sharing the hard-earned experience ;)

-- 
Sylvain



reply via email to

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