public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Adam Dinwoodie <adam@dinwoodie.org>,
	"cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: [ITP] libinih
Date: Mon, 16 Jan 2023 12:41:48 +0000	[thread overview]
Message-ID: <6c09653a-6150-b55d-17ba-ea90c04932d3@dronecode.org.uk> (raw)
In-Reply-To: <20230115224948.fxpb3g5aj4ipcp5w@lucy.dinwoodie.org>

On 15/01/2023 22:49, Adam Dinwoodie via Cygwin-apps wrote:
>> I added this to your packages.
>>
>>> NAME=libinih
>>
>> Since the upstream name is just 'inih', the source package should probably
>> be named that also.
> 
> Can I double-check how that should work from a package naming
> perspective?  I *think* that means we'd have:
> 
> - libinih0-$PVR, being the libraries themselves
> - libinih0-debuginfo-$PVR, being the debugging symbols for the libraries
> - inih-devel-$PVR, being the header, static libraries and pkgconfig files
> - inih-$PVR.src, being the source code
> 
> Is that right?  In particular, is it right that the debuginfo name
> matches the library, while the devel package doesn't?  Or should it only
> be the source package that has a different name?
> 
> (The build linked above as rc2 has the debuginfo package as
> inih-debuginfo, and the devel package as libinih-devel, but on
> reflection that doesn't seem quite right to me.  If nothing else, I
> think I'd expect to find the debug symbols in a package with the same
> name as the package I'm debugging...)

Unfortunately, this assumption isn't correct.

cygport makes a single debuginfo package for each source package, named 
$NAME-debuginfo.

(Consider e.g. if we have libfoo0 and foo-tools made from the foo source 
package, the debuginfo for both is placed in foo-debuginfo. It's not 
entirely clear to me that we could make a debuginfo package for each 
installed package with executable content, since e.g. it contains source 
code headers, which would then be duplicated...)

Practically, if someone wants to traverse from an install package to the 
matching debuginfo, they have to do it via the source package, but 
again, this is emergent behaviour rather than a considered design...


  reply	other threads:[~2023-01-16 12:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 16:32 Adam Dinwoodie
2023-01-11 11:56 ` Lemures Lemniscati
2023-01-11 15:14 ` Jon Turney
2023-01-11 23:16   ` Adam Dinwoodie
2023-01-13 14:27     ` Jon Turney
2023-01-15  6:12       ` Lemures Lemniscati
2023-01-15 22:49       ` Adam Dinwoodie
2023-01-16 12:41         ` Jon Turney [this message]
2023-01-13 14:28     ` Jon Turney

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=6c09653a-6150-b55d-17ba-ea90c04932d3@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=adam@dinwoodie.org \
    --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).