public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: Packaging Perl
Date: Thu, 4 Jun 2020 19:50:47 +0100	[thread overview]
Message-ID: <d1651065-784e-d5be-15ed-8c9c184e785c@dronecode.org.uk> (raw)
In-Reply-To: <877dwov45z.fsf@Rainer.invalid>

On 03/06/2020 11:23, Achim Gratz wrote:
> 
> I'm in the process of getting the next maintenance update for Perl-5.30
> ready.  I'm trying to prepare for the inevitable major update (that will
> not be binary compatible, so requires a complete repackaging of all
> dependencies again) some time later.  I was planning to use the newly
> available PROVIDES in cygport to have the perl_base package provide
> "perl530" as a synthetic package name.  Then I'll arrange to generate
> all Perl distributions with a REQUIRES for "perl530".  Eventually we'll
> need to come up with a way of generating that info automatically, but I
> don't think there's any place yet in the installation where the PROVIDES
> information gets installed, so cygport can not pick up on it currently.

I think the perl cygclass in cygport can know the perl version being 
built against, and can add that to the requires?

I'm not sure doing it automatically for everything is possible.

> What I'm unsure about is what happens when we actually upgrade Perl,
> which means the new Perl will providse something like "perl532" and we
> have a bunch of distributions that require the new "perl532" plus a
> bunch of not-yet-updated packages that require "perl530" instead.  The
> idea is that either the packages needing the old Perl need to get
> de-installed or the upgrade has to be held off until every package has
> got an upgrade to the newer Perl.  On GNU/Linux zypper would offer at
> least two solutions to chose from in this case, but setup just picks one
> of the solutions that libzypp offers and that may not be the one the
> user favored.

Yes, setup needs a UI to present that choice.

  reply	other threads:[~2020-06-04 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-03 10:23 Achim Gratz
2020-06-04 18:50 ` Jon Turney [this message]
2020-06-04 19:22   ` Achim Gratz

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=d1651065-784e-d5be-15ed-8c9c184e785c@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-apps@cygwin.com \
    /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.
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).