From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12932: 24.2; Installing GNOME .desktop file to incorrect location Date: Mon, 19 Nov 2012 14:06:23 -0500 Message-ID: <6awqxhpg40.fsf@fencepost.gnu.org> References: <87pq3aht9a.fsf@earth.i-did-not-set--mail-host-address--so-tickle-me> <753905cyek.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1353352029 30559 80.91.229.3 (19 Nov 2012 19:07:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 19:07:09 +0000 (UTC) Cc: 12932@debbugs.gnu.org To: markskilbeck@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 20:07:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaWgh-0001ZI-II for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 20:07:19 +0100 Original-Received: from localhost ([::1]:53683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaWgX-0007GL-4K for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 14:07:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaWgP-0007G4-PI for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaWgL-0006sb-Fi for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:07:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaWgL-0006sX-CO for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:06:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TaWhO-0005of-1z for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2012 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12932-submit@debbugs.gnu.org id=B12932.135335205222317 (code B ref 12932); Mon, 19 Nov 2012 19:08:02 +0000 Original-Received: (at 12932) by debbugs.gnu.org; 19 Nov 2012 19:07:32 +0000 Original-Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaWgu-0005nu-8G for submit@debbugs.gnu.org; Mon, 19 Nov 2012 14:07:32 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:44794) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaWgr-0005nn-RZ for 12932@debbugs.gnu.org; Mon, 19 Nov 2012 14:07:31 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TaWfn-00074y-TH; Mon, 19 Nov 2012 14:06:23 -0500 X-Spook: blackjack Freeh Verisign AGT. AMME analyzer Islam X-Ran: ",Kw{#Tn$z;j-N^>rCWFZFmmhJ"#IHMg0_F (Glenn Morris's message of "Mon, 19 Nov 2012 12:09:39 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67174 Archived-At: I guess we could add an explicit configure option for where the desktop file will be installed ($desktopdir in current Makefile), and leave the default as it is now. I doubt the option will see much use though. But the freedesktop spec does mention (obliquely) /usr/local: http://specifications.freedesktop.org/menu-spec/menu-spec-latest.html Install Locations If an application is intended to be installed by root on a system wide basis then /usr/share is recommended to be used as value for datadir and /etc/xdg is recommended to be used as value for sysconfdir. In case the /usr/share hierarchy is not writable it is recommended to use /usr/local/share as value for datadir instead. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So, again, it seems like a Gnome bug to me if it doesn't check in /usr/local as well as /usr (I didn't check whether or not it actually does). See also http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used. Maybe your XDG_DATA_DIRS is set wrongly? Of course, this doesn't help people who install with --prefix != /usr/local