[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-commit
Subject:    commit kiwi-instsource-plugins-openSUSE-11-2 for openSUSE:Factory
From:       root () Hilbert ! suse ! de (h_root)
Date:       2009-10-30 15:58:27
Message-ID: 20091030155827.E73DA2029B () Hilbert ! suse ! de
[Download RAW message or body]


Hello community,

here is the log from the commit of package kiwi-instsource-plugins-openSUSE-11-2 for \
openSUSE:Factory checked in at Fri Oct 30 16:58:27 CET 2009.



--------
--- kiwi-instsource-plugins-openSUSE-11-2/kiwi-instsource-plugins-openSUSE-11-2.changes	2009-10-27 \
                10:09:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/kiwi-instsource-plugins-openSUSE-11-2/kiwi-instsource-plugins-openSUSE-11-2.changes	2009-10-28 \
10:52:41.000000000 +0100 @@ -1,0 +2,5 @@
+Wed Oct 28 09:53:33 UTC 2009 - adrian@suse.de
+
+- include package repository translation support from coolo
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kiwi-instsource-plugins-openSUSE-11-2.spec ++++++
--- /var/tmp/diff_new_pack.gX77Md/_old	2009-10-30 16:58:23.000000000 +0100
+++ /var/tmp/diff_new_pack.gX77Md/_new	2009-10-30 16:58:23.000000000 +0100
@@ -21,7 +21,7 @@
 Name:           kiwi-instsource-plugins-openSUSE-11-2
 Summary:        OpenSuSE - KIWI Image System
 Version:        0.9
-Release:        1
+Release:        2
 Group:          System/Management
 License:        GPL v2 only
 Source:         %{name}.tar.bz2

++++++ kiwi-instsource-plugins-openSUSE-11-2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' \
'--exclude=.svnignore' old/kiwi-instsource-plugins-openSUSE-11-2/KIWIDescrPlugin.pm \
                new/kiwi-instsource-plugins-openSUSE-11-2/KIWIDescrPlugin.pm
--- old/kiwi-instsource-plugins-openSUSE-11-2/KIWIDescrPlugin.pm	2009-10-27 \
                10:58:17.000000000 +0100
+++ new/kiwi-instsource-plugins-openSUSE-11-2/KIWIDescrPlugin.pm	2009-10-28 \
15:03:52.000000000 +0100 @@ -34,6 +34,7 @@
 
 use strict;
 
+use File::Basename;
 use base "KIWIBasePlugin";
 use Config::IniFiles;
 use Data::Dumper;
@@ -191,34 +192,29 @@
     return $retval;
   }
 
-  my $linkname = "packages.sk";	# default link name for uncompressed file
-  my $linktarget = "packages.cs";
+  foreach my $trans \
(glob('/usr/share/locale/en_US/LC_MESSAGES/package-translations-*.mo')) { +     \
$trans = basename($trans, ".mo"); +     $trans =~ s,.*-,,;
+     my $cmd = "/usr/bin/translate_packages.pl $trans < $targetdir/packages.en > \
$targetdir/packages.$trans"; +     my $data = qx( $cmd );
+     if($? >> 8) {
+	 $this->logMsg("E", "Calling <translate_packages.pl $trans > failed:\n$data\n");
+	 return 1;
+     }
+  }
+
   if($this->{m_compress} =~ m{yes}i) {
-    if(!opendir(PATDIR, "$targetdir")) {
-      $this->logMsg("E", "Can't open directory <$targetdir>!");
-      return $retval;
-    }
-    my @files = readdir(PATDIR);
-    closedir(PATDIR);
-
-    foreach my $pfile(@files) {
-      next if($pfile !~ m{^(packages[.]*.*)});
-      if(system("gzip", "$targetdir/$pfile") == 0) {
-	unlink "$targetdir/$pfile";
-	if($pfile =~ m{packages.(cs|cz)}) {
-	  $linktarget .= ".gz";
-	  $linkname .= ".gz";
-	}
+      foreach my $pfile(glob("$targetdir/packages*")) {
+	  if(system("gzip", "$pfile") == 0) {
+	      unlink "$targetdir/$pfile";
+	  }
+	  else {
+	      $this->logMsg("W", "Can't compress file <$targetdir/$pfile>!");
+	  }
       }
-      else {
-	$this->logMsg("W", "Can't compress file <$targetdir/$pfile>!");
-      }
-    }
   }
-  symlink "$linktarget", "$targetdir/$linkname";
 
-  $retval = 1;
-  return $retval;
+  return 1;
 }
 
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic