From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Paul Schmidt Subject: Re: [PATCH]: xfce4-power-manager: new variable Date: Thu, 3 Dec 2015 22:40:50 +0100 Message-ID: <5660B6E2.3090108@gmx.net> References: <56604C07.2040900@gmx.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090301040904060507040504" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4bcW-0000ou-3i for guix-devel@gnu.org; Thu, 03 Dec 2015 16:40:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4bcS-0008TG-1I for guix-devel@gnu.org; Thu, 03 Dec 2015 16:40:56 -0500 Received: from mout.gmx.net ([212.227.15.15]:60092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4bcR-0008Sp-NM for guix-devel@gnu.org; Thu, 03 Dec 2015 16:40:51 -0500 Received: from [192.168.1.247] ([77.8.139.104]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MI5Ve-1a8SRI3pHy-003tJK for ; Thu, 03 Dec 2015 22:40:51 +0100 In-Reply-To: <56604C07.2040900@gmx.net> 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. --------------090301040904060507040504 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Removed some inputs (see attached patch). Seems to still build and run.. Flo On 12/03/2015 03:04 PM, Florian Paul Schmidt wrote: > 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) --------------090301040904060507040504 Content-Type: text/plain; charset=UTF-8; name="0001-xfce4-power-manager-remove-some-inputs.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-xfce4-power-manager-remove-some-inputs.patch" RnJvbSBlMmE5OThkOTNmZTJmOWVhMzA4OWUzNDNlNTVkYmIwYmVkZjdhMGQ4IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBGbG9yaWFuIFBhdWwgU2NobWlkdCA8bWlzdGEudGFw YXNAZ214Lm5ldD4KRGF0ZTogVGh1LCAzIERlYyAyMDE1IDIyOjM5OjE2ICswMTAwClN1Ympl Y3Q6IFtQQVRDSF0geGZjZTQtcG93ZXItbWFuYWdlcjogcmVtb3ZlIHNvbWUgaW5wdXRzCgot LS0KIGdudS9wYWNrYWdlcy94ZmNlLnNjbSB8IDUgKy0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAx IGluc2VydGlvbigrKSwgNCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9nbnUvcGFja2Fn ZXMveGZjZS5zY20gYi9nbnUvcGFja2FnZXMveGZjZS5zY20KaW5kZXggNDFlMTkzYS4uZTU2 OTE2OSAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL3hmY2Uuc2NtCisrKyBiL2dudS9wYWNr YWdlcy94ZmNlLnNjbQpAQCAtNjY0LDEwICs2NjQsNyBAQCBvbiB5b3VyIGRlc2t0b3AuIikK ICAgICAgYCgoInBrZy1jb25maWciICxwa2ctY29uZmlnKQogICAgICAgICgiaW50bHRvb2wi ICxpbnRsdG9vbCkpKQogICAgIChpbnB1dHMKLSAgICAgYCgoImV4byIgLGV4bykKLSAgICAg ICAoImdhcmNvbiIsIGdhcmNvbikKLSAgICAgICAoImxieHJhbmRyIiAsbGlieHJhbmRyKQot ICAgICAgICgibGlid25jayIgLGxpYnduY2stMSkKKyAgICAgYCgoImxieHJhbmRyIiAsbGli eHJhbmRyKQogICAgICAgICgidXBvd2VyIiAsdXBvd2VyKQogICAgICAgICgibGlibm90aWZ5 IiAsbGlibm90aWZ5KQogICAgICAgICgibGlieGZjZTR1aSIgLGxpYnhmY2U0dWkpKSkKLS0g CjIuNS4wCgo= --------------090301040904060507040504--