From unknown Sat Aug 16 18:37:56 2025 X-Loop: don@donarmstrong.com Subject: bug#1335: Arch-dependant data should not be installed in the app bundle Reply-To: Yavor Doganov , 1335@debbugs.gnu.org Resent-From: Yavor Doganov Resent-To: bug-submit-list@lists.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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122650273216908 (code B ref -1); Wed, 12 Nov 2008 15:20:03 +0000 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 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) 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 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 unknown Sat Aug 16 18:37:56 2025 X-Loop: don@donarmstrong.com Subject: bug#1335: #1335 - Arch-dependant data should not be installed in the app bundle - Emacs bug report logs Reply-To: Adrian Robert , 1335@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 03:35:02 +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: Received: via spool by 1335-submit@emacsbugs.donarmstrong.com id=B1335.122758379318813 (code B ref 1335); Tue, 25 Nov 2008 03:35:02 +0000 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) 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 unknown Sat Aug 16 18:37:56 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1335: #1335 - Arch-dependant data should not be installed in the app bundle - Emacs bug report logs Reply-To: Yavor Doganov , 1335@debbugs.gnu.org Resent-From: Yavor Doganov Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Fri, 26 Jun 2009 13:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1335 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1335-submit@emacsbugs.donarmstrong.com id=B1335.124602378418947 (code B ref 1335); Fri, 26 Jun 2009 13:50:04 +0000 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 =?UTF-8?Q?(Goj=C5=8D)?= 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 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 unknown Sat Aug 16 18:37:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Yavor Doganov Subject: bug#1335: closed (Re: bug#1335: Arch-dependant data should not be installed in the app bundle) Message-ID: References: <873ahxf073.GNU's_Not_Unix!%yavor@gnu.org> X-Gnu-PR-Message: they-closed 1335 X-Gnu-PR-Package: emacs,ns X-Gnu-PR-Keywords: patch Reply-To: 1335@debbugs.gnu.org Date: Tue, 22 Nov 2011 02:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1321927262-5312-1" This is a multi-part message in MIME format... ------------=_1321927262-5312-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1335: Arch-dependant data should not be installed in the app bundle which was filed against the emacs,ns package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 1335@debbugs.gnu.org. --=20 1335: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1335 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1321927262-5312-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1321927262-5312-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >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" ------------=_1321927262-5312-1-- From unknown Sat Aug 16 18:37:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ulrich Mueller Subject: bug#5051: closed (Re: bug#1335: Arch-dependant data should not be installed in the app bundle) Message-ID: References: <19214.55020.176263.579762@a1i15.kph.uni-mainz.de> X-Gnu-PR-Message: they-closed 5051 X-Gnu-PR-Package: emacs,ns X-Gnu-PR-Keywords: patch Reply-To: 5051@debbugs.gnu.org Date: Tue, 22 Nov 2011 02:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1321927262-5312-3" This is a multi-part message in MIME format... ------------=_1321927262-5312-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1335: 23.1.50; Issues with Cocoa port on OS X which was filed against the emacs,ns package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 5051@debbugs.gnu.org. --=20 1335: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1335 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1321927262-5312-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1321927262-5312-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 26 Nov 2009 19:29:18 +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=-0.5 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8, URIBL_BLACK autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAQJTGdJ025018 for ; Thu, 26 Nov 2009 11:29:18 -0800 Received: from mx10.gnu.org ([199.232.76.166]:39975) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NDk1j-0001kt-Ix for emacs-pretest-bug@gnu.org; Thu, 26 Nov 2009 14:29:15 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NDk1h-0003I3-1u for emacs-pretest-bug@gnu.org; Thu, 26 Nov 2009 14:29:15 -0500 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:34655) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDk1g-0003DX-Io for emacs-pretest-bug@gnu.org; Thu, 26 Nov 2009 14:29:12 -0500 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id nAQJSvXR017540 for ; Thu, 26 Nov 2009 20:28:59 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.3/8.14.2) with ESMTP id nAQJStMf020086; Thu, 26 Nov 2009 20:28:55 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.3/8.14.3/Submit) id nAQJStiU020083; Thu, 26 Nov 2009 20:28:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19214.55020.176263.579762@a1i15.kph.uni-mainz.de> Date: Thu, 26 Nov 2009 20:28:44 +0100 To: emacs-pretest-bug@gnu.org Subject: 23.1.50; Issues with Cocoa port on OS X X-Mailer: VM 8.0.12 under 23.1.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) This is a forward of Gentoo bug 268793, While trying to package Emacs for Gentoo on OS X (i686-apple-darwin9) with "configure --with-ns --disable-ns-self-contained", we observed the following two issues: 1) configure.in contains the following code: if test "${HAVE_NS}" = yes; then # [...] # set up packaging dirs exec_prefix=${ns_appbindir} libexecdir=${ns_appbindir}/libexec if test "${EN_NS_SELF_CONTAINED}" = yes; then prefix=${ns_appresdir} fi fi Now on Gentoo / OS X _not_ everything should be put inside the .app, but the installation should follow the lines of a traditional Unix install. That means that exec_prefix and libexecdir should be set to /usr and /usr/libexec, respectively. Unfortunately, this is not possible because the above code unconditionally overrides the two variables, ignoring any paths that are explicitly set by the --exec-prefix and --libexecdir configure options. I suggest that the two assignments are moved into the block of the following "if" statement, so that they are overridden only in the "self-contained" case. 2) The top-level Makefile.in contains the following "gem" in the install-arch-dep target: if test "${ns_appdir}" != ""; then \ ( cd ${ns_appresdir} ; \ 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/* .) ; \ else true ; fi where MV_DIRS is defined a few lines above as follows: MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done As can be seen from the build log at this code fails in a horrible way, thereby removing the complete contents of the build directory. The relevant lines of the log are the following: /Users/tetsushi/Gentoo26/bin/bash: line 5: cd: /Users/tetsushi/Gentoo26/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/nextstep/Emacs.app/Contents/MacOS/libexec: No such file or directory mv: cannot stat `emacs/*/*/*': No such file or directory What happens is that the "cd ${ns_appbindir}/libexec" command fails. Note that there is no checking for errors; so make continues, staying in the top-level directory. Of course it cannot find any subdirectory named "emacs" there. Hence, MV_DIRS will call basename on unexpanded "emacs/*/*/*", which will return "*" as target for "rm -fr" (and remember, we are still in the top-level dir). Ugh. (Unfortunately, I don't have access to an OS X system, so for lack of testing I can't prepare a patch myself.) Configure options are as follows: ./configure \ --prefix=/Users/tetsushi/Gentoo26/usr \ --build=i686-apple-darwin9 \ --host=i686-apple-darwin9 \ --mandir=/Users/tetsushi/Gentoo26/usr/share/man \ --infodir=/Users/tetsushi/Gentoo26/usr/share/info \ --datadir=/Users/tetsushi/Gentoo26/usr/share \ --sysconfdir=/Users/tetsushi/Gentoo26/etc \ --localstatedir=/Users/tetsushi/Gentoo26/var/lib \ --program-suffix=-emacs-23 \ --infodir=/Users/tetsushi/Gentoo26/usr/share/info/emacs-23 \ --without-sound \ --without-x \ --with-ns \ --disable-ns-self-contained \ --without-hesiod \ --without-kerberos \ --without-kerberos5 \ --without-gpm \ --without-dbus Configured for `i686-apple-darwin9'. Where should the build process find the source code? /Users/tetsushi/Gentoo26/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1 What operating system and machine description files should Emacs use? `s/darwin.h' and `m/intel386.h' What compiler should emacs be built with? i686-apple-darwin9-gcc -O2 -march=nocona -pipe Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? nextstep What toolkit should Emacs use? none Where do we find X Windows header files? NONE Where do we find X Windows libraries? NONE Does Emacs use -lXaw3d? no Does Emacs use -lXpm? no Does Emacs use -ljpeg? no Does Emacs use -ltiff? no Does Emacs use a gif library? no Does Emacs use -lpng? no Does Emacs use -lrsvg-2? no Does Emacs use -lgpm? no Does Emacs use -ldbus? no Does Emacs use -lfreetype? no Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs use toolkit scroll bars? yes ------------=_1321927262-5312-3--