On Mon, Dec 10, 2018 at 10:17:22AM +0100, Landry Breuil wrote: > Hi, > > trivial update to latest upower, moved to fd.o gitlab instance, see > https://gitlab.freedesktop.org/upower/upower/tags for release details. > works fine here in basic testing with xfce4-power-manager & upower -d..
OK > > Landry > ? upower-0.99.7-libupower-glib.so.2.1 > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/upower/Makefile,v > retrieving revision 1.56 > diff -u -r1.56 Makefile > --- Makefile 4 Sep 2018 12:46:23 -0000 1.56 > +++ Makefile 10 Dec 2018 09:15:02 -0000 > @@ -4,21 +4,20 @@ > > COMMENT = userland power management interface > > -DISTNAME = upower-0.99.7 > +DISTNAME = upower-0.99.9 > EXTRACT_SUFX = .tar.xz > CATEGORIES = sysutils > SHARED_LIBS += upower-glib 2.1 # 3.1 > -REVISION = 0 > > HOMEPAGE = http://upower.freedesktop.org/ > -MASTER_SITES = ${HOMEPAGE}/releases/ > +MASTER_SITES = > https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/ > > MAINTAINER = Landry Breuil <[email protected]> > > # GPLv2+ > PERMIT_PACKAGE_CDROM= Yes > > -WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 m pthread > +WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 m > > CONFIGURE_STYLE = gnu > CONFIGURE_ARGS += --enable-introspection \ > Index: distinfo > =================================================================== > RCS file: /cvs/ports/sysutils/upower/distinfo,v > retrieving revision 1.19 > diff -u -r1.19 distinfo > --- distinfo 29 Nov 2017 11:07:46 -0000 1.19 > +++ distinfo 10 Dec 2018 09:15:02 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (upower-0.99.7.tar.xz) = JLzC9qslolM7rHC1h7ywGeWRKTB2kg9bXgS97cFApAE= > -SIZE (upower-0.99.7.tar.xz) = 447832 > +SHA256 (upower-0.99.9.tar.xz) = AbqJRpu27YNaYCkJ2/mH8mUtJzKGlI0282dVeOTp0RA= > +SIZE (upower-0.99.9.tar.xz) = 448408 > Index: patches/patch-libupower-glib_up-device_c > =================================================================== > RCS file: > /cvs/ports/sysutils/upower/patches/patch-libupower-glib_up-device_c,v > retrieving revision 1.3 > diff -u -r1.3 patch-libupower-glib_up-device_c > --- patches/patch-libupower-glib_up-device_c 4 Nov 2017 23:32:03 -0000 > 1.3 > +++ patches/patch-libupower-glib_up-device_c 10 Dec 2018 09:15:02 -0000 > @@ -7,7 +7,7 @@ > Index: libupower-glib/up-device.c > --- libupower-glib/up-device.c.orig > +++ libupower-glib/up-device.c > -@@ -274,10 +274,7 @@ up_device_to_text (UpDevice *device) > +@@ -281,10 +281,7 @@ up_device_to_text (UpDevice *device) > /* get a human readable time */ > t = (time_t) up_exported_device_get_update_time (priv->proxy_device); > time_tm = localtime (&t); > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/sysutils/upower/pkg/PLIST,v > retrieving revision 1.11 > diff -u -r1.11 PLIST > --- pkg/PLIST 4 Sep 2018 12:46:23 -0000 1.11 > +++ pkg/PLIST 10 Dec 2018 09:15:02 -0000 > @@ -30,13 +30,11 @@ > share/dbus-1/system-services/org.freedesktop.UPower.service > share/doc/pkg-readmes/${PKGSTEM} > share/examples/upower/ > -@sample /var/db/upower/ > share/examples/upower/UPower/ > @sample ${SYSCONFDIR}/UPower/ > share/examples/upower/UPower/UPower.conf > @sample ${SYSCONFDIR}/UPower/UPower.conf > share/examples/upower/dbus-1/ > -@sample ${SYSCONFDIR}/dbus-1/ > share/examples/upower/dbus-1/system.d/ > @sample ${SYSCONFDIR}/dbus-1/system.d/ > share/examples/upower/dbus-1/system.d/org.freedesktop.UPower.conf > @@ -47,3 +45,4 @@ > share/locale/it/LC_MESSAGES/upower.mo > share/locale/pl/LC_MESSAGES/upower.mo > share/locale/sv/LC_MESSAGES/upower.mo > +@sample /var/db/upower/ -- Antoine
