Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
On Sun, 2012-08-26 at 22:45 -0400, Alexis Ballier wrote: > On Sun, 26 Aug 2012 19:43:32 -0400 > Alexandre Rostovtsev wrote: > > The variables that vala_pkg_setup sets are needed only at build time. > > so it should be vala_src_prepare / unpack instead ? > definitely not anything pkg_* imho IMHO

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexis Ballier
On Sun, 26 Aug 2012 19:43:32 -0400 Alexandre Rostovtsev wrote: > On Sun, 2012-08-26 at 15:45 -0700, Zac Medico wrote: > > Note that pkg_setup is called for binary packages too, which means > > that DEPEND may not necessarily be installed. In EAPI 4 you can > > check the MERGE_TYPE variable which

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
Second update, incorporating suggestions by Ulrich and Duncan. # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # @ECLASS: vala.eclass # @MAINTAINER: # gn...@gentoo.org # @AUTHOR: # Alexandre Rostovtsev # @BLURB: Sets up the

[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2012-08-26 23h59 UTC

2012-08-26 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2012-08-26 23h59 UTC. Removals: media-gfx/gnome-scan2012-08-20 00:34:31 tetromino dev-db/pgmecab 2012-08-20 06:50:38 naota gnustep-apps/vin

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
On Sun, 2012-08-26 at 15:45 -0700, Zac Medico wrote: > Note that pkg_setup is called for binary packages too, which means that > DEPEND may not necessarily be installed. In EAPI 4 you can check the > MERGE_TYPE variable which can have a value of binary, source, orbuildonly. The variables that vala

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Zac Medico
On 08/25/2012 11:59 PM, Alexandre Rostovtsev wrote: > On Sat, 2012-08-25 at 23:45 +0200, Ulrich Mueller wrote: >>> On Sat, 25 Aug 2012, Alexandre Rostovtsev wrote: >> >>> export VALAC=$(type -P valac-${VALA_API_VERSION}) >>> export VALA=$(type -P vala-${VALA_API_VERSION}) >>> export

[gentoo-dev] Re: [RFC] new vala.eclass

2012-08-26 Thread Duncan
Alexandre Rostovtsev posted on Sat, 25 Aug 2012 17:04:36 -0400 as excerpted: > [[ -n "${VALA_API_VERSION}" ]] || die "VALA_API_VERSION not set" It's just style, but... 1) [[ ]] manages non-word characters (whitespace, etc) hidden behind variables, so quotes are only necessary if they appear in

[gentoo-dev] Re: CIA.VC down for the count?

2012-08-26 Thread Ryan Hill
On Sun, 26 Aug 2012 21:35:53 +0200 Fabian Groffen wrote: > On 26-08-2012 12:22:16 -0600, Ryan Hill wrote: > > On Thu, 23 Aug 2012 22:36:09 +0200 > > Fabian Groffen wrote: > > > > > On 23-08-2012 20:10:55 +, Robin H. Johnson wrote: > > > > What's missing from the commits list? > > > > Ever

[gentoo-dev] Re: CIA.VC down for the count?

2012-08-26 Thread Fabian Groffen
On 26-08-2012 12:22:16 -0600, Ryan Hill wrote: > On Thu, 23 Aug 2012 22:36:09 +0200 > Fabian Groffen wrote: > > > On 23-08-2012 20:10:55 +, Robin H. Johnson wrote: > > > On Thu, Aug 23, 2012 at 07:07:40PM +0200, Fabian Groffen wrote: > > > > it doesn't contain everything CIA has, but for a la

[gentoo-dev] Re: CIA.VC down for the count?

2012-08-26 Thread Ryan Hill
On Thu, 23 Aug 2012 22:36:09 +0200 Fabian Groffen wrote: > On 23-08-2012 20:10:55 +, Robin H. Johnson wrote: > > On Thu, Aug 23, 2012 at 07:07:40PM +0200, Fabian Groffen wrote: > > > it doesn't contain everything CIA has, but for a large deal -commits ML > > > is indeed much better > > What's

Re: [gentoo-dev] [PATCH eutils] prune_libtool_files: run pkg-config code only if necessary.

2012-08-26 Thread Ciaran McCreesh
On Sat, 25 Aug 2012 13:10:05 -0700 Diego Elio Pettenò wrote: > On 25/08/2012 13:09, Michał Górny wrote: > > That's not PMS-compliant, sir. > > But it's terribly useful. (I have expressed before my contempt for > PMS, I'm sure.) Didn't you get upset when it was Mike who was ignoring everyone else

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
On Sun, 2012-08-26 at 02:59 -0400, Alexandre Rostovtsev wrote: > In which case, the vala commands that are pulled in via DEPEND will be > (unless I am completely wrong about how pkg_config works) available > during pkg_config. > > Commands that are not pulled in via DEPEND of course might not be >

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
On Sun, 2012-08-26 at 02:59 -0400, Alexandre Rostovtsev wrote: > path=$(type -P valac-${VALA_API_VERSION}) > [[ -n "${path}" ]] && VALAC="${path}" > > path=$(type -P vala-${VALA_API_VERSION}) > [[ -n "${path}" ]] && VALA="${path}" > > path=$(type -P vala-gen-introspe

Re: [gentoo-dev] [RFC] new vala.eclass

2012-08-26 Thread Alexandre Rostovtsev
On Sat, 2012-08-25 at 23:45 +0200, Ulrich Mueller wrote: > > On Sat, 25 Aug 2012, Alexandre Rostovtsev wrote: > > > export VALAC=$(type -P valac-${VALA_API_VERSION}) > > export VALA=$(type -P vala-${VALA_API_VERSION}) > > export VALA_GEN_INTROSPECT=$(type -P > > vala-gen-introspec