commit: 73023cba242bb433a737a8f5d1fa139e8c25ea07 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com> AuthorDate: Sat Aug 1 12:00:57 2015 +0000 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> CommitDate: Sat Aug 1 12:00:57 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=73023cba
Version bump with new Debian patches sci-physics/paw/ChangeLog | 139 +++++++++++++++++++++ sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch | 11 ++ sci-physics/paw/metadata.xml | 15 +++ sci-physics/paw/paw-2.14.04-r5.ebuild | 72 +++++++++++ 4 files changed, 237 insertions(+) diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog new file mode 100644 index 0000000..be982fc --- /dev/null +++ b/sci-physics/paw/ChangeLog @@ -0,0 +1,139 @@ +# ChangeLog for sci-physics/paw +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.33 2015/08/01 11:33:55 bircoph Exp $ + +*paw-2.14.04-r5 (01 Aug 2015) + + 01 Aug 2015; Andrew Savchenko <birc...@gentoo.org> +paw-2.14.04-r5.ebuild, + +files/paw-2.14.04-glibc-2.10.patch, +metadata.xml: + Version bump with new Debian patches. + + 01 Aug 2015; Andrew Savchenko <birc...@gentoo.org> -paw-2.14.04-r2.ebuild, + -paw-2.14.04-r3.ebuild, -files/paw-2.14.04-missing-headers.patch: + Remove old, fixes bug 478634. + + 30 Jul 2015; Agostino Sarubbo <a...@gentoo.org> paw-2.14.04-r4.ebuild: + Stable for sparc, wrt bug #550572 + + 09 Jun 2015; Agostino Sarubbo <a...@gentoo.org> paw-2.14.04-r4.ebuild: + Stable for x86, wrt bug #550572 + + 01 Jun 2015; Jeroen Roovers <j...@gentoo.org> paw-2.14.04-r4.ebuild: + Stable for HPPA (bug #550572). + + 28 May 2015; Agostino Sarubbo <a...@gentoo.org> paw-2.14.04-r4.ebuild: + Stable for amd64, wrt bug #550572 + + 27 May 2015; Andrew Savchenko <birc...@gentoo.org> paw-2.14.04-r2.ebuild, + paw-2.14.04-r3.ebuild, paw-2.14.04-r4.ebuild: + Update homepage. + + 04 Jun 2013; Sébastien Fabbro <bicat...@gentoo.org> paw-2.14.04-r4.ebuild: + Switch to EAPI5 and respect RANLIB (bug #468188) + +*paw-2.14.04-r4 (17 Jan 2013) + + 17 Jan 2013; Sébastien Fabbro <bicat...@gentoo.org> +paw-2.14.04-r4.ebuild, + metadata.xml: + Updated Debian patch. Keyworded amd64-linux and x86-linux + + 24 Oct 2012; Ulrich Müller <u...@gentoo.org> paw-2.14.04-r2.ebuild, + paw-2.14.04-r3.ebuild: + Update dependency after package move from x11-libs/openmotif to + x11-libs/motif. + + 16 Oct 2012; Justin Lecher <j...@gentoo.org> paw-2.14.04-r2.ebuild, + paw-2.14.04-r3.ebuild, metadata.xml: + Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the + updated fortran-2.eclass + +*paw-2.14.04-r3 (21 Jul 2011) + + 21 Jul 2011; Sébastien Fabbro <bicat...@gentoo.org> +paw-2.14.04-r3.ebuild: + New debian patch set. Switch to EAPI4 + + 21 Jun 2011; Justin Lecher <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Add dependency on virtual/fortran + + 21 Jun 2011; Justin Lecher <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Added fortran-2.eclass support + + 10 Oct 2010; Ulrich Mueller <u...@gentoo.org> paw-2.14.04-r2.ebuild: + Fix openmotif dependency. + + 25 Jun 2010; Justin Lecher <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Included USE for static bins, #252497 + + 07 Dec 2009; Jeroen Roovers <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Stable for HPPA (bug #294442). + + 04 Dec 2009; Sébastien Fabbro <bicat...@gentoo.org> + paw-2.14.04-r2.ebuild: + Re-changing to old style patching at least until patch-2.6 is not buggy + and masked + + 26 Nov 2009; Sébastien Fabbro <bicat...@gentoo.org> + paw-2.14.04-r2.ebuild: + Fixing patch application with more recent versions + + 17 Sep 2009; Sébastien Fabbro <bicat...@gentoo.org> + paw-2.14.04-r2.ebuild: + Removed static flags which does not work and is just too much work for now + + 11 Sep 2009; Sébastien Fabbro <bicat...@gentoo.org> + paw-2.14.04-r2.ebuild, +files/paw-2.14.04-glibc-2.10.patch, + +files/paw-2.14.04-missing-headers.patch: + Fixed glibc bug #275020, thanks Andrew Savchenko, and add missing header + + 05 May 2009; Christian Faulhammer <fa...@gentoo.org> + paw-2.14.04-r2.ebuild: + stable x86, bug 245875 + + 17 Apr 2009; Sébastien Fabbro <bicat...@gentoo.org> paw-2.14.04-r2: + Modernize to make it consistent with other cernlib ebuilds + + 22 Mar 2009; Jeremy Olexa <darks...@gentoo.org> paw-2.14.04-r2.ebuild: + amd64 stable, bug 245875 + + 03 Mar 2009; Ferris McCormick <fmc...@gentoo.org> paw-2.14.04-r2.ebuild: + Sparc stable, part of Bug #245875. + + 15 Jul 2008; Ferris McCormick <fmc...@gentoo.org> paw-2.14.04-r2.ebuild: + Add ~sparc for testing, dependency required for Bug #230716. + + 14 Jul 2008; Jeroen Roovers <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Remove extraneous KEYWORDS entry. + + 14 Jul 2008; Jeroen Roovers <j...@gentoo.org> paw-2.14.04-r2.ebuild: + Marked ~hppa (bug #230716). + + 10 Jul 2008; Sébastien Fabbro <bicat...@gentoo.org> + -paw-2.14.04-r1.ebuild, paw-2.14.04-r2.ebuild: + Added libXaw as dependency, removed src_test (bug #231208) + + 29 Jun 2008; Torsten Veller <t...@gentoo.org> paw-2.14.04-r1.ebuild, + paw-2.14.04-r2.ebuild: + Add missing die: || "..." -> || die "..." + + 27 Jun 2008; Ulrich Mueller <u...@gentoo.org> paw-2.14.04-r1.ebuild, + paw-2.14.04-r2.ebuild: + Change dependency from virtual/motif to x11-libs/openmotif, bug 224749. + +*paw-2.14.04-r2 (07 Jun 2008) + + 07 Jun 2008; Sébastien Fabbro <bicat...@gentoo.org> -paw-2.14.04.ebuild, + +paw-2.14.04-r2.ebuild: + New patch from Debian, fixes a few issue with cfortran + +*paw-2.14.04-r1 (11 Mar 2008) + + 11 Mar 2008; Sébastien Fabbro <bicat...@gentoo.org> + +paw-2.14.04-r1.ebuild: + New series of patches from Debian, more compatible with gfortran and better + tests. Much ebuild cleaning. + +*paw-2.14.04 (24 Aug 2007) + + 24 Aug 2007; Sébastien Fabbro <bicat...@gentoo.org> +metadata.xml, + +paw-2.14.04.ebuild: + Initial import. 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 new file mode 100644 index 0000000..7cfa5aa --- /dev/null +++ b/sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch @@ -0,0 +1,11 @@ +--- src/pawlib/paw/cpaw/bugrep.c.orig 2009-07-13 00:38:38.000000000 +0400 ++++ src/pawlib/paw/cpaw/bugrep.c 2009-07-13 08:47:54.934308924 +0400 +@@ -20,6 +20,8 @@ + * Paw + * + */ ++#define _POSIX_SOURCE ++ + #include "paw/pilot.h" + #if defined(CERNLIB_BUGREPORT) + /*CMZ : 2.07/19 21/11/95 18.17.13 by Unknown*/ diff --git a/sci-physics/paw/metadata.xml b/sci-physics/paw/metadata.xml new file mode 100644 index 0000000..9450758 --- /dev/null +++ b/sci-physics/paw/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-physics</herd> +<longdescription lang="en"> + PAW is an interactive program providing interactive graphical + presentation and statistical and mathematical analysis tools. It is + designed to work on objects familiar to physicists such as histograms, + event files (Ntuples), vectors, etc. + The program is linked statically against the CERN libraries on 64-bit + architectures in order to function properly, as its design is not very + 64-bit clean. Even so, AMD64 is the only 64-bit platform where it + functions well. +</longdescription> +</pkgmetadata> diff --git a/sci-physics/paw/paw-2.14.04-r5.ebuild b/sci-physics/paw/paw-2.14.04-r5.ebuild new file mode 100644 index 0000000..d24d321 --- /dev/null +++ b/sci-physics/paw/paw-2.14.04-r5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=5 + +inherit eutils toolchain-funcs fortran-2 + +DEB_PN=paw +DEB_PV=${PV}.dfsg.2 +DEB_PR=9 +DEB_P=${DEB_PN}_${DEB_PV} + +DESCRIPTION="CERN's Physics Analysis Workstation data analysis program" +HOMEPAGE="https://paw.web.cern.ch/paw/" +SRC_URI=" + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz + mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz" + +SLOT="0" +LICENSE="GPL-2 LGPL-2 BSD" +KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + sci-physics/cernlib + x11-libs/libXaw + >=x11-libs/motif-2.3:0 + x11-libs/xbae" +DEPEND="${RDEPEND} + dev-lang/cfortran + virtual/latex-base + x11-misc/imake + x11-misc/makedepend" + +S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" + +src_prepare() { + mv ../debian . && cp debian/add-ons/Makefile . + export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" + + # fix some path stuff and collision for comis.h, + # already installed by cernlib and replace hardcoded fortran compiler + sed -i \ + -e "s:/usr/local:${EROOT}/usr:g" \ + -e '/comis.h/d' \ + -e "s/gfortran/$(tc-getFC)/g" \ + Makefile || die + + einfo "Applying Debian patches" + emake -j1 patch + epatch "${FILESDIR}"/${P}-glibc-2.10.patch + # since we depend on cfortran, do not use the one from cernlib + rm src/include/cfortran/cfortran.h || die + sed -i \ + -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \ + -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \ + src/config/Imake.tmpl \ + || die "sed Imake.tmpl failed" +} + +src_compile() { + VARTEXFONTS="${T}"/fonts + emake -j1 cernlib-indep cernlib-arch +} + +src_install() { + default + cd debian + dodoc changelog README.* deadpool.txt copyright + newdoc add-ons/README README.add-ons +}