public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* [Bug bzip2/31660] New: Add bzip2.pc pkg-config file
@ 2024-04-19 20:29 sourceware at ryandesign dot com
  2024-04-19 20:36 ` [Bug bzip2/31660] " sourceware at ryandesign dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sourceware at ryandesign dot com @ 2024-04-19 20:29 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31660

            Bug ID: 31660
           Summary: Add bzip2.pc pkg-config file
           Product: bzip2
           Version: unspecified
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: bzip2
          Assignee: nobody at sourceware dot org
          Reporter: sourceware at ryandesign dot com
                CC: bzip2-devel at sourceware dot org
  Target Milestone: ---

Please add a pkg-config bzip2.pc file.

Code to do so was committed in 2019:

https://gitlab.com/bzip2/bzip2/-/commit/70ec984159c8263fdd4aac7c4670977aff0fe5b3

yet there does not appear to be a release of bzip2 containing
this improvement.

Separately a patch to do this was submitted in 2022:

https://sourceware.org/pipermail/bzip2-devel/2022q2/000169.html

As Eli Schwartz wrote in that message:

> A pkg-config file is necessary in order to robustly
> communicate across build systems that bz2 is installed,
> *where* it is installed, and the correct CFLAGS / LDFLAGS to
> use in order to compile and link against it.

In a follow-up, he wrote:

https://sourceware.org/pipermail/bzip2-devel/2022q2/000171.html

> Some distros already provide one of these, so it's currently a
> bit inconsistent how to look for the library. As a result,
> there is software in the wild that probes for the library
> name, and fails if the library is installed to a custom
> prefix, and other software that checks for pkg-config, and
> fails on distros that don't provide their own bzip2.pc

The response from Sam James was:

https://sourceware.org/pipermail/bzip2-devel/2022q4/000176.html

> The whole series looks great, thanks for doing this.

The patch cannot be applied to bzip2 1.0.8 as is because it
modifies files configure.ac and Makefile.in which do not exist
in the bzip2 1.0.8 distribution. A previous patch in Eli's
series is needed to port the build system to autoconf:

https://sourceware.org/pipermail/bzip2-devel/2022q2/000170.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/31660] Add bzip2.pc pkg-config file
  2024-04-19 20:29 [Bug bzip2/31660] New: Add bzip2.pc pkg-config file sourceware at ryandesign dot com
@ 2024-04-19 20:36 ` sourceware at ryandesign dot com
  2024-04-20  7:44 ` sam at gentoo dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: sourceware at ryandesign dot com @ 2024-04-19 20:36 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31660

--- Comment #1 from Ryan Carsten Schmidt <sourceware at ryandesign dot com> ---
> port the build system to autoconf

As requested in bug #30001.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/31660] Add bzip2.pc pkg-config file
  2024-04-19 20:29 [Bug bzip2/31660] New: Add bzip2.pc pkg-config file sourceware at ryandesign dot com
  2024-04-19 20:36 ` [Bug bzip2/31660] " sourceware at ryandesign dot com
@ 2024-04-20  7:44 ` sam at gentoo dot org
  2024-04-21  1:46 ` eschwartz93 at gmail dot com
  2024-04-21  2:33 ` sourceware at ryandesign dot com
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2024-04-20  7:44 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31660

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=30001
                 CC|                            |eschwartz93 at gmail dot com,
                   |                            |sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/31660] Add bzip2.pc pkg-config file
  2024-04-19 20:29 [Bug bzip2/31660] New: Add bzip2.pc pkg-config file sourceware at ryandesign dot com
  2024-04-19 20:36 ` [Bug bzip2/31660] " sourceware at ryandesign dot com
  2024-04-20  7:44 ` sam at gentoo dot org
@ 2024-04-21  1:46 ` eschwartz93 at gmail dot com
  2024-04-21  2:33 ` sourceware at ryandesign dot com
  3 siblings, 0 replies; 5+ messages in thread
From: eschwartz93 at gmail dot com @ 2024-04-21  1:46 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31660

--- Comment #2 from Eli Schwartz <eschwartz93 at gmail dot com> ---
(In reply to Ryan Carsten Schmidt from comment #0)
> Please add a pkg-config bzip2.pc file.
> 
> Code to do so was committed in 2019:
> 
> https://gitlab.com/bzip2/bzip2/-/commit/
> 70ec984159c8263fdd4aac7c4670977aff0fe5b3
> 
> yet there does not appear to be a release of bzip2 containing
> this improvement.


That repository is an unofficial fork which, if I understand correctly, has
goals that are in conflict with the original project...

Note that the patch I submitted here depends on autoconf since the .pc file
must contain the --prefix, --includedir, --libdir (and therefore has to be a
built file).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/31660] Add bzip2.pc pkg-config file
  2024-04-19 20:29 [Bug bzip2/31660] New: Add bzip2.pc pkg-config file sourceware at ryandesign dot com
                   ` (2 preceding siblings ...)
  2024-04-21  1:46 ` eschwartz93 at gmail dot com
@ 2024-04-21  2:33 ` sourceware at ryandesign dot com
  3 siblings, 0 replies; 5+ messages in thread
From: sourceware at ryandesign dot com @ 2024-04-21  2:33 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31660

--- Comment #3 from Ryan Carsten Schmidt <sourceware at ryandesign dot com> ---
(In reply to Eli Schwartz from comment #2)
> That repository is an unofficial fork which, if I understand correctly, has
> goals that are in conflict with the original project...

If true, that would be very troubling.

The description of that repository says "This is the official repository for
development of BZip2 1.1+."

It is acknowledged on the BZip2 web site
https://sourceware.org/bzip2/downloads.html where it says "There is also a
experimental future branch which includes a modern build system and an
experimental Rust port. It can be checked out with: git clone
https://gitlab.com/bzip2/bzip2"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-21  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 20:29 [Bug bzip2/31660] New: Add bzip2.pc pkg-config file sourceware at ryandesign dot com
2024-04-19 20:36 ` [Bug bzip2/31660] " sourceware at ryandesign dot com
2024-04-20  7:44 ` sam at gentoo dot org
2024-04-21  1:46 ` eschwartz93 at gmail dot com
2024-04-21  2:33 ` sourceware at ryandesign dot com

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).