From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Paul Schmidt Subject: [PATCH]: xfce4-power-manager: new variable Date: Thu, 3 Dec 2015 15:04:55 +0100 Message-ID: <56604C07.2040900@gmx.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020404030600010701020002" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4UVK-0000xK-7v for guix-devel@gnu.org; Thu, 03 Dec 2015 09:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4UVF-0004sf-Rr for guix-devel@gnu.org; Thu, 03 Dec 2015 09:05:02 -0500 Received: from mout.gmx.net ([212.227.17.22]:54806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4UVF-0004sV-IT for guix-devel@gnu.org; Thu, 03 Dec 2015 09:04:57 -0500 Received: from [192.168.1.247] ([77.8.107.219]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lxdfb-1aKpZj2QNH-017H9j for ; Thu, 03 Dec 2015 15:04:56 +0100 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------020404030600010701020002 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, attached is a patch for a first stab at packaging xfce4-power-manager. Since I used a different package as a base for this one there might be some unneeded inputs. I wonder if you guys have a tip for creating a little scheme snippet that would try all combinations of inputs to determine the minimal set for which ones the package build still succeeds? ;) [lazy flo] From 5ca12ed7fd62792b856aa686e66dfc224e16bf35 Mon Sep 17 00:00:00 2001 From: Florian Paul Schmidt Date: Thu, 3 Dec 2015 14:57:10 +0100 Subject: [PATCH] xfce4-power-manager: new variable --- gnu/packages/xfce.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index e213fb6..41e193a 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -646,6 +646,43 @@ menubar and the window decorations are hidden) that helps you to save space on your desktop.") (license gpl2+))) +(define-public xfce4-power-manager + (package + (name "xfce4-power-manager") + (version "1.4.3") + (source (origin + (method url-fetch) + (uri (string-append "http://archive.xfce.org/xfce/4.12" + "/src/" name "-" version ".tar.bz2")) + (sha256 + (base32 + "04909sfc2nrj2wg9cw6y9y2r9yrp3l3vc201sy1gaiap67fi33h1")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--enable-gtk3"))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("exo" ,exo) + ("garcon", garcon) + ("lbxrandr" ,libxrandr) + ("libwnck" ,libwnck-1) + ("upower" ,upower) + ("libnotify" ,libnotify) + ("libxfce4ui" ,libxfce4ui))) + (native-search-paths + (list (search-path-specification + (variable "X_XFCE4_LIB_DIRS") + (files '("lib/xfce4"))))) + (home-page "http://www.xfce.org/") + (synopsis "Xfce Power Manager") + (description + "Power manager daemon for Xfce and associated settings page. +Controls backlight, power saving, etc.") + ;; Libraries are under LGPLv2.1+, and programs under GPLv2+. + (license (list gpl2+ lgpl2.1+)))) + (define-public xfce (package (name "xfce") @@ -689,6 +726,7 @@ on your desktop.") ("xfce4-session" ,xfce4-session) ("xfce4-settings" ,xfce4-settings) ("xfce4-terminal" ,xfce4-terminal) + ("xfce4-power-manager" ,xfce4-power-manager) ("xfconf" ,xfconf) ("xfdesktop" ,xfdesktop) ("xfwm4" ,xfwm4) -- 2.5.0 Flo --------------020404030600010701020002 Content-Type: text/plain; charset=UTF-8; name="0001-xfce4-power-manager-new-variable.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-xfce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R0cDovL2FyY2hp dmUueGZjZS5vcmcveGZjZS80LjEyIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICIvc3JjLyIgbmFtZSAiLSIgdmVyc2lvbiAiLnRhci5iejIiKSkKKyAgICAgICAgICAg ICAgKHNoYTI1NgorICAgICAgICAgICAgICAgKGJhc2UzMgorICAgICAgICAgICAgICAgICIw NDkwOXNmYzJucmoyd2c5Y3c2eTl5MnI5eXJwM2wzdmMyMDFzeTFnYWlhcDY3ZmkzM2gxIikp KSkKKyAgICAoYnVpbGQtc3lzdGVtIGdudS1idWlsZC1zeXN0ZW0pCisgICAgKGFyZ3VtZW50 cworICAgICAnKCM6Y29uZmlndXJlLWZsYWdzICcoIi0tZW5hYmxlLWd0azMiKSkpCisgICAg KG5hdGl2ZS1pbnB1dHMKKyAgICAgYCgoInBrZy1jb25maWciICxwa2ctY29uZmlnKQorICAg ICAgICgiaW50bHRvb2wiICxpbnRsdG9vbCkpKQorICAgIChpbnB1dHMKKyAgICAgYCgoImV4 byIgLGV4bykKKyAgICAgICAoImdhcmNvbiIsIGdhcmNvbikKKyAgICAgICAoImxieHJhbmRy IiAsbGlieHJhbmRyKQorICAgICAgICgibGlid25jayIgLGxpYnduY2stMSkKKyAgICAgICAo InVwb3dlciIgLHVwb3dlcikKKyAgICAgICAoImxpYm5vdGlmeSIgLGxpYm5vdGlmeSkKKyAg ICAgICAoImxpYnhmY2U0dWkiICxsaWJ4ZmNlNHVpKSkpCisgICAgKG5hdGl2ZS1zZWFyY2gt cGF0aHMKKyAgICAgKGxpc3QgKHNlYXJjaC1wYXRoLXNwZWNpZmljYXRpb24KKyAgICAgICAg ICAgICh2YXJpYWJsZSAiWF9YRkNFNF9MSUJfRElSUyIpCisgICAgICAgICAgICAoZmlsZXMg JygibGliL3hmY2U0IikpKSkpCisgICAgKGhvbWUtcGFnZSAiaHR0cDovL3d3dy54ZmNlLm9y Zy8iKQorICAgIChzeW5vcHNpcyAiWGZjZSBQb3dlciBNYW5hZ2VyIikKKyAgICAoZGVzY3Jp cHRpb24KKyAgICAgIlBvd2VyIG1hbmFnZXIgZGFlbW9uIGZvciBYZmNlIGFuZCBhc3NvY2lh dGVkIHNldHRpbmdzIHBhZ2UuIAorQ29udHJvbHMgYmFja2xpZ2h0LCBwb3dlciBzYXZpbmcs IGV0Yy4iKQorICAgIDs7IExpYnJhcmllcyBhcmUgdW5kZXIgTEdQTHYyLjErLCBhbmQgcHJv Z3JhbXMgdW5kZXIgR1BMdjIrLgorICAgIChsaWNlbnNlIChsaXN0IGdwbDIrIGxncGwyLjEr KSkpKQorCiAoZGVmaW5lLXB1YmxpYyB4ZmNlCiAgIChwYWNrYWdlCiAgICAgKG5hbWUgInhm Y2UiKQpAQCAtNjg5LDYgKzcyNiw3IEBAIG9uIHlvdXIgZGVza3RvcC4iKQogICAgICAgICgi eGZjZTQtc2Vzc2lvbiIgICAgICAgICx4ZmNlNC1zZXNzaW9uKQogICAgICAgICgieGZjZTQt c2V0dGluZ3MiICAgICAgICx4ZmNlNC1zZXR0aW5ncykKICAgICAgICAoInhmY2U0LXRlcm1p bmFsIiAgICAgICAseGZjZTQtdGVybWluYWwpCisgICAgICAgKCJ4ZmNlNC1wb3dlci1tYW5h Z2VyIiAgLHhmY2U0LXBvd2VyLW1hbmFnZXIpCiAgICAgICAgKCJ4ZmNvbmYiICAgICAgICAg ICAgICAgLHhmY29uZikKICAgICAgICAoInhmZGVza3RvcCIgICAgICAgICAgICAseGZkZXNr dG9wKQogICAgICAgICgieGZ3bTQiICAgICAgICAgICAgICAgICx4ZndtNCkKLS0gCjIuNS4w Cgo= --------------020404030600010701020002--