[gentoo-commits] repo/gentoo:master commit in: sci-libs/libcmatrix/files/, profiles/, sci-libs/libcmatrix/

2023-01-19 Thread Michał Górny
commit: 129e968bc55a16f0e5b3f23beb87dd719e111bb9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 19 13:46:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 19 13:51:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129e968b

sci-libs/libcmatrix: Remove last-rited pkg

Signed-off-by: Michał Górny  gentoo.org>

 profiles/package.mask  |   7 -
 sci-libs/libcmatrix/Manifest   |   1 -
 .../files/libcmatrix-3.11.0-fix-c++14.patch|  40 
 .../files/libcmatrix-3.11.0-gcc5.2.patch   |  16 --
 .../files/libcmatrix-3.11.0-shared.patch   |  80 
 .../libcmatrix/files/libcmatrix-3.2.1-gcc4.4.patch |  12 --
 .../libcmatrix/files/libcmatrix-3.2.1-gcc4.6.patch |  16 --
 .../libcmatrix/files/libcmatrix-3.2.1-gcc4.7.patch | 227 -
 .../files/libcmatrix-3.2.1-minuit2.patch   |  14 --
 .../libcmatrix/files/libcmatrix-3.9.0-atlas.patch  |  24 ---
 sci-libs/libcmatrix/libcmatrix-3.11.0-r1.ebuild|  59 --
 sci-libs/libcmatrix/metadata.xml   |   8 -
 12 files changed, 504 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 9258bbc102e9..6e8ebc0e923b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -829,13 +829,6 @@ net-firewall/nufw
 # Removal on 2023-01-15.  Bug #835649.
 net-nds/adtool
 
-# Michał Górny  (2022-12-16)
-# The distfile was removed from Gentoo servers in 2021, and it is
-# unclear if we were allowed to host it in the first place.  Also,
-# it had a build failure reported in 2020.  No reverse dependencies.
-# Removal on 2023-01-15.  Bug #790026.
-sci-libs/libcmatrix
-
 # Jaco Kroon  (2022-12-14)
 # Multiple open bugs (bug #870910, bug #877731, bug #884815), only one of which
 # is trivial to solve.

diff --git a/sci-libs/libcmatrix/Manifest b/sci-libs/libcmatrix/Manifest
deleted file mode 100644
index 62e8160f899d..
--- a/sci-libs/libcmatrix/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libcmatrix-3.11.0.tar.gz 1064634 BLAKE2B 
5eb5ffe7ceb80f430fcfb8ca42ab029863a2571ef01adfdc59644fa9951cb1c5205eb74faefdef1fa335af3a16396bb154b6258f0d4dd2c52b5a40eac6cda9b0
 SHA512 
b0f5d9382e0a7c6f8695488481c51e5cdc38d89c9371203870c31a91bf957956a85301cf3aa035b9214d581077581dc1f599f092dd2f077ee14e6b4fd06128c2

diff --git a/sci-libs/libcmatrix/files/libcmatrix-3.11.0-fix-c++14.patch 
b/sci-libs/libcmatrix/files/libcmatrix-3.11.0-fix-c++14.patch
deleted file mode 100644
index 74e49285dd04..
--- a/sci-libs/libcmatrix/files/libcmatrix-3.11.0-fix-c++14.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Fix building with C++14, which errors out due -Wnarrowing conversions.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=594680
-
 a/include/lcm_ssecomplex.h
-+++ b/include/lcm_ssecomplex.h
-@@ -151,7 +151,7 @@
- {
-   static const union {
- int i[4]; ssecomplex_t v;
--  } signbithigh = {{0,0,0,0x8000}};
-+  } signbithigh = {{0,0,0,(int)0x8000}};
-   ssecomplex_t b_im = _mm_shuffle_pd(b,b,3); // Imag. part of b in both
-   const ssecomplex_t b_re = _mm_shuffle_pd(b,b,0); // Real part of b in both
-   const ssecomplex_t tmp=_mm_mul_pd(a,b_re);
-@@ -166,7 +166,7 @@
-   ssecomplex_t b_re = _mm_set1_pd(b);
-   static const union {
- int i[4]; ssecomplex_t v;
--  } signbithigh = {{0,0,0,0x8000}};
-+  } signbithigh = {{0,0,0,(int)0x8000}};
-   b_re = _mm_xor_pd(b_re, signbithigh.v); // Change sign of high
-   return complex(_mm_mul_pd(a.z_, b_re));
- }
-@@ -184,14 +184,14 @@
- inline complex operator- (const complex& a) {
-   static const union { // (signbit,signbit)
- int i[4]; ssecomplex_t v;
--  } signbits = {{0,0x8000,0,0x8000}};
-+  } signbits = {{0,(int)0x8000,0,(int)0x8000}};
-   return complex(_mm_xor_pd(a, signbits.v)); // Change sign of both elements
- }
- 
- inline complex conj(const complex& a) {
-   static const union { // (signbit,signbit)
- int i[4]; ssecomplex_t v;
--  } signbithigh = {{0,0,0,0x8000}};
-+  } signbithigh = {{0,0,0,(int)0x8000}};
-   return complex(_mm_xor_pd(a.z_, signbithigh.v)); // Change sign of imag. 
part
- }
- 

