LINUX.ORG.RU

История изменений

Исправление Black_Shadow, (текущая версия) :

Проблема уже решена. Ты на нестабильной ветке, проблема в стабильной. Посмотри на diff:

# diff -urN upower-0.9.23-r3.ebuild upower-0.99.0.ebuild
--- upower-0.9.23-r3.ebuild     2014-06-02 22:45:13.000000000 +0400
+++ upower-0.99.0.ebuild        2014-06-02 17:01:36.000000000 +0400
@@ -1,6 +1,6 @@
 # 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.9.23-r3.ebuild,v 1.1 2014/06/02 18:45:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.0.ebuild,v 1.6 2014/06/02 12:47:33 ssuominen Exp $
 
 EAPI=5
 inherit eutils systemd
@@ -10,13 +10,13 @@
 SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz"
 
 LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+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"
 
-COMMON_DEPEND=">=dev-libs/dbus-glib-0.100
-       >=dev-libs/glib-2.22
-       sys-apps/dbus
+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? (
@@ -28,12 +28,7 @@
                        >=app-pda/libplist-1:=
                        )
                )"
-RDEPEND="${COMMON_DEPEND}
-       kernel_linux? (
-               app-shells/bash
-               >=sys-apps/systemd-200
-       )"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        dev-libs/libxslt
        app-text/docbook-xsl-stylesheets
        dev-util/intltool
@@ -49,11 +44,6 @@
 
 src_prepare() {
        sed -i -e '/DISABLE_DEPRECATED/d' configure || die
-
-       epatch \
-               "${FILESDIR}"/${P}-create-dir-runtime.patch \
-               "${FILESDIR}"/${P}-fix-segfault.patch \
-               "${FILESDIR}"/${P}-clamp_percentage_for_overfull_batt.patch
 }
 
 src_configure() {
@@ -61,7 +51,6 @@
 
        if use kernel_linux; then
                backend=linux
-               myconf="--disable-deprecated"
        elif use kernel_FreeBSD; then
                backend=freebsd
        else
Обрати внимание на кусок:
-RDEPEND="${COMMON_DEPEND}
-       kernel_linux? (
-               app-shells/bash
-               >=sys-apps/systemd-200
-       )"
В нестабильной ветке зависимости от systemd нет.

Исходная версия Black_Shadow, :

Проблема уже решена. Ты на нестабильной ветке, проблема в стабильной. Посмотри на diff:

# diff -urN upower-0.9.23-r3.ebuild upower-0.99.0.ebuild
--- upower-0.9.23-r3.ebuild     2014-06-02 22:45:13.000000000 +0400
+++ upower-0.99.0.ebuild        2014-06-02 17:01:36.000000000 +0400
@@ -1,6 +1,6 @@
 # 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.9.23-r3.ebuild,v 1.1 2014/06/02 18:45:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.0.ebuild,v 1.6 2014/06/02 12:47:33 ssuominen Exp $
 
 EAPI=5
 inherit eutils systemd
@@ -10,13 +10,13 @@
 SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz"
 
 LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+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"
 
-COMMON_DEPEND=">=dev-libs/dbus-glib-0.100
-       >=dev-libs/glib-2.22
-       sys-apps/dbus
+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? (
@@ -28,12 +28,7 @@
                        >=app-pda/libplist-1:=
                        )
                )"
-RDEPEND="${COMMON_DEPEND}
-       kernel_linux? (
-               app-shells/bash
-               >=sys-apps/systemd-200
-       )"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        dev-libs/libxslt
        app-text/docbook-xsl-stylesheets
        dev-util/intltool
@@ -49,11 +44,6 @@
 
 src_prepare() {
        sed -i -e '/DISABLE_DEPRECATED/d' configure || die
-
-       epatch \
-               "${FILESDIR}"/${P}-create-dir-runtime.patch \
-               "${FILESDIR}"/${P}-fix-segfault.patch \
-               "${FILESDIR}"/${P}-clamp_percentage_for_overfull_batt.patch
 }
 
 src_configure() {
@@ -61,7 +51,6 @@
 
        if use kernel_linux; then
                backend=linux
-               myconf="--disable-deprecated"
        elif use kernel_FreeBSD; then
                backend=freebsd
        else
Обрати внимание на кусок:
-RDEPEND="${COMMON_DEPEND}
-       kernel_linux? (
-               app-shells/bash
-               >=sys-apps/systemd-200
-       )"
В нестабильной ветке зависимости от systemd нет.