From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yavor Doganov Newsgroups: gmane.emacs.bugs Subject: bug#1335: Arch-dependant data should not be installed in the app bundle Date: Wed, 12 Nov 2008 17:12:00 +0200 Organization: The GNU Emacs Church (Bulgarian eparchy) Message-ID: <873ahxf073.GNU's_Not_Unix!%yavor@gnu.org> Reply-To: Yavor Doganov , 1335@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1226503884 11871 80.91.229.12 (12 Nov 2008 15:31:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 15:31:24 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 16:32:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0HhA-0002tH-LH for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Nov 2008 16:31:52 +0100 Original-Received: from localhost ([127.0.0.1]:46302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Hg2-0008Rf-Ld for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Nov 2008 10:30:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0Hg0-0008RZ-6C for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:30:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Hfy-0008RD-Na for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:30:39 -0500 Original-Received: from [199.232.76.173] (port=50816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Hfy-0008RA-Gz for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:30:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36675) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0Hfx-0001rl-0p; Wed, 12 Nov 2008 10:30:37 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mACFU73m020973; Wed, 12 Nov 2008 07:30:07 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mACFK3Gs018373; Wed, 12 Nov 2008 07:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Yavor Doganov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: yavor@gnu.org, Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 12 Nov 2008 15:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1335 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122650273216908 (code B ref -1); Wed, 12 Nov 2008 15:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Nov 2008 15:12:12 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mACFC8Ym016902 for ; Wed, 12 Nov 2008 07:12:10 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0HO4-0008Er-Fp for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:12:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0HO3-0008ER-Q5 for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:12:08 -0500 Original-Received: from [199.232.76.173] (port=41123 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0HO3-0008EM-Kc for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:12:07 -0500 Original-Received: from [213.91.219.2] (port=2512 helo=southway-varna.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0HO3-0003gx-7c for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 10:12:07 -0500 Original-Received: from keel.southway-varna.com ([192.168.0.2]) by southway-varna.com with esmtp (Exim 4.63) (envelope-from ) id 1L0HNw-0006nn-A1 for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 17:12:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=keel.southway-varna.com) by keel.southway-varna.com with esmtp (Exim 4.69) (envelope-from ) id 1L0HNw-0002LT-7G for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2008 17:12:00 +0200 User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Jabber-ID: doganov@jabber.minus273.org X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: yavor@gnu.org X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on southway-varna.com) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 12 Nov 2008 10:30:39 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22302 Archived-At: Package: emacs,ns I see no reason to install arch-dependent data in the app bundle when --ns-disable-ns-self-contained is passed. This only causes trouble for distributors (who typically build several variants -- GTK+, Lucid, -nox and now the GNUstep port) which share the same common binaries (in Debian shipped in the emacsXX-bin-common package). This also doesn't make sense for mortal users who wish to install both a GTK+ and GNUstep Emacs under the same prefix; a perfectly valid scenario. 2008-11-12 Yavor Doganov (tiny change) * configure.in: Under NS, set `exec_prefix' and `libexecdir' relative to `ns_appbindir' only if Emacs is configured for a self-contained app. Index: configure.in =================================================================== RCS file: /sources/emacs/emacs/configure.in,v retrieving revision 1.575 diff -u -u -r1.575 configure.in --- configure.in 7 Nov 2008 06:56:39 -0000 1.575 +++ configure.in 12 Nov 2008 14:56:06 -0000 @@ -1274,10 +1274,10 @@ with_xft=no with_freetype=no # set up packaging dirs - exec_prefix=${ns_appbindir} - libexecdir=${ns_appbindir}/libexec if test "${EN_NS_SELF_CONTAINED}" = yes; then prefix=${ns_appresdir} + exec_prefix=${ns_appbindir} + libexecdir=${ns_appbindir}/libexec fi fi CFLAGS="$tmp_CFLAGS"