Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/dia: ChangeLog dia-0.97.2.ebuild
Date: Thu, 22 Dec 2011 17:36:16
Message-Id: 20111222173604.4E86E2004B@flycatcher.gentoo.org
1 ssuominen 11/12/22 17:36:04
2
3 Modified: ChangeLog
4 Added: dia-0.97.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.134 app-office/dia/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.134&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.134&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?r1=1.133&r2=1.134
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v
20 retrieving revision 1.133
21 retrieving revision 1.134
22 diff -u -r1.133 -r1.134
23 --- ChangeLog 15 Nov 2011 23:30:01 -0000 1.133
24 +++ ChangeLog 22 Dec 2011 17:36:04 -0000 1.134
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/dia
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.133 2011/11/15 23:30:01 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.134 2011/12/22 17:36:04 ssuominen Exp $
30 +
31 +*dia-0.97.2 (22 Dec 2011)
32 +
33 + 22 Dec 2011; Samuli Suominen <ssuominen@g.o> +dia-0.97.2.ebuild:
34 + Version bump.
35
36 15 Nov 2011; Alexandre Rostovtsev <tetromino@g.o> dia-0.97.1.ebuild:
37 QA: eautoreconf should be before gnome2_src_prepare.
38
39
40
41 1.1 app-office/dia/dia-0.97.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dia-0.97.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.97.2.ebuild,v 1.1 2011/12/22 17:36:04 ssuominen Exp $
51
52 EAPI=4
53
54 GCONF_DEBUG=yes
55 GNOME2_LA_PUNT=yes
56
57 PYTHON_DEPEND="python? 2"
58
59 inherit autotools eutils gnome2 python multilib
60
61 DESCRIPTION="Diagram/flowchart creation program"
62 HOMEPAGE="http://live.gnome.org/Dia"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
67 # the doc USE flag doesn't seem to do anything without docbook2html
68 IUSE="cairo doc gnome python"
69
70 RDEPEND=">=dev-libs/glib-2
71 dev-libs/libxml2
72 dev-libs/libxslt
73 dev-libs/popt
74 >=media-libs/freetype-2
75 >=media-libs/libart_lgpl-2
76 media-libs/libpng
77 sys-libs/zlib
78 x11-libs/gtk+:2
79 x11-libs/pango
80 cairo? ( x11-libs/cairo )
81 doc? (
82 app-text/docbook-xml-dtd:4.5
83 app-text/docbook-xsl-stylesheets
84 )
85 gnome? (
86 >=gnome-base/libgnome-2
87 >=gnome-base/libgnomeui-2
88 )
89 python? ( >=dev-python/pygtk-2 )"
90 DEPEND="${RDEPEND}
91 dev-util/intltool
92 dev-util/pkgconfig
93 doc? ( dev-libs/libxslt )"
94
95 pkg_setup() {
96 DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"
97
98 # --exec-prefix makes Python look for modules in the Prefix
99 G2CONF="--exec-prefix=${EPREFIX}/usr
100 --docdir=${EPREFIX}/usr/share/doc/${PF}
101 $(use_enable gnome)
102 --disable-libemf
103 $(use_enable doc db2html)
104 $(use_with cairo)
105 $(use_with python)
106 --without-swig
107 --without-hardbooks"
108
109 if use python; then
110 python_set_active_version 2
111 python_pkg_setup
112 fi
113 }
114
115 src_prepare() {
116 # Fix compilation in a gnome environment, bug #159831
117 epatch "${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch
118
119 # Fix compilation with USE="python", bug #271855
120 if use python; then
121 python_convert_shebangs -r 2 .
122 # use proper shared lib extension, #298232
123 sed -i -e "s/\.so/$(get_libname)/" acinclude.m4 || die
124 fi
125
126 # Skip man generation
127 if ! use doc; then
128 sed -i -e '/if HAVE_DB2MAN/,/endif/d' doc/*/Makefile.am || die
129 fi
130
131 # Fix naming conflict on Darwin/OSX
132 sed -i -e 's/isspecial/char_isspecial/' objects/GRAFCET/boolequation.c || die
133
134 intltoolize --force --copy --automake || die
135 eautoreconf
136
137 gnome2_src_prepare
138 }
139
140 pkg_postinst() {
141 gnome2_pkg_postinst
142
143 if use python; then
144 python_need_rebuild
145 python_mod_optimize /usr/share/dia
146 fi
147 }
148
149 pkg_postrm() {
150 gnome2_pkg_postrm
151
152 use python && python_mod_cleanup /usr/share/dia
153 }