1 |
pacho 14/06/25 09:53:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dia-0.97.3_pre20140417-r1.ebuild |
5 |
Log: |
6 |
Fix crash and test failure (#508566 by Kolan Sh. and Drunkard Zhang; #458460 by flameeyes and eroen) |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.170 app-office/dia/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.170&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.170&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?r1=1.169&r2=1.170 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v |
20 |
retrieving revision 1.169 |
21 |
retrieving revision 1.170 |
22 |
diff -u -r1.169 -r1.170 |
23 |
--- ChangeLog 12 Jun 2014 18:00:38 -0000 1.169 |
24 |
+++ ChangeLog 25 Jun 2014 09:53:46 -0000 1.170 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-office/dia |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.169 2014/06/12 18:00:38 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.170 2014/06/25 09:53:46 pacho Exp $ |
30 |
+ |
31 |
+*dia-0.97.3_pre20140417-r1 (25 Jun 2014) |
32 |
+ |
33 |
+ 25 Jun 2014; Pacho Ramos <pacho@g.o> +dia-0.97.3_pre20140417-r1.ebuild, |
34 |
+ +files/dia-0.97.2-png-crash.patch: |
35 |
+ Fix crash and test failure (#508566 by Kolan Sh. and Drunkard Zhang; #458460 |
36 |
+ by flameeyes and eroen) |
37 |
|
38 |
12 Jun 2014; Pacho Ramos <pacho@g.o> |
39 |
+files/dia-0.97.2-disable-cairo.patch, -dia-0.97.2-r2.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-office/dia/dia-0.97.3_pre20140417-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.3_pre20140417-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.3_pre20140417-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: dia-0.97.3_pre20140417-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.97.3_pre20140417-r1.ebuild,v 1.1 2014/06/25 09:53:46 pacho Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
GCONF_DEBUG=yes |
56 |
GNOME2_LA_PUNT=yes |
57 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
58 |
|
59 |
inherit autotools eutils gnome2 python-single-r1 multilib |
60 |
|
61 |
DESCRIPTION="Diagram/flowchart creation program" |
62 |
HOMEPAGE="https://wiki.gnome.org/Apps/Dia" |
63 |
|
64 |
SRC_URI="http://dev.gentoo.org/~pacho/gnome/${PN}-0.97.3_pre20140417.tar.xz" |
65 |
S="${WORKDIR}/${PN}-0.97.2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos" |
70 |
# the doc USE flag doesn't seem to do anything without docbook2html |
71 |
# cairo support is preferred as explained by upstream at: |
72 |
# https://bugzilla.gnome.org/show_bug.cgi?id=729668#c6 |
73 |
IUSE="+cairo doc python" |
74 |
|
75 |
RDEPEND=" |
76 |
>=dev-libs/glib-2:2 |
77 |
dev-libs/libxml2 |
78 |
dev-libs/libxslt |
79 |
dev-libs/popt |
80 |
>=media-libs/freetype-2 |
81 |
>=media-libs/libart_lgpl-2 |
82 |
media-libs/libpng:0 |
83 |
sys-libs/zlib |
84 |
x11-libs/gtk+:2 |
85 |
x11-libs/pango |
86 |
cairo? ( x11-libs/cairo ) |
87 |
doc? ( |
88 |
app-text/docbook-xml-dtd:4.5 |
89 |
app-text/docbook-xsl-stylesheets ) |
90 |
python? ( |
91 |
>=dev-python/pygtk-2 |
92 |
${PYTHON_DEPS} ) |
93 |
" |
94 |
DEPEND="${RDEPEND} |
95 |
dev-util/intltool |
96 |
sys-apps/sed |
97 |
virtual/pkgconfig |
98 |
doc? ( dev-libs/libxslt )" |
99 |
|
100 |
pkg_setup() { |
101 |
use python && python-single-r1_pkg_setup |
102 |
} |
103 |
|
104 |
src_prepare() { |
105 |
DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO" |
106 |
|
107 |
epatch "${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch #159381 , upstream #470812 #558690 |
108 |
epatch "${FILESDIR}"/${PN}-0.97.2-underlinking.patch #420685 |
109 |
epatch "${FILESDIR}"/${PN}-0.97.2-disable-cairo.patch #509636 |
110 |
epatch "${FILESDIR}"/${PN}-0.97.2-png-crash.patch #508566 |
111 |
|
112 |
if use python; then |
113 |
python_fix_shebang . |
114 |
sed -i -e "s/\.so/$(get_libname)/" acinclude.m4 || die #298232 |
115 |
fi |
116 |
|
117 |
if ! use doc; then |
118 |
# Skip man generation |
119 |
sed -i -e '/if HAVE_DB2MAN/,/endif/d' doc/*/Makefile.am || die |
120 |
fi |
121 |
|
122 |
# Fix naming conflict on Darwin/OSX, upstream bug #???? |
123 |
sed -i -e 's/isspecial/char_isspecial/' objects/GRAFCET/boolequation.c || die |
124 |
|
125 |
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die |
126 |
|
127 |
sed -i -e "/localedir/d" configure.in || die |
128 |
|
129 |
eautoreconf |
130 |
gnome2_src_prepare |
131 |
} |
132 |
|
133 |
src_configure() { |
134 |
# --exec-prefix makes Python look for modules in the Prefix |
135 |
# --enable-gnome only adds support for deprecated stuff, bug #442294 |
136 |
# https://bugzilla.redhat.com/show_bug.cgi?id=996759 |
137 |
gnome2_src_configure \ |
138 |
--exec-prefix="${EPREFIX}/usr" \ |
139 |
--disable-gnome \ |
140 |
--disable-libemf \ |
141 |
$(use_enable doc db2html) \ |
142 |
$(use_with cairo) \ |
143 |
$(use_with python) \ |
144 |
--without-swig \ |
145 |
--without-hardbooks |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
gnome2_src_install |
150 |
|
151 |
# Install second desktop file for integrated mode (bug #415495) |
152 |
sed -e 's|^Exec=dia|Exec=dia --integrated|' \ |
153 |
-e '/^Name/ s|$| (integrated mode)|' \ |
154 |
"${ED}"/usr/share/applications/dia.desktop \ |
155 |
> "${ED}"/usr/share/applications/dia-integrated.desktop || die |
156 |
} |