Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Mike Frysinger
On Thu, Aug 30, 2012 at 6:39 PM, Michał Górny wrote: > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: >> On Wed, Aug 29, 2012 at 6:14 PM, Michał Górny wrote: >> > On Wed, 29 Aug 2012 18:05:19 -0400 Mike Frysinger wrote: >> >> On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote: >> >> > On

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Michał Górny
On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: > On Wed, Aug 29, 2012 at 6:14 PM, Michał Górny wrote: > > On Wed, 29 Aug 2012 18:05:19 -0400 Mike Frysinger wrote: > >> On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote: > >> > On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote: >

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Mike Frysinger
On Thu, Aug 30, 2012 at 3:41 AM, Michał Górny wrote: > On Wed, 29 Aug 2012 19:12:01 -0400 Mike Frysinger wrote: >> On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote: >> > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: >> >> does it actually ? are DEPEND variables not allowed to be >

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Michał Górny
On Wed, 29 Aug 2012 15:17:48 -0700 Diego Elio Pettenò wrote: > On 29/08/2012 15:16, Michał Górny wrote: > >>> > > Also, some people are probably going to try to get some > >>> > > pkgconf support directly into gcc, in form of '-something > >>> > > libfoo' to make it grab everything magically, I t

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Michał Górny
On Wed, 29 Aug 2012 19:12:01 -0400 Mike Frysinger wrote: > On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote: > > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: > >> does it actually ? are DEPEND variables not allowed to be > >> expanded in pkg_* src_* funcs ? > > > > Nope. We don

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-30 Thread Alec Warner
On Thu, Aug 30, 2012 at 1:12 AM, Mike Frysinger wrote: > On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote: >> On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: >>> does it actually ? are DEPEND variables not allowed to be expanded in >>> pkg_* src_* funcs ? >> >> Nope. We don't guara

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Mike Frysinger
On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote: > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: >> does it actually ? are DEPEND variables not allowed to be expanded in >> pkg_* src_* funcs ? > > Nope. We don't guarantee that the metadata variable gets exported back > to the ebu

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Ciaran McCreesh
On Wed, 29 Aug 2012 18:24:45 -0400 Alexandre Rostovtsev wrote: > Ciaran only shoots at people for checking $DEPEND at inherit time. I > think that checking $DEPEND in prune_libtool_files, which is called > from src_install, shouldn't be a problem. Naah, I shout at people for thinking that the fan

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Ciaran McCreesh
On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: > does it actually ? are DEPEND variables not allowed to be expanded in > pkg_* src_* funcs ? Nope. We don't guarantee that the metadata variable gets exported back to the ebuild environment. -- Ciaran McCreesh signature.asc Descriptio

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Alexandre Rostovtsev
On Thu, 2012-08-30 at 00:02 +0200, Michał Górny wrote: > On Wed, 29 Aug 2012 17:50:16 -0400 > Mike Frysinger wrote: > > > On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: > > > In other words, pkg-config is only used when no other criteria > > > allows it to classify the particular .la file a

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Mike Frysinger
On Wed, Aug 29, 2012 at 6:14 PM, Michał Górny wrote: > On Wed, 29 Aug 2012 18:05:19 -0400 Mike Frysinger wrote: >> On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote: >> > On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote: >> >> On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: >> >> > In

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Diego Elio Pettenò
On 29/08/2012 15:16, Michał Górny wrote: >>> > > Also, some people are probably going to try to get some pkgconf >>> > > support directly into gcc, in form of '-something libfoo' to make >>> > > it grab everything magically, I think. >> > >> > You have a future as a comedian. > Sir, you are going

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Michał Górny
On Wed, 29 Aug 2012 15:06:16 -0700 Diego Elio Pettenò wrote: > On 29/08/2012 15:02, Michał Górny wrote: > > Also, some people are probably going to try to get some pkgconf > > support directly into gcc, in form of '-something libfoo' to make > > it grab everything magically, I think. > > You hav

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Michał Górny
On Wed, 29 Aug 2012 18:05:19 -0400 Mike Frysinger wrote: > On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote: > > On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote: > >> On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: > >> > In other words, pkg-config is only used when no other crite

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Diego Elio Pettenò
On 29/08/2012 15:02, Michał Górny wrote: > I'd add it to @system because a lot of packages actually need to DEPEND > on pkgconfig because they use libraries using .pc files. And the number > is going to increase, hopefully. And yet it shouldn't be part of system because it's not necessary to run a

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Mike Frysinger
On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote: > On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote: >> On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: >> > In other words, pkg-config is only used when no other criteria >> > allows it to classify the particular .la file as suitable

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Michał Górny
On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote: > On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: > > In other words, pkg-config is only used when no other criteria > > allows it to classify the particular .la file as suitable for > > removal or not. Sadly, it's rather, ehm, unfrien

Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency

2012-08-29 Thread Mike Frysinger
On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote: > In other words, pkg-config is only used when no other criteria allows > it to classify the particular .la file as suitable for removal or not. > Sadly, it's rather, ehm, unfriendly to ebuild developers who obviously > don't even read the releva