Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-radio/wspr/files: wspr-3.01-PIL.patch wspr-3.01-verbose.patch wspr-3.01-script.patch
Date: Thu, 26 Jun 2014 09:16:01
Message-Id: 20140626091553.80FC62004F@flycatcher.gentoo.org
1 tomjbe 14/06/26 09:15:53
2
3 Added: wspr-3.01-PIL.patch wspr-3.01-verbose.patch
4 wspr-3.01-script.patch
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.1 media-radio/wspr/files/wspr-3.01-PIL.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-PIL.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-PIL.patch?rev=1.1&content-type=text/plain
15
16 Index: wspr-3.01-PIL.patch
17 ===================================================================
18 --- wspr.py.orig 2014-06-23 21:25:51.000000000 +0200
19 +++ wspr.py 2014-06-23 21:26:03.000000000 +0200
20 @@ -35,7 +35,7 @@
21 from Numeric import zeros
22 import array
23 import dircache
24 -import Image, ImageTk, ImageDraw
25 +from PIL import Image, ImageTk, ImageDraw
26 from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
27 colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
28 from types import *
29
30
31
32 1.1 media-radio/wspr/files/wspr-3.01-verbose.patch
33
34 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-verbose.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-verbose.patch?rev=1.1&content-type=text/plain
36
37 Index: wspr-3.01-verbose.patch
38 ===================================================================
39 # make f2py verbose
40 --- Makefile.in.orig 2014-06-23 21:14:51.000000000 +0200
41 +++ Makefile.in 2014-06-23 21:15:11.000000000 +0200
42 @@ -95,7 +95,7 @@
43 OBJS2C = ${SRCS2C:.c=.o}
44
45 WsprMod/w.so: ${OBJS2C} $(SRCS2C) $(SRCS2F90) $(SRCS2F77) acom1.f90
46 - ${F2PY} -c --quiet --noopt --debug -m w \
47 + ${F2PY} -c --noopt --debug -m w \
48 --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
49 --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
50 --opt="-fbounds-check ${FFLAGS}" \
51
52
53
54 1.1 media-radio/wspr/files/wspr-3.01-script.patch
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-script.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-script.patch?rev=1.1&content-type=text/plain
58
59 Index: wspr-3.01-script.patch
60 ===================================================================
61 --- wspr.py.orig 2014-06-24 19:13:55.000000000 +0200
62 +++ wspr.py 2014-06-24 19:14:43.000000000 +0200
63 @@ -1,3 +1,4 @@
64 +#!/usr/bin/python
65 #-------------------------------------------------------------------- WSPR
66 # $Date: 2014/06/26 09:15:53 $ $Revision: 1.1 $
67 #
68 --- wspr.orig 2014-06-24 18:57:00.000000000 +0200
69 +++ wspr 2014-06-24 19:09:50.000000000 +0200
70 @@ -1,2 +1,7 @@
71 -LD_LIBRARY_PATH=./lib
72 -python -O wspr.py
73 +#!/bin/sh
74 +if [ ! -e ~/.wspr ] ; then
75 + mkdir ~/.wspr
76 + mkdir ~/.wspr/save
77 +fi
78 +cd ~/.wspr
79 +/usr/bin/wspr.py