1 |
commit: 8fa110c383c83175443a5001fbacb9837ca4fa95 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 20 13:27:04 2012 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 20 13:27:04 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=8fa110c3 |
7 |
|
8 |
sys-apps/systemd: Update for version with udev included. |
9 |
|
10 |
(Portage version: 2.2.0_alpha110_p48/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sys-apps/systemd/metadata.xml | 4 +++ |
14 |
sys-apps/systemd/systemd-9999.ebuild | 36 ++++++++++++++++++++++----------- |
15 |
2 files changed, 28 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/systemd/metadata.xml b/sys-apps/systemd/metadata.xml |
18 |
index aafd053..4a129bb 100644 |
19 |
--- a/sys-apps/systemd/metadata.xml |
20 |
+++ b/sys-apps/systemd/metadata.xml |
21 |
@@ -9,6 +9,10 @@ |
22 |
<!-- XXX: describe those two better --> |
23 |
<flag name='audit'>Enable support for <pkg>sys-process/audit</pkg></flag> |
24 |
<flag name='cryptsetup'>Use libcryptsetup</flag> |
25 |
+ <flag name='doc'>Build gtk-doc API docs</flag> |
26 |
+ <flag name='gudev'>Enable libudev gobject interface</flag> |
27 |
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> |
28 |
+ for introspection</flag> |
29 |
<flag name='plymouth'>Enable support for <pkg>sys-boot/plymouth</pkg></flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
34 |
index 56e0f28..de47773 100644 |
35 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
36 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
37 |
@@ -1,4 +1,4 @@ |
38 |
-# Copyright 1999-2011 Gentoo Foundation |
39 |
+# Copyright 1999-2012 Gentoo Foundation |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
# $Header: $ |
42 |
|
43 |
@@ -12,7 +12,7 @@ EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${PN} |
44 |
inherit git-2 |
45 |
#endif |
46 |
|
47 |
-inherit autotools-utils bash-completion-r1 linux-info pam systemd |
48 |
+inherit autotools-utils bash-completion-r1 linux-info pam systemd user |
49 |
|
50 |
DESCRIPTION="System and service manager for Linux" |
51 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" |
52 |
@@ -21,7 +21,7 @@ SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz" |
53 |
LICENSE="GPL-2" |
54 |
SLOT="0" |
55 |
KEYWORDS="~amd64 ~x86" |
56 |
-IUSE="acl audit cryptsetup lzma pam plymouth selinux tcpd" |
57 |
+IUSE="acl audit cryptsetup doc gudev introspection lzma pam selinux tcpd" |
58 |
|
59 |
# We need to depend on sysvinit for sulogin which is used in the rescue |
60 |
# mode. Bug #399615. |
61 |
@@ -32,18 +32,21 @@ MINKV="2.6.38" |
62 |
|
63 |
# dbus version because of systemd units |
64 |
# sysvinit for sulogin |
65 |
-RDEPEND=">=sys-apps/dbus-1.4.10 |
66 |
+RDEPEND="!sys-fs/udev |
67 |
+ >=sys-apps/dbus-1.4.10 |
68 |
>=sys-apps/kmod-5 |
69 |
+ sys-apps/pciutils |
70 |
sys-apps/sysvinit |
71 |
- >=sys-apps/util-linux-2.19 |
72 |
- >=sys-fs/udev-172 |
73 |
+ sys-apps/usbutils |
74 |
+ >=sys-apps/util-linux-2.20 |
75 |
sys-libs/libcap |
76 |
acl? ( sys-apps/acl ) |
77 |
audit? ( >=sys-process/audit-2 ) |
78 |
cryptsetup? ( sys-fs/cryptsetup ) |
79 |
+ gudev? ( dev-libs/glib:2 ) |
80 |
+ introspection? ( dev-libs/gobject-introspection ) |
81 |
lzma? ( app-arch/xz-utils ) |
82 |
pam? ( virtual/pam ) |
83 |
- plymouth? ( sys-boot/plymouth ) |
84 |
selinux? ( sys-libs/libselinux ) |
85 |
tcpd? ( sys-apps/tcp-wrappers )" |
86 |
|
87 |
@@ -53,11 +56,15 @@ DEPEND="${RDEPEND} |
88 |
dev-libs/libxslt |
89 |
dev-util/gperf |
90 |
dev-util/intltool |
91 |
- >=sys-kernel/linux-headers-${MINKV}" |
92 |
+ >=sys-kernel/linux-headers-${MINKV} |
93 |
+ doc? ( dev-util/gtk-doc )" |
94 |
|
95 |
#if LIVE |
96 |
SRC_URI= |
97 |
KEYWORDS= |
98 |
+ |
99 |
+DEPEND="dev-libs/gobject-introspection |
100 |
+ dev-util/gtk-doc" |
101 |
#endif |
102 |
|
103 |
pkg_setup() { |
104 |
@@ -69,6 +76,9 @@ src_prepare() { |
105 |
# systemd-analyze is for python2.7 only nowadays. |
106 |
sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze |
107 |
|
108 |
+#if LIVE /* XXX: do something about it... */ |
109 |
+ gtkdocize --docdir docs/ || die |
110 |
+#endif |
111 |
autotools-utils_src_prepare |
112 |
} |
113 |
|
114 |
@@ -86,13 +96,13 @@ src_configure() { |
115 |
$(use_enable acl) |
116 |
$(use_enable audit) |
117 |
$(use_enable cryptsetup libcryptsetup) |
118 |
+ $(use_enable doc gtk-doc) |
119 |
+ $(use_enable gudev) |
120 |
+ $(use_enable introspection) |
121 |
$(use_enable lzma xz) |
122 |
$(use_enable pam) |
123 |
- $(use_enable plymouth) |
124 |
$(use_enable selinux) |
125 |
$(use_enable tcpd tcpwrap) |
126 |
- # now in sys-apps/systemd-ui |
127 |
- --disable-gtk |
128 |
) |
129 |
|
130 |
autotools-utils_src_configure |
131 |
@@ -135,7 +145,9 @@ src_install() { |
132 |
} |
133 |
|
134 |
pkg_preinst() { |
135 |
- local CONFIG_CHECK="~AUTOFS4_FS ~CGROUPS ~DEVTMPFS ~FANOTIFY ~IPV6" |
136 |
+ local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS |
137 |
+ ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD |
138 |
+ ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" |
139 |
kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" |
140 |
check_extra_config |
141 |
} |