diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-physics/paw |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/paw')
-rw-r--r-- | sci-physics/paw/Manifest | 9 | ||||
-rw-r--r-- | sci-physics/paw/files/paw-2.14.04-glibc-2.10.patch | 11 | ||||
-rw-r--r-- | sci-physics/paw/metadata.xml | 18 | ||||
-rw-r--r-- | sci-physics/paw/paw-2.14.04-r4.ebuild | 71 | ||||
-rw-r--r-- | sci-physics/paw/paw-2.14.04-r5.ebuild | 71 |
5 files changed, 180 insertions, 0 deletions
diff --git a/sci-physics/paw/Manifest b/sci-physics/paw/Manifest new file mode 100644 index 000000000000..1cd9cd5ed02f --- /dev/null +++ b/sci-physics/paw/Manifest @@ -0,0 +1,9 @@ +AUX paw-2.14.04-glibc-2.10.patch 311 SHA256 a729f58b8d633624340c4ce0eeee453082b6dd8e5b11a2ccc3ac3b286d0b8535 SHA512 b053bedfddf6472d3b8e728b8cac518dd511a1b2ec9e12d7249f0858b3fa9c1214484461217ca4fa8111190c055ad5e69e7ece6b5c7be027f2fd1dfd869f34f7 WHIRLPOOL affcdcb981c40f0c731181bc5e3e1dbd0af9eb37efdd602fe92003722222b629746159664ec43123e7d6cb66679ca5448198cc5b19ab281eff44323db331e033 +DIST paw_2.14.04.dfsg.2-8.debian.tar.gz 75788 SHA256 1fa912310f5c2eb4cd856fca53808d6142451fc6be4ffa3be14f54195f8e2203 SHA512 63800b6071c0614d3d68eceffc23117703a9e48f6a9da3fd160b2eb27b326ffe7dc38718245d40e713b2c047967233e1aa56e7381754bbc95804b4c208d1d270 WHIRLPOOL 38899fa56f370cc4cbae0d593006a09cee451ecfb97b8d236b18bc4a36bfde7d5c4891a9309bd9e8bad9da8d8ba8691fc77b37f7e48545b989f6b9983e61ab38 +DIST paw_2.14.04.dfsg.2-9.debian.tar.gz 79495 SHA256 ff00ccfbc79ea3e727678ff0098d08a87851bc6a18a22b15ddd7e9a7634cef48 SHA512 e0ffd28aef621fbe7ff372bf1add2c3614897c755ada061d80835e43f0e7ebe342c44f5c989110ce53d8896d9738798277689bcb9fcba87c4eeae89e4d340b81 WHIRLPOOL befbf2ef10f1cf28733e06f5d08f36cd1eda8af99640aaf680daec9954ed1ca52a29599855c77e09a949306590a926eba13a5236dc3810debe528c0e720d5bf3 +DIST paw_2.14.04.dfsg.2.orig.tar.gz 3334317 SHA256 68925384706a4a61c477a48ed0fad539d214a4b04fdb9db5ef4e8d453f26c44e SHA512 6e4ef312195936b42ad641a63335586f48e0383e8a7f4330d52173492584f9d03c5fa4eab7e7de594e30556a1daacbe162b4f879718c9c489cb7a89f072b962e WHIRLPOOL a1c78a8d66cc10a1014a96d0b276fc0bf0725ff08ed6055ff4be9c194d50d1416ea32bfae32ea18d1b919d03ff2746c0bda29b74c15b2296f211d58086951551 +EBUILD paw-2.14.04-r4.ebuild 1793 SHA256 41258b5a0f35c63b300bc4819b7e5adaa791caaadad0f75251ff77fe075a30fb SHA512 040d9795bc1115730c9fd7fe11e558759ff81085a16c44a5d94f50108fcc7a3f1368e842582699c40618027f95fb6d757dc27bb6c81a33965150714332f23d6d WHIRLPOOL 451a51e54f14f5c49c6843e98262c85c56e3b44245f0d5ffebae82f1cf92942d72dd16157964c874d86f2ced18546e5bc1e4a80961445101d205685f26f37abf +EBUILD paw-2.14.04-r5.ebuild 1797 SHA256 7f59f06c8dc530ffedbb3c43bc2a6dcaea22c6dc85d76cb889b4d016686ea2dc SHA512 545245d1ffcf864fa381a51dda25318348010c155b95b0b79f4f1f2e6b845d04f4401b5ce8452e788a510332e2aabddb947e93025fe35d4ab50035d6475a8fd8 WHIRLPOOL 3ffd23489399bced58537ded4107401a06f39c1109b62082c0f137e25f97d9936a4980f7a8b5435d75f49ab10d557f1ed5d7ed36155cf14e64871ec961990c75 +MISC ChangeLog 2521 SHA256 ade321e298ece1989f9e85fc7c4d585d1de35c83cc29ad847e564f086fc7bc55 SHA512 2c302b3a8acf35a88e0fdc0221beb0b7d9fde64678526fb6c90b9a7b7402aa6feb10c50df51d766ab277a5b30232268bd12b125a04f37efe565e7ea94dd17fc6 WHIRLPOOL 57a0fe4c6ef88bfe7ce294f205b9ef332fd8903a2e3ae7adb41b8134dcee4992ca3b3265d1d9d63ab7625b5c60a84c7c35c9e8b3a0d9e618cbf6e14d916de93a +MISC ChangeLog-2015 5036 SHA256 0627ddf7bc9473fdbb2746d445dbf33f5e015e4cabac6a2019682c645abdbba5 SHA512 f71d66b7c4d35bdbb34d263133d1b2a8bb46b2f728fe5a98acc6c2a241a55dbebf9347dde3fff19531c002b900744b31c31683d8ea59f00eb75211f93dc2c99e WHIRLPOOL af3fa52ab29dd882bd357ad4cc9f1e2a0c805caa65e8d6cc21097e0f9a1c58a948f238d9e6c9e2a3f3ae1886eb06d001fc0d1be6ddf5b7851dbd9029d3e9c188 +MISC metadata.xml 781 SHA256 d4d8d4f397bcf6f0cb9643fd8ab3a4c564e28b169efc70781cab7a16f5c2b83b SHA512 195d9621e493c6deb26e79f7193bbe0dd02df65a693ca65462efb9ac23904f1de534eed3f390d01e9a20786e6a79d3dff7f1e488f2441dd132db6b323ee06af0 WHIRLPOOL 1c4014e7fd255f650ee9beb98dcec79373109697a3c31e18257221f41667657c47ae0a72bdebcecf03fba85d79bf3ffa3e22e03e1623cbaefa0893c39b104fa7 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 000000000000..7cfa5aa03d12 --- /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 000000000000..38d0f44222c5 --- /dev/null +++ b/sci-physics/paw/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci-physics@gentoo.org</email> + <name>Gentoo Physics Project</name> +</maintainer> +<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-r4.ebuild b/sci-physics/paw/paw-2.14.04-r4.ebuild new file mode 100644 index 000000000000..74a1cbc75beb --- /dev/null +++ b/sci-physics/paw/paw-2.14.04-r4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs fortran-2 + +DEB_PN=paw +DEB_PV=${PV}.dfsg.2 +DEB_PR=8 +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 +} 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 000000000000..5774f34fa4e7 --- /dev/null +++ b/sci-physics/paw/paw-2.14.04-r5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |