Bug 912144

Summary: Would be nice if cxxtest came with a pkgconfig .pc file
Product: [Fedora] Fedora Reporter: Matthew Saltzman <mjs>
Component: cxxtestAssignee: Martin Gieseking <martin.gieseking>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: martin.gieseking
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-24 00:05:37 UTC 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 Matthew Saltzman 2013-02-17 20:59:45 UTC
Description of problem:
We are looking to include cxxtest-based unit tests in a software system that we distribute.  We'd like our configure script to use pkgconfig to detect if the user has cxxtest installed.  Unfortunately the cxxtest RPM doesn't include or generate a .pc file.

Version-Release number of selected component (if applicable):
cxxtest-4.1-2.fc18.noarch


How reproducible:
Always

Steps to Reproduce:
1. Install cxxtest rpm
2. run pkg-config
3.
  
Actual results:
pkg-config can't find info

Expected results:
pkg-config returns useful information

Additional info:

Comment 1 Martin Gieseking 2013-02-20 14:14:49 UTC
It should be easy to add a pkgconfig file to the package. However, since upstream doesn't provide an official .pc file with the sources, it's probably not a good idea to include a local one to the Fedora packages. If your or other third-party applications depended on it, they would possibly fail to build on other platforms because the .pc file is not available there. Currently, a more portable solution would be to check the presence of cxxtestgen or the cxxtest include directory.

I'm going to ask the upstream developers whether they are willing to add a pkgconfig file to one of their future releases.

Comment 2 Fedora Update System 2013-03-15 14:28:07 UTC
cxxtest-4.1-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cxxtest-4.1-4.fc18

Comment 3 Fedora Update System 2013-03-16 01:30:17 UTC
Package cxxtest-4.1-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cxxtest-4.1-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3914/cxxtest-4.1-4.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-24 00:05:39 UTC
cxxtest-4.1-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.