From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.devel,gmane.emacs.auctex.devel Subject: Re: [AUCTeX-devel] [ELPA-diffs] /srv/bzr/emacs/elpa r312: Update AUCTeX ELPA package to the new 11.87 release. Date: Wed, 05 Dec 2012 18:22:06 +0100 Message-ID: References: <87fw3m1di7.fsf@thinkpad.tsdh.de> <871uf5sgj4.fsf@thinkpad.tsdh.de> <87hao0mw44.fsf@thinkpad.tsdh.de> <87ip8gd1al.fsf@fencepost.gnu.org> <87624gcuqw.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354728154 30511 80.91.229.3 (5 Dec 2012 17:22:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2012 17:22:34 +0000 (UTC) Cc: auctex-devel@gnu.org, Stefan Monnier , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 18:22:44 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TgIgG-0004Go-AR for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2012 18:22:44 +0100 Original-Received: from localhost ([::1]:52118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgIg4-0000Gj-Df for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2012 12:22:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgIfy-0000DD-4G for emacs-devel@gnu.org; Wed, 05 Dec 2012 12:22:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgIft-0006xV-Kf for emacs-devel@gnu.org; Wed, 05 Dec 2012 12:22:26 -0500 Original-Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:33885 helo=uzeb.lrde.epita.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgIfh-0006mJ-8V; Wed, 05 Dec 2012 12:22:09 -0500 Original-Received: by uzeb.lrde.epita.fr (Postfix, from userid 17030) id 014D016E02F0; Wed, 5 Dec 2012 18:22:06 +0100 (CET) In-Reply-To: <87624gcuqw.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 05 Dec 2012 17:46:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXozbMPBQTMbimlTBMf GBDdk1kNDgpVnrg8AAACRElEQVQ4jW1UwW7rIBCkr0nvSCufKygf0AXfQ7zmnGLzAZaQ//8T3kAc KWo6kRJlh5mdXZwoBbwPadgBipPiJaWLOiCUWn2PlOZxJaGDOel9kEakutH8nUjqnUiyDV1SY40i usbYJacUd4nda5CtDlCQdIK2uj8AyRCFepct7Ul3qiIcQatT6/ITd6TdenO0GvClxlTVKdZt/4WK jOqElr+JBGP1Nmz0XByOd/Xxh4JEovpI9Lu+RQ0iJv0iiBJJ6e0llBa3iKo6xqeiyL6R8RxUO/Fc rkO8svVevTRI5P31iUiPRPvsDb8qNqrsR5/NqxUt1vjltUecnDHG/tF8HB1nf1htWvfBIsnMsLJQ ULsnHYk0ngOSq7eW2cqqcJYaxLoxFzYjW7u4WUBgZZomVxb0ZLM4M8V5FbX4eHnTU6saNg1OLnBV ZXEhxPJpDeY17BA2SFgvqpTirHe+IIrlknPJQd6mAKJxjO1wdp4/b6WsItPSquVcHrgpdVPniea1 EefzDS91A+5PeZiuQR3nGo6PbL8C3wlQRTXRHeecbVYe4Q/VnUCYjGk60XD4oTVWi5mUTL5P7MzY KPgV45x1ShDaA2wwZzODrW1W6hwmC7E370tYGSGwNJdL/5kzrqZRXub1ptgUrLoR/yCwzuQSfChl xJmyyJ3oyfKSvTj21pSVYidablwRdnzFjtFdaH8QuLs88mKW1TNnGvp/w7n7tFFwvYHH8hXr0Mft o2MQw+yM8/ZHJ+oEUrmMh2a0MyKtLsie/gO8xRIj3mMAJAAAAABJRU5ErkJggg== X-Face: %_h6{7j{G{a5eS.S+E5mfa-D78Ci>}HGu}.qvW{; M7$+@17`Z(}j,"yO_!z5|}W|]Es=P_> ^u*}:XpKb-U-D]ti~#Sf&L,tWu.YiUoG*.jbp:JfD; LnPS}U xm1D2)hIrF$O(T-`tV'AD{:xPQnpO#k]/[%"0vfL+c]^Mkp5J#nL>dcO~]> X-Attribution: dvl X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier Mail-Copies-To: never X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 163.5.55.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155304 gmane.emacs.auctex.devel:2789 Archived-At: David Kastrup wrote: > Stefan Monnier writes: >> Can you describe how does the XEmacs-package-building relates to the >> VCS repository? Is it that the CVS layout was chosen specifically to >> match the XEmacs package requirements? > No. XEmacs was supported after the CVS layout had been established. An > XEmacs package is assembled in a target directory hierarchy separate > from the source tree. >> Are those requirements incompatible with the ones for ELPA packages? > > No idea. Not sure how this would work for a complex thing such as AUCTeX, but most of the time, it's not so difficult to support all those installation schemes from a single source tree. The key to packaging for XEmacs is that you need to provide a specific Makefile (sort of imposed by the infrastructure) with some predefined variables that you need to fill in. But the underlying organization of your source tree is pretty much what you want. Because the Makefile is specific, it's better to export your source tree to another directory (as David says) for XEmacs packaging. For my own packages, I have a generic infrastructure that does this. Every project contains a file named Makefile.pkg which is the XEmacs package one. I use 'hg convert' to export the tree to the appropriate place (XEmacs packages are under Mercurial) with a special .hgfilemap containing essentially this: rename Makefile.pkg Makefile but the rest of the source tree remains mostly the same. I like to organize my tree with lisp/*.el doc/*.texi etc/stuff etc., but you could also be plain flat of whatever. -- Resistance is futile. You will be jazzimilated. Scientific site: http://www.lrde.epita.fr/~didier Music (Jazz) site: http://www.didierverna.com