diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:01:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:03:36 +0100 |
commit | 9dca15e4e6acf3dba6615e6c26e19cb2ab7aa5c5 (patch) | |
tree | d239c5ba17ac7735be4f05597d64264279cc49ca /sci-libs | |
parent | sci-libs/naga: Remove last-rited pkg (diff) | |
download | gentoo-9dca15e4e6acf3dba6615e6c26e19cb2ab7aa5c5.tar.gz gentoo-9dca15e4e6acf3dba6615e6c26e19cb2ab7aa5c5.tar.bz2 gentoo-9dca15e4e6acf3dba6615e6c26e19cb2ab7aa5c5.zip |
sci-libs/libcore: Remove last-rited pkg
Closes: https://bugs.gentoo.org/568364
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/libcore/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libcore/files/2.1.1-makefiles.patch | 115 | ||||
-rw-r--r-- | sci-libs/libcore/libcore-2.1.1-r1.ebuild | 74 | ||||
-rw-r--r-- | sci-libs/libcore/metadata.xml | 17 |
4 files changed, 0 insertions, 208 deletions
diff --git a/sci-libs/libcore/Manifest b/sci-libs/libcore/Manifest deleted file mode 100644 index fb0fd01f164b..000000000000 --- a/sci-libs/libcore/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST core-2.1.1.tgz 2759163 BLAKE2B e33178bce382aa176896a50ae7ad7821fdeb906bc6dd13805efd8ec5f91b3b659818c570be809c52eb86197d1a1776a51c257a2922e561660f604b70bc831dfa SHA512 e56e184b8efaee82b737e3947f2934b71983cbf905f05005171d3d5670f326597ff7d25767c00ec18a470eb7306f14b813edf9548869d84054830565c044f6fb -DIST core-2.1.doc.tgz 657871 BLAKE2B bce685204ca0f7c621b833f4a54b092167882d06b83b021cfd86e3b42c6849a429196950ae32293790979c3ed67b2d809982ea3ab3453569bcbefce2723f2f68 SHA512 0988640bbc35de675fc536b852371a8f1233ce0d19818b17e540f1238b0e6d1266657ab815604be3a3379e22e7473eb3fbd71ef94ec099255c456307e69f66c7 diff --git a/sci-libs/libcore/files/2.1.1-makefiles.patch b/sci-libs/libcore/files/2.1.1-makefiles.patch deleted file mode 100644 index 09a8f5be2f38..000000000000 --- a/sci-libs/libcore/files/2.1.1-makefiles.patch +++ /dev/null @@ -1,115 +0,0 @@ -diff -Nur core-2.1.1.orig/ext/Makefile core-2.1.1/ext/Makefile ---- core-2.1.1.orig/ext/Makefile 2011-08-06 22:53:29.000000000 +0100 -+++ core-2.1.1/ext/Makefile 2011-08-07 00:40:58.000000000 +0100 -@@ -38,16 +38,18 @@ - endif - endif - --INCLUDE=-I${CORE_PATH}/inc -I${CORE_PATH}/gmp/include \ -- -I${CORE_PATH}/mpfr/include -+INCLUDE=-I${CORE_PATH}/inc - - - COREX_LIB_LEVEL3=${CORE_PATH}/lib/libcorex++$(VAR)_level3.a - COREX_LIB_LEVEL2=${CORE_PATH}/lib/libcorex++$(VAR)_level2.a - COREX_LIB_LEVEL1=${CORE_PATH}/lib/libcorex++$(VAR)_level1.a --COREX_SHARED_LIB_LEVEL3=${CORE_PATH}/lib/libcorex++$(VAR)_level3.${CORE_DYLIB_EXTENSION} --COREX_SHARED_LIB_LEVEL2=${CORE_PATH}/lib/libcorex++$(VAR)_level2.${CORE_DYLIB_EXTENSION} --COREX_SHARED_LIB_LEVEL1=${CORE_PATH}/lib/libcorex++$(VAR)_level1.${CORE_DYLIB_EXTENSION} -+COREX_SHARED_LIB_LEVEL3_NAME=libcorex++$(VAR)_level3.${CORE_DYLIB_EXTENSION}.2 -+COREX_SHARED_LIB_LEVEL2_NAME=libcorex++$(VAR)_level2.${CORE_DYLIB_EXTENSION}.2 -+COREX_SHARED_LIB_LEVEL1_NAME=libcorex++$(VAR)_level1.${CORE_DYLIB_EXTENSION}.2 -+COREX_SHARED_LIB_LEVEL3=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL3_NAME) -+COREX_SHARED_LIB_LEVEL2=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL2_NAME) -+COREX_SHARED_LIB_LEVEL1=${CORE_PATH}/lib/$(COREX_SHARED_LIB_LEVEL1_NAME) - - TARGET=${COREX_LIB_LEVEL3} ${COREX_LIB_LEVEL2} ${COREX_LIB_LEVEL1} - -@@ -74,11 +76,11 @@ - -@rm -rf $@ - $(AR) $@ $? - --COREX_SHARED_DEPS=-L${GMP_PREFIX}/lib -lgmp -L${MPFR_PREFIX}/lib -lmpfr -L${CORE_PATH}/lib -lcore++${VAR} -+COREX_SHARED_DEPS= -lgmp -lmpfr -L${CORE_PATH}/lib -lcore++${VAR} - - ${COREX_SHARED_LIB_LEVEL3}: ${L3_OBJS} - -@rm -rf $@ -- $(CXX) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -o $@ $? -+ $(CXX) $(LDFLAGS) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL3_NAME) -o $@ $? - - ${COREX_LIB_LEVEL2}: ${L2_OBJS} - -@rm -rf $@ -@@ -86,7 +88,7 @@ - - ${COREX_SHARED_LIB_LEVEL2}: ${L2_OBJS} - -@rm -rf $@ -- $(CXX) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -o $@ $? -+ $(CXX) $(LDFLAGS) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL2_NAME) -o $@ $? - - ${COREX_LIB_LEVEL1}: ${L1_OBJS} - -@rm -rf $@ -@@ -94,7 +96,7 @@ - - ${COREX_SHARED_LIB_LEVEL1}: ${L1_OBJS} - -@rm -rf $@ -- $(CXX) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -o $@ $? -+ $(CXX) $(LDFLAGS) $(COREX_SHARED_DEPS) $(CORE_LDFLAGS) -Wl,-soname,$(COREX_SHARED_LIB_LEVEL1_NAME) -o $@ $? - - %_level3.o: %.cpp - ${CXX} $(CORE_CXXFLAGS) -DCORE_LEVEL=3 $(INCLUDE) -c $< -o $@ -diff -Nur core-2.1.1.orig/progs/Make.options core-2.1.1/progs/Make.options ---- core-2.1.1.orig/progs/Make.options 2011-08-06 22:53:29.000000000 +0100 -+++ core-2.1.1/progs/Make.options 2011-08-06 23:31:01.000000000 +0100 -@@ -11,10 +11,8 @@ - - include $(CORE_PATH)/Make.config - --CORE_INC=-I. -I$(CORE_PATH)/inc -I$(CORE_PATH)/mpfr/include \ -- -I$(CORE_PATH)/gmp/include --CORE_LIB=-L$(CORE_PATH)/lib -L$(CORE_PATH)/mpfr/lib -L$(CORE_PATH)/gmp/lib \ -- -lcore++$(VAR) -lmpfr -lgmp -+CORE_INC=-I. -I$(CORE_PATH)/inc -+CORE_LIB=-L$(CORE_PATH)/lib -lcore++$(VAR) -lmpfr -lgmp - - COREX_LIB_LEVEL=-lcoreex++$(VAR)_level - -diff -Nur core-2.1.1.orig/src/Makefile core-2.1.1/src/Makefile ---- core-2.1.1.orig/src/Makefile 2011-08-06 22:53:29.000000000 +0100 -+++ core-2.1.1/src/Makefile 2011-08-07 00:24:38.000000000 +0100 -@@ -23,7 +23,7 @@ - endif - endif - --INCLUDE=-I${CORE_PATH}/inc -I${CORE_PATH}/mpfr/include -I${CORE_PATH}/gmp/include -+INCLUDE=-I${CORE_PATH}/inc - - # VAR indicates variants of the Core library - # E.g., if VAR=(empty) then we compile the release version. -@@ -44,7 +44,8 @@ - - # The following library will be built: - CORE_LIB=$(CORE_PATH)/lib/libcore++${VAR}.a --CORE_SHARED_LIB=$(CORE_PATH)/lib/libcore++${VAR}.${CORE_DYLIB_EXTENSION} -+CORE_SHARED_LIB_NAME=libcore++${VAR}.${CORE_DYLIB_EXTENSION}.2 -+CORE_SHARED_LIB=$(CORE_PATH)/lib/$(CORE_SHARED_LIB_NAME) - - TARGET=$(CORE_LIB) - -@@ -52,7 +53,7 @@ - TARGET+=$(CORE_SHARED_LIB) - endif - --DEPS=-L${GMP_PREFIX}/lib -L${MPFR_PREFIX}/lib -lgmp -lmpfr -+DEPS=-lgmp -lmpfr - - # ============================================================= - # RULES ====================================================== -@@ -64,7 +65,7 @@ - $(AR) $@ $^ - - ${CORE_SHARED_LIB}: $(EXPROBJS) -- $(CXX) $(DEPS) $(CORE_LDFLAGS) -o $@ $^ -+ $(CXX) $(LDFLAGS) $(CORE_LDFLAGS) -Wl,-soname,$(CORE_SHARED_LIB_NAME) $(DEPS) -o $@ $^ $(LIBS) - - %${VAR}.o: %.cpp - ${CXX} $(CORE_CXXFLAGS) $(INCLUDE) -c $< -o $@ diff --git a/sci-libs/libcore/libcore-2.1.1-r1.ebuild b/sci-libs/libcore/libcore-2.1.1-r1.ebuild deleted file mode 100644 index 79e8f698f35e..000000000000 --- a/sci-libs/libcore/libcore-2.1.1-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils toolchain-funcs versionator - -MYPN=core -DOCPV="$(get_version_component_range 1-2)" - -DESCRIPTION="Robust numerical and geometric computation library" -HOMEPAGE="http://www.cs.nyu.edu/exact/core_pages/" -SRC_URI="http://cs.nyu.edu/exact/core/download/${MYPN}/${MYPN}-${PV}.tgz - doc? ( http://cs.nyu.edu/exact/core/download/${MYPN}/${MYPN}-${DOCPV}.doc.tgz )" - -LICENSE="QPL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-libs/mpfr - dev-libs/gmp - doc? ( app-doc/doxygen[latex] )" - -S="${WORKDIR}/${MYPN}-${PV}" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-makefiles.patch - sed -i \ - -e "s/-O2/${CXXFLAGS}/g" \ - -e "s/-shared/-shared ${LDFLAGS}/g" \ - Make.config || die - sed -i -e 's/-lgmp/-lgmp -lgmpxx/g' progs/Make.options || die - # missing input file in gaussian test and buggy test in tutorial - sed -i -e '/gaussian/d' -e '/tutorial/d' progs/Makefile || die -} - -src_compile(){ - emake VAR= LINKAGE=shared corelib corex USE_GMPXX=1 - rm -f src/*.o ext/*.o - use static-libs && emake VAR="" corelib corex USE_GMPXX=1 - if use doc; then - cd "${S}/doc" - export VARTEXFONTS="${T}/fonts" - emake -j1 all - emake -j1 -C doxy/latex pdf - fi -} - -src_test() { - LD_LIBRARY_PATH="${S}/lib" emake \ - VAR= GMP_PREFIX= MPFR_PREFIX= test -} - -src_install(){ - dolib.so lib/*.so* - for i in $(find "${ED}/usr/$(get_libdir)" -name "*so" | sed "s:${ED}::g"); do - dosym $i.2 $i - done - use static-libs && dolib.a lib/*.a - - insinto /usr/include - doins inc/CORE.h - insinto /usr/include/CORE - doins inc/CORE/*.h - - dodoc FAQs README - if use doc; then - dodoc doc/*.txt - dodoc doc/tutorial/tutorial.pdf doc/doxy/latex/*pdf - dohtml -r doc/doxy/html/* - fi -} diff --git a/sci-libs/libcore/metadata.xml b/sci-libs/libcore/metadata.xml deleted file mode 100644 index 84bf0d372a6f..000000000000 --- a/sci-libs/libcore/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-geosciences@gentoo.org</email> - <name>Gentoo Geosciences Project</name> - </maintainer> - <longdescription lang="en"> - The Core Library is a collection of C/C++ classes for exact - computation with real algebraic numbers. - It embodies our precision-driven approach and is - useful for robust numerical (especially geometric) algorithms. - The library supports the Exact Geometric Computation (EGC) - philosophy through its novel and easy-to-use notion of accuracy - levels. - </longdescription> -</pkgmetadata> |