Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   pkg-config standards for .pc file location? (http://www.linux-archive.org/fedora-development/319642-pkg-config-standards-pc-file-location.html)

Matthew Saltzman 02-02-2010 11:04 PM

pkg-config standards for .pc file location?
 
I work on another open-source project that is considering using
pkg-config, and we are trying to establish standards. I found the
guidelines for how to package .pc files in Fedora (and EPEL), but I'm
curious if there are Fedora or Red Hat standards for the location where
the files are placed when the package is installed?

TIA.
--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Matthias Clasen 02-02-2010 11:16 PM

pkg-config standards for .pc file location?
 
On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> I work on another open-source project that is considering using
> pkg-config, and we are trying to establish standards. I found the
> guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> curious if there are Fedora or Red Hat standards for the location where
> the files are placed when the package is installed?

Normal .pc files go into %{_libdir}/pkgconfig
Arch-independent .pc files go into %{_datadir}/pkgconfig

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Matthew Saltzman 02-03-2010 01:11 AM

pkg-config standards for .pc file location?
 
On Tue, 2010-02-02 at 19:16 -0500, Matthias Clasen wrote:
> On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> > I work on another open-source project that is considering using
> > pkg-config, and we are trying to establish standards. I found the
> > guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> > curious if there are Fedora or Red Hat standards for the location where
> > the files are placed when the package is installed?
>
> Normal .pc files go into %{_libdir}/pkgconfig
> Arch-independent .pc files go into %{_datadir}/pkgconfig
>

That's helpful, thanks!

>

--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Ville Skyttä 02-03-2010 05:22 PM

pkg-config standards for .pc file location?
 
On Wednesday 03 February 2010, Matthew Saltzman wrote:
> On Tue, 2010-02-02 at 19:16 -0500, Matthias Clasen wrote:
> > On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> > > I work on another open-source project that is considering using
> > > pkg-config, and we are trying to establish standards. I found the
> > > guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> > > curious if there are Fedora or Red Hat standards for the location where
> > > the files are placed when the package is installed?
> >
> > Normal .pc files go into %{_libdir}/pkgconfig
> > Arch-independent .pc files go into %{_datadir}/pkgconfig
>
> That's helpful, thanks!

See also https://bugs.freedesktop.org/show_bug.cgi?id=14975
The new feature doesn't seem that helpful with arch dependent/independent
locations though.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Matthew Saltzman 02-03-2010 07:33 PM

pkg-config standards for .pc file location?
 
On Wed, 2010-02-03 at 20:22 +0200, Ville Skyttä wrote:
> On Wednesday 03 February 2010, Matthew Saltzman wrote:
> > On Tue, 2010-02-02 at 19:16 -0500, Matthias Clasen wrote:
> > > On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> > > > I work on another open-source project that is considering using
> > > > pkg-config, and we are trying to establish standards. I found the
> > > > guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> > > > curious if there are Fedora or Red Hat standards for the location where
> > > > the files are placed when the package is installed?
> > >
> > > Normal .pc files go into %{_libdir}/pkgconfig
> > > Arch-independent .pc files go into %{_datadir}/pkgconfig
> >
> > That's helpful, thanks!
>
> See also https://bugs.freedesktop.org/show_bug.cgi?id=14975
> The new feature doesn't seem that helpful with arch dependent/independent
> locations though.
>
Interesting. Thanks.


--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Braden McDaniel 02-04-2010 12:50 AM

pkg-config standards for .pc file location?
 
On Tue, 2010-02-02 at 21:11 -0500, Matthew Saltzman wrote:
> On Tue, 2010-02-02 at 19:16 -0500, Matthias Clasen wrote:
> > On Tue, 2010-02-02 at 19:04 -0500, Matthew Saltzman wrote:
> > > I work on another open-source project that is considering using
> > > pkg-config, and we are trying to establish standards. I found the
> > > guidelines for how to package .pc files in Fedora (and EPEL), but I'm
> > > curious if there are Fedora or Red Hat standards for the location where
> > > the files are placed when the package is installed?
> >
> > Normal .pc files go into %{_libdir}/pkgconfig
> > Arch-independent .pc files go into %{_datadir}/pkgconfig
> >
>
> That's helpful, thanks!

And just to be clear, this is not Fedora-specific. You can also find
this in "man pkg-config", where the PKG_CONFIG_PATH environment variable
is described.

--
Braden McDaniel <braden@endoframe.com>

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


All times are GMT. The time now is 07:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.