diff options
author | Daniel Lange <DLange@git.local> | 2020-09-15 08:12:11 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-09-15 08:26:05 +0200 |
commit | ceab3a1c5f506ef646db46df8e76d6c3592456db (patch) | |
tree | 6b9180f5ee0730e8f7c85b9e84003863fe7e60eb /debian | |
parent | 8e8165109aca4e3c2a8558653df088d674061c78 (diff) | |
download | debian_htop-ceab3a1c5f506ef646db46df8e76d6c3592456db.tar.gz debian_htop-ceab3a1c5f506ef646db46df8e76d6c3592456db.tar.bz2 debian_htop-ceab3a1c5f506ef646db46df8e76d6c3592456db.zip |
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)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/clean | 2 | ||||
-rw-r--r-- | debian/control | 3 | ||||
-rw-r--r-- | debian/patches/remove-python-build-dependency.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 |
4 files changed, 27 insertions, 4 deletions
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 <dev@sgregoratto.me> +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 |