1 |
mrpouet 10/02/16 20:45:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dia-0.97.1.ebuild |
5 |
Log: |
6 |
Version bump, Many bugsfixes, Fix a security issue (CVE-2008-5984). Per bug #257020. |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.120 app-office/dia/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/ChangeLog?rev=1.120&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/ChangeLog?rev=1.120&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/ChangeLog?r1=1.119&r2=1.120 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v |
19 |
retrieving revision 1.119 |
20 |
retrieving revision 1.120 |
21 |
diff -u -r1.119 -r1.120 |
22 |
--- ChangeLog 3 Aug 2009 03:48:46 -0000 1.119 |
23 |
+++ ChangeLog 16 Feb 2010 20:45:27 -0000 1.120 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-office/dia |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.119 2009/08/03 03:48:46 jer Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.120 2010/02/16 20:45:27 mrpouet Exp $ |
30 |
+ |
31 |
+*dia-0.97.1 (16 Feb 2010) |
32 |
+ |
33 |
+ 16 Feb 2010; Romain Perier <mrpouet@g.o> +dia-0.97.1.ebuild: |
34 |
+ Version bump, Many bugsfixes, Fix a security issue (CVE-2008-5984). Per |
35 |
+ bug #257020. |
36 |
|
37 |
03 Aug 2009; Jeroen Roovers <jer@g.o> dia-0.97-r1.ebuild: |
38 |
Stable for HPPA (bug #277843). |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-office/dia/dia-0.97.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/dia-0.97.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/dia-0.97.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dia-0.97.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.97.1.ebuild,v 1.1 2010/02/16 20:45:27 mrpouet Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils gnome2 libtool autotools versionator python |
56 |
|
57 |
MY_P=${P/_/-} |
58 |
DESCRIPTION="Diagram/flowchart creation program" |
59 |
HOMEPAGE="http://www.gnome.org/projects/dia/" |
60 |
LICENSE="GPL-2" |
61 |
|
62 |
# dia used -1 instead of .1 for the new version. |
63 |
MY_PV_MM=$(get_version_component_range 1-2) |
64 |
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV_MM}/${MY_P}.tar.bz2" |
65 |
|
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
68 |
# the doc USE flag doesn't seem to do anything without docbook2html |
69 |
# FIXME: configure mixes debug and devel meaning (see -DGTK_DISABLE...) |
70 |
IUSE="cairo doc gnome png python zlib" |
71 |
|
72 |
RDEPEND=">=x11-libs/gtk+-2.6.0 |
73 |
>=dev-libs/glib-2.6.0 |
74 |
>=x11-libs/pango-1.8 |
75 |
>=dev-libs/libxml2-2.3.9 |
76 |
>=dev-libs/libxslt-1 |
77 |
>=media-libs/freetype-2.0.95 |
78 |
dev-libs/popt |
79 |
zlib? ( sys-libs/zlib ) |
80 |
png? ( |
81 |
media-libs/libpng |
82 |
>=media-libs/libart_lgpl-2 ) |
83 |
gnome? ( |
84 |
>=gnome-base/libgnome-2.0 |
85 |
>=gnome-base/libgnomeui-2.0 ) |
86 |
cairo? ( >=x11-libs/cairo-1 ) |
87 |
python? ( |
88 |
>=dev-lang/python-1.5.2 |
89 |
>=dev-python/pygtk-1.99 ) |
90 |
doc? ( |
91 |
~app-text/docbook-xml-dtd-4.5 |
92 |
app-text/docbook-xsl-stylesheets )" |
93 |
|
94 |
DEPEND="${RDEPEND} |
95 |
>=dev-util/intltool-0.35.0 |
96 |
dev-util/pkgconfig |
97 |
doc? ( dev-libs/libxslt )" |
98 |
|
99 |
DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO" |
100 |
|
101 |
pkg_setup() { |
102 |
G2CONF="${G2CONF} |
103 |
$(use_with cairo) |
104 |
$(use_with python) |
105 |
$(use_enable doc db2html) |
106 |
$(use_enable gnome) |
107 |
--disable-libemf |
108 |
--without-swig |
109 |
--without-hardbooks |
110 |
--disable-static |
111 |
--docdir=/usr/share/doc/${PF}" |
112 |
} |
113 |
|
114 |
src_prepare() { |
115 |
gnome2_src_prepare |
116 |
|
117 |
# Fix compilation in a gnome environment, bug #159831 |
118 |
epatch "${FILESDIR}/${PN}-0.97.0-gnome-doc.patch" |
119 |
|
120 |
# Fix compilation with USE="python", bug #271855 |
121 |
if use python; then |
122 |
epatch "${FILESDIR}/${PN}-0.97-acinclude-python-fixes.patch" |
123 |
fi |
124 |
|
125 |
# Skip man generation |
126 |
if ! use doc; then |
127 |
sed -i -e '/if HAVE_DB2MAN/,/endif/d' doc/*/Makefile.am \ |
128 |
|| die "sed 2 failed" |
129 |
fi |
130 |
|
131 |
intltoolize --force --copy --automake || die "intltoolize failed" |
132 |
eautoreconf |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
gnome2_pkg_postinst |
137 |
if use python; then |
138 |
python_need_rebuild |
139 |
python_mod_optimize /usr/share/dia |
140 |
fi |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
gnome2_pkg_postrm |
145 |
python_mod_cleanup /usr/share/dia |
146 |
} |