From unknown Thu Aug 14 17:28:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1335 <1335@debbugs.gnu.org> To: bug#1335 <1335@debbugs.gnu.org> Subject: Status: Arch-dependant data should not be installed in the app bundle Reply-To: bug#1335 <1335@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:28:17 +0000 retitle 1335 Arch-dependant data should not be installed in the app bundle reassign 1335 emacs,ns submitter 1335 Yavor Doganov severity 1335 normal tag 1335 patch thanks From yavor@gnu.org Wed Nov 12 07:12:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.5 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, RCVD_IN_DNSWL_MED,X_DEBBUGS_CC autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Nov 2008 15:12:12 +0000 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 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 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 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 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 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 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 Date: Wed, 12 Nov 2008 17:12:00 +0200 Message-ID: <873ahxf073.GNU's_Not_Unix!%yavor@gnu.org> From: Yavor Doganov To: bug-gnu-emacs@gnu.org X-Debbugs-CC: yavor@gnu.org User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) Organization: The GNU Emacs Church (Bulgarian eparchy) X-Jabber-ID: doganov@jabber.minus273.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: yavor@gnu.org Subject: Arch-dependant data should not be installed in the app bundle 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. 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" From adrian.b.robert@gmail.com Mon Nov 24 19:29:53 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1335) by emacsbugs.donarmstrong.com; 25 Nov 2008 03:29:53 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP3Tovm018806 for <1335@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 19:29:52 -0800 Received: by yx-out-2324.google.com with SMTP id 8so1016081yxg.31 for <1335@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 19:29:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date:cc :x-mailer; bh=LH5EtgyqD83FyqYJzM/p4rlI7MnF8yyjjxsS+NA8C/Q=; b=d794uDKyBSxwOhiluIu8i14wkVRSpy1I4WB7Fi8RQldhlmlXZqLNJ4p2MlrJjckDNg ZAGsXTtL4geLfxvDlB9noT620q0KmsY0G9Lbu4J338PxSWC6+PB4CXls4JsFgl/xPBXW GEi0tTrvDydAYS8Z9FWo6SUkBrH8v2JsQxTPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; b=qRdjO3/oDAk0ch0uofSpeOiafp+UlGCG546WWCvgbu3Uld4UVavrR6qyucDPLlk8b7 n2Dsv4CdQm+/ZvVVthekqE5bQF22PE35wNKg0ElWMVgr0ID/y9dOKzIf0NPCp7ddspVs qzR2GmQDJUbLCEd3R8/RAmOLPNkTZYedC5uAo= Received: by 10.100.124.6 with SMTP id w6mr2031809anc.80.1227583790337; Mon, 24 Nov 2008 19:29:50 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id b37sm8516971ana.50.2008.11.24.19.29.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Nov 2008 19:29:49 -0800 (PST) Message-Id: <5ED0CA60-A3EF-4C7A-81C1-AF9D9EF0DACF@gmail.com> From: Adrian Robert To: 1335@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: #1335 - Arch-dependant data should not be installed in the app bundle - Emacs bug report logs Date: Mon, 24 Nov 2008 22:29:20 -0500 Cc: Yavor Doganov X-Mailer: Apple Mail (2.929.2) Hi, Does this patch not cause an error for you when lines 416-417 in Makefile.in (under install-arch-dep target) are executed? Should ' if test -d ' checks similer to the preceding lines be added? thanks, Adrian From yavor@gnu.org Fri Jun 26 06:43:04 2009 Received: (at 1335) by emacsbugs.donarmstrong.com; 26 Jun 2009 13:43:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,RDNS_NONE,URIBL_BLACK,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from southway-varna.com ([213.91.219.2]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5QDg3wI018913; Fri, 26 Jun 2009 06:42:05 -0700 Received: from keel.southway-varna.com ([192.168.0.2]) by southway-varna.com with esmtp (Exim 4.69) (envelope-from ) id 1MKBge-0006Ak-DG; Fri, 26 Jun 2009 16:41:55 +0300 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 1MKBgc-0003Av-5I; Fri, 26 Jun 2009 16:41:50 +0300 Date: Fri, 26 Jun 2009 16:41:50 +0300 Message-ID: <87zlbvnmch.GNU's_Not_Unix!%yavor@gnu.org> From: Yavor Doganov To: Adrian Robert , 1335@debbugs.gnu.org Cc: Yavor Doganov In-Reply-To: <5ED0CA60-A3EF-4C7A-81C1-AF9D9EF0DACF@gmail.com> References: <5ED0CA60-A3EF-4C7A-81C1-AF9D9EF0DACF@gmail.com> Mail-Followup-To: Adrian Robert , 1335@debbugs.gnu.org, Yavor Doganov User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) Organization: The GNU Emacs Church (Bulgarian eparchy) X-Jabber-ID: doganov@jabber.minus273.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: yavor@gnu.org Subject: Re: bug#1335: #1335 - Arch-dependant data should not be installed in the app bundle - Emacs bug report logs X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on southway-varna.com) tags 1335 + patch thanks At Mon, 24 Nov 2008 22:29:20 -0500, Adrian Robert wrote: > Does this patch not cause an error for you when lines 416-417 in > Makefile.in (under install-arch-dep target) are executed? Eek! Not merely an error, the entire working copy is being deleted... I haven't noticed this because I run "make install" when the tree is configured with --without-x so these commands are not being run at all as `ns_appdir' is undefined. Here's an updated patch, hopefully properly tested this time. 2009-06-26 Yavor Doganov Do not install arch-dependent files in the app bundle if --disable-ns-self-contained is requested. * configure.in: Define `exec_prefix' and `libexecdir' relative to `ns_appbindir' only if configured for a self-contained app. * Makefile.in (install-arch-dep): Test for the existence of libexec in the Emacs.app bundle before executing commands. Index: Makefile.in =================================================================== RCS file: /sources/emacs/emacs/Makefile.in,v retrieving revision 1.374 diff -u -r1.374 Makefile.in --- Makefile.in 4 May 2009 01:13:20 -0000 1.374 +++ Makefile.in 26 Jun 2009 13:34:48 -0000 @@ -429,10 +429,10 @@ if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ rm -fr share ) ; \ - ( cd ${ns_appbindir}/libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ - rm -fr emacs ) ; \ - ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-23* ; \ - ln -sf ../libexec/* .) ; \ + ( cd ${ns_appbindir} ; \ + if test -d libexec; then cd libexec ; dir=emacs/*/*/* ; \ + $(MV_DIRS); rm -fr emacs; \ + cd ../bin; rm -f emacs emacs-23* ; ln -sf ../libexec/* . ; fi) ; \ else true ; fi ## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html --- configure.in 19 Jun 2009 17:10:51 -0000 1.598 +++ configure.in 26 Jun 2009 13:35:00 -0000 @@ -1270,10 +1270,10 @@ window_system=nextstep with_xft=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" From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 17 14:38:44 2011 Received: (at control) by debbugs.gnu.org; 17 Nov 2011 19:38:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RR7nF-0002AG-6R for submit@debbugs.gnu.org; Thu, 17 Nov 2011 14:38:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RR7nC-0002A7-JW for control@debbugs.gnu.org; Thu, 17 Nov 2011 14:38:39 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RR7mL-0004WO-KX for control@debbugs.gnu.org; Thu, 17 Nov 2011 14:37:45 -0500 Date: Thu, 17 Nov 2011 14:37:45 -0500 Message-Id: Subject: control message for bug 5051 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) merge 1335 5051 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 21 21:00:55 2011 Received: (at 1335-done) by debbugs.gnu.org; 22 Nov 2011 02:00:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSffL-0001NP-58 for submit@debbugs.gnu.org; Mon, 21 Nov 2011 21:00:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSffI-0001NI-ES for 1335-done@debbugs.gnu.org; Mon, 21 Nov 2011 21:00:53 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RSfe3-0007TN-6d; Mon, 21 Nov 2011 20:59:35 -0500 From: Glenn Morris To: 1335-done@debbugs.gnu.org Subject: Re: bug#1335: Arch-dependant data should not be installed in the app bundle References: <5ED0CA60-A3EF-4C7A-81C1-AF9D9EF0DACF@gmail.com> <87zlbvnmch.GNU's_Not_Unix!%yavor@gnu.org> X-Spook: $400 million in gold bullion investigation ASO CIDA X-Ran: :gAwhtL~3hf;LMmo;vF)Mrbt)q,gCp@::7"n>HVvzNv^MM1Iw+!I]@/r#1Y5?sIy|=~>Wo X-Hue: magenta X-Attribution: GM Date: Mon, 21 Nov 2011 20:59:35 -0500 In-Reply-To: <87zlbvnmch.GNU's_Not_Unix!%yavor@gnu.org> (Yavor Doganov's message of "Fri, 26 Jun 2009 16:41:50 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 1335-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Version: 24.0.92 I am sorry for the huge delay. This is installed now. From unknown Thu Aug 14 17:28:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Dec 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator