1 |
tomjbe 14/06/26 09:15:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wspr-3.01.ebuild |
5 |
Log: |
6 |
Add newer version from SVN snapshot which does not segfault (bug #511630). Thanks for reporting Teun |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 media-radio/wspr/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 30 Jul 2013 13:22:04 -0000 1.13 |
24 |
+++ ChangeLog 26 Jun 2014 09:15:52 -0000 1.14 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for media-radio/wspr |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.13 2013/07/30 13:22:04 tomjbe Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.14 2014/06/26 09:15:52 tomjbe Exp $ |
31 |
+ |
32 |
+*wspr-3.01 (26 Jun 2014) |
33 |
+ |
34 |
+ 26 Jun 2014; Thomas Beierlein <tomjbe@g.o> +wspr-3.01.ebuild, |
35 |
+ +files/wspr-3.01-PIL.patch, +files/wspr-3.01-script.patch, |
36 |
+ +files/wspr-3.01-verbose.patch: |
37 |
+ Add newer version from SVN snapshot which does not segfault (bug #511630). |
38 |
+ Thanks for reporting Teun |
39 |
|
40 |
30 Jul 2013; Thomas Beierlein <tomjbe@g.o> -wspr-2.00.ebuild: |
41 |
Drop pre EAPI=4 version wrt bug #478576 |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-radio/wspr/wspr-3.01.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/wspr-3.01.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/wspr-3.01.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: wspr-3.01.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-3.01.ebuild,v 1.1 2014/06/26 09:15:52 tomjbe Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
PYTHON_COMPAT=( python2_{6,7} ) |
58 |
PYTHON_REQ_USE="tk" |
59 |
|
60 |
inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs |
61 |
|
62 |
MY_P=${P}.r2792 |
63 |
|
64 |
DESCRIPTION="Weak Signal Propagation Reporter" |
65 |
HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html" |
66 |
SRC_URI="http://dev.gentoo.org/~tomjbe/distfiles/${MY_P}.tgz" |
67 |
LICENSE="GPL-2" |
68 |
|
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="" |
72 |
|
73 |
RDEPEND=" |
74 |
virtual/python-imaging[tk,${PYTHON_USEDEP}] |
75 |
dev-python/numpy[${PYTHON_USEDEP}] |
76 |
virtual/pmw[${PYTHON_USEDEP}] |
77 |
sci-libs/fftw:3.0 |
78 |
media-libs/hamlib |
79 |
media-libs/portaudio |
80 |
media-libs/libsamplerate" |
81 |
DEPEND="${RDEPEND}" |
82 |
|
83 |
S="${WORKDIR}/${MY_P}" |
84 |
|
85 |
DOCS=( BUGS WSPR_Announcement.TXT WSPR0_Instructions.TXT WSPR_Quick_Start.TXT ) |
86 |
|
87 |
pkg_setup() { |
88 |
fortran-2_pkg_setup |
89 |
} |
90 |
|
91 |
get_fcomp() { |
92 |
case $(tc-getFC) in |
93 |
*gfortran* ) FCOMP="gfortran" ;; |
94 |
* ) FCOMP=$(tc-getFC) ;; |
95 |
esac |
96 |
} |
97 |
|
98 |
python_prepare_all() { |
99 |
tc-export FC |
100 |
get_fcomp |
101 |
export FC="${FCOMP}" |
102 |
|
103 |
local PATCHES=( |
104 |
"${FILESDIR}"/${PN}-2.00-libdir.patch |
105 |
"${FILESDIR}"/${P}-verbose.patch |
106 |
"${FILESDIR}"/${PN}-3.01-script.patch |
107 |
"${FILESDIR}"/${P}-PIL.patch |
108 |
) |
109 |
|
110 |
distutils-r1_python_prepare_all |
111 |
|
112 |
sed -i -e "s/LDFLAGS} ${LIBS}/LDFLAGS} -fPIC ${LIBS}/" Makefile.in || die |
113 |
sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die |
114 |
sed -i -e '/makedirs/d' setup.py || die |
115 |
eautoreconf |
116 |
} |
117 |
|
118 |
# Note: very hacky build system. |
119 |
# autoconf which doesn't really need Python |
120 |
# then custom Makefile which compiles the Python module with f2py |
121 |
# and finally hacked setup.py which relies on w.so created by make |
122 |
|
123 |
src_configure() { |
124 |
# configure the build of the fortran module |
125 |
econf --with-portaudio-lib-dir=/usr/$(get_libdir) |
126 |
|
127 |
# then fork the sources |
128 |
python_copy_sources |
129 |
DISTUTILS_IN_SOURCE_BUILD=1 |
130 |
} |
131 |
|
132 |
python_compile() { |
133 |
# -shared is neded by f2py but cannot be set earlier as configure does |
134 |
# not like it |
135 |
local LDFLAGS=${LDFLAGS} |
136 |
append-ldflags -shared |
137 |
emake -j1 |
138 |
} |
139 |
|
140 |
python_install_all() { |
141 |
distutils-r1_python_install_all |
142 |
|
143 |
dobin wspr |
144 |
insinto /usr/share/${PN} |
145 |
doins hamlib_rig_numbers |
146 |
} |