[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/14: gnu: cpufrequtils: Update to 008.
From: |
guix-commits |
Subject: |
04/14: gnu: cpufrequtils: Update to 008. |
Date: |
Tue, 12 Oct 2021 20:56:48 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 848581ae9b900f0237fc7ab3ab77aa84cd6b2aad
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Oct 12 13:25:46 2021 +0200
gnu: cpufrequtils: Update to 008.
* gnu/packages/linux.scm (cpufrequtils): Update to 008.
[source]: Remove patch.
[arguments]: Add many #:configure-flags to mitigate downgrade from
Autotools. Don't ./configure.
[native-inputs]: Remove unused sysfsutils-1. Add gettext-minimal.
[home-page]: Change to a working mirror.
* gnu/packages/patches/cpufrequtils-fix-aclocal.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
---
gnu/local.mk | 1 -
gnu/packages/linux.scm | 31 +++++++++++----
.../patches/cpufrequtils-fix-aclocal.patch | 46 ----------------------
3 files changed, 23 insertions(+), 55 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index ea27741..c0734c3 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -954,7 +954,6 @@ dist_patch_DATA =
\
%D%/packages/patches/combinatorial-blas-awpm.patch \
%D%/packages/patches/combinatorial-blas-io-fix.patch \
%D%/packages/patches/coreutils-ls.patch \
- %D%/packages/patches/cpufrequtils-fix-aclocal.patch \
%D%/packages/patches/cpuinfo-system-libraries.patch \
%D%/packages/patches/crawl-upgrade-saves.patch \
%D%/packages/patches/crda-optional-gcrypt.patch \
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3f31d24..aa5fbb5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4780,22 +4780,37 @@ also contains the libsysfs library.")
(define-public cpufrequtils
(package
(name "cpufrequtils")
- (version "0.3")
+ (version "008")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/utils/kernel/cpufreq/"
"cpufrequtils-" version ".tar.gz"))
(sha256
- (base32 "0qfqv7nqmjfr3p0bwrdlxkiqwqr7vmx053cadaa548ybqbghxmvm"))
- (patches (search-patches "cpufrequtils-fix-aclocal.patch"))))
+ (base32 "0xjs8j44hh0cz6qpig1n0iw8xjpr6s5qmcmwh965ngapxgarr7af"))))
(build-system gnu-build-system)
- (native-inputs
- `(("sysfsutils" ,sysfsutils-1)))
(arguments
- '(#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))))
- (home-page "https://www.kernel.org/pub/linux/utils/kernel/cpufreq/")
+ `(#:tests? #f ; no test suite
+ #:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list "PROC=false" ; obsoleted by sysfs in Linux 2.6(!)
+ (string-append "CC=" ,(cc-for-target))
+ (string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
+ "INSTALL=install"
+ (string-append "bindir=" out "/bin")
+ (string-append "sbindir=" out "/sbin")
+ (string-append "mandir=" out "/share/man")
+ (string-append "includedir=" out "/include")
+ (string-append "libdir=" out "/lib")
+ (string-append "localedir=" out "/share/locale")
+ (string-append "docdir=" out "/share/doc/" ,name)))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
+ (native-inputs
+ `(("gettext" ,gettext-minimal)))
+ (home-page
+
"http://ftp.be.debian.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html")
(synopsis "Utilities to get and set CPU frequency on Linux")
(description
"The cpufrequtils suite contains utilities to retrieve CPU frequency
diff --git a/gnu/packages/patches/cpufrequtils-fix-aclocal.patch
b/gnu/packages/patches/cpufrequtils-fix-aclocal.patch
deleted file mode 100644
index be5767f..0000000
--- a/gnu/packages/patches/cpufrequtils-fix-aclocal.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Add an extra layer of quoting to ltmain.sh sanity check.
-
---- a/configure 2005-05-07 14:19:31.000000000 +0200
-+++ b/configure 2015-02-10 11:16:32.456146934 +0100
-@@ -6266,7 +6266,7 @@
- exit 1
- fi
- gentoo_lt_version="1.5.16"
--gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e
's|^[:space:]*VERSION=||'`
-+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||'`
- if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
- echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6
---- a/aclocal.m4 2005-05-07 14:19:25.000000000 +0200
-+++ b/aclocal.m4 2015-02-10 11:16:15.352030318 +0100
-@@ -246,7 +246,7 @@
- exit 1
- fi
- gentoo_lt_version="1.5.16"
--gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||'`
-+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||']`
- if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
- AC_MSG_RESULT(no)
- echo
---- a/libcpufreq/configure 2005-05-07 14:19:31.000000000 +0200
-+++ b/libcpufreq/configure 2015-02-10 11:16:32.456146934 +0100
-@@ -6266,7 +6266,7 @@
- exit 1
- fi
- gentoo_lt_version="1.5.16"
--gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e
's|^[:space:]*VERSION=||'`
-+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||'`
- if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
- echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6
---- a/libcpufreq/aclocal.m4 2005-05-07 14:19:25.000000000 +0200
-+++ b/libcpufreq/aclocal.m4 2015-02-10 11:16:15.352030318 +0100
-@@ -246,7 +246,7 @@
- exit 1
- fi
- gentoo_lt_version="1.5.16"
--gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||'`
-+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e
's|^[[:space:]]*VERSION=||']`
- if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
- AC_MSG_RESULT(no)
- echo
- branch master updated (f0c0ef6 -> 4605d4d), guix-commits, 2021/10/12
- 02/14: gnu: Add ntfsfix-static., guix-commits, 2021/10/12
- 06/14: gnu: Rename google-brotli back to brotli., guix-commits, 2021/10/12
- 08/14: gnu: fheroes2: Update to 0.9.8., guix-commits, 2021/10/12
- 09/14: gnu: acpid: Update to 2.0.33., guix-commits, 2021/10/12
- 03/14: linux-initrd: Support checking NTFS volumes on boot., guix-commits, 2021/10/12
- 01/14: gnu: Add ntfs-3g-static., guix-commits, 2021/10/12
- 04/14: gnu: cpufrequtils: Update to 008.,
guix-commits <=
- 05/14: gnu: Remove sysfsutils@1., guix-commits, 2021/10/12
- 07/14: gnu: Remove duplicate python-google-brotli package., guix-commits, 2021/10/12
- 11/14: gnu: astroid: Update to 0.16., guix-commits, 2021/10/12
- 13/14: gnu: apostrophe: Update to 2.5., guix-commits, 2021/10/12
- 10/14: gnu: btrfs-progs: Update to 5.14.2., guix-commits, 2021/10/12
- 12/14: gnu: aqbanking: Update to 6.3.2., guix-commits, 2021/10/12
- 14/14: gnu: gsound: Update to 1.0.3., guix-commits, 2021/10/12