Bug 2026124

Summary: add pkg-config file
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: libunistringAssignee: Pádraig Brady <p>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dueno, i18n-bugs, jim, p, redhat-bugzilla
Target Milestone: ---Keywords: FutureFeature, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.