From: Boris <d12frosted@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Runtime package dependencies and compilation order
Date: Mon, 30 May 2016 09:05:00 +0000 [thread overview]
Message-ID: <CACY1KR3_D1WPPv84VurMVX8A-ZoeamuJX-8SpyeX9VuA0BN3RQ@mail.gmail.com> (raw)
Hello,
Recently I've faced following problem. I have a package A that might depend
on package B or (disjunction) package C. But dependency list is not known
upwards, because the list itself depends on user settings. So I don't
specify B and C in package requires section of package A. All packages are
on MELPA and installed via package.el. The problem comes when someone wants
to use the part of package A that depends on package B - if package A is
byte compiled before B, then some functionality doesn't work and you have
to manually recompile A. So the solution might be pretty simple - ask user
to install package A after package B. But in some setups there is no way (I
mean, good way) of enforcing specific order of installation. And in any
case I feel like asking such thing from users is not the right thing.
From my understanding specifying package B as dependency solves such
issues, as package manager installs B before A. So the only solution I see
in such situation is to create package A-base, A-B (B-related functionality
that has two packages as dependency - A-base and B) and A-C (similar to
A-B).
So I would like to ask if there's any other solution for the described
problem?
I hope that this is the right place to ask such questions, and sorry for
such an abstract description.
Best regards,
Boris
--
Best regards,
Boris @ d12frosted
next reply other threads:[~2016-05-30 9:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 9:05 Boris [this message]
2016-05-31 14:47 ` Runtime package dependencies and compilation order Michael Heerdegen
2016-06-01 14:19 ` Boris
[not found] ` <mailman.624.1464790782.1216.help-gnu-emacs@gnu.org>
2016-06-01 15:32 ` Emanuel Berg
2016-06-01 14:38 ` Stefan Monnier
[not found] <mailman.513.1464614585.1216.help-gnu-emacs@gnu.org>
2016-05-30 13:40 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACY1KR3_D1WPPv84VurMVX8A-ZoeamuJX-8SpyeX9VuA0BN3RQ@mail.gmail.com \
--to=d12frosted@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.