Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/dia/
Date: Thu, 30 Apr 2020 15:10:55
Message-Id: 1588259406.053ec7a4b70736f611851120ea2c1a637fe66825.asturm@gentoo
1 commit: 053ec7a4b70736f611851120ea2c1a637fe66825
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 11:42:44 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 15:10:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053ec7a4
7
8 app-office/dia: Drop 0.97.3 (r0)
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-office/dia/dia-0.97.3.ebuild | 104 ---------------------------------------
14 1 file changed, 104 deletions(-)
15
16 diff --git a/app-office/dia/dia-0.97.3.ebuild b/app-office/dia/dia-0.97.3.ebuild
17 deleted file mode 100644
18 index d39f9d30be2..00000000000
19 --- a/app-office/dia/dia-0.97.3.ebuild
20 +++ /dev/null
21 @@ -1,104 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -GCONF_DEBUG=yes
27 -GNOME2_LA_PUNT=yes
28 -PYTHON_COMPAT=( python2_7 )
29 -
30 -inherit autotools eutils gnome2 python-single-r1 multilib
31 -
32 -DESCRIPTION="Diagram/flowchart creation program"
33 -HOMEPAGE="https://wiki.gnome.org/Apps/Dia"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
38 -# the doc USE flag doesn't seem to do anything without docbook2html
39 -# cairo support is preferred as explained by upstream at:
40 -# https://bugzilla.gnome.org/show_bug.cgi?id=729668#c6
41 -IUSE="+cairo doc python"
42 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
43 -
44 -RDEPEND="
45 - >=dev-libs/glib-2:2
46 - dev-libs/libxml2
47 - dev-libs/libxslt
48 - dev-libs/popt
49 - >=media-libs/freetype-2
50 - >=media-libs/libart_lgpl-2
51 - media-libs/libpng:0
52 - sys-libs/zlib
53 - x11-libs/gtk+:2
54 - x11-libs/pango
55 - cairo? ( x11-libs/cairo )
56 - doc? (
57 - app-text/docbook-xml-dtd:4.5
58 - app-text/docbook-xsl-stylesheets )
59 - python? (
60 - >=dev-python/pygtk-2
61 - ${PYTHON_DEPS} )
62 -"
63 -DEPEND="${RDEPEND}
64 - dev-util/intltool
65 - sys-apps/sed
66 - virtual/pkgconfig
67 - doc? ( dev-libs/libxslt )"
68 -
69 -pkg_setup() {
70 - use python && python-single-r1_pkg_setup
71 -}
72 -
73 -src_prepare() {
74 - DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"
75 -
76 - epatch "${FILESDIR}"/${PN}-0.97.0-gnome-doc.patch #159381 , upstream #470812 #558690
77 - epatch "${FILESDIR}"/${PN}-0.97.2-underlinking.patch #420685, upstream #678761
78 - epatch "${FILESDIR}"/${PN}-0.97.3-freetype_pkgconfig.patch #654814, upstream https://gitlab.gnome.org/GNOME/dia/merge_requests/1
79 -
80 - if use python; then
81 - python_fix_shebang .
82 - fi
83 -
84 - if ! use doc; then
85 - # Skip man generation
86 - sed -i -e '/if HAVE_DB2MAN/,/endif/d' doc/*/Makefile.am || die
87 - fi
88 -
89 - # Fix naming conflict on Darwin/OSX, upstream bug #723869
90 - sed -i -e 's/isspecial/char_isspecial/' objects/GRAFCET/boolequation.c || die
91 -
92 - # Upstream bug #737254
93 - sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
94 -
95 - # Upstream bug #737255
96 - sed -i -e "/localedir/d" configure.in || die
97 -
98 - eautoreconf
99 - gnome2_src_prepare
100 -}
101 -
102 -src_configure() {
103 - # --exec-prefix makes Python look for modules in the Prefix
104 - # --enable-gnome only adds support for deprecated stuff, bug #442294
105 - # https://bugzilla.redhat.com/show_bug.cgi?id=996759
106 - gnome2_src_configure \
107 - --exec-prefix="${EPREFIX}/usr" \
108 - --disable-gnome \
109 - --disable-libemf \
110 - $(use_enable doc db2html) \
111 - $(use_with cairo) \
112 - $(use_with python) \
113 - --without-swig \
114 - --without-hardbooks
115 -}
116 -
117 -src_install() {
118 - gnome2_src_install
119 -
120 - # Install second desktop file for integrated mode (bug #415495, upstream #588208)
121 - sed -e 's|^Exec=dia|Exec=dia --integrated|' \
122 - -e '/^Name/ s|$| (integrated mode)|' \
123 - "${ED}"/usr/share/applications/dia.desktop \
124 - > "${ED}"/usr/share/applications/dia-integrated.desktop || die
125 -}