Hello community,

here is the log from the commit of package zbar for openSUSE:Factory checked in 
at 2020-11-23 16:38:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zbar (Old)
 and      /work/SRC/openSUSE:Factory/.zbar.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zbar"

Mon Nov 23 16:38:04 2020 rev:13 rq:849552 version:0.23.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/zbar/zbar.changes        2019-10-22 
16:42:30.785669110 +0200
+++ /work/SRC/openSUSE:Factory/.zbar.new.5913/zbar.changes      2020-11-23 
19:09:21.610493288 +0100
@@ -1,0 +2,17 @@
+Wed Nov 18 02:54:31 UTC 2020 - Wang Jun <jgw...@suse.com>
+
+- Update to version 0.23.1
+  * Add i18n translation support and add a pt_BR translation
+  * Change default to autodetect python and gtk versions
+  * Some documentation updates
+  * Add support for binary data extraction
+  * Add support for raw decoding without charset conversions
+  * Add one shot scanning mode
+  * Fix help messages
+  * Fix some makefile issues
+  * Fix error detection in video4linux read
+  * Fix pkgconfig for zbar-qt5
+  * Fix a double-free condition
+- Add 0002-get-rid-of-gettext_h.patch
+
+-------------------------------------------------------------------

Old:
----
  zbar-0.23.tar.bz2

New:
----
  0002-get-rid-of-gettext_h.patch
  zbar-0.23.1.tar.bz2

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

Other differences:
------------------
++++++ zbar.spec ++++++
--- /var/tmp/diff_new_pack.NwFNp6/_old  2020-11-23 19:09:22.494494175 +0100
+++ /var/tmp/diff_new_pack.NwFNp6/_new  2020-11-23 19:09:22.494494175 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zbar
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2010 Carlos Goncalves <cgoncal...@opensuse.org>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define sover   0
 %define libname lib%{name}%{sover}
 Name:           zbar
-Version:        0.23
+Version:        0.23.1
 Release:        0
 Summary:        Bar code reader
 License:        LGPL-2.0-or-later
@@ -30,11 +30,8 @@
 Source98:       baselibs.conf
 # PATCH-FIX-UPSTREAM -- https://github.com/mchehab/zbar/pull/63
 Patch0:         0001-Create-correct-pkconfig-file-for-zbar-qt5.patch
-# autoconf/automake required due to patched configure.ac (Patch0)
-%if 0%{?suse_version} >= 1550
-BuildRequires:  autoconf
-BuildRequires:  automake >= 1.16
-%endif
+# PATCH-FIX-UPSTREAM -- 
https://github.com/mchehab/zbar/commit/a133aea7880bbb56d75535e534716d0e16a3b61a
+Patch1:         0002-get-rid-of-gettext_h.patch
 BuildRequires:  libjpeg-devel
 BuildRequires:  pkgconfig >= 0.9.0
 BuildRequires:  xmlto
@@ -50,6 +47,11 @@
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xv)
+# autoconf/automake required due to patched configure.ac (Patch0)
+%if 0%{?suse_version} >= 1550
+BuildRequires:  autoconf
+BuildRequires:  automake >= 1.16
+%endif
 %if 0%{?suse_version} < 1500
 BuildRequires:  gcc7
 %endif
@@ -108,6 +110,7 @@
 %if 0%{?suse_version} >= 1550
 %patch0 -p1
 %endif
+%patch1 -p1
 
 %build
 test -x "$(type -p gcc)" && export CC=$_
@@ -127,6 +130,7 @@
 rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/
 rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE.md,INSTALL.md}
 
+%{find_lang} %{name}
 # Lets wait for review first
 rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
 
@@ -135,7 +139,7 @@
 %post -n libzbarqt0 -p /sbin/ldconfig
 %postun -n libzbarqt0 -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %license COPYING LICENSE.md
 %{_defaultdocdir}/%{name}/
 %{_bindir}/zbarimg

