Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/dia: dia-0.97.3.ebuild ChangeLog dia-0.97.3_pre20140417.ebuild
Date: Wed, 24 Sep 2014 11:54:07
Message-Id: 20140924115402.BF60C61E7@oystercatcher.gentoo.org
1 pacho 14/09/24 11:54:02
2
3 Modified: ChangeLog
4 Added: dia-0.97.3.ebuild
5 Removed: dia-0.97.3_pre20140417.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.174 app-office/dia/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.174&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?rev=1.174&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/ChangeLog?r1=1.173&r2=1.174
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v
21 retrieving revision 1.173
22 retrieving revision 1.174
23 diff -u -r1.173 -r1.174
24 --- ChangeLog 7 Aug 2014 17:53:18 -0000 1.173
25 +++ ChangeLog 24 Sep 2014 11:54:02 -0000 1.174
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-office/dia
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.173 2014/08/07 17:53:18 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.174 2014/09/24 11:54:02 pacho Exp $
31 +
32 +*dia-0.97.3 (24 Sep 2014)
33 +
34 + 24 Sep 2014; Pacho Ramos <pacho@g.o> +dia-0.97.3.ebuild,
35 + -dia-0.97.3_pre20140417.ebuild:
36 + Version bump, drop old
37
38 07 Aug 2014; Jeroen Roovers <jer@g.o>
39 dia-0.97.3_pre20140417-r1.ebuild:
40
41
42
43 1.1 app-office/dia/dia-0.97.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/dia/dia-0.97.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dia-0.97.3.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.ebuild,v 1.1 2014/09/24 11:54:02 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 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~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 # cairo support is preferred as explained by upstream at:
69 # https://bugzilla.gnome.org/show_bug.cgi?id=729668#c6
70 IUSE="+cairo doc python"
71
72 RDEPEND="
73 >=dev-libs/glib-2:2
74 dev-libs/libxml2
75 dev-libs/libxslt
76 dev-libs/popt
77 >=media-libs/freetype-2
78 >=media-libs/libart_lgpl-2
79 media-libs/libpng:0
80 sys-libs/zlib
81 x11-libs/gtk+:2
82 x11-libs/pango
83 cairo? ( x11-libs/cairo )
84 doc? (
85 app-text/docbook-xml-dtd:4.5
86 app-text/docbook-xsl-stylesheets )
87 python? (
88 >=dev-python/pygtk-2
89 ${PYTHON_DEPS} )
90 "
91 DEPEND="${RDEPEND}
92 dev-util/intltool
93 sys-apps/sed
94 virtual/pkgconfig
95 doc? ( dev-libs/libxslt )"
96
97 pkg_setup() {
98 use python && python-single-r1_pkg_setup
99 }
100
101 src_prepare() {
102 DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"
103
104 epatch "${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch #159381 , upstream #470812 #558690
105 epatch "${FILESDIR}"/${PN}-0.97.2-underlinking.patch #420685, upstream #678761
106
107 if use python; then
108 python_fix_shebang .
109 sed -i -e "s/\.so/$(get_libname)/" acinclude.m4 || die #298232
110 fi
111
112 if ! use doc; then
113 # Skip man generation
114 sed -i -e '/if HAVE_DB2MAN/,/endif/d' doc/*/Makefile.am || die
115 fi
116
117 # Fix naming conflict on Darwin/OSX, upstream bug #723869
118 sed -i -e 's/isspecial/char_isspecial/' objects/GRAFCET/boolequation.c || die
119
120 # Upstream bug #737254
121 sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
122
123 # Upstream bug #737255
124 sed -i -e "/localedir/d" configure.in || die
125
126 eautoreconf
127 gnome2_src_prepare
128 }
129
130 src_configure() {
131 # --exec-prefix makes Python look for modules in the Prefix
132 # --enable-gnome only adds support for deprecated stuff, bug #442294
133 # https://bugzilla.redhat.com/show_bug.cgi?id=996759
134 gnome2_src_configure \
135 --exec-prefix="${EPREFIX}/usr" \
136 --disable-gnome \
137 --disable-libemf \
138 $(use_enable doc db2html) \
139 $(use_with cairo) \
140 $(use_with python) \
141 --without-swig \
142 --without-hardbooks
143 }
144
145 src_install() {
146 gnome2_src_install
147
148 # Install second desktop file for integrated mode (bug #415495, upstream #588208)
149 sed -e 's|^Exec=dia|Exec=dia --integrated|' \
150 -e '/^Name/ s|$| (integrated mode)|' \
151 "${ED}"/usr/share/applications/dia.desktop \
152 > "${ED}"/usr/share/applications/dia-integrated.desktop || die
153 }