gnunet-qr: Reimplement in C - yet only a proof of concept.
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Sat, 2 Mar 2019 10:00:53 +0000 (11:00 +0100)
committerChristian Grothoff <christian@grothoff.org>
Wed, 3 Apr 2019 11:42:16 +0000 (13:42 +0200)
commitc7ec9cc03a383a33315c9cc126ebbf73135a17cc
treeef09e17d7334a26b4630281c585649ead0728f83
parent63dcaed7c14b636b6175843520f13ba1b9a8ea1b
gnunet-qr: Reimplement in C - yet only a proof of concept.

Still to-do:
* running gnunet-uri
* Proper error handling
* integration into build system (automake)

Reimplementing in C was chosen since
- official zbar python-bindings support python 2 only,
- none of the other bindings available at PyPI supports the high-level
  "processor" interface which gnunet-qr uses
- implementing bindings for zbar using ctypes required addin a lot of
  low-level error handling code, thus implementing in C seamed to be
  easier,
- the programm is short, thus re-implementing is not such complicated, and
- this allows to reduce the number of dependencies (here: another
  Python version), which should ease porting to other plattforms (zbar
  is a dependency anyway).
src/util/gnunet-qr.c [new file with mode: 0644]
src/util/gnunet-qr.in [deleted file]
src/util/gnunet-qr.py [deleted file]