Bug 912144 - Would be nice if cxxtest came with a pkgconfig .pc file
Summary: Would be nice if cxxtest came with a pkgconfig .pc file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cxxtest
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Gieseking
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-17 20:59 UTC by Matthew Saltzman
Modified: 2013-03-24 00:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-24 00:05:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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