QR-Code-generator icon indicating copy to clipboard operation
QR-Code-generator copied to clipboard

No make install (cpp version)

Open baerbock opened this issue 5 years ago • 8 comments

Dear nayuki,

why have you not included an "install" option for the Makefile https://github.com/nayuki/QR-Code-generator/blob/master/cpp/Makefile ?

baerbock avatar Jul 03 '19 17:07 baerbock

Because I haven't learned how make install works, and because this library is not stable enough to be considered a system library.

nayuki avatar Jul 06 '19 05:07 nayuki

@nayuki Isn't your library getting included into LibreOffice with hundreds of millions of users? I don't have a better proof, but what else is this?

baerbock avatar Jul 06 '19 15:07 baerbock

@baerbock

yes, LibreOffice includes this.

But see the discussion in https://gerrit.libreoffice.org/#/c/73302/ @nayuki is right, this package is not very stable IMHO, let alone because it all is called libqrcodegen.so.1 (which makes them all non-coinstallable and thus Debian seems to have to do https://sources.debian.org/src/qr-code-generator/1.4.0-1/debian/patches/cpp-lib.patch/?hl=25#L25 to have it be able to install parallel.

That it has a check to build against a system library is a given, I am not going to build with a internal library if a system library was readily available. If it wasn't available in Debian I would have probably packaged it myself which then would have been resulted in either a similar patch as above or a bug here ;-) (This libqrcodegencpp is also what LibreOffice checks against right now.)

reneengelhard avatar Jul 28 '19 18:07 reneengelhard

if there will be a make install; it should be for libqrcodegencpp (see my previous comment)

reneengelhard avatar Jul 28 '19 18:07 reneengelhard

This is all way over my head, but thanks for the commentary!

nayuki avatar Jul 28 '19 19:07 nayuki

In a nutshell: see https://github.com/nayuki/QR-Code-generator/issues/63

reneengelhard avatar Jul 28 '19 20:07 reneengelhard

and note the referenced patch (amongst other things) implements make install :-)

reneengelhard avatar Jul 28 '19 20:07 reneengelhard

For future reference:

This library was included in libreoffice in 2019: https://github.com/LibreOffice/core/commit/b4141cade04dac0c9d47293313a4521282975f12 And it was removed (replaced) in 2021: https://github.com/LibreOffice/core/commit/66e88f46f7b9ef7a0b3366805860fd581bed6146

rahiel avatar Jan 03 '23 20:01 rahiel