Commit graph

77 commits

Author SHA1 Message Date
Mauro Carvalho Chehab
6deccd757c Bump to 0.22.91
Has some build fixes. While here, enable python3 bindings build.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-11 17:06:08 -03:00
Mauro Carvalho Chehab
c9fd939c01 Update to 0.23 release candidate package (0.22.90)
This Release Candidate brings support for Gtk3 and GIR.

Add support for it and create an extra package for GIR.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-11 11:58:33 -03:00
Mauro Carvalho Chehab
7adb3c8dcb Make rpmlint happy
Use tab instead of spaces at the java dependency line
and use the 0.22.2 source that was uploaded to linuxtv.org,
instead of the previous version I used locally in order to
test if Java sources were being packaged with make dist
inside ZBar.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-30 09:40:44 -03:00
Mauro Carvalho Chehab
3912a5c736 Build a package with ZBar java JNI and jar library
Add an extra ZBar package with java libraries, just in case
someone wants to use it inside a Java application.

While here, change config to prefer using ImageMagick instead
of GraphicsMagick, as this is the recommended conversion library.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-30 09:32:43 -03:00
Mauro Carvalho Chehab
02a23e52f1 Update to version 0.22.2, with supports Java 11
The Java library require some different logic in order to build
with Java 11. While I'm not sure when Fedora will migrate to
it, it seems worth to be able to support it now that we added
support for it upstream, as openjdk maintainers can migrate
ZBar to Java 11 smoothless.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-29 10:19:11 -03:00
Mauro Carvalho Chehab
e0125b27b6 Update ZBar sources
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-20 07:14:39 -03:00
Mauro Carvalho Chehab
1aa537a68e Bump to version 0.22
The main focus of this version is to make zbarcam-qt a
full-featured application, allowing to use all ZBar library
features with a GUI interface.

It also comes with an optional new feature to allow inverting
the colors when parsing images. That's specially useful for
QR codes, as it seems that several such barcodes come inverted.

There are also some bug fixes on it.

Sumary of changes:

  * zbarcam-qt: allow changing resolutions in real time
  * zbarcam-qt: better support ZBar options
  * zbarcam-qt: do several visual improvements
  * zbarcam-qt: make it remember the geometry
  * zbarcam-qt: allow show/hide control and options bars
  * zbarcam-qt: remember lastly used settings and camera controls
  * zbarcam-qt: allow changing ZBar decode options via GUI
  * Add API to allow get/set resolutions
  * img_scanner: add handler for color-inverted codes
  * img_scanner: fix get_config parameter validation
  * scan_video: improve logic to remove duplicated/invalid devnodes
  * symbol.c: fix symbol hash logic (prevents crash with QR options)
  * configure.ac: fix an error at libv4l2 package check
  * fix some typos
  * exit gracefully when decoding split QR codes

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-20 07:06:43 -03:00
Mauro Carvalho Chehab
a426834d7f zbar.spec: add dbus-devel dependency
This is needed in order to build ZBar with d-bus support.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-12 13:26:17 -02:00
Mauro Carvalho Chehab
6a7663d714 Bump 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

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-12 12:24:54 -02:00
Fedora Release Engineering
9e88a5e49f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:08:39 +00:00
5dbc4944f4 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:56 +01:00
Mauro Carvalho Chehab
b0a327b728 Increase Fedora packaging number and add a change description
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-07 12:12:15 -02:00
Mauro Carvalho Chehab
97f8445ae5 Disable build for pygtk2 module
The pygtk2 module is orphaned and will be retired from Fedora.
Also, there is a binding for zbar that claims to support both
python2 and python3:
	https://github.com/zplab/zbar-py

