Bug 2026124 - add pkg-config file
Summary: add pkg-config file
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libunistring
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Pádraig Brady
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-23 19:59 UTC by Ulrich Drepper
Modified: 2022-12-12 06:31 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ulrich Drepper 2021-11-23 19:59:54 UTC
Description of problem:
To simplify the use of the library and checking in tools like rpm and cmake it would be beneficial to have a pkg-config file in the -devel package

Version-Release number of selected component (if applicable):
libunistring-0.9.10-14

How reproducible:
always

Steps to Reproduce:
1.cat /usr/lib64/pkgconfig/libunistring.pc
2.
3.

Actual results:
no such file

Expected results:
Perhaps something like this:

prefix=/usr
exec_prefix=/usr
includedir=/usr/include
libdir=/usr/lib64

Name: GNU libunistring
Description: GNU libunistring library implementing Unicode string types in three flavours
URL: https://www.gnu.org/software/libunistring/
Version: 0.9.10
Cflags: -I${includedir}
Libs: -L${libdir} -lunistring


Additional info:

Comment 1 Ben Cotton 2022-11-29 17:22:54 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Jens Petersen 2022-12-12 06:26:11 UTC
I think it would be good to suggest this to upstream
https://savannah.gnu.org/bugs/?group=libunistring

Though I suppose a .pc file could be carried in Fedora in the meantime.

Comment 3 Daiki Ueno 2022-12-12 06:31:47 UTC
FYI, the previous discussion at https://lists.gnu.org/archive/html/bug-libunistring/2018-02/msg00000.html

As for having a .pc file in downstream only, I don't see much benefit as applications wouldn't be able to assume its presence.


Note You need to log in before you can comment on or make changes to this bug.