From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add wmbattery Date: Tue, 17 May 2016 18:58:36 -0400 Message-ID: <20160517185836.4a958607@openmailbox.org> References: <20160404170451.5e21f8f0@openmailbox.org> <20160513122507.127a7227@scratchpost.org> <20160514223851.0615794f@openmailbox.org> <878tz8wg36.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/RPa9cd2MLJX.CoBcXQOAnF/"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qPH-0005sS-4A for guix-devel@gnu.org; Tue, 17 May 2016 21:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2nxM-0004JL-Lm for guix-devel@gnu.org; Tue, 17 May 2016 18:59:20 -0400 In-Reply-To: <878tz8wg36.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --Sig_/RPa9cd2MLJX.CoBcXQOAnF/ Content-Type: multipart/mixed; boundary="MP_/eoNFGQ/kOQzU05LoM6NQtyE" --MP_/eoNFGQ/kOQzU05LoM6NQtyE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 17 May 2016 23:05:17 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Kei Yamashita skribis: >=20 > > Until the patch is applied upstream, this patch should keep things > > in order within Guix. =20 >=20 > Good idea. >=20 > > From e07912c6b5ea2ff45d5b923dccad26fef3ca932d Mon Sep 17 00:00:00 > > 2001 From: Kei Yamashita > > Date: Sat, 14 May 2016 22:27:15 -0400 > > Subject: [PATCH] gnu: wmbattery: Add `patch-upower' phase. > > > > * gnu/packages/gnustep.scm (wmbattery): Add `patch-upower' phase. =20 >=20 > Could you make this a =E2=80=98snippet=E2=80=99 in the origin? I think t= hat such > source modifications should be either plain patches, or snippets. >=20 > Thanks! >=20 > Ludo=E2=80=99. Like attached? --=20 Kei (GPG Key: 4096R/E6A5EE3C19467A0D) --MP_/eoNFGQ/kOQzU05LoM6NQtyE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-wmbattery-Add-patch-upower-phase.patch =46rom b0729d68e78906c0b750935c17a6d98bfac981cf Mon Sep 17 00:00:00 2001 From: Kei Yamashita Date: Tue, 17 May 2016 18:52:16 -0400 Subject: [PATCH] gnu: wmbattery: Add `patch-upower' phase. * gnu/packages/gnustep.scm (wmbattery): Add `patch-upower' phase. --- gnu/packages/gnustep.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm index 31fca5b..1faf117 100644 --- a/gnu/packages/gnustep.scm +++ b/gnu/packages/gnustep.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2014 Ludovic Court=C3=A8s -;;; Copyright =C2=A9 2016 Kei Yamashita +;;; Copyright =C2=A9 2016 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -101,7 +101,13 @@ interface. It is fast, feature rich, easy to configur= e, and easy to use.") version ".orig.tar.gz")) (sha256 (base32 - "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44")))) + "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44")) + (modules '((guix build utils))) + (snippet + '(substitute* "upower.c" + (("up =3D up_client_new\\(\\);") + (string-append "if (!up)\n" + " up =3D up_client_new();= ")))))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no "check" target --=20 2.7.4 --MP_/eoNFGQ/kOQzU05LoM6NQtyE-- --Sig_/RPa9cd2MLJX.CoBcXQOAnF/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXO6IcAAoJEOal7jwZRnoNSgsQAI5Ztyd1854K/h8piN30fT2H 1GLwI7RNx6uQW3pl964BKFzClH7WRWU8psomeHvGHm6wfqFWDIsHOwR/CPQhlDTS rdwySs7iOIjoFZ+dh3blelkIsULWJQFYdLY23f9lVX1kblqIN155kFTKysBHUf7J EE23jjMAKRe2kZ/mpX/EKrJcs2AP64mp7YAFIg0rpbOZgMnaPFVBDEdPPeYI1/Ms kTv5ekWDhAy4JW0IJQWKSvtJEO1WFK8H6wr4XioinsK+ueOPzIDpB5vflyGbzUPN fWcoNeEZAhULFVX7zstcC9JKDDrvZba6caTkRJiU6hJ/5d37SM7Ij08kbXbQ4HZF iE/FK3Vv0HVrGCf1i/zFCeQG/ELbawLx3O2IUwwf1yV2fhEv/sB2qMJ8kciVvhSd SxlKrWCV/cOpXV8fgFjmtcWBEEWkrr4c7AbQexF2V/QFNovgYLWrcJfuW/32V3VS Xry7IBsxqzw2rNz8v15zneKRmHbdQiKvJ4EmQV594q1erk5DEeBi0RZBNoABGsI3 Ft25wYJooPwYZRAHEKmYYrje1O0Ti0fCOdib0ysOiU2yzvq2OfqdaOuLObz1mU3V NvbIkh55A/OJzm6yGLun4TIrC8lp2HJeLRyIkncANuYyj2Jb/OK6pfBlR1EzvcPd Hnt9qHA38zUx8vr40Fww =Id7s -----END PGP SIGNATURE----- --Sig_/RPa9cd2MLJX.CoBcXQOAnF/--