From unknown Tue Jun 17 01:41:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34579] [PATCH] services: desktop: Fix define for the upower-service procedure. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Feb 2019 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34579@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15506096817146 (code B ref -1); Tue, 19 Feb 2019 20:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 20:54:41 +0000 Received: from localhost ([127.0.0.1]:55641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCPZ-0001rB-FO for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCPW-0001qx-GZ for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:47399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwCPR-0005HW-4c for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCPQ-0006Eo-Ci for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCPO-0005GC-7B for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:32 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:59194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCPM-0005FE-TB for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:29 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 617C816C69 for ; Tue, 19 Feb 2019 20:54:26 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 38ebc411 for ; Tue, 19 Feb 2019 20:54:26 +0000 (UTC) From: Christopher Baines Date: Tue, 19 Feb 2019 20:54:26 +0000 Message-Id: <20190219205426.29447-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) 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: -0.0 (/) * gnu/services/desktop.scm (upower-service): Fill in the replacement for upower-service. --- gnu/services/desktop.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index ce63969dc8..7940f28a26 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -306,6 +306,7 @@ used by GNOME.") (time-critical 300) (time-action 120) (critical-power-action 'hybrid-sleep)= ) + upower-service-type "Return a service that runs @uref{http://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and batt= ery levels, with the given configuration settings. It implements the --=20 2.20.1 From unknown Tue Jun 17 01:41:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34579] bug#34567: Bogus 'upower-service' deprecation message Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Feb 2019 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mark H Weaver Cc: 34567@debbugs.gnu.org, 34579@debbugs.gnu.org Received: via spool by 34579-submit@debbugs.gnu.org id=B34579.155061071316530 (code B ref 34579); Tue, 19 Feb 2019 21:12:02 +0000 Received: (at 34579) by debbugs.gnu.org; 19 Feb 2019 21:11:53 +0000 Received: from localhost ([127.0.0.1]:55659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCgD-0004IS-4m for submit@debbugs.gnu.org; Tue, 19 Feb 2019 16:11:53 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:49198 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCg9-0004IA-Du; Tue, 19 Feb 2019 16:11:50 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 5A78516C6B; Tue, 19 Feb 2019 21:11:48 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 918b11bf; Tue, 19 Feb 2019 21:11:48 +0000 (UTC) References: <87va1gqqc0.fsf@netris.org> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <87va1gqqc0.fsf@netris.org> Date: Tue, 19 Feb 2019 21:11:43 +0000 Message-ID: <87ftsjh4a8.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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.0 (-) --=-=-= Content-Type: text/plain Mark H Weaver writes: > My OS config includes a reference to 'upower-service', which is now > deprecated, but the deprecation message is bogus: > > mhw@jojen ~$ guix system build /etc/config.scm --verbosity=1 > /etc/config.scm:149:19: warning: 'slim-service' is deprecated, use 'slim-service-type' instead > /etc/config.scm:156:19: warning: 'upower-service' is deprecated, use 'Return a service that runs @uref{http://upower.freedesktop.org/, > @command{upowerd}}, a system-wide monitor for power consumption and battery > levels, with the given configuration settings. It implements the > @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME.' instead > building /gnu/store/nwdjz1mkvcc4ic65mgw5i94ig3qzp8kf-libjpeg-turbo-2.0.2.tar.gz.drv... > [...] Haha, that is quite bogus. I didn't realise define-deprecated took two arguments. I've sent a patch to fix this here [1]. 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34579 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxscQ9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcgEA//dkNDv91YnLPfn9W3nP42ekaH+Zb9JAEiD5I3n3AjdZHztNsi5p+qhqUv 01U9OtiMEEHAu4U4AZQZJpXXJUctNIt58AVKJ72iGbEA/vTR6/bcW8r4zu0fg4u3 yFGqY9pnmS7e3mW3LoCXJu2HJpUhDBGo3HEpycO6ofJZsrLYJz9xikXy4QVBkNSC TZkizc6lsUsvb5jR5QLiGtgjhWcD97oEZ0Vu37cXaERWgcWxKKqC922KAcd/nrCf ju0jj3VQHRAAJVSZEMpdGGPbIDaNqkcGJNzhvTXVkQyAWPm3TS2beDU5xkFU5tQu 7wlzDsdCY9SUaDfLshVW+ukt8K1QyWRb0u5YGf9m6YJ7jL5V276cjV5tBtJAG+as djZD8TMeroC5thRjN+aLiMF03LxSgF3JzT4VXFic0zaZ/Hlui7vgB8oiWz4rJnKT BKOmWA/j1WOP614MEMb9hwIvLFSGIXNJkGkE3BCe/YZ0Gv/YBM8iiFzR3TWdgRG1 Kqe3bUlvJG3T5rcXGgq25OoOndon/U+OsX+3kjDIoUM/audjq0wAPQC+0e5VFYfw Lopd38bvGiNJC7ix7o0gvTVZCTfOdiQSzCO9sqHCeExFsah2lu21dhWnYZRqjRgp ikh9Fnvmbtq16lJR5hqLe2vva81vJ8okXgeylt+8SRoMSb8jsvo= =aj5h -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:41:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34579] [PATCH] services: desktop: Fix define for the upower-service procedure. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Feb 2019 11:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34579@debbugs.gnu.org Received: via spool by 34579-submit@debbugs.gnu.org id=B34579.155066392313986 (code B ref 34579); Wed, 20 Feb 2019 11:59:01 +0000 Received: (at 34579) by debbugs.gnu.org; 20 Feb 2019 11:58:43 +0000 Received: from localhost ([127.0.0.1]:57241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwQWR-0003dW-63 for submit@debbugs.gnu.org; Wed, 20 Feb 2019 06:58:43 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwQWP-0003dO-9r for 34579@debbugs.gnu.org; Wed, 20 Feb 2019 06:58:41 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1550663913; cv=none; d=zoho.com; s=zohoarc; b=b6WfUbtXmUr43dkSKCb+8rhgFZ0P3pTXOHeDyrBi1vpiJiWT7t1SCNI4oanqS9VhTsugwXa1MHYNlVwL+X9aYM/DPpUJo55Kl4nEa0/xjkc3zlbY2jx+Kd0r2DrhmfhN+aiabVVkTgwVy6GkdpTKgUHOT5v9vEiBxb2L+zBVASA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1550663913; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=NiS0WKngIVXEr4WlMC1YQalnz791RC9J/StOYd1IIqg=; b=RAWHhaiiXXN/IEJtpIu1+EpYFgoeVoDtcB9komvUvI7L8xZ4JUrseugfuVj6X4kcAsaWPu80KK0a9HbYjtOvMKVcVjkYxipIlod95MSV7XDAugSncPJf4FBHNKxJsnfut5A0K6kMV09fi2v29cWzLFf0pm3EN4eHX/JJR/kZn/A= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1550663913; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=810; bh=NiS0WKngIVXEr4WlMC1YQalnz791RC9J/StOYd1IIqg=; b=D4UIIAtiuI/cnjuEuU2ME87nYMU2ssJSoOpRGkmQLT2EJ5JyFBUxJbhrn4KSqBkG v1Tal5il5eogsh7r/JnbtrqAYseYqgmUO256sXRUDtLoRdxpKub+usmdsCDVmYO6msy iHcpyszV79x2LkxWZ0PWamIapVs12iuwY5WCibeA= Received: from localhost (141.80.247.231 [141.80.247.231]) by mx.zohomail.com with SMTPS id 1550663911903493.8576824074406; Wed, 20 Feb 2019 03:58:31 -0800 (PST) References: <20190219205426.29447-1-mail@cbaines.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus In-reply-to: <20190219205426.29447-1-mail@cbaines.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 20 Feb 2019 12:58:28 +0100 Message-ID: <87pnrmu0wr.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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.0 (-) Christopher Baines writes: > * gnu/services/desktop.scm (upower-service): Fill in the replacement for > upower-service. > --- > gnu/services/desktop.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm > index ce63969dc8..7940f28a26 100644 > --- a/gnu/services/desktop.scm > +++ b/gnu/services/desktop.scm > @@ -306,6 +306,7 @@ used by GNOME.") > (time-critical 300) > (time-action 120) > (critical-power-action 'hybrid-sleep)) > + upower-service-type > "Return a service that runs @uref{http://upower.freedesktop.org/, > @command{upowerd}}, a system-wide monitor for power consumption and battery > levels, with the given configuration settings. It implements the Looks fine to me. Thanks! -- Ricardo From unknown Tue Jun 17 01:41:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#34579: closed (Re: [bug#34579] [PATCH] services: desktop: Fix define for the upower-service procedure.) Message-ID: References: <871s3whn5s.fsf@cbaines.net> <20190219205426.29447-1-mail@cbaines.net> X-Gnu-PR-Message: they-closed 34579 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 34579@debbugs.gnu.org Date: Sun, 24 Feb 2019 21:50:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1551045002-11324-1" This is a multi-part message in MIME format... ------------=_1551045002-11324-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34579: [PATCH] services: desktop: Fix define for the upower-service proced= ure. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34579@debbugs.gnu.org. --=20 34579: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34579 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1551045002-11324-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34579-done) by debbugs.gnu.org; 24 Feb 2019 21:49:55 +0000 Received: from localhost ([127.0.0.1]:50594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gy1el-0002wI-1R for submit@debbugs.gnu.org; Sun, 24 Feb 2019 16:49:55 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:52552 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gy1ei-0002w9-Od for 34579-done@debbugs.gnu.org; Sun, 24 Feb 2019 16:49:53 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id AB21216C9D; Sun, 24 Feb 2019 21:49:51 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6462012c; Sun, 24 Feb 2019 21:49:51 +0000 (UTC) References: <20190219205426.29447-1-mail@cbaines.net> <87pnrmu0wr.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: Ricardo Wurmus Subject: Re: [bug#34579] [PATCH] services: desktop: Fix define for the upower-service procedure. In-reply-to: <87pnrmu0wr.fsf@elephly.net> Date: Sun, 24 Feb 2019 21:49:51 +0000 Message-ID: <871s3whn5s.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34579-done Cc: 34579-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.0 (-) --=-=-= Content-Type: text/plain Ricardo Wurmus writes: > Christopher Baines writes: > >> * gnu/services/desktop.scm (upower-service): Fill in the replacement for >> upower-service. >> --- >> gnu/services/desktop.scm | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm >> index ce63969dc8..7940f28a26 100644 >> --- a/gnu/services/desktop.scm >> +++ b/gnu/services/desktop.scm >> @@ -306,6 +306,7 @@ used by GNOME.") >> (time-critical 300) >> (time-action 120) >> (critical-power-action 'hybrid-sleep)) >> + upower-service-type >> "Return a service that runs @uref{http://upower.freedesktop.org/, >> @command{upowerd}}, a system-wide monitor for power consumption and battery >> levels, with the given configuration settings. It implements the > > Looks fine to me. Thanks! Great, I've pushed this to master now as bb65f66ce0e5feee2d997a8526e10fc9f31e97fd. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxzEX9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeyKw/+ILJYs+wx3jw7E+gd3zaxI39BCEUM5wdbCVrLt6a/D+rz/w99znlJEMal Tr9quFYTb2x1KSpdbuGYwv7X2G9E3hCEzAQAdrwo6B1JChhxZOpJDAiaZ+tBiN4X 980aB1jXlp47IZ/j+TmX8Bt9KFiwZwEbioxKLkcNr+ZakzP7qDWK+5nJY4S0c9BW GzEmxUwESvE5ipnFIQbnmTcdYF4h7hpMiQ34N4I3FS0KHJV1JKSTzodkYUtxiLCb pvRfHeQKFpLTATdx7vyRe2QZ07bKDZCMPk68G6+PkaNhZnamgftHn1TY2cB9onyC CH7RTfaOrAoPIF+aje4ut5HcjieSyQiJov4KRPYHZD8GhvzhgzB85jy3XhwIFM7A Ryx8LWeSEYhUWWVyA1mI7JF61xCaei9YiKcUo2wESu/ICzALlIi1yfE12QiItdeq LiFshw2n5K0nEzWLL5vLPhz+O1JOTaNDHHE3BFhUXwovYd3hLYIDjEm0Rq7ZL3dZ O0Oa6wJSD8A8hreTwOp30enVOXE2NvQuPyRhoIwIu71sVRakPUCNzLdzvSLFeqwK wEGSwN0yWjd24Zty3/5OI3GTXec1TogH5RV6V1LHLqpL8xxSmZ1t3+VFfY84MHWy ybxKI9H41MHtsTljKzSJKVzXyJLwh2CARmXuUEGLg2PqJbn0q1I= =wCv4 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1551045002-11324-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 20:54:41 +0000 Received: from localhost ([127.0.0.1]:55641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCPZ-0001rB-FO for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCPW-0001qx-GZ for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:47399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwCPR-0005HW-4c for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:54:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCPQ-0006Eo-Ci for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCPO-0005GC-7B for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:32 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:59194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCPM-0005FE-TB for guix-patches@gnu.org; Tue, 19 Feb 2019 15:54:29 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 617C816C69 for ; Tue, 19 Feb 2019 20:54:26 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 38ebc411 for ; Tue, 19 Feb 2019 20:54:26 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] services: desktop: Fix define for the upower-service procedure. Date: Tue, 19 Feb 2019 20:54:26 +0000 Message-Id: <20190219205426.29447-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit 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: -0.0 (/) * gnu/services/desktop.scm (upower-service): Fill in the replacement for upower-service. --- gnu/services/desktop.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index ce63969dc8..7940f28a26 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -306,6 +306,7 @@ used by GNOME.") (time-critical 300) (time-action 120) (critical-power-action 'hybrid-sleep)= ) + upower-service-type "Return a service that runs @uref{http://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and batt= ery levels, with the given configuration settings. It implements the --=20 2.20.1 ------------=_1551045002-11324-1-- From unknown Tue Jun 17 01:41:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34579] bug#34567: Bogus 'upower-service' deprecation message Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Mar 2019 18:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34567-done@debbugs.gnu.org, Mark H Weaver , 34579-done@debbugs.gnu.org Received: via spool by 34579-done@debbugs.gnu.org id=D34579.155215616114322 (code D ref 34579); Sat, 09 Mar 2019 18:30:03 +0000 Received: (at 34579-done) by debbugs.gnu.org; 9 Mar 2019 18:29:21 +0000 Received: from localhost ([127.0.0.1]:37387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2gin-0003iv-2f for submit@debbugs.gnu.org; Sat, 09 Mar 2019 13:29:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2gij-0003ic-KG; Sat, 09 Mar 2019 13:29:18 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2gie-0004G1-37; Sat, 09 Mar 2019 13:29:12 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38458 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2gib-0006Nu-S2; Sat, 09 Mar 2019 13:29:11 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87va1gqqc0.fsf@netris.org> <87ftsjh4a8.fsf@cbaines.net> Date: Sat, 09 Mar 2019 19:29:07 +0100 In-Reply-To: <87ftsjh4a8.fsf@cbaines.net> (Christopher Baines's message of "Tue, 19 Feb 2019 21:11:43 +0000") Message-ID: <875zsr6gwc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) 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.0 (-) Christopher Baines skribis: > Mark H Weaver writes: > >> My OS config includes a reference to 'upower-service', which is now >> deprecated, but the deprecation message is bogus: >> >> mhw@jojen ~$ guix system build /etc/config.scm --verbosity=3D1 >> /etc/config.scm:149:19: warning: 'slim-service' is deprecated, use 'sl= im-service-type' instead >> /etc/config.scm:156:19: warning: 'upower-service' is deprecated, use '= Return a service that runs @uref{http://upower.freedesktop.org/, >> @command{upowerd}}, a system-wide monitor for power consumption and ba= ttery >> levels, with the given configuration settings. It implements the >> @code{org.freedesktop.UPower} D-Bus interface, and is notably used by = GNOME.' instead >> building /gnu/store/nwdjz1mkvcc4ic65mgw5i94ig3qzp8kf-libjpeg-turbo-2.0= .2.tar.gz.drv... >> [...] > > Haha, that is quite bogus. I didn't realise define-deprecated took two > arguments. I've sent a patch to fix this here [1]. > > 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34579 This was fixed in bb65f66ce0e5feee2d997a8526e10fc9f31e97fd, closing! Ludo=E2=80=99.