ssuominen    14/06/04 21:25:54

  Modified:             ChangeLog
  Added:                upower-0.99.0-r1.ebuild
  Log:
  backport upstream fixes
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.154                sys-power/upower/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.154&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.154&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog   2 Jun 2014 23:09:30 -0000       1.153
+++ ChangeLog   4 Jun 2014 21:25:54 -0000       1.154
@@ -1,6 +1,16 @@
 # ChangeLog for sys-power/upower
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.153 
2014/06/02 23:09:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.154 
2014/06/04 21:25:54 ssuominen Exp $
+
+*upower-0.99.0-r1 (04 Jun 2014)
+
+  04 Jun 2014; Samuli Suominen <[email protected]> +upower-0.99.0-r1.ebuild,
+  +files/upower-0.99.0-create-dir-runtime.patch,
+  +files/upower-0.99.0-fix-segfault.patch,
+  +files/upower-0.99.0-fix-shutdown-on-boot.patch,
+  +files/upower-0.99.0-fix-typing-error.patch:
+  Backport fixes from git master (segfaulting, creating directories on fly,
+  shutting down on boot, and typing errors)
 
   02 Jun 2014; Samuli Suominen <[email protected]> -upower-0.9.23-r2.ebuild:
   old
@@ -27,11 +37,6 @@
   Stabilize for everyone (only non-arch specific minor bugfixes when comparing
   to current stable, which is -r0)
 
-  26 May 2014; Samuli Suominen <[email protected]> upower-0.99.0.ebuild:
-  This release is mainly for use with sys-apps/systemd because upstream removed
-  support for sys-power/pm-utils completely from git master. The 0.9 branch is
-  for sys-power/pm-utils use. Adjust ebuild accordingly.
-
   28 Mar 2014; Rick Farina <[email protected]> upower-0.9.23-r2.ebuild,
   upower-0.99.0.ebuild:
   reverting deps on lib[g]udev due to bug #506114
@@ -77,7 +82,8 @@
 
   27 Feb 2014; Samuli Suominen <[email protected]> +upower-0.99.0.ebuild:
   Version bump without KEYWORDS because of major API change. Introduce subslot
-  0/2 based on libupower-glib.so SONAME.
+  0/2 based on libupower-glib.so SONAME. Notice that upstream removed support
+  for hibernate and suspend in this version.
 
   27 Feb 2014; Samuli Suominen <[email protected]> upower-0.9.23.ebuild:
   amd64 stable wrt #496532



1.1                  sys-power/upower/upower-0.99.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: upower-0.99.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.0-r1.ebuild,v 
1.1 2014/06/04 21:25:54 ssuominen Exp $

EAPI=5
inherit eutils systemd

DESCRIPTION="D-Bus abstraction for enumerating power devices and querying 
history and statistics"
HOMEPAGE="http://upower.freedesktop.org/";
SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz";

LICENSE="GPL-2"
SLOT="0/2" # based on SONAME of libupower-glib.so
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc +introspection ios kernel_FreeBSD kernel_linux"

RDEPEND=">=dev-libs/dbus-glib-0.100
        >=dev-libs/glib-2.30
        sys-apps/dbus:=
        >=sys-auth/polkit-0.110
        introspection? ( dev-libs/gobject-introspection )
        kernel_linux? (
                virtual/libusb:1
                virtual/libgudev:=
                virtual/udev
                ios? (
                        >=app-pda/libimobiledevice-1:=
                        >=app-pda/libplist-1:=
                        )
                )"
DEPEND="${RDEPEND}
        dev-libs/libxslt
        app-text/docbook-xsl-stylesheets
        dev-util/intltool
        virtual/pkgconfig
        doc? (
                dev-util/gtk-doc
                app-text/docbook-xml-dtd:4.1.2
                )"

QA_MULTILIB_PATHS="usr/lib/${PN}/.*"

DOCS="AUTHORS HACKING NEWS README"

src_prepare() {
        sed -i -e '/DISABLE_DEPRECATED/d' configure || die

        epatch \
                "${FILESDIR}"/${P}-create-dir-runtime.patch \
                "${FILESDIR}"/${P}-fix-shutdown-on-boot.patch \
                "${FILESDIR}"/${P}-fix-segfault.patch \
                "${FILESDIR}"/${P}-fix-typing-error.patch
}

src_configure() {
        local backend myconf

        if use kernel_linux; then
                backend=linux
        elif use kernel_FreeBSD; then
                backend=freebsd
        else
                backend=dummy
        fi

        econf \
                --libexecdir="${EPREFIX}"/usr/lib/${PN} \
                --localstatedir="${EPREFIX}"/var \
                $(use_enable introspection) \
                --disable-static \
                ${myconf} \
                --enable-man-pages \
                $(use_enable doc gtk-doc) \
                --disable-tests \
                --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
                --with-backend=${backend} \
                $(use_with ios idevice) \
                "$(systemd_with_utildir)" \
                "$(systemd_with_unitdir)"
}

src_install() {
        default
        keepdir /var/lib/upower #383091
        prune_libtool_files
}




Reply via email to