1 |
commit: 040e05b406e258170d2e49d508899fa53b93c86b |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 9 07:36:35 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 9 07:36:35 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=040e05b4 |
7 |
|
8 |
Fix double installation of spectrum.h |
9 |
|
10 |
(Portage version: 2.2.0_alpha84/git/Linux x86_64, signed Manifest commit with key 70EB7916) |
11 |
|
12 |
--- |
13 |
sci-chemistry/burrow-owl/ChangeLog | 4 ++++ |
14 |
sci-chemistry/burrow-owl/burrow-owl-9999.ebuild | 10 +++++++++- |
15 |
sci-chemistry/burrow-owl/files/9999-header.patch | 15 +++++++++++++++ |
16 |
sci-chemistry/burrow-owl/files/9999-impl-dec.patch | 8 -------- |
17 |
4 files changed, 28 insertions(+), 9 deletions(-) |
18 |
|
19 |
diff --git a/sci-chemistry/burrow-owl/ChangeLog b/sci-chemistry/burrow-owl/ChangeLog |
20 |
index 05bbaf3..553d67f 100644 |
21 |
--- a/sci-chemistry/burrow-owl/ChangeLog |
22 |
+++ b/sci-chemistry/burrow-owl/ChangeLog |
23 |
@@ -2,6 +2,10 @@ |
24 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: $ |
26 |
|
27 |
+ 09 Jan 2012; Justin Lecher <jlec@g.o> +files/9999-header.patch, |
28 |
+ files/9999-impl-dec.patch, burrow-owl-9999.ebuild: |
29 |
+ Fix double installation of spectrum.h |
30 |
+ |
31 |
*burrow-owl-9999 (08 Jan 2012) |
32 |
|
33 |
08 Jan 2012; Justin Lecher <jlec@g.o> +files/9999-impl-dec.patch, |
34 |
|
35 |
diff --git a/sci-chemistry/burrow-owl/burrow-owl-9999.ebuild b/sci-chemistry/burrow-owl/burrow-owl-9999.ebuild |
36 |
index 5baa35f..495d4db 100644 |
37 |
--- a/sci-chemistry/burrow-owl/burrow-owl-9999.ebuild |
38 |
+++ b/sci-chemistry/burrow-owl/burrow-owl-9999.ebuild |
39 |
@@ -30,7 +30,7 @@ fi |
40 |
LICENSE="GPL-2" |
41 |
SLOT="0" |
42 |
KEYWORDS="~amd64 ~x86" |
43 |
-IUSE="examples" |
44 |
+IUSE="doc examples static-libs" |
45 |
|
46 |
RDEPEND=" |
47 |
dev-scheme/guile-gnome-platform |
48 |
@@ -44,6 +44,7 @@ DEPEND="${RDEPEND} |
49 |
PATCHES=( |
50 |
"${FILESDIR}"/${PV}-no-doc.patch |
51 |
"${FILESDIR}"/${PV}-impl-dec.patch |
52 |
+ "${FILESDIR}"/${PV}-header.patch |
53 |
) |
54 |
|
55 |
MAKEOPTS+=" -j1" |
56 |
@@ -57,6 +58,13 @@ src_unpack() { |
57 |
fi |
58 |
} |
59 |
|
60 |
+src_configure() { |
61 |
+ local myeconfargs=( |
62 |
+ $(use_with doc doxygen) |
63 |
+ ) |
64 |
+ autotools-utils_src_configure |
65 |
+} |
66 |
+ |
67 |
src_install() { |
68 |
autotools-utils_src_install |
69 |
if use examples; then |
70 |
|
71 |
diff --git a/sci-chemistry/burrow-owl/files/9999-header.patch b/sci-chemistry/burrow-owl/files/9999-header.patch |
72 |
new file mode 100644 |
73 |
index 0000000..6a42d40 |
74 |
--- /dev/null |
75 |
+++ b/sci-chemistry/burrow-owl/files/9999-header.patch |
76 |
@@ -0,0 +1,15 @@ |
77 |
+ burrow/spectrum/Makefile.am | 1 - |
78 |
+ 1 files changed, 0 insertions(+), 1 deletions(-) |
79 |
+ |
80 |
+diff --git a/burrow/spectrum/Makefile.am b/burrow/spectrum/Makefile.am |
81 |
+index 18409cd..d9bc0ec 100644 |
82 |
+--- a/burrow/spectrum/Makefile.am |
83 |
++++ b/burrow/spectrum/Makefile.am |
84 |
+@@ -50,7 +50,6 @@ contour.h \ |
85 |
+ nih.h \ |
86 |
+ painter.h \ |
87 |
+ painter_bwps.h \ |
88 |
+-spectrum.h \ |
89 |
+ spectrum_segmented.h \ |
90 |
+ spectrum_convoluted.h \ |
91 |
+ spectrum_diagonal_project.h \ |
92 |
|
93 |
diff --git a/sci-chemistry/burrow-owl/files/9999-impl-dec.patch b/sci-chemistry/burrow-owl/files/9999-impl-dec.patch |
94 |
index 9bb6e12..461e3e6 100644 |
95 |
--- a/sci-chemistry/burrow-owl/files/9999-impl-dec.patch |
96 |
+++ b/sci-chemistry/burrow-owl/files/9999-impl-dec.patch |
97 |
@@ -13,11 +13,3 @@ index 5e099d8..38040bb 100644 |
98 |
|
99 |
/* for debugging purposes; make value available */ |
100 |
static const gdouble datum_unknown_value_substitute=DATUM_UNKNOWN_VALUE_SUBSTITUTE; |
101 |
-@@ -1023,7 +1024,6 @@ point_cache_store(HosSpectrum *spec, gsize idx, gdouble value) |
102 |
- if (point_cache_enable) |
103 |
- { |
104 |
- struct _point_cache_slot *slot = point_cache + point_cache_hash(spec, idx); |
105 |
-- |
106 |
- gint old_version = g_atomic_pointer_get(&(slot->version)); |
107 |
- slot->spec = NULL; |
108 |
- g_atomic_int_set(&(slot->version), old_version + 1); |