Debian Patches

Status for pocketpy/2.1.8+ds-6

Patch Description Author Forwarded Bugs Origin Last update
0001-Add-CMake-install-rules-for-library-and-headers.patch Add CMake install rules for library and headers
Set project VERSION so that the shared library gets the
correct SOVERSION (2) and full version embedded in the filename.

Add GNUInstallDirs-based install() rules under PK_IS_MAIN so that
`cmake --install` places:
- the shared/static library into ${CMAKE_INSTALL_LIBDIR}
- include/pocketpy.h and include/pocketpy/ into ${CMAKE_INSTALL_INCLUDEDIR}
- a generated pocketpy.pc into ${CMAKE_INSTALL_LIBDIR}/pkgconfig

The pkg-config file lets consumers discover the library via
`pkg_check_modules(pocketpy REQUIRED pocketpy)`, which hands back
-I${includedir} (the umbrella include/pocketpy.h) and -lpocketpy,
instead of hand-rolling a Find module and guessing the include dir.

Without these rules the build tree produced no installed files.
Christopher Obbard <obbardc@debian.org> yes 2026-04-04

All known versions for source package 'pocketpy'

Links