pm-utils dependency

Richard Hughes hughsient at gmail.com
Tue Feb 12 03:20:47 PST 2013


On 12 February 2013 09:41, Richard Hughes <hughsient at gmail.com> wrote:
> I'll have a go at this today in git master.

I've pushed the following commits:

commit 9843589d2d80e6dc2b3f51338e64bd1da1c53860
Author: Richard Hughes <richard at hughsie.com>
Date:   Tue Feb 12 10:53:49 2013 +0000

    Require applications to define UPOWER_ENABLE_DEPRECATED to use
deprecated functionality

    This can easily be done by doing #define UPOWER_ENABLE_DEPRECATED before
    "#include <upower.h>" or adding -DUPOWER_ENABLE_DEPRECATED to the
cflags line in
    Makefile.am

    See http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html
    for more information on future plans and for rationale.

:100644 100644 7444f54... 5c03409... M  libupower-glib/Makefile.am
:100644 100644 482cd90... 17ec7ba... M  libupower-glib/up-client.h

commit 372c2f8d2922add987683a24b5d69902e05e2f97
Author: Richard Hughes <richard at hughsie.com>
Date:   Tue Feb 12 11:00:21 2013 +0000

    Add a --enable-deprecated configure argument

    This is turned off by default. If this is not set, then any calls
to Suspend(),
    SuspendAllowed(), Hibernate() or HibernateAllowed() will fail with an error.
    The error mesage tells the user what new method to port to in logind.

    I'm expecting to set --enable-deprecated for Fedora 17 and 18, but
turn it off
    for Fedora 19, so other distributions probably want to follow suit
to find out
    what other stuff needs to be ported to the new APIs early. GNOME
should already
    be fine, but KDE will need some solid porting as I understand it.

    See http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html
    for more information on future plans and for rationale.

:100644 100644 d41c156... 8a4667f... M  configure.ac
:100644 100644 3656b69... e77dd1b... M  src/linux/up-backend.c
:100644 100644 08dac8b... 2554453... M  src/up-backend.h
:100644 100644 be416ab... a5ab658... M  src/up-daemon.c
:100644 100644 fcdc28b... 87051e3... M  tools/up-tool.c


commit 8bbf566dc8a80d129e202de619fe9da6f2e8b80b
Author: Richard Hughes <richard at hughsie.com>
Date:   Tue Feb 12 11:17:50 2013 +0000

    Also deprecate running the powersave scripts

    Over the years we've moved all the quirks to the kernel (and fixed
most of the
    issues properly) so on Fedora we've not actually been shipping any rules in
    pm-utils for a couple of releaes now.

    Dropping this functionality allows us to finally drop the pm-utils
dep for upower.

:100644 100644 e77dd1b... 60520a4... M  src/linux/up-backend.c
:100644 100644 2554453... c380a74... M  src/up-backend.h
:100644 100644 a5ab658... 05b029c... M  src/up-daemon.c

If there is any breakage in apps, let me know and I'll help fix up the breakage.

Richard.


More information about the devkit-devel mailing list