diff --git a/sci-libs/libcmatrix/files/libcmatrix-3.11.0-gcc5.2.patch 
b/sci-libs/libcmatrix/files/libcmatrix-3.11.0-gcc5.2.patch
deleted file mode 100644
index d5d40246a2f8..
--- a/sci-libs/libcmatrix/files/libcmatrix-3.11.0-gcc5.2.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- include/MultiMatrix.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/MultiMatrix.h b/include/MultiMatrix.h
-index 2d54db5..e95ce4c 100755
 a/include/MultiMatrix.h
-+++ b/include/MultiMatrix.h
-@@ -1225,7 +1225,7 @@ template struct new_trait_ { 
typedef MultiMatrix v
- #endif
-  //LCM_SUPPRESS_VIEWS
- 
--  template class CheckClass 
=LCM_CheckBoundsDefault>
-+  template class CheckClass>
-   class Indexer::permuted_iterator : public ::std::iterator< 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/libcmatrix/files/

2017-01-29 Thread David Seifert
commit: 12bc6f3be130f759773d55b7d4e07eb30b35cea8
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sun Jan 29 09:08:23 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 29 20:09:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bc6f3b

sci-libs/libcmatrix: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3709

 .../libcmatrix/files/libcmatrix-3.2.1-atlas.patch  | 33 -
 .../libcmatrix/files/libcmatrix-3.2.1-shared.patch | 80 --
 2 files changed, 113 deletions(-)

diff --git a/sci-libs/libcmatrix/files/libcmatrix-3.2.1-atlas.patch 
b/sci-libs/libcmatrix/files/libcmatrix-3.2.1-atlas.patch
deleted file mode 100644
index b10b41d..
--- a/sci-libs/libcmatrix/files/libcmatrix-3.2.1-atlas.patch
+++ /dev/null
@@ -1,33 +0,0 @@
- configure-libraries.ac |5 -
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/configure-libraries.ac b/configure-libraries.ac
-index a64e79c..afc75b8 100755
 a/configure-libraries.ac
-+++ b/configure-libraries.ac
-@@ -33,6 +33,7 @@ AC_ARG_WITH(atlas,
-   AS_HELP_STRING([--with-atlas],[use the ATLAS BLAS library (default-use 
if found)]),,with_atlas=check)
- if test x$with_atlas != xno; then
-   FOUNDATLAS=yes
-+  PKG_CHECK_MODULES([ATLAS], [cblas])
-   AC_CHECK_HEADERS(cblas.h,,FOUNDATLAS=no
-   AC_MSG_WARN([ATLAS header files (cblas.h) not found 
- Is CPPFLAGS is defined to include relevant directory?]))
-@@ -40,7 +41,7 @@ Is CPPFLAGS is defined to include relevant directory?]))
-   AC_MSG_WARN([ATLAS library (libatlas.a) not found
- Is LDFLAGS is defined to include relevant directory?]))
-   if test x$FOUNDATLAS = xyes; then   
--  LIBS="-lcblas $LIBS"
-+  LIBS="$ATLAS_LIBS $LIBS"
-   CXXFLAGS="$CXXFLAGS -DLCM_USE_EXTERNAL"
-   else
-   if test x$with_atlas = xyes; then
-@@ -49,6 +50,8 @@ Is LDFLAGS is defined to include relevant directory?]))
-   fi  
- fi
- 
-+AC_SUBST(ATLAS_LIBS)
-+
- AC_ARG_WITH(acml,
-   AS_HELP_STRING([--with-acml],[use the ACML BLAS library 
(default=no)]),,with_acml=no)
- if test x$with_acml = xyes; then

