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 12:09:39 -0500 Message-ID: <753905cyek.fsf@fencepost.gnu.org> References: <87pq3aht9a.fsf@earth.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1353345017 28099 80.91.229.3 (19 Nov 2012 17:10:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 17:10:17 +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 18:10:27 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 1TaUrS-00024K-Oa for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 18:10:18 +0100 Original-Received: from localhost ([::1]:59547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUrI-000431-9J for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 12:10:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUrE-00041H-IV for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaUr7-0004Bj-Sx for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:10:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUr7-0004Bc-Oi for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:09:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TaUsA-0002Ev-02 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:11: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 17:11:01 +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.13533450488587 (code B ref 12932); Mon, 19 Nov 2012 17:11:01 +0000 Original-Received: (at 12932) by debbugs.gnu.org; 19 Nov 2012 17:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:55329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaUrw-0002ER-6T for submit@debbugs.gnu.org; Mon, 19 Nov 2012 12:10:48 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:42721) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaUru-0002EL-AH for 12932@debbugs.gnu.org; Mon, 19 Nov 2012 12:10:47 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TaUqq-0002vx-2O; Mon, 19 Nov 2012 12:09:40 -0500 X-Spook: warfare Bush Wired 2600 Magazine Elvis Comirex chameleon X-Ran: c+"(|`SfAJ^?#JXfo45 (markskilbeck@gmail.com's message of "Mon, 19 Nov 2012 08:49:37 +0000") 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:67165 Archived-At: markskilbeck@gmail.com wrote: > When compiling and installing Emacs, the GNOME .desktop file is > installed to /usr/local/share/applications; however, according to the > documentation[1], Reference [1] seems to be missing AFAICS. > the correct locations are: /usr/share/applications and > ~/.local/share/applications. Thanks for the report. My initial reaction, without having read the Gnome docs, is that this is a Gnome bug (obviously this won't be a helpful response for you). If I compile something with --prefix=/foo, I get annoyed if it installs files outside /foo. Installing in /usr/share/applications is a definite no-go, because then we could clobber a pre-existing emacs.desktop belonging to the system. I supposed we could perhaps only install here if there was not already an emacs.desktop, but this does not seem like a great solution to me. Installing in ~ is pointless, because it only works for the installing user (doubly bad if this is root). You could of course make your own symlink there to the /foo file, so perhaps what Emacs does now is a reasonable compromise.