View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3319
Originally Posted by xiskillo View Post
Please, any update?
Sorry for the delay! Of course a year later my memory is kind of blurry, but I remember multiple attempts of trying to backport a (then) recent(ish) libssl. But either the backport failed or it didn't work with netsurf.
Maybe it's time to accept that there comes the point where a 6 years old userspace running on a 13 years old kernel has no future.

That being said, I was recently approached by Maemish, who asked me for an ED Jessie image for the N810, which I had long ago sort of promised. So here it finaly is. [1] I'll contact qole and ask him to add that image to his server. [2]
Code:
$ md5sum debian_jessie2sulu_armel.img.lzma
642c818b5b4a68982596849eb79c8385  debian_jessie2sulu_armel.img.lzma
It should also run on the N900 without kernel-power, the N800 and maybe even on the N770.
Consider this my ED farewell contribution.


On another note, what actually brought me back to ED is, that in light of the pandemic and not owning a recent smartphone myself, which is needed for the various certification apps, I wanted to have the QR code for my "EU Digital COVID Certificate" [3] on my N900.
Of course, the easiest solution would be to just take a photo of the printed QR code and show that photo, but then there will be reflections and all kinds of geometric distortions in the QR code that were present when taking the photo.
So it would be nice to not show the photo of an analogue print of a digital code, but the actual digital QR code itself. Unfortunately I'm not aware of a way to get that directly, but it turns out, digitizing the photo can be done with tools available in Debian (or pretty much any Linux on any computer), even in Jessie:

1. Install the packages "zbar-tools"* and "qrencode":
Code:
apt-get install zbar-tools qrencode
2. Then scan the photo and create a new QR code from it:
Code:
zbarimg -q --raw  INPUT_IMAGE | head --bytes=-1 | qrencode -l Q -v 20 -s 4 -m 5 -o OUTPUT_IMAGE
The tricky part was the "head" comand in the middle, because zbarimg outputs an additional LF which would then be encoded by qrencode, altering and therefore invalidating the QR code.



[1] https://nmldqjct.preview.infomaniak....rfrKV/download
[2] http://qole.org/files/
[3] https://ec.europa.eu/info/live-work-...certificate_en

*) note: zbar-tools in Jessie depends on libmagickwand-6.q16-2. When trying to install that package in ED (armhf), for some reason dpkg-split went into an endless loop. I don't know what went wrong, but I was able to work around that by simply repackaging libmagickwand-6.q16-2 and installing the repackaged package:
Code:
$ dpkg-deb -R libmagickwand-6.q16-2_6.8.9.9-5+deb8u12_armhf.deb libmagickwand-6.q16-2_6.8.9.9-5+deb8u12_armhf && dpkg-deb -b libmagickwand-6.q16-2_6.8.9.9-5+deb8u12_armhf

Last edited by sulu; 2021-12-31 at 09:28. Reason: updated image link from ric9K's post
 

The Following 7 Users Say Thank You to sulu For This Useful Post: