unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Installing binaries with package.el
Date: Tue, 07 Feb 2017 14:40:28 -0500	[thread overview]
Message-ID: <877f51oklv.fsf@flea> (raw)
In-Reply-To: b8248409-bdb7-2b5c-9a88-1cf78dc58325@gmail.com

On Tue, 7 Feb 2017 17:58:10 +0100 Aurélien Aptel <aurelien.aptel+emacs@gmail.com> wrote: 

AA> Having a support for modules in packages would be cool indeed. But
AA> building binaries that work across linux distro is going to be very
AA> painful especially since the modules is very likely going to be linked
AA> against others libs. So an ELPA like system for pre-built modules is
AA> probably not a good idea...

I was thinking of a standard OS package repository, e.g. Yum or APT, and
a link to that from the ELPA package.

Rgeardless, maybe an ELPA package should be able to declare its
dependency on specific OS packages. This could be useful even if the
package doesn't have binaries or modules.

AA> I think it's best to stick to compiling them on the user machine.
AA> Which is also tricky to get right obviously.

On Tue, 07 Feb 2017 12:45:54 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote: 

SM> Notice that ELPA packages have always shipped in source form (even the
SM> .el files are byte-compiled on the user's machine).  So it's only
SM> natural to expect dynloaded modules distributed via ELPA to be
SM> distributed in source form and compiled during installation.

Help me understand. Say user installs module FOO-1 which binds to
library BAR-1. User upgrades BAR-1 to BAR-2 or uninstalls BAR-1. What
happens?

What happens to users that don't have a compiler? Do you think OS
distributions will pick up the module distribution piece like they did
with Python, Perl, etc.?

Ted




  reply	other threads:[~2017-02-07 19:40 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07  2:09 Installing binaries with package.el Clément Pit--Claudel
2017-02-07  5:29 ` Marcin Borkowski
2017-02-07  5:33   ` Clément Pit-Claudel
2017-02-07  7:22     ` Marcin Borkowski
2017-02-07 13:12       ` Clément Pit-Claudel
2017-02-07 15:07         ` Ted Zlatanov
2017-02-07 16:15           ` Clément Pit-Claudel
2017-02-07 19:40             ` Ted Zlatanov [this message]
2017-02-09 13:10               ` Stefan Monnier
2017-02-09 16:20                 ` Ted Zlatanov
2017-02-09 17:39                   ` Stefan Monnier
2017-02-09 19:36                     ` Ted Zlatanov
2017-02-09 22:43                     ` Stephen Leake
2017-02-08 18:40     ` Andreas Politz
2017-02-09 15:33       ` Stefan Monnier
2017-02-09 21:55         ` Andreas Politz
2017-02-10  6:09           ` Stefan Monnier
2017-02-07 16:05 ` Stefan Monnier
2017-02-07 16:16   ` Clément Pit-Claudel
2017-02-07 16:58     ` Aurélien Aptel
2017-02-07 17:45       ` Stefan Monnier
2017-02-07 20:17 ` Achim Gratz
2017-02-07 21:58   ` Clément Pit-Claudel
2017-02-07 23:34     ` Kaushal Modi
2017-02-08  1:35       ` Clément Pit-Claudel
2017-02-08 18:52     ` Achim Gratz
2017-02-08 19:17       ` Andreas Politz
2017-02-08 19:44         ` Achim Gratz
2017-02-08 21:36       ` Clément Pit-Claudel
2017-02-09 19:47         ` Achim Gratz
2017-02-09 20:11           ` Clément Pit-Claudel
2017-02-09 22:48           ` Stephen Leake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877f51oklv.fsf@flea \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).