From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: emacs packaging (emacs-popup) Date: Tue, 16 Feb 2016 08:58:16 +0100 Message-ID: References: <87a8n1rkex.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVaWY-0002kJ-NB for guix-devel@gnu.org; Tue, 16 Feb 2016 02:58:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVaWX-0003D4-DQ for guix-devel@gnu.org; Tue, 16 Feb 2016 02:58:18 -0500 Received: from mail-vk0-x232.google.com ([2607:f8b0:400c:c05::232]:34278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVaWX-0003CD-4a for guix-devel@gnu.org; Tue, 16 Feb 2016 02:58:17 -0500 Received: by mail-vk0-x232.google.com with SMTP id e185so126238822vkb.1 for ; Mon, 15 Feb 2016 23:58:16 -0800 (PST) In-Reply-To: <87a8n1rkex.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: Guix-devel On Mon, Feb 15, 2016 at 5:46 PM, Alex Kost wrote: > Federico Beffa (2016-02-15 15:12 +0300) wrote: > >> Nils Gillmann writes: >> >>> I'm packaging emacs-popup. >>> >>> Currently the output builds with >>> niasterisk@khazad-dum ~/projects/guix_project/guix$ ls -al >>> /gnu/store/knpjk9vflja0i6yhnz4ai57k29jpgm4p-emacs-popup-0.5.3/share/ema= cs/site-lisp/guix.d/popup-0.5.3/ >>> total 180 >>> dr-xr-xr-x 4 root guixbuild 4096 Jan 1 1970 ./ >>> dr-xr-xr-x 3 root guixbuild 4096 Jan 1 1970 ../ >>> -r--r--r-- 2 root guixbuild 90 Jan 1 1970 Cask >>> dr-xr-xr-x 3 root guixbuild 4096 Jan 1 1970 etc/ >>> -r--r--r-- 2 root guixbuild 14 Jan 1 1970 .gitignore >>> -r--r--r-- 2 root guixbuild 626 Jan 1 1970 Makefile >>> -r--r--r-- 2 root guixbuild 334 Jan 1 1970 popup-autoloads.el >>> -r--r--r-- 2 root guixbuild 54848 Jan 1 1970 popup.el >>> -r--r--r-- 2 root guixbuild 75474 Jan 1 1970 popup.elc >>> -r--r--r-- 2 root guixbuild 10187 Jan 1 1970 README.md >>> dr-xr-xr-x 2 root guixbuild 4096 Jan 1 1970 tests/ >>> -r--r--r-- 2 root guixbuild 569 Jan 1 1970 .travis.yml >>> >>> Can this be improved, ie remove some of the files to clean it up, >>> or is it all good? >> >> I would suggest to move the README.md (and in general documentation >> related files) to $datadir/doc/package-name-version/. Info files to >> $datadir/info/package-name-version/. Take a look at 'emacs-slime'. >> >> Remove unused files like .gitignore, ... > > I don't agree. This is not done for any other emacs package. I think > ".gitignore" and other files should not be removed in a package recipe. > This is a job for emacs-build-system, and I thought it was agreed=C2=B9. = So > I think this "emacs-popup" package can be left as it is now, and once > our emacs-build-system will be improved (to remove useless file, to move > README into share/doc, etc.), it will be fixed automatically. > > =C2=B9 http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00416.html Doing so will break some packages. One example is 'emacs-slime' which includes .lisp and .asd files, other ones are 'emacs-auctex' and 'emacs-ob-ipython', ... While we could add a phase to remove some pretty common and useless files such as .gitignore, in general things are not standardized and more complex. Unless upstream fixes this situation it will be impossible to make a perfect 'emacs-build-system'. Checking the code to remind myself of the details, the only thing about non .el files that it does, is to move info files to the appropriate directory. Regards, Fede