1 |
commit: 0aad22fc82522f86eca12248f591838bc74ae66b |
2 |
Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net> |
3 |
AuthorDate: Sat Feb 11 16:08:00 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 17:02:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aad22fc |
7 |
|
8 |
sci-mathematics/drgeo: EAPI bump 4 -> 6 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3910 |
12 |
|
13 |
sci-mathematics/drgeo/drgeo-1.1.0-r1.ebuild | 48 ++++++++++++++++++++++ |
14 |
.../drgeo/files/drgeo-1.1.0-gcc45.patch | 12 +++--- |
15 |
2 files changed, 54 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/sci-mathematics/drgeo/drgeo-1.1.0-r1.ebuild b/sci-mathematics/drgeo/drgeo-1.1.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000000..5392bb9057 |
20 |
--- /dev/null |
21 |
+++ b/sci-mathematics/drgeo/drgeo-1.1.0-r1.ebuild |
22 |
@@ -0,0 +1,48 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit eutils |
30 |
+ |
31 |
+DOC="${PN}-doc-1.5" |
32 |
+ |
33 |
+DESCRIPTION="Interactive geometry package" |
34 |
+HOMEPAGE="http://www.ofset.org/drgeo" |
35 |
+SRC_URI=" |
36 |
+ mirror://sourceforge/ofset/${P}.tar.gz |
37 |
+ mirror://sourceforge/ofset/${DOC}.tar.gz" |
38 |
+ |
39 |
+SLOT="0" |
40 |
+LICENSE="GPL-2" |
41 |
+KEYWORDS="~amd64 ~ppc ~x86" |
42 |
+IUSE="nls" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-libs/libxml2:2 |
46 |
+ dev-scheme/guile:=[deprecated] |
47 |
+ gnome-base/libglade:2.0 |
48 |
+ x11-libs/gtk+:2" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ virtual/pkgconfig" |
51 |
+ |
52 |
+PATCHES=( "${FILESDIR}"/${P}-gcc45.patch ) |
53 |
+ |
54 |
+src_configure() { |
55 |
+ default |
56 |
+ # Can't make the documentation as it depends on Hyperlatex which isn't |
57 |
+ # yet in portage. Fortunately HTML is already compiled for us in the |
58 |
+ # tarball and so can be installed. Just create the make install target. |
59 |
+ cd "${WORKDIR}"/${DOC} || die |
60 |
+ econf |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ sed -i -e "s/gnome-drgenius.png/${PN}/" \ |
65 |
+ -e '/^Categories=/s/Application;//' \ |
66 |
+ ${PN}.desktop || die |
67 |
+ default |
68 |
+ emake -C "${WORKDIR}"/${DOC}/$(usex nls "" c) DESTDIR="${D}" install |
69 |
+ doicon glade/${PN}.png |
70 |
+} |
71 |
|
72 |
diff --git a/sci-mathematics/drgeo/files/drgeo-1.1.0-gcc45.patch b/sci-mathematics/drgeo/files/drgeo-1.1.0-gcc45.patch |
73 |
index 1d8e93e06f..257cbb23d1 100644 |
74 |
--- a/sci-mathematics/drgeo/files/drgeo-1.1.0-gcc45.patch |
75 |
+++ b/sci-mathematics/drgeo/files/drgeo-1.1.0-gcc45.patch |
76 |
@@ -3,8 +3,8 @@ Fix build with GCC 4.5, fix random SIGSEGV |
77 |
http://bugs.gentoo.org/show_bug.cgi?id=322211 |
78 |
https://bugzilla.redhat.com/show_bug.cgi?id=454045 |
79 |
|
80 |
---- geo/drgeo_figure.h |
81 |
-+++ geo/drgeo_figure.h |
82 |
+--- a/geo/drgeo_figure.h |
83 |
++++ b/geo/drgeo_figure.h |
84 |
@@ -322,4 +322,11 @@ |
85 |
gboolean showGrid; |
86 |
}; |
87 |
@@ -17,8 +17,8 @@ https://bugzilla.redhat.com/show_bug.cgi?id=454045 |
88 |
+drgeoDialogData; |
89 |
+ |
90 |
#endif |
91 |
---- geo/drgeo_figure.cc |
92 |
-+++ geo/drgeo_figure.cc |
93 |
+--- a/geo/drgeo_figure.cc |
94 |
++++ b/geo/drgeo_figure.cc |
95 |
@@ -48,13 +48,6 @@ |
96 |
#include "drgeo_dialog.h" |
97 |
#include "traite.h" |
98 |
@@ -42,8 +42,8 @@ https://bugzilla.redhat.com/show_bug.cgi?id=454045 |
99 |
} |
100 |
|
101 |
void |
102 |
---- geo/drgeo_dialog.cc |
103 |
-+++ geo/drgeo_dialog.cc |
104 |
+--- a/geo/drgeo_dialog.cc |
105 |
++++ b/geo/drgeo_dialog.cc |
106 |
@@ -38,14 +38,6 @@ |
107 |
// Used in the style dialod callback, I know it's ugly, but so easy |
108 |
static drgeoFigure *selected_figure; |