diff --git a/sci-libs/libcmatrix/files/libcmatrix-3.2.1-shared.patch 
b/sci-libs/libcmatrix/files/libcmatrix-3.2.1-shared.patch
deleted file mode 100644
index 4e84302..
--- a/sci-libs/libcmatrix/files/libcmatrix-3.2.1-shared.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-diff --git a/Makefile.in b/Makefile.in
-index 1361371..1448e76 100755
 a/Makefile.in
-+++ b/Makefile.in
-@@ -13,8 +13,8 @@ AR=@AR@
- 
- # You shouldn't need to alter anything below here
- 
--COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
--ALLOPTFLAGS=$(OPTFLAGS) -DNDEBUG
-+COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC -c
-+#ALLOPTFLAGS=$(OPTFLAGS) -DNDEBUG
- 
- LOCALOBJS= local/CrystalSystem.o local/CrystalGeneric.o 
local/MoleculeStructure.o
- COREOBJS= coredefs/complex.o coredefs/common.o coredefs/diagonal.o 
coredefs/diagonalise.o coredefs/power.o coredefs/invert.o coredefs/transforms.o 
coredefs/blocking.o coredefs/mixed.o coredefs/realtransforms.o 
coredefs/Chebyshev.o
-@@ -36,7 +36,7 @@ ALLTHROBJS=$(UNSAFEOBJS:.o=_r.o) $(ALLSAFEOBJS)
- 
- ROOT=..
- 
--first: lib/libcmatrix.a
-+first: lib/libcmatrix.so.3.2.1
- 
- #%.o: %.f
- # @F77@ @FFLAGS@ -c -o $@ $<
-@@ -68,25 +68,25 @@ tempclean:
- # -cd optim; @CLEAN@
- # -cd local; @CLEAN@
- 
--lib/libcmatrix.a: $(ALLNORMOBJS)
--  $(AR) $@ $(ALLNORMOBJS)
--  chmod a+rx $@
--  $(RANLIB) $@
--
--lib/libcmatrix_p.a: $(ALLPROFOBJS)
--  $(AR)  $@ $(ALLPROFOBJS)
--  chmod a+rx $@
--  $(RANLIB) $@
--
--lib/libcmatrix-g.a: $(ALLGOBJS)
--  $(AR)  $@  $(ALLGOBJS)
--  chmod a+rx $@
--  $(RANLIB) $@
--
--lib/libcmatrix_r.a: $(ALLTHROBJS)
--  $(AR) @MTFLAGS@ $@ $(ALLTHROBJS)
--  chmod a+rx $@
--  $(RANLIB) $@
-+lib/libcmatrix.so.3.2.1: $(ALLNORMOBJS)
-+  $(CXX) $(LDFLAGS) -fPIC -shared -Wl,--soname,libcmatrix.so.3 -o $@ 
$(ALLNORMOBJS) @ATLAS_LIBS@
-+  ln -sf libcmatrix.so.3.2.1 lib/libcmatrix.so.3
-+  ln -sf libcmatrix.so.3.2.1 lib/libcmatrix.so
-+
-+lib/libcmatrix_p.so.3.2.1: $(ALLPROFOBJS)
-+  $(CXX) $(LDFLAGS) -fPIC -shared -Wl,--soname,libcmatrix.so.3 -o $@ 
$(ALLPROFOBJS) @ATLAS_LIBS@
-+  ln -sf libcmatrix_p.so.3.2.1 lib/libcmatrix_p.so.3
-+  ln -sf libcmatrix_p.so.3.2.1 lib/libcmatrix_p.so
-+
-+lib/libcmatrix-g.so.3.2.1: $(ALLGOBJS)
-+  $(CXX) $(LDFLAGS) -fPIC -shared -Wl,--soname,libcmatrix.so.3 -o $@ 
$(ALLGOBJS) @ATLAS_LIBS@
-+  ln -sf libcmatrix-g.so.3.2.1 lib/libcmatrix-g.so.3
-+  ln -sf libcmatrix-g.so.3.2.1 lib/libcmatrix-g.so
-+
-+lib/libcmatrix.so_r.3.2.1: $(ALLTHROBJS)
-+  $(CXX) $(LDFLAGS) -fPIC -shared -Wl,--soname,libcmatrix.so.3 -o $@ 
$(ALLTHROBJS) @ATLAS_LIBS@
-+  ln -sf libcmatrix_r.so.3.2.1 lib/libcmatrix_r.so.3
-+  ln -sf libcmatrix_r.so.3.2.1 lib/libcmatrix_r.so
- 
-