1 |
tomjbe 14/11/29 12:57:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: splat-1.4.1-r1.ebuild |
5 |
Log: |
6 |
Allow building of high resolution tool rfsplat-hd (bug #482476). Thanks for reporting |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 sci-electronics/splat/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/metadata.xml?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/metadata.xml?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/metadata.xml?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/splat/metadata.xml,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- metadata.xml 2 Jun 2010 06:22:04 -0000 1.4 |
24 |
+++ metadata.xml 29 Nov 2014 12:57:05 -0000 1.5 |
25 |
@@ -9,4 +9,8 @@ |
26 |
coordination, communication system design, and terrestrial television and radio |
27 |
broadcasting. |
28 |
</longdescription> |
29 |
+ <use> |
30 |
+ <flag name = 'hires'>Builds additional high resolution application |
31 |
+ 'rfsplat-hd'. </flag> |
32 |
+ </use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.17 sci-electronics/splat/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/ChangeLog?rev=1.17&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/ChangeLog?rev=1.17&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/ChangeLog?r1=1.16&r2=1.17 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v |
46 |
retrieving revision 1.16 |
47 |
retrieving revision 1.17 |
48 |
diff -u -r1.16 -r1.17 |
49 |
--- ChangeLog 29 Nov 2014 12:03:56 -0000 1.16 |
50 |
+++ ChangeLog 29 Nov 2014 12:57:05 -0000 1.17 |
51 |
@@ -1,6 +1,13 @@ |
52 |
# ChangeLog for sci-electronics/splat |
53 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.16 2014/11/29 12:03:56 tomjbe Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.17 2014/11/29 12:57:05 tomjbe Exp $ |
56 |
+ |
57 |
+*splat-1.4.1-r1 (29 Nov 2014) |
58 |
+ |
59 |
+ 29 Nov 2014; Thomas Beierlein <tomjbe@g.o> +splat-1.4.1-r1.ebuild, |
60 |
+ metadata.xml: |
61 |
+ Allow building of high resolution tool rfsplat-hd (bug #482476). Thanks for |
62 |
+ reporting |
63 |
|
64 |
29 Nov 2014; Thomas Beierlein <tomjbe@g.o> splat-1.4.1.ebuild: |
65 |
Fix missing src_configure() |
66 |
|
67 |
|
68 |
|
69 |
1.1 sci-electronics/splat/splat-1.4.1-r1.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/splat-1.4.1-r1.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/splat/splat-1.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: splat-1.4.1-r1.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2014 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/splat-1.4.1-r1.ebuild,v 1.1 2014/11/29 12:57:05 tomjbe Exp $ |
79 |
|
80 |
EAPI=5 |
81 |
inherit eutils toolchain-funcs |
82 |
|
83 |
DESCRIPTION="RF Signal Propagation, Loss, And Terrain analysis tool for the spectrum between 20 MHz and 20 GHz" |
84 |
HOMEPAGE="http://www.qsl.net/kd2bd/splat.html" |
85 |
SRC_URI="http://www.qsl.net/kd2bd/${P}.tar.bz2" |
86 |
|
87 |
LICENSE="GPL-2" |
88 |
SLOT="0" |
89 |
KEYWORDS="~amd64 ~ppc ~x86" |
90 |
IUSE="doc hires linguas_es" |
91 |
|
92 |
DEPEND="sys-libs/zlib |
93 |
app-arch/bzip2" |
94 |
|
95 |
RDEPEND="${DEPEND}" |
96 |
|
97 |
src_prepare() { |
98 |
epatch "${FILESDIR}/${PN}-1.2.2-gcc43.patch" |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
# fake resulting file from interactive configuration script |
103 |
# using default resolution |
104 |
cat <<- EOF > "${S}/splat.h" |
105 |
/* Parameters for 3 arc-second standard resolution mode of operation */ |
106 |
#define MAXPAGES 9 |
107 |
#define HD_MODE 0 |
108 |
EOF |
109 |
if use hires; then |
110 |
# fake resulting file from interactive configuration script |
111 |
# using default resolution |
112 |
cat <<- EOF > "${S}/hires.h" |
113 |
/* Parameters for 3 arc-second hires resolution mode of operation */ |
114 |
#define MAXPAGES 9 |
115 |
#define HD_MODE 1 |
116 |
EOF |
117 |
fi |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
|
122 |
local CC=$(tc-getCC) CXX=$(tc-getCXX) |
123 |
|
124 |
${CXX} -Wall ${CXXFLAGS} ${LDFLAGS} itwom3.0.cpp splat.cpp -o rfsplat -lm -lbz2 || die |
125 |
if use hires; then |
126 |
cp "${S}/hires.h" "${S}/splat.h" |
127 |
${CXX} -Wall ${CXXFLAGS} ${LDFLAGS} itwom3.0.cpp splat.cpp -o rfsplat-hd -lm -lbz2 || die |
128 |
fi |
129 |
|
130 |
cd utils |
131 |
${CC} -Wall ${CFLAGS} ${LDFLAGS} citydecoder.c -o citydecoder |
132 |
${CC} -Wall ${CFLAGS} ${LDFLAGS} usgs2sdf.c -o usgs2sdf |
133 |
${CC} -Wall ${CFLAGS} ${LDFLAGS} srtm2sdf.c -o srtm2sdf -lbz2 |
134 |
#${CC} -Wall ${CFLAGS} ${LDFLAGS} fontdata.c -o fontdata -lz |
135 |
${CC} -Wall ${CFLAGS} ${LDFLAGS} bearing.c -o bearing -lm |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
local SPLAT_LANG="english" |
140 |
use linguas_es && SPLAT_LANG="spanish" |
141 |
# splat binary |
142 |
dobin rfsplat |
143 |
if use hires; then |
144 |
dobin rfsplat-hd |
145 |
fi |
146 |
|
147 |
# utilities |
148 |
dobin utils/{citydecoder,usgs2sdf,srtm2sdf,postdownload,bearing} |
149 |
newman docs/${SPLAT_LANG}/man/splat.man rfsplat.1 |
150 |
|
151 |
dodoc CHANGES README utils/fips.txt |
152 |
newdoc utils/README README.UTILS |
153 |
|
154 |
if use doc; then |
155 |
dodoc docs/${SPLAT_LANG}/{pdf/splat.pdf,postscript/splat.ps} |
156 |
fi |
157 |
#sample data |
158 |
docinto sample_data |
159 |
dodoc sample_data/* |
160 |
} |
161 |
|
162 |
pkg_postinst() { |
163 |
elog "The original SPLAT! command got renamed to 'rfsplat' to avoid" |
164 |
elog "filename collission with app-portage/splat." |
165 |
elog "" |
166 |
elog "Be aware that it is still referenced as 'splat' in the documentation." |
167 |
} |