On 2024-08-29 15:09, Jon Turney via Cygwin-apps wrote:
On 26/08/2024 23:36, Brian Inglis via Cygwin-apps wrote:
ZBar reads bar codes from sources such as video streams,
image files, and raw intensity sensors.
It supports many popular types of bar code symbologies including
EAN-8, EAN-13, UPC-A, UPC-E, Code 39, Code 93, Code 128,
Interleaved 2 of 5, GS1 DataBar (RSS-14), QR Code, and SQ Code.

License:    LGPL-2.1-or-later

For more information see the project home page:

    https://github.com/mchehab/zbar

I have successfully rebuilt the package locally with some patch
adjustments for changes incorporated and new patches for config changes,
some new and changed b-r packages, and pushed to playground:

Thanks very much for looking at this!

You have NMU privileges, so you don't need to adopt this if you're just doing a "drive-by update".

I want to adopt as I use zbar and zint when decoding and encoding bar codes for my own interest, as when we all had to carry and show QR-encoded vaccination "passports" for scanning to get access to some "public" spaces and events. [Despite this I had been blocked from entering a restaurant where I was to meet friends for a meal, because I only had my *legal* "temporary" driver's licence, while waiting to receive its scheduled replacement, and multiple other legal forms of id, so was interested to ensure that would never recur!
We all left for somewhere better, and the place eventually went bust! ;^>]

If you're touching this, can you also do what I should have done and make a versioned python package e.g. python39-zbar, which is required by a virtual python-zbar package (as per the example in https://cygwin.com/packaging/cygport_tips.html).

Thanks for pointing out that tip and the example to follow - I will do that here, and also elsewhere when python bits are involved.
I was more focussed on getting this done for the perl update!

Changes tested successfully locally and pushed:

        https://cygwin.com/cgit/cygwin-packages/zbar/commit/?h=playground

run in scallywag:

https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=zbar&id=8865&user=Brian+Inglis

with same results as locally:

https://github.com/cygwin/scallywag/actions/runs/10629920088/job/29468282882


    https://cygwin.com/git/?p=git/cygwin-packages/zbar.git

built under scallywag GH CI:

    https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=zbar

log at:

https://github.com/cygwin/scallywag/actions/runs/10566715776/job/29274446760

There are the same 3 missing and 3 spurious code matches out of 100,000
tests locally and under scallywag.

Previous version also has:

[28417] SEED=-1466011001: warning: expecting DataBar, got spurious EAN-2
[35442] SEED=-591992353: missing decode: CODE-39 (YP%CC-.)
[64558] SEED=1906143625: missing decode: CODE-128 (41714534408557)
[79042] SEED=-1776449378: missing decode: CODE-39 (Z5EKHI5I6)
[84522] SEED=-966054662: warning: expecting DataBar, got spurious EAN-2
[98350] SEED=1992973531: warning: expecting DataBar, got spurious EAN-2
decoder PASSED with 3 spurious (0.0030%) and 3 missing(0.0030%).

So I think this is the expected result?

Nice that there are undocumented possible XFAILs, unless this is some Cygwin glitch, but unlikely with the other ~100k tests succeeding?

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to