summaryrefslogtreecommitdiff
path: root/sci-physics/cernlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /sci-physics/cernlib
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'sci-physics/cernlib')
-rw-r--r--sci-physics/cernlib/Manifest9
-rw-r--r--sci-physics/cernlib/cernlib-2006-r5.ebuild107
-rw-r--r--sci-physics/cernlib/cernlib-2006-r7.ebuild108
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-fgets.patch20
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-nogfortran.patch56
-rw-r--r--sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch11
-rw-r--r--sci-physics/cernlib/metadata.xml17
7 files changed, 0 insertions, 328 deletions
diff --git a/sci-physics/cernlib/Manifest b/sci-physics/cernlib/Manifest
deleted file mode 100644
index da1beb2f77f5..000000000000
--- a/sci-physics/cernlib/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX cernlib-2006-fgets.patch 759 BLAKE2B b5918c254fa39cbc09b7069a7d41fda6d0e420af795b25ed3fd22118d0984268f4de88154baa23b744a3b4996682b094dfa0ff99726316c5a0bb4479c5049391 SHA512 efd017d9164e94870364e7124ae7ffd001989ffafe44ee85c5161bcc6399de4559430fdb39daf25e4fdb788a74ada06f00b9023651e714ca0c5ccf1ca248e821
-AUX cernlib-2006-nogfortran.patch 1994 BLAKE2B 589c8d747ea5af3c2a2a75a16e5311e2facc7a03aa7e20395c64e4cddfe6a9ea6defd1613bd7919672ecc130c92807e10544260212bf633adcf126d7a3e9456f SHA512 9446e85f57c5cdc78468e738f2a5d7227a2a91d4d6591b063fbc0a976bdb1b1f34edceee92ed7fbac558b1f6ba2663d1b43c373e92da3f414df21c601a0f1f72
-AUX cernlib-2006-ypatchy-short-name.patch 331 BLAKE2B 62683907b710db6963d5146b5d6fc775ca469389a381eca2624d9816db5c0c96dd015382f487d993b32d8896b7c644dfc7bff752b90f920495bed9a2fa84bbd3 SHA512 dd97e328706c243b84c6464ee1db3c546280dba838766e6aefd8a5349e57a3b430c38d81909f5ad445af7c3a602e0a6e64110b7f8eb6e44a907a7311828142e9
-DIST cernlib_20061220+dfsg3-2.debian.tar.gz 257093 BLAKE2B 35ae90e38ddb935f252531cdf49dc038cdb7543b9168076f97458323a2458938cfa2f1768165d4cc59649021e2b268139dd53b3ef09d2a6601e1f68792c69af1 SHA512 43a2ca55d42b92bfb551b029c75728e80b4c83473397b52f746d9481c7503762bc5a281732908bfeb29a64f728fed4c127ed1cb9101c16e4fb2dd28c452730ea
-DIST cernlib_20061220+dfsg3-4.3.debian.tar.xz 168928 BLAKE2B 15147d1d84d3e4abb06620154425a035e64d6e5254177f9647634fdf63e4a5aa42deba6c8f638f338cf85e8766732388cc6298813dd5b007d1ef97fddcef3d39 SHA512 8cb666d9ef62627e7e3e55bd1986b40ca9ddfcc882101b1a3597c1d60870e30649b5c7716687f7e4106b30ba0aa88a9ca7bc3a3651b0d1405f55a6f611dc308b
-DIST cernlib_20061220+dfsg3.orig.tar.gz 6434476 BLAKE2B 069eda316ffbc4873e79952283a0aa2693ed58a3cc369bca72e29a4feaef4840922b4f62ababba1476f2aa0309f68833a4a35a3b5c6ac015bdbd85b3b58b2efe SHA512 11fade45c5ae69c858f37a82e74ab1a69416314a23c12ec5205ee6b918590d66f26d3ae68afa466ae3109d736212968ece956a444270ddd189a27a24c0ccece8
-EBUILD cernlib-2006-r5.ebuild 2942 BLAKE2B c284963abf6ce801a52eb1100e77c38636851f8b7b5f7740301796b642fd3f9793fe15b3e85fd4ef639b0795d48ffc4daa14c0a6d610017b21875ad416e1a6a9 SHA512 fc3ce4fbe0e4b5b23fb54bdebae1981d1de53237795c929e84bd2753523b2bf911a3401c6b7bf27fc404d8fa7006a2dacbae916c438ba3f8020ff8d4ecf8420a
-EBUILD cernlib-2006-r7.ebuild 3010 BLAKE2B 17f778cd95128e09252be544144aa732b9767f767f92096bdf6b3b76c81192fe330f999111e1569eceeeb5a400e58355701e701af1c995b12f5824bce3f24c9c SHA512 9dde5fc5814cf0ce917a0aab2a37c4d5a55b155cf98db3c29e285df87fb8527002541e98f3a5817a0614fa6be7cf7b2bf5d2665027ef9cf43e72a3f936b4093c
-MISC metadata.xml 759 BLAKE2B f01fad2a4cead94f4c422f4f2906bb26c9c960f4a85c07bb1cc900a058184fb2b0774251e93f3d92e105f9ff4675cf0c9035d4ffe0841c63d54e344bb0b0d149 SHA512 133dd51ec200866d1886a1c077dad4a1a7ec786d77b59e1da147a7e95a5b6e8c9f1ce41dfcfa35c406625ed4aa966891cc5247ef35d7a82791d9b42c91fc7477
diff --git a/sci-physics/cernlib/cernlib-2006-r5.ebuild b/sci-physics/cernlib/cernlib-2006-r5.ebuild
deleted file mode 100644
index 0e409ed6a6cf..000000000000
--- a/sci-physics/cernlib/cernlib-2006-r5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 multilib toolchain-funcs
-
-DEB_PN=cernlib
-DEB_PV=20061220+dfsg3
-DEB_PR=2
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="CERN program library for High Energy Physics"
-HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
-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="
- x11-libs/motif:0
- virtual/lapack
- dev-lang/cfortran"
-DEPEND="${RDEPEND}
- x11-misc/imake
- x11-misc/makedepend
- virtual/pkgconfig"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}"
-
-src_prepare() {
- mv ../debian . || die
- epatch "${FILESDIR}"/${P}-nogfortran.patch
- # set some default paths
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- -e "s:prefix)/lib:prefix)/$(get_libdir):" \
- -e "s:\$(prefix)/etc:${EROOT}/etc:" \
- -e 's:$(prefix)/man:$(prefix)/share/man:' \
- debian/add-ons/cernlib.mk || die "sed failed"
-
- # use system blas and lapack set by gentoo framework
- sed -i \
- -e "s:\$DEPS -lm:$($(tc-getPKG_CONFIG) --libs blas):" \
- -e "s:\$DEPS -llapack -lm:$($(tc-getPKG_CONFIG) --libs lapack):" \
- -e 's:`depend $d $a blas`::' \
- -e 's:X11R6:X11:g' \
- debian/add-ons/bin/cernlib.in || die "sed failed"
-
- cp debian/add-ons/Makefile .
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
-
- einfo "Applying Debian patches"
- emake -j1 patch
-
- epatch "${FILESDIR}"/${P}-fgets.patch
- epatch "${FILESDIR}"/${P}-ypatchy-short-name.patch
- # since we depend on cfortran, do not use the one from cernlib
- rm src/include/cfortran/cfortran.h || die
-
- # respect users flags
- sed -i \
- -e 's/-O3/-O2/g' \
- -e "s/-O2/${CFLAGS}/g" \
- -e "s|\(CcCmd[[:space:]]*\)gcc|\1$(tc-getCC)|g" \
- -e "s|\(CplusplusCmd[[:space:]]*\)g++|\1$(tc-getCXX)|g" \
- -e "s|\(FortranCmd[[:space:]]*\)gfortran|\1$(tc-getFC)|g" \
- src/config/linux.cf \
- || die "sed linux.cf failed"
- 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"
-
- sed -i \
- -e 's/\$(FCLINK)/\$(FCLINK) $(LDFLAGS)/' \
- -e 's/\$(CCLINK)/\$(CCLINK) $(LDFLAGS)/' \
- src/config/{biglib,fortran,Imake}.rules \
- src/patchy/Imakefile \
- || die "sed for ldflags propagation failed"
-
- # add missing headers for implicit
- sed -i \
- -e '0,/^#include/i#include <stdlib.h>' \
- src/kernlib/kerngen/ccgen*/*.c || die
-}
-
-src_compile() {
- # parallel make breaks and complex patched imake system, hard to debug
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
-}
-
-src_install() {
- default
- cd debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib/cernlib-2006-r7.ebuild b/sci-physics/cernlib/cernlib-2006-r7.ebuild
deleted file mode 100644
index 216c3fda914a..000000000000
--- a/sci-physics/cernlib/cernlib-2006-r7.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 multilib toolchain-funcs
-
-DEB_PN=cernlib
-DEB_PV=20061220+dfsg3
-DEB_PR=4.3
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="CERN program library for High Energy Physics"
-HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
-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.xz"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2 BSD"
-KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- x11-libs/motif:0
- virtual/lapack
- dev-lang/cfortran
- net-libs/libnsl"
-DEPEND="${RDEPEND}
- x11-misc/imake
- x11-misc/makedepend
- virtual/pkgconfig"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}"
-
-src_prepare() {
- mv ../debian . || die
- epatch "${FILESDIR}"/${P}-nogfortran.patch
- # set some default paths
- sed -i \
- -e "s:/usr/local:${EROOT}/usr:g" \
- -e "s:prefix)/lib/\$(DEB_HOST_MULTIARCH):prefix)/$(get_libdir):" \
- -e "s:\$(prefix)/etc:${EROOT}/etc:" \
- -e 's:$(prefix)/man:$(prefix)/share/man:' \
- debian/add-ons/cernlib.mk || die "sed failed"
-
- # use system blas and lapack set by gentoo framework
- sed -i \
- -e "s:\$DEPS -lm:$($(tc-getPKG_CONFIG) --libs blas):" \
- -e "s:\$DEPS -llapack -lm:$($(tc-getPKG_CONFIG) --libs lapack):" \
- -e 's:`depend $d $a blas`::' \
- -e 's:X11R6:X11:g' \
- -e 's: /[^ ]*`dpkg-arch.*`::' \
- debian/add-ons/bin/cernlib.in || die "sed failed"
-
- cp debian/add-ons/Makefile .
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
-
- einfo "Applying Debian patches"
- emake -j1 patch
-
- epatch "${FILESDIR}"/${P}-fgets.patch
- epatch "${FILESDIR}"/${P}-ypatchy-short-name.patch
- # since we depend on cfortran, do not use the one from cernlib
- rm src/include/cfortran/cfortran.h || die
-
- # respect users flags
- sed -i \
- -e 's/-O3/-O2/g' \
- -e "s/-O2/${CFLAGS}/g" \
- -e "s|\(CcCmd[[:space:]]*\)gcc|\1$(tc-getCC)|g" \
- -e "s|\(CplusplusCmd[[:space:]]*\)g++|\1$(tc-getCXX)|g" \
- -e "s|\(FortranCmd[[:space:]]*\)gfortran|\1$(tc-getFC)|g" \
- src/config/linux.cf \
- || die "sed linux.cf failed"
- 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"
-
- sed -i \
- -e 's/\$(FCLINK)/\$(FCLINK) $(LDFLAGS)/' \
- -e 's/\$(CCLINK)/\$(CCLINK) $(LDFLAGS)/' \
- src/config/{biglib,fortran,Imake}.rules \
- src/patchy/Imakefile \
- || die "sed for ldflags propagation failed"
-
- # add missing headers for implicit
- sed -i \
- -e '0,/^#include/i#include <stdlib.h>' \
- src/kernlib/kerngen/ccgen*/*.c || die
-}
-
-src_compile() {
- # parallel make breaks and complex patched imake system, hard to debug
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
-}
-
-src_install() {
- default
- cd debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/cernlib/files/cernlib-2006-fgets.patch b/sci-physics/cernlib/files/cernlib-2006-fgets.patch
deleted file mode 100644
index e42eaf833b35..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-fgets.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/packlib/cspack/tcpaw/tcpaw.c.old 2011-01-30 21:18:35.326089059 +0000
-+++ src/packlib/cspack/tcpaw/tcpaw.c 2011-01-30 21:18:01.876081979 +0000
-@@ -984,7 +984,7 @@
- int s, addrlen;
- int sx, nn = 0; /* REXEC */
- #ifndef IBM
-- char get[50], *getp = get; /* REXEC */
-+ char get[80], *getp = get; /* REXEC */
- #endif /*^IBM */
- char sys[30];
- register int i, j, k;
-@@ -1036,7 +1036,7 @@
- char buff[100];
- char *get;
- char *getp;
-- char getbuf[50]; /* REXEC */
-+ char getbuf[80]; /* REXEC */
- getp = getbuf; /* REXEC */
- get = getbuf; /* REXEC */
- /* j = 80; */ /* (crude kludge) length of srvc in Fortran */
diff --git a/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch b/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch
deleted file mode 100644
index 63883274403f..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-nogfortran.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- debian/add-ons/Makefile.orig 2008-03-15 16:46:46.000000000 +0000
-+++ debian/add-ons/Makefile 2008-03-15 16:47:51.000000000 +0000
-@@ -28,6 +28,9 @@
- ifneq (,$(findstring ifort,$(DEB_BUILD_OPTIONS)))
- sed -i -e 's/-lgfortran/-limf/' $(CERN_BINDIR)/cernlib
- endif
-+ifneq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ sed -i -e 's/-lgfortran/-lg2c/' $(CERN_BINDIR)/cernlib
-+endif
- chmod a+x $(CERN_BINDIR)/cernlib
-
- # target to install include files for development packages
---- debian/add-ons/cernlib.mk.orig 2008-03-15 16:48:05.000000000 +0000
-+++ debian/add-ons/cernlib.mk 2008-03-15 17:09:14.000000000 +0000
-@@ -35,6 +35,10 @@
- export TOOL_SONAME = _gfortran
- export TOOL_NAME = _gfortran
- endif
-+ifeq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ export TOOL_SONAME = _gfortran
-+ export TOOL_NAME = _gfortran
-+endif
- export PATH := $(CERN_BINDIR):$(ADDONDIR)/bin:$(datadir)/cernlib:${PATH}
- export INSTALL_OPTS ?= -s
- export CC ?= gcc
-@@ -118,6 +122,8 @@
- endif
- ifneq (,$(findstring ifort,$(DEB_BUILD_OPTIONS)))
- echo '#define HasIntelifc YES' >> $(CVSCOSRC)/config/host.def
-+else ifneq (,$(findstring g77,$(DEB_BUILD_OPTIONS)))
-+ echo >> $(CVSCOSRC)/config/host.def
- else
- echo '#define Hasgfortran YES' >> $(CVSCOSRC)/config/host.def
- endif
---- debian/patches/320-support-ifort.dpatch.orig 2008-03-15 17:31:34.000000000 +0000
-+++ debian/patches/320-support-ifort.dpatch 2008-03-15 17:31:56.000000000 +0000
-@@ -27,7 +27,7 @@
- #if defined(CERNLIB_UNIX)
- CLIBS= -G Motif kernlib
- +# if defined(CERNLIB_INTELIFC)
--+CLIBS= $(CLIBS) -nofor_main
-++CLIBS:= $(CLIBS) -nofor_main
- +# endif
- #endif
-
---- debian/patches/803-link-binaries-dynamically.dpatch.orig 2008-03-15 17:48:38.000000000 +0000
-+++ debian/patches/803-link-binaries-dynamically.dpatch 2008-03-15 17:49:17.000000000 +0000
-@@ -64,7 +64,7 @@
- -CLIBS= -G Motif kernlib
- +CLIBS= -G Motif -u Xm
- # if defined(CERNLIB_INTELIFC)
-- CLIBS= $(CLIBS) -nofor_main
-+ CLIBS:= $(CLIBS) -nofor_main
- # endif
- #endif
-
diff --git a/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch b/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch
deleted file mode 100644
index 706ab3671672..000000000000
--- a/sci-physics/cernlib/files/cernlib-2006-ypatchy-short-name.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/patchy/Imakefile.orig 2013-01-16 13:45:07.161828513 -0800
-+++ src/patchy/Imakefile 2013-01-16 13:45:34.768966597 -0800
-@@ -77,7 +77,7 @@
- @ ln -s $< $@
-
- %.f: $(LDIR)%.cra $(LDIR)patchy.car
-- ypatchy - :$@ :$< TTY .go
-+ ypatchy - :$@ :$(shell basename $<) TTY .go
-
- .f.o:
- $(FC) -c $(FORTRANOPTIONS) $(FDEBUGFLAGS) $<
diff --git a/sci-physics/cernlib/metadata.xml b/sci-physics/cernlib/metadata.xml
deleted file mode 100644
index 018891e93643..000000000000
--- a/sci-physics/cernlib/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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">
- The CERN Program Library is a large collection of general purpose
- libraries and modules maintained and offered in both source and
- object code form on the CERN central computers. Most of these
- programs were developed at CERN and are therefore oriented towards
- the needs of a physics research laboratory that is general
- mathematics, data analysis, detectors simulation, data-handling
- etc... applicable to a wide range of problems.
-</longdescription>
-</pkgmetadata>