Re: pkg-config standards for .pc file location?

2010-02-03 Thread Ville Skyttä
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


Re: pkg-config standards for .pc file location?

2010-02-03 Thread Matthew Saltzman
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

Re: pkg-config standards for .pc file location?

2010-02-03 Thread Braden McDaniel
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 bra...@endoframe.com

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


pkg-config standards for .pc file location?

2010-02-02 Thread Matthew Saltzman
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


Re: pkg-config standards for .pc file location?

2010-02-02 Thread Matthias Clasen
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