Ok, this is currently not packaged on Fedora, but it should be
easy to install it via pip. So, it may not make much sense to
change zbar to have a pygtk3 binding.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-07 11:31:42 -02:00
Hans de Goede
60e4c2b86f Drop zbar_fedora29_hack_for_codegen_to_work.patch now that pygobject2 is
fixed (rhbz# 1606784)
Use %ldconfig_scriptlets so that we don't unnecessarily run ldconfig on F28+
2018-08-09 13:12:38 +02:00
Mauro Carvalho Chehab
ff4c638d36 Re-enable python 2 bindings
Now that it builds with python2, re-enable its bindings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:30:18 -03:00
Mauro Carvalho Chehab
1c1368e0a4 Add requirement for python2-pillow
Some of zbar's python scripts require python2-pillow, in order
to display images.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:17:39 -03:00
Mauro Carvalho Chehab
3353f69d9d Bump to version 0.20.1
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:15:04 -03:00
Mauro Carvalho Chehab
76f84ecfb5 Fix calls to env at python scripts
Remove an extra space introduced by a bad sed expression.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-07 17:31:47 -03:00
Mauro Carvalho Chehab
1a52ec8524 Fix date to allow builds
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-07 17:20:57 -03:00
Mauro Carvalho Chehab
c3e7934c3e zbar: fix build with Fedora 29
There is a bug at pygobject-codegen-2.0 related to its dependency
on having a working /usr/bin/python with prevents zbar to be built.

Add a hack to make it work.

While here, update it to reflect the latest changes at zbar
upstream.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-07 17:19:15 -03:00
Mauro Carvalho Chehab
b61f85891f Get rid of old patches that aren't needed anymore
None of those patches are needed, as they got merged at the
zbar 0.20 version.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-07 16:27:14 -03:00
Mauro Carvalho Chehab
9c48b8c57a Set python via env
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-07 15:06:35 -03:00
53f2cbce7a
%{python_sitearch} → %{python2_sitearch}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-30 00:22:29 +02:00
Fedora Release Engineering
8f63028ae5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:48:35 +00:00
Jason Tibbitts
1b7ace63be Remove needless use of %defattr 2018-07-09 23:14:27 -05:00
Adam Jackson
cc5b455a31 Only build pygtk support on Fedora 2018-05-24 12:50:53 -04:00
Iryna Shcherbina
564f374561 Update Python 2 dependency declarations to new packaging standards 2018-02-14 17:28:07 +01:00
9e080c57c0
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:02:50 +01:00
08e8c3cb2f Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:52:35 +01:00
Fedora Release Engineering
b2260ef693 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:25:11 +00:00
Fedora Release Engineering
7877cf2706 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 11:09:35 +00:00
Fedora Release Engineering
2896e09513 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:41:07 +00:00
Mauro Carvalho Chehab
9dc8307e57 Make rpmlint happy
- Remove weird white spaces;
- don't mix tabs with white spaces;
- Use "bar code" instead of: "barcode".
- Use "e. g." instead of "eg".

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-11 15:04:46 -03:00
Mauro Carvalho Chehab
befb620030 Use the right source file
There was a problem with the older tarball upstream, causing it
to increment version number on a wrong way. This was fixed, but
the new tarball need to be used.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-11 14:59:07 -03:00
Mauro Carvalho Chehab
658da81130 Bump to version 0.20
Point to the new place where we're storing zbar tarballs
and bump it to version 0.20.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-11 14:03:39 -03:00
Mauro Carvalho Chehab
ff06c02600 zbar.spec: add qt5-qtx11extras-devel dependency
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-03 21:09:18 -03:00
Mauro Carvalho Chehab
8793112f34 Fix qt5 dependencies
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-03 17:50:50 -03:00
Mauro Carvalho Chehab
f637bc2280 Generate qt and gtk zbarcam applications
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-26 10:19:21 -03:00
Mauro Carvalho Chehab
7715ab8df2 make zbar-qt to use Qt5
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-26 08:42:45 -03:00
Fedora Release Engineering
8588580711 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:22:55 +00:00
Fedora Release Engineering
b84eafaaf2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:15:30 +00:00
Fedora Release Engineering
93afbf92fd - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 04:04:36 +00:00
Douglas Schilling Landgraf
208e2f5d11 zbar - zbar-0.10-25
Added:
   zbar_configure_ac_use_m4_pattern_allow.patch

Removed:
   zbar_dont_user_reserved_dprintf.patch
2015-08-17 10:37:15 -03:00
Dennis Gilmore
de9d00cc73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:44:55 +00:00
Douglas Schilling Landgraf
7f2721935e Patch: use REQBUFS properly 2015-06-06 20:46:10 -03:00
Kalev Lember
0753972d93 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:51:15 +02:00
c290aab1c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:33:36 +00:00
Dennis Gilmore
93fa0bd723 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:04:46 -05:00
Mauro Carvalho Chehab
c90bcf0d0c zbar: increase version to do a new git build
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-06 08:53:54 -03:00
Mauro Carvalho Chehab
bfab31e9db Discard installed docs
The spec makes those files to install directly from the source
directory, and not from the installed one.

error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/zbar-0.10/COPYING
   /usr/share/doc/zbar-0.10/HACKING
   /usr/share/doc/zbar-0.10/INSTALL
   /usr/share/doc/zbar-0.10/LICENSE
   /usr/share/doc/zbar-0.10/NEWS
   /usr/share/doc/zbar-0.10/README
   /usr/share/doc/zbar-0.10/TODO

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-06 08:45:47 -03:00