From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDoqd-00081Q-Or for guix-patches@gnu.org; Sat, 20 Oct 2018 06:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDoqY-0004Qs-0B for guix-patches@gnu.org; Sat, 20 Oct 2018 06:51:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDoqU-0004OA-K6 for guix-patches@gnu.org; Sat, 20 Oct 2018 06:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gDoqU-00061J-FM for guix-patches@gnu.org; Sat, 20 Oct 2018 06:51:02 -0400 Subject: [bug#33101] [PATCH] gnu: light: Update to 1.2. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDopy-0007yc-Hf for guix-patches@gnu.org; Sat, 20 Oct 2018 06:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDopt-0003wC-RD for guix-patches@gnu.org; Sat, 20 Oct 2018 06:50:30 -0400 Received: from mout.gmx.net ([212.227.15.19]:59925) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDopq-0003pG-Nw for guix-patches@gnu.org; Sat, 20 Oct 2018 06:50:24 -0400 From: Pierre Langlois Date: Sat, 20 Oct 2018 11:50:13 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33101@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello guix! Here's a patch to update the `light` utility. It looks like upstream has moved to a full GNU build system so we don't need to adapt phases nymore :-). Also, the dependency on help2man was dropped. Thanks! Pierre --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-light-Update-to-1.2.patch Content-Transfer-Encoding: quoted-printable >From 411309b19a678f3f0076bb66f95baab7706cd605 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sat, 20 Oct 2018 11:17:24 +0100 Subject: [PATCH] gnu: light: Update to 1.2. * gnu/packages/linux.scm (light): Update to 1.2. [source]: Switch to url-fetch. [arguments]: Remove. [native-inputs]: Remove help2man. Add autoconf and automake. --- gnu/packages/linux.scm | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6a89caf27..94e7a6d97 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -30,6 +30,7 @@ ;;; Copyright =C2=A9 2018 Pierre-Antoine Rouby ;;; Copyright =C2=A9 2018 Brendan Tildesley ;;; Copyright =C2=A9 2018 Manuel Graf +;;; Copyright =C2=A9 2018 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -4167,29 +4168,19 @@ monitoring tools for Linux. These include @code{mp= stat}, @code{iostat}, (define-public light (package (name "light") - (version "1.1.2") + (version "1.2") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/haikarainen/light") - (commit version))) + (method url-fetch) + (uri (string-append + "https://github.com/haikarainen/light/archive/v" + version ".tar.gz")) (sha256 (base32 - "0c934gxav9cgdf94li6dp0rfqmpday9d33vdn9xb2mfp4war9n4w")))) + "1gfvsw7gh5pis733l7j54vzp272pvjyzbg8a0pvapfmg0s7mip97")))) (build-system gnu-build-system) - (arguments - '(#:tests? #f ; no tests - #:make-flags (list "CC=3Dgcc" - (string-append "PREFIX=3D" %output)) - #:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (add-after 'unpack 'patch-makefile - (lambda _ - (substitute* "Makefile" (("chown") "#")) - #t))))) (native-inputs - `(("help2man" ,help2man))) + `(("autoconf" ,autoconf) + ("automake" ,automake))) (home-page "https://haikarainen.github.io/light") (synopsis "GNU/Linux application to control backlights") (description --=20 2.19.1 --=-=-=--