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>
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>
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>
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>
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>
* 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>
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>
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>