Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libstorage-ng for openSUSE:Factory 
checked in at 2021-10-29 22:33:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Fri Oct 29 22:33:38 2021 rev:134 rq:927442 version:4.4.53

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2021-10-23 00:50:29.105122938 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.1890/libstorage-ng.changes    
2021-10-29 22:34:28.491687596 +0200
@@ -1,0 +2,13 @@
+Tue Oct 26 07:19:39 UTC 2021 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#841
+- run external programs in C.UTF-8 if codeset is UTF-8
+- 4.4.53
+
+--------------------------------------------------------------------
+Wed Oct 20 18:29:51 UTC 2021 - opensuse-packag...@opensuse.org
+
+- Translated using Weblate (Portuguese (Brazil)) (bsc#1149754)
+- 4.4.52
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.4.51.tar.xz

New:
----
  libstorage-ng-4.4.53.tar.xz

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.dfmiAt/_old  2021-10-29 22:34:28.943687767 +0200
+++ /var/tmp/diff_new_pack.dfmiAt/_new  2021-10-29 22:34:28.959687773 +0200
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.4.51
+Version:        4.4.53
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.4.51.tar.xz -> libstorage-ng-4.4.53.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.51/VERSION 
new/libstorage-ng-4.4.53/VERSION
--- old/libstorage-ng-4.4.51/VERSION    2021-10-19 22:11:56.000000000 +0200
+++ new/libstorage-ng-4.4.53/VERSION    2021-10-26 09:19:39.000000000 +0200
@@ -1 +1 @@
-4.4.51
+4.4.53
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.51/po/pt_BR.po 
new/libstorage-ng-4.4.53/po/pt_BR.po
--- old/libstorage-ng-4.4.51/po/pt_BR.po        2021-10-19 22:11:56.000000000 
+0200
+++ new/libstorage-ng-4.4.53/po/pt_BR.po        2021-10-26 09:19:39.000000000 
+0200
@@ -12,7 +12,7 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2021-10-13 15:31+0200\n"
-"PO-Revision-Date: 2021-07-09 21:10+0000\n"
+"PO-Revision-Date: 2021-10-20 20:53+0000\n"
 "Last-Translator: Rodrigo Macedo <rmsolucoeseminformat...@gmail.com>\n"
 "Language-Team: Portuguese (Brazil) <https://l10n.opensuse.org/projects/";
 "libstorage/ng-master/pt_BR/>\n"
@@ -21,7 +21,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n > 1;\n"
-"X-Generator: Weblate 4.6.2\n"
+"X-Generator: Weblate 4.8.1\n"
 
 msgid ""
 "\n"
@@ -2151,9 +2151,8 @@
 msgstr "Linux"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "Linux Home"
-msgstr "Linux"
+msgstr "In??cio do Linux"
 
 #. TRANSLATORS: name of partition type
 msgid "Linux LVM"
@@ -2535,7 +2534,7 @@
 #. and /dev/sdb2 (2.00 GiB))
 #, c-format
 msgid "Remove %1$s (%2$s) from btrfs on %3$s"
-msgstr "Remover %1$s  (%2$s) para btrfs em %3$s"
+msgstr "Remover %1$s (%2$s) de btrfs em %3$s"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by device name (e.g. /dev/sdd),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.51/storage/StorageImpl.cc 
new/libstorage-ng-4.4.53/storage/StorageImpl.cc
--- old/libstorage-ng-4.4.51/storage/StorageImpl.cc     2021-10-19 
22:11:56.000000000 +0200
+++ new/libstorage-ng-4.4.53/storage/StorageImpl.cc     2021-10-26 
09:19:39.000000000 +0200
@@ -21,6 +21,8 @@
  */
 
 
+#include <langinfo.h>
+
 #include "config.h"
 #include "storage/Utils/AppUtil.h"
 #include "storage/Utils/Mockup.h"
@@ -55,6 +57,7 @@
        y2mil("constructed Storage with " << environment);
        y2mil("libstorage-ng version " VERSION);
        y2mil("timestamp " << timestamp());
+       y2mil("codeset " << nl_langinfo(CODESET));
 
        create_devicegraph("probed");
        copy_devicegraph("probed", "staging");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.51/storage/Utils/SystemCmd.cc 
new/libstorage-ng-4.4.53/storage/Utils/SystemCmd.cc
--- old/libstorage-ng-4.4.51/storage/Utils/SystemCmd.cc 2021-10-19 
22:11:56.000000000 +0200
+++ new/libstorage-ng-4.4.53/storage/Utils/SystemCmd.cc 2021-10-26 
09:19:39.000000000 +0200
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2004-2015] Novell, Inc.
- * Copyright (c) [2016-2020] SUSE LLC
+ * Copyright (c) [2016-2021] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <langinfo.h>
 #include <sys/wait.h>
 #include <string>
 #include <sstream>
@@ -59,6 +60,20 @@
     using namespace std;
 
 
+    SystemCmd::Options::Options(const string& command, ThrowBehaviour 
throw_behaviour)
+       : command(command), throw_behaviour(throw_behaviour)
+    {
+       // parted needs UTF-8 to decode partition names with non-ASCII 
characters. Might
+       // be the case for other programs as well. Running in non-UTF-8 is not 
really
+       // supported.
+
+       if (strcmp(nl_langinfo(CODESET), "UTF-8") == 0)
+           env = { "LC_ALL=C.UTF-8", "LANGUAGE=C.UTF-8" };
+       else
+           env = { "LC_ALL=C", "LANGUAGE=C" };
+    }
+
+
     SystemCmd::SystemCmd(const Options& options)
        : options(options), _cmdRet(0), _cmdPid(0)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.51/storage/Utils/SystemCmd.h 
new/libstorage-ng-4.4.53/storage/Utils/SystemCmd.h
--- old/libstorage-ng-4.4.51/storage/Utils/SystemCmd.h  2021-10-19 
22:11:56.000000000 +0200
+++ new/libstorage-ng-4.4.53/storage/Utils/SystemCmd.h  2021-10-26 
09:19:39.000000000 +0200
@@ -57,8 +57,7 @@
         */
        struct Options
        {
-           Options(const string& command, ThrowBehaviour throw_behaviour = 
NoThrow)
-               : command(command), throw_behaviour(throw_behaviour) {}
+           Options(const string& command, ThrowBehaviour throw_behaviour = 
NoThrow);
 
            /**
             * The command to be executed.
@@ -94,9 +93,9 @@
 
            /**
             * Environment variables to override existing environment 
variables. Per
-            * default this includes LC_ALL=C and LANGUAGE=C.
+            * default this includes LC_ALL=C[.UTF-8] and LANGUAGE=C[.UTF-8].
             */
-           vector<string> env = { "LC_ALL=C", "LANGUAGE=C" };
+           vector<string> env;
 
        };
 

Reply via email to