Skip to content

Commit

Permalink
{noetic} 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 e9deda7 commit 888b0cb
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] = "9148f91fcbc2a2a123f178c47c3eea1435e6b5926b8e7447cc36

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.7 is taken from configure included in tarball, but autotools.bbclass runs autoreconf which fails without layer_version file)
echo "1.7" > ${S}/library_version
Expand Down

0 comments on commit 888b0cb

Please sign in to comment.