From ceab3a1c5f506ef646db46df8e76d6c3592456db Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 15 Sep 2020 08:12:11 +0200 Subject: Remove python build dependency * Remove debian/clean as the header files now need to persist (they used to be generated every time via a python script) --- debian/clean | 2 -- debian/control | 3 +-- .../patches/remove-python-build-dependency.patch | 25 ++++++++++++++++++++++ debian/patches/series | 1 + 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 debian/clean create mode 100644 debian/patches/remove-python-build-dependency.patch create mode 100644 debian/patches/series diff --git a/debian/clean b/debian/clean deleted file mode 100644 index 29ab033..0000000 --- a/debian/clean +++ /dev/null @@ -1,2 +0,0 @@ -*.h -*/*.h diff --git a/debian/control b/debian/control index 445a20f..58ec5a7 100644 --- a/debian/control +++ b/debian/control @@ -10,8 +10,7 @@ Build-Depends: debhelper-compat (= 13), libkvm-dev [kfreebsd-any], libncurses5-dev, libncursesw5-dev, - pkg-config, - python3-minimal:native + pkg-config Standards-Version: 4.5.0 Rules-Requires-Root: no Homepage: https://htop.dev/ diff --git a/debian/patches/remove-python-build-dependency.patch b/debian/patches/remove-python-build-dependency.patch new file mode 100644 index 0000000..751f3be --- /dev/null +++ b/debian/patches/remove-python-build-dependency.patch @@ -0,0 +1,25 @@ +From a852fae8e02650d621abdd5aea29b7a56d9a3090 Mon Sep 17 00:00:00 2001 +From: Stephen Gregoratto +Date: Tue, 15 Sep 2020 15:19:55 +1000 +Subject: [PATCH] configure.ac: axe python check + +Now that the automated header script is gone, there's no need for python +now. +--- + configure.ac | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 30834f2..18617c1 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -291,9 +291,6 @@ AC_ARG_ENABLE([werror], [AS_HELP_STRING([--enable-werror], [Treat warnings as er + AS_IF([test "x$enable_werror" = "xyes"], [AM_CFLAGS="$AM_CFLAGS -Werror"]) + AC_SUBST([AM_CFLAGS]) + +-AC_CHECK_PROGS(PYTHON, [python python3 python2]) +-AC_SUBST(PYTHON) +- + # Bail out on errors. + # ---------------------------------------------------------------------- + if test ! -z "$missing_libraries"; then diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a301a3a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +remove-python-build-dependency.patch -- cgit v1.2.3