Hi Jonanthan, Jonathan H N Chin, on 2022-11-12: > I believe you are building directly from the files on github. > I don't provide the tar release file there. Perhaps I should.
That might be more convenient. That being said, Github has a history of regularly mangling with release pages, resulting in hard to track newer upstream version, due to breakage of automatic scans (or I really should dig deeper in the API, but last time I checked, I didn't find the same information on releases depending on the project, or maybe I just didn't look at the right place). > Building the debian package directly from the findimagesupes file > does not set the `$Id` string inside the code. Because of this, > the `--version` option is failing. > > I set the string when building a tar release file by running > "make dist" to extract the version from git and then patch the code: > > ``` > dist: README.md > git describe --tags > VERSION > ./patchver > [...] > ``` > > `patchver` updates the variable in the code: > > ``` > perl -i -pe 's/^(my \$Id = ).*/$1"'$(cat VERSION)'";/' findimagedupes > ``` Ah, thanks for the reminder, I saw that when strolling through the source code, but forgot to make sure this was applied properly. > -jonathan Thanks for having taken over the development of findimagedupes! Have a nice day, :) -- Étienne Mollier <[email protected]> Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da Sent from /dev/pts/2, please excuse my verbosity.
signature.asc
Description: PGP signature