++++++ 0001-Create-correct-pkconfig-file-for-zbar-qt5.patch ++++++
--- /var/tmp/diff_new_pack.NwFNp6/_old  2020-11-23 19:09:22.514494195 +0100
+++ /var/tmp/diff_new_pack.NwFNp6/_new  2020-11-23 19:09:22.518494198 +0100
@@ -13,44 +13,6 @@
  2 files changed, 22 insertions(+), 3 deletions(-)
  create mode 100644 zbar-qt5.pc.in
 
-diff --git a/configure.ac b/configure.ac
-index 935110a..49ef6a8 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -659,15 +659,23 @@ AS_IF([test "x$with_qt" != "xno"],
-      CPPFLAGS="$CPPFLAGS $QT_CPPFLAGS"
- dnl -fPIC has no effect on Windows and breaks windres
-      AS_IF([test "x$win32" = "xno"], [CPPFLAGS="$CPPFLAGS -fPIC"])
--     AC_MSG_NOTICE([using Qt version $QT_VERSION])],
-+     AC_MSG_NOTICE([using Qt version $QT_VERSION])
-+     qt_pkgconfig_file="zbar-qt5.pc"
-+     ],
- 
-     [MOC=`$PKG_CONFIG QtGui --variable=moc_location`
-      AC_MSG_NOTICE([using moc from $MOC])
-      QT_VERSION=`$PKG_CONFIG QtGui --modversion`
--     AC_MSG_NOTICE([using Qt version $QT_VERSION])]))
-+     AC_MSG_NOTICE([using Qt version $QT_VERSION])
-+     qt_pkgconfig_file="zbar-qt.pc"
-+     ]))
- 
- AM_CONDITIONAL([HAVE_QT], [test "x$with_qt" = "xyes"])
- 
-+AM_COND_IF([HAVE_QT],
-+     [AC_CONFIG_FILES([zbar-qt.pc:"${qt_pkgconfig_file}.in"])]
-+)
-+
- dnl Java
- have_java="maybe"
- 
-@@ -820,7 +828,6 @@ java/Makefile
- zbar/Makefile
- zbar.pc
- zbar-gtk.pc
--zbar-qt.pc
- doc/doxygen.conf])
- 
- AC_CONFIG_FILES([test/test_examples.sh],[chmod 755 test/test_examples.sh])
 diff --git a/zbar-qt5.pc.in b/zbar-qt5.pc.in
 new file mode 100644
 index 0000000..3378993

++++++ 0002-get-rid-of-gettext_h.patch ++++++
commit a133aea7880bbb56d75535e534716d0e16a3b61a
Author: Mauro Carvalho Chehab <mchehab+hua...@kernel.org>
Date:   Tue Jul 28 09:47:03 2020 +0200

    zbarcam, zbarimg: get rid of gettext.h
    
    This doesn't seem to be needed at all for translations to
    work. Also, gettext.h uses a different license. So, let's get
    rid of it.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab+hua...@kernel.org>

diff --git a/zbarcam/zbarcam.c b/zbarcam/zbarcam.c
index f7ea281..ad30101 100644
--- a/zbarcam/zbarcam.c
+++ b/zbarcam/zbarcam.c
@@ -35,7 +35,6 @@
 #include <zbar.h>
 
 #ifdef ENABLE_NLS
-#include "../zbar/gettext.h"
 # include <libintl.h>
 # define _(string) gettext(string)
 #else
diff --git a/zbarimg/zbarimg.c b/zbarimg/zbarimg.c
index 0796fd8..d05d832 100644
--- a/zbarimg/zbarimg.c
+++ b/zbarimg/zbarimg.c
@@ -40,7 +40,6 @@
 #include <zbar.h>
 
 #ifdef ENABLE_NLS
-#include "../zbar/gettext.h"
 # include <libintl.h>
 # define _(string) gettext(string)
 #else
++++++ zbar-0.23.tar.bz2 -> zbar-0.23.1.tar.bz2 ++++++
++++ 13435 lines of diff (skipped)
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to