From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KPEGHGZ8OV9WDgAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 18:35:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cDT9F2Z8OV8KQQAA1q6Kng (envelope-from ) for ; Sun, 16 Aug 2020 18:35:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B828B94051D for ; Sun, 16 Aug 2020 18:35:17 +0000 (UTC) Received: from localhost ([::1]:49254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7NUy-0000nY-Ej for larch@yhetil.org; Sun, 16 Aug 2020 14:35:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7NUk-0000m4-Pr for guix-patches@gnu.org; Sun, 16 Aug 2020 14:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7NUk-0006OY-H5 for guix-patches@gnu.org; Sun, 16 Aug 2020 14:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7NUk-0002Gt-DP for guix-patches@gnu.org; Sun, 16 Aug 2020 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42892] [PATCH] gnu: Add emacs-fancy-battery. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42892 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42892@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.15976028678685 (code B ref -1); Sun, 16 Aug 2020 18:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2020 18:34:27 +0000 Received: from localhost ([127.0.0.1]:58469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7NUB-0002G1-K0 for submit@debbugs.gnu.org; Sun, 16 Aug 2020 14:34:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:51228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7NU8-0002Fs-Jl for submit@debbugs.gnu.org; Sun, 16 Aug 2020 14:34:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7NU8-0000aH-DM for guix-patches@gnu.org; Sun, 16 Aug 2020 14:34:24 -0400 Received: from mout.gmx.net ([212.227.17.20]:51953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7NU6-0006Lk-8j for guix-patches@gnu.org; Sun, 16 Aug 2020 14:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1597602860; bh=nmGlhhlBkA1nLbQKuIRdWhCagWSQ8GoNOaDSCVlIcVo=; h=X-UI-Sender-Class:From:To:Subject:Date; b=EVfhjSdc6Dj8uJWz/JYqhC2JCvuM4CAvbwb8DcdkHxiPFqSyYhoeshLCzquHC97gK 2NpeTBjTawKeYa5BQQw1bU2o6KOacFjOTdn3oOqAztxFLUh+ypP3yb2q2bUuFRuKJC wyA7ioougZLWsz1vy8IltlFcPC4b2NOVRMIej4Rc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mw9QC-1kzL7A0sWi-00sAau for ; Sun, 16 Aug 2020 20:34:20 +0200 User-agent: mu4e 1.4.13; emacs 26.3 From: Pierre Langlois Date: Sun, 16 Aug 2020 19:34:19 +0100 Message-ID: <87364ml9sk.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:alwtuCZ0ogSmSv0HFMLV/GftJQO8vH6tR3bSOUFnN+Rna8uzH2g m0/CLm6oFkEhGVb9sEI6nUSETLG7aEc+HMBhfJTLkQgypSt9fVNPKwUe4EvmwzDWPK1AKem 7PLKcjQbmaXAtO+oyra2cjlREtnNJdhP8MX4FHuNfszGPAcTTbk2Sd9NTGCKoFzyXCaqyH7 3tTu+21fAyMQ7RdOm0FwQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:zkmUDOOIGFY=:Ez99DfkO46Plb7aHLgqP7c 7gHNjAzc8lVQ/AWnXyDPLS5bQ6PHqVOnNULojqPsikTkpPDNVJpWpzcFL8h/CSgz61xEJOzQ2 DMaVdv99Cg2zT2sWXDLa9uuvqnOsH4CnnGIN6WW9RGZ6A2WzzPt9F92vSZB8L8RpsCczTL8lR ZKJ7trbnxh9JzfKxlNnv2j3SQK0bq30F4piija8a/usxtTjcIkERFHr1KEF67nM5P7uuXy8xt r0lc7J9KMomT5DKke9mvMScXkPal144Cv/LUgei6R6Dlvs9KDIfl+gIEnm+AAIeL0W7G7ES/D mZh2T1Y0xy7DM65S+2VEz/h7wQHeXu8+fkWnG+kC5JD+MVeSgUQYmLmz6dSU6og8IGygvPuJw VYrIba2qG++3IyDZeAGVW4kuh7V1WGLynRyLHifVRYEmEwFklZkgV95KY6RP9rStnyBeD5WR4 g1z/o4tIOoNmN5z4xyxS/49Ugb825CzD/PIV1ICOM8S5OKPxuuo0uqkgMYet62hF3mddW7CFW CfmHCXTtzp3MJCuj5w9cVExvyZFFBR2m48LYi0Nx7+Z+GdXVWSS0c8NgYruycI7eWLIMGJi1V ZwY+6A4xTIHQqBMaZO5EJGFt2cgH6CGlHfF14FagmbHYojnRuK2wHJrtF3ixeTTNS/ei7Cape Qkj19Lf8JDCpDrw5sXwSBf//Ojvm/VzL65l1HW44+bV52b51/mWblrg6wLo4Jewc0+YGO2Lbu Z3OFxtF+oYLk/hX7hjlsQw4JaIhItRfcOvFWVafgeatOESm2hAP35dJpyOS5hJtJCHIOOebdn pdaQFBy8oaQXNf/XNaMNpPeYfClO3M+by4PNdr9peLmA4xm2Qq03tVuH8s3+6XBDUNAX1VtKq +C3xAHaeJcqhI3mKTnwJpFpX1Cy7SYp5hc64303zEeux9FExtx4IVuy7bCBClRPpgMDdk1nJZ c0bMSOVPucb07maFcXK2JaUDTW2PbREBCkO/eViAVtyFt2dnWXXBx7XM1xhX9GhBSub5U6B12 F2DgRkjUzq7aOx7wNmymUEweftEfV16TRdFy/CsIMLu7js/iLg/xdyeC0WqA2Me0TIojiDHah ZgvFS+ITLBZWRxtsSVse8+aivQz5LKGe9zTNu9HieNo4h+q40RZ3p0cc9qy8wab4AFhmByiXi yy1lvdHqEOJkR9sPiNhXeO6WY62ltzX5dLRiXoIAgQpAw7B3hk4fYRI1SSV7u1M6tFWzKzGo8 XpFM/IyFSEob1zx8N+r2Oyh0C8BrORI9/vHt8nQ== Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/16 14:34:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=EVfhjSdc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 9YMoxOMflQ2I --=-=-= Content-Type: text/plain -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello Guix! Here's a quick patch adding the "emacs-fancy-battery" package. It's unmaintained I'm afraid, but it does work and is supported by spaceline (https://github.com/TheBB/spaceline#fancy-battery) so it's quite nice to have. Thanks, Pierre -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAl85fCsACgkQqPyeRH9P fVS8Hgf+PAE5GkUUAgzKdCeMwGvH+h5Ti+FpDB4SyYq/d/Wc036jp2d/Un6ArrJu y1VpebETJ/tnKxk/jEeuZhy6qCsrBZXO9L3ptIXh5OTjppczNLSaCiM9QMXJwXxO Nj9JWbZIi3jXyJ30nBZNLe+QGn8XuDD7b92FMbWLwtZz2Aa3RTQb/jJkKu+qzfAk 4n4OcFAbv0NgyfhCN8UUAj8l87SDew3iG3P3w1GTLPKY/v9Na6eAvHnwkCEeGPO+ bh9njVgdHhPJghcvJRPlzMykCn5j1yHYObblYceEbMgI9INX3ExNrwr2yqcyrW0Y e9U+aPFT9/jKKs+Gr3hgNt24T8HsLQ== =5Og7 -----END PGP SIGNATURE----- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-fancy-battery.patch Content-Transfer-Encoding: quoted-printable =46rom bb53286fef234f0ff6ea45c2cae9741ed31e7e84 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sun, 16 Aug 2020 19:19:09 +0100 Subject: [PATCH] gnu: Add emacs-fancy-battery. * gnu/packages/emacs-xyz.scm (emacs-fancy-battery): New variable. =2D-- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 79157e28e9..4dd3af104c 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15461,6 +15461,28 @@ files.") duplicate hook and function names further into a single declarative call.= ") (license license:gpl3+))) +(define-public emacs-fancy-battery + (package + (name "emacs-fancy-battery") + (version "0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacsorphanage/fancy-battery") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05lwcwf412m717yhwpjrswqkm8c3i7391rmiwv2k8xc1vk6dpp4g")))= ) + (build-system emacs-build-system) + (home-page "https://github.com/emacsorphanage/fancy-battery") + (synopsis "Display battery status in Emacs mode line") + (description "This package provides @code{fancy-battery-mode} which i= s +like the built-in @code{display-battery-mode}, but more fancy. It just t= he +remaining time, uses colours to indicate the status of the battery, and i= s +more customizable.") + (license license:gpl3))) + (define-public emacs-fancy-narrow (package (name "emacs-fancy-narrow") =2D- 2.28.0 --=-=-=--