unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34567: Bogus 'upower-service' deprecation message
@ 2019-02-19  5:50 Mark H Weaver
  2019-02-19 21:11 ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2019-02-19  5:50 UTC (permalink / raw)
  To: 34567

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...
  [...]

       Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34567: Bogus 'upower-service' deprecation message
  2019-02-19  5:50 bug#34567: Bogus 'upower-service' deprecation message Mark H Weaver
@ 2019-02-19 21:11 ` Christopher Baines
  2019-03-09 18:29   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2019-02-19 21:11 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 34567, 34579

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]


Mark H Weaver <mhw@netris.org> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34567: Bogus 'upower-service' deprecation message
  2019-02-19 21:11 ` Christopher Baines
@ 2019-03-09 18:29   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-03-09 18:29 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 34567-done, 34579-done

Christopher Baines <mail@cbaines.net> skribis:

> Mark H Weaver <mhw@netris.org> 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

This was fixed in bb65f66ce0e5feee2d997a8526e10fc9f31e97fd, closing!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-09 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  5:50 bug#34567: Bogus 'upower-service' deprecation message Mark H Weaver
2019-02-19 21:11 ` Christopher Baines
2019-03-09 18:29   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).