From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDQDi-0007EL-Ar for guix-patches@gnu.org; Tue, 01 May 2018 04:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDQDe-0002fQ-Rn for guix-patches@gnu.org; Tue, 01 May 2018 04:01:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDQDe-0002ew-KJ for guix-patches@gnu.org; Tue, 01 May 2018 04:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fDQDe-0001FN-89 for guix-patches@gnu.org; Tue, 01 May 2018 04:01:02 -0400 Subject: [bug#31327] [PATCH] gnome: add workrave Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDPFR-0006JJ-Hr for guix-patches@gnu.org; Tue, 01 May 2018 02:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDPFN-0001Su-Qm for guix-patches@gnu.org; Tue, 01 May 2018 02:58:49 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55177) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fDPFN-0001Se-FO for guix-patches@gnu.org; Tue, 01 May 2018 02:58:45 -0400 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 8CD581A01CA for ; Mon, 30 Apr 2018 23:58:43 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 306F4A73B6 for ; Mon, 30 Apr 2018 23:58:42 -0700 (PDT) Date: Tue, 1 May 2018 00:58:11 -0500 From: "Jovany Leandro G.C" Message-ID: <20180501005811.3cf72280@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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: 31327@debbugs.gnu.org =46rom 9cf33c43be147546a4e771d1790a919a467ba68f Mon Sep 17 00:00:00 2001 From: "Jovany Leandro G.C" Date: Tue, 1 May 2018 00:50:59 -0500 Subject: [PATCH] gnome: Add workrave --- gnu/packages/gnome.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0147b20c0..beaf9aa8f 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7199,3 +7199,63 @@ into audio files that a personal computer or digital= audio player can play. It supports ripping to any audio codec supported by a GStreamer plugin, su= ch as mp3, Ogg Vorbis and FLAC") (license license:gpl2+))) + +(define-public workrave + (let ((commit "2c43758853a862fd125fc1d53faee00a54274078")) + (package + (name "workrave") + (version "1.10.20") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rcaelers/workrave.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "099a87zkrkmsgfz9isrfm89dh545x52891jh6qxmn19h6wwsi941"))= )) + (build-system glib-or-gtk-build-system) + (arguments + `(#:modules ( + (guix build gnu-build-system) + (guix build python-build-system) + (guix build glib-or-gtk-build-system) + (guix build utils)) + #:imported-modules ( + (guix build python-build-system) + ,@%glib-or-gtk-build-system-modules) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (zero? (system* "sh" "autogen.sh"))))))) + (propagated-inputs `(("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gtkmm" ,gtkmm) + ("glibmm" ,glibmm) + ("libx11" ,libx11) + ("libxtst" ,libxtst) + ("dconf" ,dconf) + ("libice" ,libice))) + (inputs `( + ("libsm", libsm) + ("python-cheetah" ,python2-cheetah))) + (native-inputs `(("glib" ,glib "bin") + ("pkg-config" ,pkg-config) + ("python-setuptools-scm" ,python2-setuptools) + ("gettext" ,gnu-gettext) + ("autoconf" ,autoconf) + ("autoconf-archive" , autoconf-archive) + ("automake" ,automake) + ("libtool" ,libtool) + ("intltool" ,intltool) + ("libxscrnsaver" ,libxscrnsaver) + ("gobject-introspection" ,gobject-introspection) + ("python2" ,python-2))) + (synopsis "Tool to help Repetitive Strain Injury (RSI)") + (description "Workrave is a program that assists in the recovery and + prevention of Repetitive Strain Injury (RSI). The program frequently ale= rts + you to take micro-pauses, rest breaks and restricts you to your daily lim= it") + (home-page "http://www.workrave.org") + (license gpl3+)))) --=20 2.17.0