From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/dbus-glib: ChangeLog dbus-glib-0.100.2.ebuild |
Date: | Tue, 26 Feb 2013 19:35:06 |
Message-Id: | 20130226193502.2442E2171D@flycatcher.gentoo.org |
1 | ssuominen 13/02/26 19:35:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dbus-glib-0.100.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 | |
10 | Revision Changes Path |
11 | 1.123 dev-libs/dbus-glib/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.123&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.123&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?r1=1.122&r2=1.123 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v |
20 | retrieving revision 1.122 |
21 | retrieving revision 1.123 |
22 | diff -u -r1.122 -r1.123 |
23 | --- ChangeLog 21 Feb 2013 19:27:57 -0000 1.122 |
24 | +++ ChangeLog 26 Feb 2013 19:35:01 -0000 1.123 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-libs/dbus-glib |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.122 2013/02/21 19:27:57 zmedico Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.123 2013/02/26 19:35:01 ssuominen Exp $ |
30 | + |
31 | +*dbus-glib-0.100.2 (26 Feb 2013) |
32 | + |
33 | + 26 Feb 2013; Samuli Suominen <ssuominen@g.o> |
34 | + +dbus-glib-0.100.2.ebuild: |
35 | + Version bump. |
36 | |
37 | 21 Feb 2013; Zac Medico <zmedico@g.o> dbus-glib-0.100-r2.ebuild, |
38 | dbus-glib-0.100.1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-libs/dbus-glib/dbus-glib-0.100.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: dbus-glib-0.100.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2013 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2.ebuild,v 1.1 2013/02/26 19:35:01 ssuominen Exp $ |
52 | |
53 | EAPI=5 |
54 | inherit bash-completion-r1 eutils |
55 | |
56 | DESCRIPTION="D-Bus bindings for glib" |
57 | HOMEPAGE="http://dbus.freedesktop.org/" |
58 | SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" |
59 | |
60 | LICENSE="|| ( GPL-2 AFL-2.1 )" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
63 | IUSE="debug doc static-libs test" |
64 | |
65 | RDEPEND=">=dev-libs/expat-2 |
66 | >=dev-libs/glib-2.26:2 |
67 | >=sys-apps/dbus-1.6.2" |
68 | DEPEND="${RDEPEND} |
69 | virtual/pkgconfig |
70 | doc? ( >=dev-util/gtk-doc-1.4 )" |
71 | |
72 | # out of sources build directory |
73 | BD=${WORKDIR}/${P}-build |
74 | # out of sources build dir for make check |
75 | TBD=${WORKDIR}/${P}-tests-build |
76 | |
77 | src_prepare() { |
78 | # Fix testsuite, bug #356699 (fixed in git master) |
79 | epatch "${FILESDIR}"/${PN}-0.100-fix-tests.patch |
80 | |
81 | # Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830 |
82 | cp "${FILESDIR}"/${PN}-0.100-dbus-glib-sections.txt doc/reference/dbus-glib-sections.txt || die |
83 | } |
84 | |
85 | src_configure() { |
86 | local myconf=( |
87 | --localstatedir="${EPREFIX}"/var |
88 | --enable-bash-completion |
89 | $(use_enable debug verbose-mode) |
90 | $(use_enable debug asserts) |
91 | $(use_enable static-libs static) |
92 | $(use_enable doc gtk-doc) |
93 | ) |
94 | |
95 | mkdir "${BD}" |
96 | cd "${BD}" |
97 | einfo "Running configure in ${BD}" |
98 | ECONF_SOURCE="${S}" econf "${myconf[@]}" |
99 | |
100 | if use test; then |
101 | mkdir "${TBD}" |
102 | cd "${TBD}" |
103 | einfo "Running configure in ${TBD}" |
104 | ECONF_SOURCE="${S}" econf \ |
105 | "${myconf[@]}" \ |
106 | $(use_enable test checks) \ |
107 | $(use_enable test tests) \ |
108 | $(use_enable test asserts) \ |
109 | $(use_with test test-socket-dir "${T}"/dbus-test-socket) |
110 | fi |
111 | } |
112 | |
113 | src_compile() { |
114 | cd "${BD}" |
115 | einfo "Running make in ${BD}" |
116 | emake |
117 | |
118 | if use test; then |
119 | cd "${TBD}" |
120 | einfo "Running make in ${TBD}" |
121 | emake |
122 | fi |
123 | } |
124 | |
125 | src_test() { |
126 | cd "${TBD}" |
127 | emake check |
128 | } |
129 | |
130 | src_install() { |
131 | # NEWS file is obsolete |
132 | dodoc AUTHORS ChangeLog HACKING README |
133 | |
134 | cd "${BD}" |
135 | emake DESTDIR="${D}" install |
136 | |
137 | newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus |
138 | rm -rf "${ED}"/etc/bash_completion.d || die |
139 | |
140 | prune_libtool_files |
141 | } |