From bug-request at octave dot org Wed Nov 30 09:55:18 2005 Subject: Re: Desktop integration From: "John W. Eaton" To: Rafael Laboissiere Cc: Quentin Spencer , =?iso-8859-1?Q?S=F8ren?= Hauberg , bugs@octave.org Date: Wed, 30 Nov 2005 10:54:18 -0500 On 23-Sep-2005, Rafael Laboissiere wrote: | * John W. Eaton [2005-09-23 15:15]: | | > Here is another question about this for package. I think when people | > make packages, they typically run make install with DESTDIR set so all | > the files from the install go into a fresh directory tree. It seems | > that running desktop-file-install is not going to do the right thing | > with respect to DESTDIR. Is that a problem? Should we use a | > different approach? If it is trouble, then I can comment out the | > install rule for the desktop file. | | I guess this should work: | | desktop-file-install --dir=$(DESTDIR)$(datadir)/applications [...] | | (this is for the desktop-file-utils package version 0.10-1 in debian, if | that matters) | | I would vote for not commenting the rule above in the Makefile, since it | respects the DESTDIR. OK, I enabled the code to install the octave.desktop file and the corresponding image file (sombrero.png), using the --dir option for installing the desktop file. We'll see if this breaks anything. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------