incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Rathke <...@erack.de>
Subject [repo] extras/l10n, build.pl, source_config and gb_REPOS (was: [LINUX-BUILD] Developer Education -- Building on Linux event starts now)
Date Thu, 08 Sep 2011 12:13:34 GMT
Hi Pavel,

On Thursday, 2011-09-08 11:22:16 +0200, Pavel Janík wrote:

> Hmm, I forgot to send this yesterday.
> 
> I "modified" build.pl to automatically add extras repository:
> 
> --- /Users/pavel/.ooo/ooo/trunk/main/solenv/bin/build.pl	2011-08-28 20:19:41.000000000
+0200
> +++ solenv/bin/build.pl	2011-09-07 22:22:48.000000000 +0200
> @@ -1617,6 +1617,13 @@
>  
>  sub get_module_and_buildlist_paths {
>      if ($build_all_parents || $checkparents) {
> +
> +	# Perl Hackery: add repo extras explicitly
> +	my $extras;
> +	$extras = $source_config->get_module_path('vcl');
> +	$extras =~ s|vcl|../extras|g;
> +	$source_config->add_repository($extras);
> +

That works only for the "standard" (usual) layout though, moving
extras/l10n to another location would fail. I think what needs to be
done there is to evaluate the gb_REPOS environment variable and set its
contents as repositories instead of obtaining them from the
source_config file.

> This change is incorrect, should not be integrated. But shows what is
> needed to be changed somewhere. I can only read Perl, so do not ask me
> why I used this approach...

You perfectly explained why ;-)

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Mime
View raw message