serial icon indicating copy to clipboard operation
serial copied to clipboard

Packaging problems: soversion, deps

Open leamas opened this issue 7 years ago • 0 comments

Trying to package the library, running into multiple problems:

  • library lacks so-version
  • library lacks compatibility links
  • The name serial is too generic and clashes with other packages
  • There is no pkg-config .pc file generated.
  • The example code is not installed.

Attaching a patch. Unfortunately. it's pretty invasive, but it fixes the listed issues. As a bonus, the catkit deps are present only in the tests, so it's possible to build the library without these deps (but then without tests).

0001-build-Fix-packaging-issues.patch.gz

EDIT: Forgot to mention that the installation paths options are not documented; I was never able to install into proper locations with the original code. New code uses GNUInstallDirs' well-known paths.

leamas avatar Dec 28 '18 10:12 leamas