Accepting request 676347 from Application:Geo
- Update to version 0.21: * zbarcam-qt: allow selecting codes via GUI interface * When both enabled, ISBN-13 has precedence over ISBN-10 * ZBar is now using Travis CI for continuous integration tests * Convert INSTALL and README to markdown and update them * Improve ZBar testing code and make easier to run the tests * Fix build with Clang * Add simple dbus IPC API to zbarcam. * zbarimg: display only the compiled symbologies * v4l2: make ZBar build and run on Kernels < 3.16 * configure.ac: The pdf417 code is incomplete. Warn about that * Add Debian packaging and Travis CI configuration * Add barcode examples for different supported symbologies * Several improvements at the building system * Add support for SQ code symbology * v4l2: add fallback for systems without v4l2_ext_controls which field * v4l2: use device_caps instead of capabilities * v4l2: make v4l2_request_buffers() more generic * release video buffers after probing and request them again when needed * Ignore ENOTTY errors when calling VIDIOC_S_CROP * doc/Makefile.am.inc: clean html generated files * Add --disable-doc configure option to disable building docs * Fix function protoype to be compatible with recent libjpeg * Wrap logical not operations into parentheses * INSTALL: warn that autoconf should be called before configure * code128: fix error logic * convert: ensure that it will not use a freed value * zbar: use g_thread_new() instead of g_tread_create() * zbargtk: add a missing break * gtk/zbargtk: add a missing check if zbar->window is not null OBS-URL: https://build.opensuse.org/request/show/676347 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zbar?expand=0&rev=8
This commit is contained in:
commit
ee69017e85
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0081a9b473d9e44e029d948a8d7f22deb1bf128980f3fc4e185298066e62a6c
|
||||
size 459018
|
3
zbar-0.21.tar.bz2
Normal file
3
zbar-0.21.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:333f39df453166b60d5a94d2e231bab6baec73183c11c3cf9f4515c214fa6c50
|
||||
size 1092315
|
37
zbar.changes
37
zbar.changes
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 15 08:14:02 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Update to version 0.21:
|
||||
* zbarcam-qt: allow selecting codes via GUI interface
|
||||
* When both enabled, ISBN-13 has precedence over ISBN-10
|
||||
* ZBar is now using Travis CI for continuous integration tests
|
||||
* Convert INSTALL and README to markdown and update them
|
||||
* Improve ZBar testing code and make easier to run the tests
|
||||
* Fix build with Clang
|
||||
* Add simple dbus IPC API to zbarcam.
|
||||
* zbarimg: display only the compiled symbologies
|
||||
* v4l2: make ZBar build and run on Kernels < 3.16
|
||||
* configure.ac: The pdf417 code is incomplete. Warn about that
|
||||
* Add Debian packaging and Travis CI configuration
|
||||
* Add barcode examples for different supported symbologies
|
||||
* Several improvements at the building system
|
||||
* Add support for SQ code symbology
|
||||
* v4l2: add fallback for systems without v4l2_ext_controls which field
|
||||
* v4l2: use device_caps instead of capabilities
|
||||
* v4l2: make v4l2_request_buffers() more generic
|
||||
* release video buffers after probing and request them again when needed
|
||||
* Ignore ENOTTY errors when calling VIDIOC_S_CROP
|
||||
* doc/Makefile.am.inc: clean html generated files
|
||||
* Add --disable-doc configure option to disable building docs
|
||||
* Fix function protoype to be compatible with recent libjpeg
|
||||
* Wrap logical not operations into parentheses
|
||||
* INSTALL: warn that autoconf should be called before configure
|
||||
* code128: fix error logic
|
||||
* convert: ensure that it will not use a freed value
|
||||
* zbar: use g_thread_new() instead of g_tread_create()
|
||||
* zbargtk: add a missing break
|
||||
* gtk/zbargtk: add a missing check if zbar->window is not null
|
||||
- Remove accidentaly introduced build dependency on python2
|
||||
- We no longer need to generate configure
|
||||
- Make building more verbose
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 16:13:22 UTC 2019 - info@paolostivanin.com
|
||||
|
||||
|
56
zbar.spec
56
zbar.spec
@ -13,36 +13,36 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define libname libzbar0
|
||||
%define sover 0
|
||||
%define libname lib%{name}%{sover}
|
||||
Name: zbar
|
||||
Version: 0.20.1
|
||||
Version: 0.21
|
||||
Release: 0
|
||||
Summary: Bar code reader
|
||||
License: LGPL-2.0-or-later
|
||||
Group: Productivity/Other
|
||||
|
||||
URL: http://zbar.sourceforge.net/
|
||||
Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
|
||||
Source98: baselibs.conf
|
||||
|
||||
BuildRequires: ImageMagick-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libv4l-devel
|
||||
BuildRequires: libXv-devel
|
||||
BuildRequires: pkgconfig >= 0.9.0
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: pkgconfig(ImageMagick)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(ice)
|
||||
BuildRequires: pkgconfig(libv4l2)
|
||||
BuildRequires: pkgconfig(sm)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xv)
|
||||
|
||||
%description
|
||||
ZBar reads bar codes from various sources, such as video streams,
|
||||
@ -85,7 +85,8 @@ This package provides ZBar Qt bindings.
|
||||
%package -n lib%{name}qt-devel
|
||||
Summary: Development environment for the ZBar Qt bindings library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: lib%{name}qt0 = %{version}, lib%{name}-devel = %{version}
|
||||
Requires: lib%{name}-devel = %{version}
|
||||
Requires: lib%{name}qt0 = %{version}
|
||||
|
||||
%description -n lib%{name}qt-devel
|
||||
This package contains all necessary include files, libraries,
|
||||
@ -96,28 +97,28 @@ applications using the zbar-qt library.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# for the Mercurial-based archive we need to get proper autoconf files
|
||||
autoreconf -fiv
|
||||
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--disable-static \
|
||||
--without-java \
|
||||
--without-python \
|
||||
--without-python2 \
|
||||
--without-gtk
|
||||
|
||||
# rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%make_install
|
||||
find %{buildroot} -name "*.la" -or -name "*.a" | xargs rm -f
|
||||
rm -rf %{buildroot}/usr/share/doc/zbar-%{version}/
|
||||
rm -f %{buildroot}/usr/share/doc/packages/zbar/{COPYING,LICENSE,INSTALL}
|
||||
rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/
|
||||
rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE,INSTALL}
|
||||
|
||||
# Lets wait for review first
|
||||
rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
|
||||
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
@ -125,7 +126,6 @@ rm -f %{buildroot}/usr/share/doc/packages/zbar/{COPYING,LICENSE,INSTALL}
|
||||
%postun -n libzbarqt0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc NEWS
|
||||
%license COPYING LICENSE
|
||||
%{_defaultdocdir}/%{name}/
|
||||
%{_bindir}/zbarimg
|
||||
@ -134,9 +134,7 @@ rm -f %{buildroot}/usr/share/doc/packages/zbar/{COPYING,LICENSE,INSTALL}
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/libzbar.so.*
|
||||
%exclude %{python2_sitearch}/zbar.so
|
||||
%exclude %{_includedir}/zbar/zbargtk.h
|
||||
%{_libdir}/libzbar.so.%{sover}*
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%doc HACKING TODO
|
||||
@ -155,7 +153,7 @@ rm -f %{buildroot}/usr/share/doc/packages/zbar/{COPYING,LICENSE,INSTALL}
|
||||
%{_libdir}/pkgconfig/zbar.pc
|
||||
|
||||
%files -n lib%{name}qt0
|
||||
%{_libdir}/libzbarqt.so.*
|
||||
%{_libdir}/libzbarqt.so.%{sover}*
|
||||
|
||||
%files -n lib%{name}qt-devel
|
||||
%{_includedir}/%{name}/QZBar*.h
|
||||
|
Loading…
Reference in New Issue
Block a user