From a38d072d8416719aabe7094f2d2021ad6f1cf95f Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Mon, 6 Nov 2023 16:02:53 -0600 Subject: [PATCH] Fix an arch-dependency issue --- debian/changelog | 6 ++++++ debian/patches/fix-arch-dependence.patch | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/fix-arch-dependence.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index ebc0663..9460d30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lxqt-menu-data (1.4.0-0ubuntu2) UNRELEASED; urgency=medium + + * Make the package arch-independent + + -- Aaron Rainbolt Mon, 06 Nov 2023 10:27:06 -0600 + lxqt-menu-data (1.4.0-0ubuntu1) noble; urgency=medium * Initial release. diff --git a/debian/patches/fix-arch-dependence.patch b/debian/patches/fix-arch-dependence.patch new file mode 100644 index 0000000..7876a59 --- /dev/null +++ b/debian/patches/fix-arch-dependence.patch @@ -0,0 +1,22 @@ +Description: Fix arch-dependence issues + lxqt-menu-data is arch-independent, however the main CMakeLists.txt file + is configured improperly and is generating an arch-dependent config file. + This is causing build failures for users of lxqt-menu-data on 32-bit arches + like armhf. Fix the configuration issue. +Author: Aaron Rainbolt +Origin: vendor +Bug: https://github.com/lxqt/lxqt-menu-data/issues/17 +Forwarded: not-needed +Last-Update: 2023-11-06 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -36,6 +36,7 @@ write_basic_package_version_file( + "${CMAKE_BINARY_DIR}/${LXQT_MENU_DATA_CMAKE_NAME}-config-version.cmake" + VERSION ${LXQT_MENU_DATA_VERSION} + COMPATIBILITY AnyNewerVersion ++ ARCH_INDEPENDENT + ) + + install(FILES diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2b7aadf --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-arch-dependence.patch