Skip to content

Commit

Permalink
{foxy} libphidget22-upstream: disable debian package names
Browse files Browse the repository at this point in the history
Resolve problem with libphidget22 and Debian package naming rules.

The Debian package naming convention will rename a package after the
shared library name if it is the only thing present in the package.

This resulted in libphidget22-upstream being renamed to libphidget22
and there being 2 sets of packages present with that name.

As a workaround we set AUTO_LIBNAME_PKGS to empty to disable the Debian
naming rules for that package.

Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
robwoolley authored and shr-project committed Nov 19, 2021
1 parent b2394c6 commit 45e1150
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ SRC_URI[patch.sha256sum] = "a29bf26b2e2d51f122f29d17346b69dbbd809182373feb968b55

inherit autotools

# Resulting package can conflict with generated ROS recipe libphidget22, disable debian naming to
# keep libphidget22-upstream PN package name
AUTO_LIBNAME_PKGS = ""

do_configure:prepend() {
# configure.ac uses this to define version (1.4 is taken from configure included in tarball, but autotools.bbclass runs autoreconf which fails without layer_version file)
echo "1.4" > ${S}/library_version
Expand Down

0 comments on commit 45e1150

Please sign in to comment.