Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in xfce-extra/exo: ChangeLog exo-0.3.4-r2.ebuild
Date: Mon, 01 Dec 2008 19:36:10
Message-Id: E1L7EYy-0004XJ-5V@stork.gentoo.org
1 angelos 08/12/01 19:36:08
2
3 Modified: ChangeLog
4 Added: exo-0.3.4-r2.ebuild
5 Log:
6 Don't declare exo_atomic_{inc,dec} when the functions are not available
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6-00184-gd9d060a x86_64)
8
9 Revision Changes Path
10 1.71 xfce-extra/exo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/ChangeLog?rev=1.71&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/ChangeLog?rev=1.71&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/ChangeLog?r1=1.70&r2=1.71
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/xfce-extra/exo/ChangeLog,v
19 retrieving revision 1.70
20 retrieving revision 1.71
21 diff -u -r1.70 -r1.71
22 --- ChangeLog 20 Nov 2008 16:52:33 -0000 1.70
23 +++ ChangeLog 1 Dec 2008 19:36:08 -0000 1.71
24 @@ -1,6 +1,12 @@
25 # ChangeLog for xfce-extra/exo
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/ChangeLog,v 1.70 2008/11/20 16:52:33 angelos Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/ChangeLog,v 1.71 2008/12/01 19:36:08 angelos Exp $
29 +
30 +*exo-0.3.4-r2 (01 Dec 2008)
31 +
32 + 01 Dec 2008; Christoph Mende <angelos@g.o>
33 + +files/exo-0.3.4-inline-functions.patch, +exo-0.3.4-r2.ebuild:
34 + Don't declare exo_atomic_{inc,dec} when the functions are not available
35
36 20 Nov 2008; Christoph Mende <angelos@g.o> -exo-0.3.4.ebuild:
37 Removed old
38
39
40
41 1.1 xfce-extra/exo/exo-0.3.4-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/exo-0.3.4-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/exo-0.3.4-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: exo-0.3.4-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/exo-0.3.4-r2.ebuild,v 1.1 2008/12/01 19:36:08 angelos Exp $
51
52 inherit eutils xfce44 python multilib autotools
53
54 XFCE_VERSION=4.4.2
55 xfce44
56 xfce44_core_package
57
58 DESCRIPTION="Extensions, widgets and framework library with session management support"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE="debug doc hal libnotify python"
61
62 RDEPEND=">=dev-lang/perl-5.6
63 dev-perl/URI
64 >=dev-libs/glib-2.6
65 >=x11-libs/gtk+-2.6
66 >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
67 >=xfce-base/xfce-mcs-manager-${XFCE_MASTER_VERSION}
68 >=xfce-base/xfce-mcs-plugins-${XFCE_MASTER_VERSION}
69 libnotify? ( x11-libs/libnotify )
70 hal? ( >=sys-apps/hal-0.5.7.1 )
71 python? ( dev-python/pygtk )"
72 DEPEND="${RDEPEND}
73 dev-util/gtk-doc-am
74 dev-util/pkgconfig
75 dev-util/xfce4-dev-tools
76 doc? ( dev-util/gtk-doc )
77 dev-util/intltool"
78
79 DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"
80
81 pkg_setup() {
82 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable python)
83 $(use_enable libnotify notifications)
84 $(use_enable hal) --enable-mcs-plugin"
85 }
86
87 # See bug 166568 for reference
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91
92 sed -i -e 's:-Werror::g' "${S}"/configure.in || die "sed failed"
93 epatch "${FILESDIR}"/${P}-eject.patch \
94 "${FILESDIR}"/${P}-remove-libmd5.patch \
95 "${FILESDIR}"/${P}-inline-functions.patch
96 intltoolize --force --copy --automake || die "intltoolize failed."
97 AT_M4DIR=/usr/share/xfce4/dev-tools/m4macros eautoreconf
98 }
99
100 # See bug 164780 for reference
101 src_install() {
102 xfce44_src_install
103 rm -f "${D}"/usr/lib*/python*/site-packages/pyexo.py[co]
104 rm -f "${D}"/usr/lib*/python*/site-packages/${PN}-0.3/${PN}/__init__.py[co]
105 }
106
107 pkg_postinst() {
108 xfce44_pkg_postinst
109 python_version
110 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
111 }
112
113 pkg_postrm() {
114 xfce44_pkg_postrm
115 python_mod_cleanup
116 }