[Libreoffice-commits] .: postprocess/packconfig

2012-11-15 Thread Libreoffice Gerrit user
 postprocess/packconfig/packconfig.pl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c7be4968e8f7f8b3c9c88d0cccfca6cff8e44e14
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Thu Nov 15 13:54:44 2012 +0100

Don't bail out when you don't find uiconfig translations

Change-Id: I54bf71bdd7e088ab5c11234ec31963817a314006

diff --git a/postprocess/packconfig/packconfig.pl 
b/postprocess/packconfig/packconfig.pl
index c5b4e90..0fe8d04 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -149,7 +149,7 @@ sub get_lang_files
 find_lang_files($files_hash_ref, $lang);
 
 if ( !keys %$files_hash_ref ) {
-print_error(can't find any lang config files in '$files_path', 3);
+print_message(can't find any lang config files in '$files_path', 3);
 }
 
 return wantarray ? @main::file_list : \@main::file_list;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: postprocess/packconfig

2012-11-15 Thread Libreoffice Gerrit user
 postprocess/packconfig/packconfig.pl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 14f56cff838d351b3286f4ec473d742443631e5a
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Thu Nov 15 17:13:32 2012 +0100

Revert Don't bail out when you don't find uiconfig translations

The can is only kicked further and it fails in packaging
of languagepacks, so revert and investigate more

This reverts commit c7be4968e8f7f8b3c9c88d0cccfca6cff8e44e14.

diff --git a/postprocess/packconfig/packconfig.pl 
b/postprocess/packconfig/packconfig.pl
index 0fe8d04..c5b4e90 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -149,7 +149,7 @@ sub get_lang_files
 find_lang_files($files_hash_ref, $lang);
 
 if ( !keys %$files_hash_ref ) {
-print_message(can't find any lang config files in '$files_path', 3);
+print_error(can't find any lang config files in '$files_path', 3);
 }
 
 return wantarray ? @main::file_list : \@main::file_list;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: postprocess/packconfig

2012-11-15 Thread Libreoffice Gerrit user
 postprocess/packconfig/packconfig.pl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8cd76e0fd8de4ee3173f819d690efc47b43f8c38
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Thu Nov 15 17:35:49 2012 +0100

Fix packconfig.pl when WITH_LANG=ALL

Change-Id: Id293760fdc60d79790380d0cbee259b5b1cdd2da

diff --git a/postprocess/packconfig/packconfig.pl 
b/postprocess/packconfig/packconfig.pl
index c5b4e90..372ba5e 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -47,7 +47,7 @@ my $current_lang;# big fat global because 
File::Find is a pig
 parse_options();
 
 #pack the .ui translations
-my @langs = split(/\s+/, $ENV{WITH_LANG});
+my @langs = split(/\s+/, $ENV{WITH_LANG_LIST});
 foreach (@langs) {
 next if ($_ eq en-US);
 my %files_hash;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: postprocess/packconfig

2012-11-14 Thread Libreoffice Gerrit user
 postprocess/packconfig/packconfig.pl |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a43a76cd5aa2f145f2cb43fcdbc8f21fb6c89af0
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Thu Nov 15 08:54:11 2012 +0100

Differenciate error messages to know quickly what failed

Change-Id: I4a445c345706351da8f022180d142249340acd2f

diff --git a/postprocess/packconfig/packconfig.pl 
b/postprocess/packconfig/packconfig.pl
index 88b8486..c5b4e90 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -124,7 +124,7 @@ sub get_core_files
 find_core_files($files_hash_ref);
 
 if ( !keys %$files_hash_ref ) {
-print_error(can't find any config files in '$files_path', 3);
+print_error(can't find any core config files in '$files_path', 3);
 }
 
 return wantarray ? @main::file_list : \@main::file_list;
@@ -149,7 +149,7 @@ sub get_lang_files
 find_lang_files($files_hash_ref, $lang);
 
 if ( !keys %$files_hash_ref ) {
-print_error(can't find any config files in '$files_path', 3);
+print_error(can't find any lang config files in '$files_path', 3);
 }
 
 return wantarray ? @main::file_list : \@main::file_list;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: postprocess/packconfig

2012-11-08 Thread Libreoffice Gerrit user
 postprocess/packconfig/packconfig.pl |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a7a2fe051069f6da49faff06fda96eba13912524
Author: Norbert Thiebaud nthieb...@gmail.com
Date:   Thu Nov 8 13:20:05 2012 -0600

fix 89e47b8bf1ba3f86204ae3ab997432c26b0eea6b, dereference hash object-ref

Change-Id: I3354f1c6b1eb5b1a78c25ff6ac23218336fd8bea

diff --git a/postprocess/packconfig/packconfig.pl 
b/postprocess/packconfig/packconfig.pl
index ec59dce..88b8486 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -123,7 +123,7 @@ sub get_core_files
 my $files_hash_ref = shift;
 find_core_files($files_hash_ref);
 
-if ( !keys $files_hash_ref ) {
+if ( !keys %$files_hash_ref ) {
 print_error(can't find any config files in '$files_path', 3);
 }
 
@@ -148,7 +148,7 @@ sub get_lang_files
 my $lang = shift;
 find_lang_files($files_hash_ref, $lang);
 
-if ( !keys $files_hash_ref ) {
+if ( !keys %$files_hash_ref ) {
 print_error(can't find any config files in '$files_path', 3);
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits