Source: libwacom Version: 1.7-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
libwacom cannot be cross built from source, because its Build-Depends are not satisfiable. Instead of looking into such a difficult problem, I looked into easily droppable dependencies. A good step here is skipping tests as much as possible as they cannot be run during cross builds anyway. To that end, passing -Dtests=disabled helps a lot. A lot of dependencies can thus be annotated <!nocheck>. Please consider applying the attached patch. Helmut
diff --minimal -Nru libwacom-1.7/debian/changelog libwacom-1.7/debian/changelog --- libwacom-1.7/debian/changelog 2020-12-23 11:00:31.000000000 +0100 +++ libwacom-1.7/debian/changelog 2021-01-30 20:46:10.000000000 +0100 @@ -1,3 +1,12 @@ +libwacom (1.7-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Reduce Build-Depends: (Closes: #-1) + + Pass -Dtests=disabled when DEB_BUILD_OPTIONS contains nocheck. + + Annotate test dependencies <!nocheck>. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 30 Jan 2021 20:46:10 +0100 + libwacom (1.7-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru libwacom-1.7/debian/control libwacom-1.7/debian/control --- libwacom-1.7/debian/control 2020-12-23 10:30:36.000000000 +0100 +++ libwacom-1.7/debian/control 2021-01-30 20:46:10.000000000 +0100 @@ -6,12 +6,12 @@ meson, libglib2.0-dev, libgudev-1.0-dev, - libxml2-dev, - python3-libevdev, - python3-pytest, - python3-pyudev, - systemd, - udev, + libxml2-dev <!nocheck>, + python3-libevdev <!nocheck>, + python3-pytest <!nocheck>, + python3-pyudev <!nocheck>, + systemd <!nocheck>, + udev <!nocheck>, Standards-Version: 4.5.0 Vcs-Git: https://salsa.debian.org/debian/libwacom.git Vcs-Browser: https://salsa.debian.org/debian/libwacom diff --minimal -Nru libwacom-1.7/debian/rules libwacom-1.7/debian/rules --- libwacom-1.7/debian/rules 2020-12-23 10:44:33.000000000 +0100 +++ libwacom-1.7/debian/rules 2021-01-30 20:46:10.000000000 +0100 @@ -2,7 +2,7 @@ override_dh_auto_configure: dh_auto_configure -- \ - -Dudev-dir=/lib/udev + -Dudev-dir=/lib/udev -Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),en,dis)abled override_dh_install: find debian/tmp -name '*.la' -delete