jahnf / Projecteur

Linux Desktop Application for the Logitech Spotlight device (and similar devices) - Digital Laser Pointer
MIT License
379 stars 33 forks source link

Feature Request: Please add option to disable compress of man page #126

Closed ConiKost closed 3 years ago

ConiKost commented 3 years ago

I am the maintainer of this package in Gentoo and in Gentoo, we have our own mechanism to compress man pages. This means, the package itself should always install the uncompressed man page and our package manager portage does this automatically while installing. The user can specify, in which format this happens.

I would like to have a switch, that the man page is not compressed during install.

jahnf commented 3 years ago

Hi Conrad, good to know - I created the compressed target as this is the default on Debian based systems. I will add an option - is a CMake option sufficient for that?

ConiKost commented 3 years ago

I will add an option - is a CMake option sufficient for that?

Yes, this will perfectly do it! Since Gentoo is a source based distribution, it will fit! Thanks!

jahnf commented 3 years ago

I added the CMake option COMPRESS_MAN_PAGE, e.g. usable at CMake configuration time with -DCOMPRESS_MAN_PAGE=OFF see 17531ee50b3c789004c9344a6b16a947e10a49a3

ConiKost commented 3 years ago

Thanks. Looks good. Tested and works.

jahnf commented 3 years ago

Perfect, and great that this little utility made its way to gentoo. Thanks for maintaining that package.