Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/udisks: ChangeLog udisks-1.98.0.ebuild
Date: Fri, 08 Jun 2012 00:20:40
Message-Id: 20120608002030.3FDE22004B@flycatcher.gentoo.org
1 ssuominen 12/06/08 00:20:30
2
3 Modified: ChangeLog
4 Added: udisks-1.98.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.89 sys-fs/udisks/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udisks/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udisks/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udisks/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/udisks/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 7 Jun 2012 09:21:12 -0000 1.88
24 +++ ChangeLog 8 Jun 2012 00:20:30 -0000 1.89
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-fs/udisks
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/ChangeLog,v 1.88 2012/06/07 09:21:12 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/ChangeLog,v 1.89 2012/06/08 00:20:30 ssuominen Exp $
30 +
31 +*udisks-1.98.0 (08 Jun 2012)
32 +
33 + 08 Jun 2012; Samuli Suominen <ssuominen@g.o> +udisks-1.98.0.ebuild:
34 + Version bump.
35
36 07 Jun 2012; Samuli Suominen <ssuominen@g.o> udisks-1.0.4-r1.ebuild,
37 udisks-1.0.4-r2.ebuild, udisks-1.97.0-r1.ebuild:
38
39
40
41 1.1 sys-fs/udisks/udisks-1.98.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udisks/udisks-1.98.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udisks/udisks-1.98.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: udisks-1.98.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/udisks-1.98.0.ebuild,v 1.1 2012/06/08 00:20:30 ssuominen Exp $
51
52 EAPI=4
53 inherit eutils bash-completion-r1 linux-info systemd
54
55 DESCRIPTION="Daemon providing interfaces to work with storage devices"
56 HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks"
57 SRC_URI="http://udisks.freedesktop.org/releases/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="2"
61 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
62 IUSE="debug crypt +gptfdisk +introspection systemd"
63
64 COMMON_DEPEND=">=dev-libs/glib-2.32
65 >=sys-auth/polkit-0.106
66 >=dev-libs/libatasmart-0.19
67 || ( >=sys-fs/udev-171-r6[gudev,hwdb] <sys-fs/udev-171[extras] )
68 virtual/acl
69 introspection? ( >=dev-libs/gobject-introspection-1.30 )
70 systemd? ( >=sys-apps/systemd-44 )"
71 # gptfdisk -> src/udiskslinuxpartition.c -> sgdisk (see also #412801#c1)
72 # util-linux -> mount, umount, swapon, swapoff (see also #403073)
73 RDEPEND="${COMMON_DEPEND}
74 >=sys-apps/util-linux-2.20.1-r2
75 >=sys-block/parted-3
76 virtual/eject
77 crypt? ( sys-fs/cryptsetup )
78 gptfdisk? ( >=sys-apps/gptfdisk-0.8 )"
79 DEPEND="${COMMON_DEPEND}
80 app-text/docbook-xsl-stylesheets
81 dev-libs/libxslt
82 >=dev-util/gdbus-codegen-2.32
83 dev-util/intltool
84 >=sys-kernel/linux-headers-3.1
85 virtual/pkgconfig"
86
87 DOCS="AUTHORS HACKING NEWS README"
88
89 pkg_setup() {
90 # Listing only major arch's here to avoid tracking kernel's defconfig
91 if use amd64 || use arm || use ppc || use ppc64 || use x86; then
92 CONFIG_CHECK="~!IDE" #319829
93 CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" #412377
94 CONFIG_CHECK+=" ~USB_SUSPEND" #331065
95 CONFIG_CHECK+=" ~SWAP" # http://forums.gentoo.org/viewtopic-t-923640.html
96 linux-info_pkg_setup
97 fi
98 }
99
100 src_prepare() {
101 epatch "${FILESDIR}"/${PN}-2.x-ntfs-3g.patch
102 use systemd || { sed -i -e 's:libsystemd-login:&use_USE_systemd:' configure || die; }
103 }
104
105 src_configure() {
106 econf \
107 --localstatedir="${EPREFIX}"/var \
108 --disable-static \
109 $(use_enable debug) \
110 --disable-gtk-doc \
111 $(use_enable introspection) \
112 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
113 "$(systemd_with_unitdir)"
114 }
115
116 src_install() {
117 default
118
119 prune_libtool_files
120
121 local htmldir=udisks2
122 if [[ -d ${ED}/usr/share/doc/${PF}/html/${htmldir} ]]; then
123 dosym /usr/share/doc/${PF}/html/${htmldir} /usr/share/gtk-doc/html/${htmldir}
124 fi
125
126 rm -rf "${ED}"/etc/bash_completion.d
127 dobashcomp tools/udisksctl-bash-completion.sh
128
129 keepdir /var/lib/udisks2 #383091
130 }
131
132 pkg_postinst() {
133 mkdir -p "${EROOT}"/run #415987
134
135 # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
136 if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
137 echo
138 ewarn "You should reboot the system now to get /run mounted with tmpfs!"
139 fi
140 }