From unknown Fri Jun 20 07:08:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31327 <31327@debbugs.gnu.org> To: bug#31327 <31327@debbugs.gnu.org> Subject: Status: [PATCH] gnome: add workrave Reply-To: bug#31327 <31327@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:08:59 +0000 retitle 31327 [PATCH] gnome: add workrave reassign 31327 guix-patches submitter 31327 "Jovany Leandro G.C" severity 31327 normal tag 31327 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 01 04:00:17 2018 Received: (at submit) by debbugs.gnu.org; 1 May 2018 08:00:17 +0000 Received: from localhost ([127.0.0.1]:44672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDQCv-0001EC-0O for submit@debbugs.gnu.org; Tue, 01 May 2018 04:00:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDPFZ-0008EY-ME for submit@debbugs.gnu.org; Tue, 01 May 2018 02:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDPFT-0001Tf-5L for submit@debbugs.gnu.org; Tue, 01 May 2018 02:58:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,T_DKIM_INVALID, URIBL_BLACK autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fDPFT-0001Tb-1g for submit@debbugs.gnu.org; Tue, 01 May 2018 02:58:51 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1525157923; bh=9ESLKdG8aSylNVzzLSSquClKowXrY6xbjaLvdzJXyPg=; h=Date:From:To:Subject:From; b=AYk3rqxMD2A0x3WJmC05Qxvg2M+eanQ4KVP58FR3Q6z77m5zyib/eStXL5KgU/Uez cY29pFID8SlaRqJiQsXm3n2DhmahQ6btLSYkzZdxCLdTyhVJZ34CxwemLU5gLrDPME O5sN3384uX/pmZ871u9oW4/PkTSfgCDXJ/30KJco= X-Riseup-User-ID: CAB4AB71D23131F44FDAB2749116560AB8F8E8B6799FD1C53191B02058081EDA 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" To: guix-patches@gnu.org Subject: [PATCH] gnome: add workrave Message-ID: <20180501005811.3cf72280@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 01 May 2018 04:00:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) =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 From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 09:30:09 2018 Received: (at 31327-done) by debbugs.gnu.org; 4 May 2018 13:30:10 +0000 Received: from localhost ([127.0.0.1]:49037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEamh-0003gO-7s for submit@debbugs.gnu.org; Fri, 04 May 2018 09:30:09 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:40150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEame-0003fY-BH for 31327-done@debbugs.gnu.org; Fri, 04 May 2018 09:30:01 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C45D21252F; Fri, 4 May 2018 15:29:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FpUxjRCp2IiO; Fri, 4 May 2018 15:29:58 +0200 (CEST) Received: from ribbon (unknown [193.50.110.223]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B29F31C1D9; Fri, 4 May 2018 15:29:58 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: "Jovany Leandro G.C" Subject: Re: [bug#31327] [PATCH] gnome: add workrave References: <20180501005811.3cf72280@riseup.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Flor=C3=A9al?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 04 May 2018 15:29:58 +0200 In-Reply-To: <20180501005811.3cf72280@riseup.net> (Jovany Leandro G. C.'s message of "Tue, 1 May 2018 00:58:11 -0500") Message-ID: <87in83tup5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Jovany, "Jovany Leandro G.C" skribis: > From 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(+) [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 31327-done Cc: 31327-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Jovany, "Jovany Leandro G.C" skribis: > From 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(+) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Jovany, "Jovany Leandro G.C" skribis: > From 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(+) I applied your patch with the changes below, mostly to placate =E2=80=98guix lint=E2=80=99 and to follow our conventions: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D4e3fdeb7153c05239= ea5bd38cd8f6389dfae5400 In a nutshell, I used the tag name instead of a commit ID for clarity, and derived =E2=80=98version=E2=80=99 from that. The #:modules and #:impor= ted-modules arguments were unnecessary so I removed them. I also replaced =E2=80=98sys= tem*=E2=80=99 by =E2=80=98invoke=E2=80=99, which is the new way to invoking programs from= Scheme. Please let me know if I introduced mistakes in the process. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index d8e95ec27..b8beda365 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -29,6 +29,7 @@ ;;; Copyright =C2=A9 2017 Mohammed Sadiq ;;; Copyright =C2=A9 2017 Brendan Tildesley ;;; Copyright =C2=A9 2017, 2018 Rutger Helling +;;; Copyright =C2=A9 2018 Jovany Leandro G.C ;;; ;;; This file is part of GNU Guix. ;;; @@ -146,6 +147,7 @@ #:use-module (gnu packages virtualization) #:use-module (gnu packages vpn) #:use-module (gnu packages xorg) + #:use-module (ice-9 match) #:use-module (srfi srfi-1)) =20 (define-public brasero @@ -7205,10 +7207,13 @@ mp3, Ogg Vorbis and FLAC") (license license:gpl2+))) =20 (define-public workrave - (let ((commit "2c43758853a862fd125fc1d53faee00a54274078")) + (let ((commit "v1_10_20")) (package (name "workrave") - (version "1.10.20") + (version (string-map (match-lambda + (#\_ #\.) + (chr chr)) + (string-drop commit 1))) (source (origin (method git-fetch) (uri (git-reference @@ -7220,19 +7225,12 @@ mp3, Ogg Vorbis and FLAC") "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 + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'autogen (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + (invoke "sh" "autogen.sh") + #t))))) (propagated-inputs `(("glib" ,glib) ("gtk+" ,gtk+) ("gdk-pixbuf" ,gdk-pixbuf) @@ -7242,12 +7240,10 @@ mp3, Ogg Vorbis and FLAC") ("libxtst" ,libxtst) ("dconf" ,dconf) ("libice" ,libice))) - (inputs `( - ("libsm", libsm) + (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) @@ -7257,9 +7253,9 @@ mp3, Ogg Vorbis and FLAC") ("libxscrnsaver" ,libxscrnsaver) ("gobject-introspection" ,gobject-introspection) ("python2" ,python-2))) - (synopsis "Tool to help Repetitive Strain Injury (RSI)") + (synopsis "Tool to help prevent 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") +prevention of repetitive strain injury (RSI). The program frequently aler= ts +you to take micro-pauses, rest breaks and restricts you to your daily limi= t") (home-page "http://www.workrave.org") - (license gpl3+)))) + (license license:gpl3+)))) --=-=-=-- From unknown Fri Jun 20 07:08:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Jun 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator