Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/paw/, sci-physics/paw/files/
Date: Sat, 01 Aug 2015 12:01:47
Message-Id: 1438430457.73023cba242bb433a737a8f5d1fa139e8c25ea07.bircoph@gentoo
1 commit: 73023cba242bb433a737a8f5d1fa139e8c25ea07
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Sat Aug 1 12:00:57 2015 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 12:00:57 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=73023cba
7
8 Version bump with new Debian patches
9
10 sci-physics/paw/ChangeLog | 139 +++++++++++++++++++++
11 sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch | 11 ++
12 sci-physics/paw/metadata.xml | 15 +++
13 sci-physics/paw/paw-2.14.04-r5.ebuild | 72 +++++++++++
14 4 files changed, 237 insertions(+)
15
16 diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog
17 new file mode 100644
18 index 0000000..be982fc
19 --- /dev/null
20 +++ b/sci-physics/paw/ChangeLog
21 @@ -0,0 +1,139 @@
22 +# ChangeLog for sci-physics/paw
23 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.33 2015/08/01 11:33:55 bircoph Exp $
25 +
26 +*paw-2.14.04-r5 (01 Aug 2015)
27 +
28 + 01 Aug 2015; Andrew Savchenko <bircoph@g.o> +paw-2.14.04-r5.ebuild,
29 + +files/paw-2.14.04-glibc-2.10.patch, +metadata.xml:
30 + Version bump with new Debian patches.
31 +
32 + 01 Aug 2015; Andrew Savchenko <bircoph@g.o> -paw-2.14.04-r2.ebuild,
33 + -paw-2.14.04-r3.ebuild, -files/paw-2.14.04-missing-headers.patch:
34 + Remove old, fixes bug 478634.
35 +
36 + 30 Jul 2015; Agostino Sarubbo <ago@g.o> paw-2.14.04-r4.ebuild:
37 + Stable for sparc, wrt bug #550572
38 +
39 + 09 Jun 2015; Agostino Sarubbo <ago@g.o> paw-2.14.04-r4.ebuild:
40 + Stable for x86, wrt bug #550572
41 +
42 + 01 Jun 2015; Jeroen Roovers <jer@g.o> paw-2.14.04-r4.ebuild:
43 + Stable for HPPA (bug #550572).
44 +
45 + 28 May 2015; Agostino Sarubbo <ago@g.o> paw-2.14.04-r4.ebuild:
46 + Stable for amd64, wrt bug #550572
47 +
48 + 27 May 2015; Andrew Savchenko <bircoph@g.o> paw-2.14.04-r2.ebuild,
49 + paw-2.14.04-r3.ebuild, paw-2.14.04-r4.ebuild:
50 + Update homepage.
51 +
52 + 04 Jun 2013; Sébastien Fabbro <bicatali@g.o> paw-2.14.04-r4.ebuild:
53 + Switch to EAPI5 and respect RANLIB (bug #468188)
54 +
55 +*paw-2.14.04-r4 (17 Jan 2013)
56 +
57 + 17 Jan 2013; Sébastien Fabbro <bicatali@g.o> +paw-2.14.04-r4.ebuild,
58 + metadata.xml:
59 + Updated Debian patch. Keyworded amd64-linux and x86-linux
60 +
61 + 24 Oct 2012; Ulrich Müller <ulm@g.o> paw-2.14.04-r2.ebuild,
62 + paw-2.14.04-r3.ebuild:
63 + Update dependency after package move from x11-libs/openmotif to
64 + x11-libs/motif.
65 +
66 + 16 Oct 2012; Justin Lecher <jlec@g.o> paw-2.14.04-r2.ebuild,
67 + paw-2.14.04-r3.ebuild, metadata.xml:
68 + Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the
69 + updated fortran-2.eclass
70 +
71 +*paw-2.14.04-r3 (21 Jul 2011)
72 +
73 + 21 Jul 2011; Sébastien Fabbro <bicatali@g.o> +paw-2.14.04-r3.ebuild:
74 + New debian patch set. Switch to EAPI4
75 +
76 + 21 Jun 2011; Justin Lecher <jlec@g.o> paw-2.14.04-r2.ebuild:
77 + Add dependency on virtual/fortran
78 +
79 + 21 Jun 2011; Justin Lecher <jlec@g.o> paw-2.14.04-r2.ebuild:
80 + Added fortran-2.eclass support
81 +
82 + 10 Oct 2010; Ulrich Mueller <ulm@g.o> paw-2.14.04-r2.ebuild:
83 + Fix openmotif dependency.
84 +
85 + 25 Jun 2010; Justin Lecher <jlec@g.o> paw-2.14.04-r2.ebuild:
86 + Included USE for static bins, #252497
87 +
88 + 07 Dec 2009; Jeroen Roovers <jer@g.o> paw-2.14.04-r2.ebuild:
89 + Stable for HPPA (bug #294442).
90 +
91 + 04 Dec 2009; Sébastien Fabbro <bicatali@g.o>
92 + paw-2.14.04-r2.ebuild:
93 + Re-changing to old style patching at least until patch-2.6 is not buggy
94 + and masked
95 +
96 + 26 Nov 2009; Sébastien Fabbro <bicatali@g.o>
97 + paw-2.14.04-r2.ebuild:
98 + Fixing patch application with more recent versions
99 +
100 + 17 Sep 2009; Sébastien Fabbro <bicatali@g.o>
101 + paw-2.14.04-r2.ebuild:
102 + Removed static flags which does not work and is just too much work for now
103 +
104 + 11 Sep 2009; Sébastien Fabbro <bicatali@g.o>
105 + paw-2.14.04-r2.ebuild, +files/paw-2.14.04-glibc-2.10.patch,
106 + +files/paw-2.14.04-missing-headers.patch:
107 + Fixed glibc bug #275020, thanks Andrew Savchenko, and add missing header
108 +
109 + 05 May 2009; Christian Faulhammer <fauli@g.o>
110 + paw-2.14.04-r2.ebuild:
111 + stable x86, bug 245875
112 +
113 + 17 Apr 2009; Sébastien Fabbro <bicatali@g.o> paw-2.14.04-r2:
114 + Modernize to make it consistent with other cernlib ebuilds
115 +
116 + 22 Mar 2009; Jeremy Olexa <darkside@g.o> paw-2.14.04-r2.ebuild:
117 + amd64 stable, bug 245875
118 +
119 + 03 Mar 2009; Ferris McCormick <fmccor@g.o> paw-2.14.04-r2.ebuild:
120 + Sparc stable, part of Bug #245875.
121 +
122 + 15 Jul 2008; Ferris McCormick <fmccor@g.o> paw-2.14.04-r2.ebuild:
123 + Add ~sparc for testing, dependency required for Bug #230716.
124 +
125 + 14 Jul 2008; Jeroen Roovers <jer@g.o> paw-2.14.04-r2.ebuild:
126 + Remove extraneous KEYWORDS entry.
127 +
128 + 14 Jul 2008; Jeroen Roovers <jer@g.o> paw-2.14.04-r2.ebuild:
129 + Marked ~hppa (bug #230716).
130 +
131 + 10 Jul 2008; Sébastien Fabbro <bicatali@g.o>
132 + -paw-2.14.04-r1.ebuild, paw-2.14.04-r2.ebuild:
133 + Added libXaw as dependency, removed src_test (bug #231208)
134 +
135 + 29 Jun 2008; Torsten Veller <tove@g.o> paw-2.14.04-r1.ebuild,
136 + paw-2.14.04-r2.ebuild:
137 + Add missing die: || "..." -> || die "..."
138 +
139 + 27 Jun 2008; Ulrich Mueller <ulm@g.o> paw-2.14.04-r1.ebuild,
140 + paw-2.14.04-r2.ebuild:
141 + Change dependency from virtual/motif to x11-libs/openmotif, bug 224749.
142 +
143 +*paw-2.14.04-r2 (07 Jun 2008)
144 +
145 + 07 Jun 2008; Sébastien Fabbro <bicatali@g.o> -paw-2.14.04.ebuild,
146 + +paw-2.14.04-r2.ebuild:
147 + New patch from Debian, fixes a few issue with cfortran
148 +
149 +*paw-2.14.04-r1 (11 Mar 2008)
150 +
151 + 11 Mar 2008; Sébastien Fabbro <bicatali@g.o>
152 + +paw-2.14.04-r1.ebuild:
153 + New series of patches from Debian, more compatible with gfortran and better
154 + tests. Much ebuild cleaning.
155 +
156 +*paw-2.14.04 (24 Aug 2007)
157 +
158 + 24 Aug 2007; Sébastien Fabbro <bicatali@g.o> +metadata.xml,
159 + +paw-2.14.04.ebuild:
160 + Initial import.
161
162 diff --git a/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch b/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch
163 new file mode 100644
164 index 0000000..7cfa5aa
165 --- /dev/null
166 +++ b/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch
167 @@ -0,0 +1,11 @@
168 +--- src/pawlib/paw/cpaw/bugrep.c.orig 2009-07-13 00:38:38.000000000 +0400
169 ++++ src/pawlib/paw/cpaw/bugrep.c 2009-07-13 08:47:54.934308924 +0400
170 +@@ -20,6 +20,8 @@
171 + * Paw
172 + *
173 + */
174 ++#define _POSIX_SOURCE
175 ++
176 + #include "paw/pilot.h"
177 + #if defined(CERNLIB_BUGREPORT)
178 + /*CMZ : 2.07/19 21/11/95 18.17.13 by Unknown*/
179
180 diff --git a/sci-physics/paw/metadata.xml b/sci-physics/paw/metadata.xml
181 new file mode 100644
182 index 0000000..9450758
183 --- /dev/null
184 +++ b/sci-physics/paw/metadata.xml
185 @@ -0,0 +1,15 @@
186 +<?xml version="1.0" encoding="UTF-8"?>
187 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
188 +<pkgmetadata>
189 +<herd>sci-physics</herd>
190 +<longdescription lang="en">
191 + PAW is an interactive program providing interactive graphical
192 + presentation and statistical and mathematical analysis tools. It is
193 + designed to work on objects familiar to physicists such as histograms,
194 + event files (Ntuples), vectors, etc.
195 + The program is linked statically against the CERN libraries on 64-bit
196 + architectures in order to function properly, as its design is not very
197 + 64-bit clean. Even so, AMD64 is the only 64-bit platform where it
198 + functions well.
199 +</longdescription>
200 +</pkgmetadata>
201
202 diff --git a/sci-physics/paw/paw-2.14.04-r5.ebuild b/sci-physics/paw/paw-2.14.04-r5.ebuild
203 new file mode 100644
204 index 0000000..d24d321
205 --- /dev/null
206 +++ b/sci-physics/paw/paw-2.14.04-r5.ebuild
207 @@ -0,0 +1,72 @@
208 +# Copyright 1999-2015 Gentoo Foundation
209 +# Distributed under the terms of the GNU General Public License v2
210 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r4.ebuild,v 1.7 2015/07/30 12:59:58 ago Exp $
211 +
212 +EAPI=5
213 +
214 +inherit eutils toolchain-funcs fortran-2
215 +
216 +DEB_PN=paw
217 +DEB_PV=${PV}.dfsg.2
218 +DEB_PR=9
219 +DEB_P=${DEB_PN}_${DEB_PV}
220 +
221 +DESCRIPTION="CERN's Physics Analysis Workstation data analysis program"
222 +HOMEPAGE="https://paw.web.cern.ch/paw/"
223 +SRC_URI="
224 + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
225 + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
226 +
227 +SLOT="0"
228 +LICENSE="GPL-2 LGPL-2 BSD"
229 +KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux"
230 +IUSE=""
231 +
232 +RDEPEND="
233 + sci-physics/cernlib
234 + x11-libs/libXaw
235 + >=x11-libs/motif-2.3:0
236 + x11-libs/xbae"
237 +DEPEND="${RDEPEND}
238 + dev-lang/cfortran
239 + virtual/latex-base
240 + x11-misc/imake
241 + x11-misc/makedepend"
242 +
243 +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
244 +
245 +src_prepare() {
246 + mv ../debian . && cp debian/add-ons/Makefile .
247 + export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
248 +
249 + # fix some path stuff and collision for comis.h,
250 + # already installed by cernlib and replace hardcoded fortran compiler
251 + sed -i \
252 + -e "s:/usr/local:${EROOT}/usr:g" \
253 + -e '/comis.h/d' \
254 + -e "s/gfortran/$(tc-getFC)/g" \
255 + Makefile || die
256 +
257 + einfo "Applying Debian patches"
258 + emake -j1 patch
259 + epatch "${FILESDIR}"/${P}-glibc-2.10.patch
260 + # since we depend on cfortran, do not use the one from cernlib
261 + rm src/include/cfortran/cfortran.h || die
262 + sed -i \
263 + -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
264 + -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
265 + src/config/Imake.tmpl \
266 + || die "sed Imake.tmpl failed"
267 +}
268 +
269 +src_compile() {
270 + VARTEXFONTS="${T}"/fonts
271 + emake -j1 cernlib-indep cernlib-arch
272 +}
273 +
274 +src_install() {
275 + default
276 + cd debian
277 + dodoc changelog README.* deadpool.txt copyright
278 + newdoc add-ons/README README.add-ons
279 +}