Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/qd/, sci-libs/qd/files/
Date: Wed, 06 Oct 2021 06:22:32
Message-Id: 1633501180.e3a64c2c77981eb3db4c7a449781bdfc3a4772de.jsmolic@gentoo
1 commit: e3a64c2c77981eb3db4c7a449781bdfc3a4772de
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 6 06:19:40 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 6 06:19:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a64c2c
7
8 sci-libs/qd: drop 2.3.22
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sci-libs/qd/Manifest | 1 -
13 sci-libs/qd/files/qd-2.3.22-fix-build-system.patch | 177 ---------------------
14 sci-libs/qd/qd-2.3.22.ebuild | 51 ------
15 3 files changed, 229 deletions(-)
16
17 diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest
18 index 515cb4a8230..647c94900bf 100644
19 --- a/sci-libs/qd/Manifest
20 +++ b/sci-libs/qd/Manifest
21 @@ -1,2 +1 @@
22 -DIST qd-2.3.22.tar.gz 1427456 BLAKE2B 628fb88b8cb105baa689380e4084cc2e327415674fcebca59721cc163e1043f39e48c1b2a2bdc68ba402d311f37e71c9e3c390a119515128e0296aa413c850d5 SHA512 2228b6ed019d1462939957d0d0f64ab2ecfa98ac5aefecf56e9dbcf0c6ed63bdd895b86019fbb0dfdbc22d047c4c2d4e42ff91ca18846b5c1bdaa1ad28a55c2b
23 DIST qd-2.3.23.tar.gz 781558 BLAKE2B bbda1ede1e93c100ca831b3eddc34ad6092007f9674c83803e5a5e140f80cc6b4b41fa71857beb9ef255d77265470537e43ef81886d6a013958a429b1c641c55 SHA512 ab311883db7708cee1c307eead5d02dac3b9809389b8d29e2fda5207decb752ca360a9aab234dd8a70228e0e004a6b6d6cdf92fd098536e96a2fa01c5b2ced2c
24
25 diff --git a/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch b/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch
26 deleted file mode 100644
27 index 204880de95c..00000000000
28 --- a/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch
29 +++ /dev/null
30 @@ -1,177 +0,0 @@
31 -diff -U3 -r qd-2.3.22.orig/configure.ac qd-2.3.22/configure.ac
32 ---- qd-2.3.22.orig/configure.ac 2018-10-30 23:01:31.000000000 +0700
33 -+++ qd-2.3.22/configure.ac 2018-11-09 21:45:39.415092314 +0700
34 -@@ -18,14 +18,14 @@
35 -
36 - AC_CONFIG_AUX_DIR(config)
37 - AM_INIT_AUTOMAKE([nostdinc foreign])
38 --AM_CONFIG_HEADER([config.h])
39 --AM_CONFIG_HEADER([include/qd/qd_config.h])
40 -+AC_CONFIG_HEADERS([config.h])
41 -+AC_CONFIG_HEADERS([include/qd/qd_config.h])
42 -
43 - AC_CANONICAL_HOST
44 -
45 - # Checks for arguments
46 - # --enable-inline
47 --AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
48 -+AC_ARG_ENABLE([inline], AS_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
49 - AC_MSG_CHECKING([if commonly used function is to be inlined])
50 - if test "$enable_inline" != "no"; then
51 - enable_inline="yes"
52 -@@ -34,7 +34,7 @@
53 - AC_MSG_RESULT($enable_inline)
54 -
55 - # --enable-ieee-add
56 --AC_ARG_ENABLE(enable_ieee_add, AC_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]]))
57 -+AC_ARG_ENABLE([ieee-add], AS_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]]))
58 - AC_MSG_CHECKING([if addition with IEEE-style error bound is to be used])
59 - if test "$enable_ieee_add" = "yes"; then
60 - AC_DEFINE([QD_IEEE_ADD], [1], [Define to 1 to use additions with IEEE-style error bounds.])
61 -@@ -44,7 +44,7 @@
62 - AC_MSG_RESULT($enable_ieee_add)
63 -
64 - # --enable-sloppy-mul
65 --AC_ARG_ENABLE(enable_sloppy_mul, AC_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]]))
66 -+AC_ARG_ENABLE([sloppy-mul], AS_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]]))
67 - AC_MSG_CHECKING([if sloppy multiplication is to be used])
68 - if test "$enable_sloppy_mul" != "no"; then
69 - enable_sloppy_mul="yes"
70 -@@ -53,7 +53,7 @@
71 - AC_MSG_RESULT($enable_sloppy_mul)
72 -
73 - # --enable-sloppy-div
74 --AC_ARG_ENABLE(enable_sloppy_div, AC_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]]))
75 -+AC_ARG_ENABLE([sloppy-div], AS_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]]))
76 - AC_MSG_CHECKING([if sloppy division is to be used])
77 - if test "$enable_sloppy_div" != "no"; then
78 - enable_sloppy_div="yes"
79 -@@ -63,7 +63,7 @@
80 -
81 -
82 - # --enable-debug
83 --AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
84 -+AC_ARG_ENABLE([debug], AS_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
85 - AC_MSG_CHECKING([if debugging code is to be enabled])
86 - if test "$enable_debug" = "yes"; then
87 - AC_DEFINE([QD_DEBUG], [1], [Define to 1 to enable debugging code.])
88 -@@ -73,7 +73,7 @@
89 - AC_MSG_RESULT($enable_debug)
90 -
91 - # --enable-warnings
92 --AC_ARG_ENABLE(enable_warnings, AC_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]]))
93 -+AC_ARG_ENABLE([warnings], AS_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]]))
94 - AC_MSG_CHECKING([if compiler warnings is to be enabled])
95 - if test "$enable_warnings" != "yes"; then
96 - enable_warnings="no"
97 -@@ -83,13 +83,6 @@
98 -
99 - # Checks for programs.
100 - AC_LANG(C++)
101 --if test "$CXXFLAGS" = ""; then
102 -- if test "$enable_debug" = "yes"; then
103 -- CXXFLAGS="-O"
104 -- else
105 -- CXXFLAGS="-O2"
106 -- fi
107 --fi
108 -
109 - # Set up compiler search list. DUe to possible case insensitive filesystems,
110 - # Cygwin and Apple systems sometimes gets confused between cc and CC.
111 -@@ -106,50 +99,10 @@
112 - fi
113 - AC_PROG_CC
114 -
115 --
116 --CXX_PROG_NAME=`basename $CXX`
117 --case $host in
118 -- powerpc*-*-*)
119 -- case "$CXX_PROG_NAME" in
120 -- xlC*)
121 -- REQ_CXXFLAGS="$REQ_CXXFLAGS -qstrict"
122 -- ;;
123 -- esac
124 -- ;;
125 -- i?86-*-* | k?*-*-* | athlon-*-* | ia64-*-* | x86_64-*-*)
126 -- case "$CXX_PROG_NAME" in
127 -- icc|icpc|ecc)
128 -- REQ_CXXFLAGS="$REQ_CXXFLAGS -mp"
129 -- if test "$enable_warnings" = "yes"; then
130 -- CXXFLAGS="$CXXFLAGS -wd1572 -wd981 -wd1418 -wd1419"
131 -- fi
132 -- ;;
133 -- esac
134 -- ;;
135 -- alpha*-*-*)
136 -- case "$CXX_PROG_NAME" in
137 -- cxx)
138 -- CXXFLAGS="$CXXFLAGS -std strict_ansi -tweak"
139 -- ;;
140 -- esac
141 -- ;;
142 --esac
143 --
144 --AC_SUBST(REQ_CXXFLAGS)
145 --CXXFLAGS="$CXXFLAGS $REQ_CXXFLAGS"
146 --
147 --if test "$enable_warnings" = "yes"; then
148 -- if test "$GCC" = "yes"; then
149 -- CXXFLAGS="$CXXFLAGS -Wall"
150 -- fi
151 --fi
152 --
153 --if test "$enable_debug" = "yes"; then
154 -- CXXFLAGS="$CXXFLAGS -g"
155 --fi
156 -+CXXFLAGS="${CXXFLAGS} -Wall"
157 -
158 - # --enable-fma
159 --AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
160 -+AC_ARG_ENABLE([fma], AS_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
161 - if test "x$enable_fma" = "x"; then
162 - enable_fma="auto"
163 - fi
164 -@@ -248,7 +201,7 @@
165 - FCFLAGS="-O2"
166 - fi
167 - fi
168 --AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]]))
169 -+AC_ARG_ENABLE([fortran], AS_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]]))
170 - if test "$enable_fortran" != "no"; then
171 - AC_LANG_PUSH(Fortran)
172 - AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90])
173 -@@ -312,8 +265,7 @@
174 - AC_CHECK_LIB(m,sqrt)
175 -
176 - # libtool stuff
177 --AC_DISABLE_SHARED
178 --AC_PROG_LIBTOOL
179 -+LT_INIT
180 -
181 - # Output
182 - AC_CONFIG_FILES([Makefile config/Makefile src/Makefile include/Makefile
183 -diff -U3 -r qd-2.3.22.orig/fortran/Makefile.am qd-2.3.22/fortran/Makefile.am
184 ---- qd-2.3.22.orig/fortran/Makefile.am 2018-10-30 23:05:01.000000000 +0700
185 -+++ qd-2.3.22/fortran/Makefile.am 2018-11-09 21:47:44.530083871 +0700
186 -@@ -16,7 +16,9 @@
187 -
188 - lib_LTLIBRARIES = libqdmod.la libqd_f_main.la
189 - libqdmod_la_SOURCES = ddext.f ddmod.f qdext.f qdmod.f f_dd.cpp f_qd.cpp
190 -+libqdmod_la_LIBADD = $(top_builddir)/src/libqd.la $(FCLIBS)
191 - libqd_f_main_la_SOURCES = main.cpp
192 -+libqd_f_main_la_LIBADD = $(top_builddir)/src/libqd.la libqdmod.la $(FCLIBS)
193 - ddmod.lo: $(DDEXT) ddext.lo
194 - qdmod.lo: ddmod.lo $(DDMOD) qdext.lo
195 - $(QDMOD): qdmod.lo $(DDMOD)
196 -diff -U3 -r qd-2.3.22.orig/qd-config.in qd-2.3.22/qd-config.in
197 ---- qd-2.3.22.orig/qd-config.in 2018-10-30 23:04:56.000000000 +0700
198 -+++ qd-2.3.22/qd-config.in 2018-11-09 21:49:18.140077553 +0700
199 -@@ -14,7 +14,7 @@
200 - build_CXXFLAGS="@CXXFLAGS@"
201 - build_LDFLAGS="@LDFLAGS@"
202 - CXX="@CXX@"
203 --CXXFLAGS="-I$includedir @REQ_CXXFLAGS@"
204 -+CXXFLAGS="-I$includedir"
205 - FC="@FC@"
206 -
207 - LDFLAGS="-L$libdir -lqd @LIBS@"
208
209 diff --git a/sci-libs/qd/qd-2.3.22.ebuild b/sci-libs/qd/qd-2.3.22.ebuild
210 deleted file mode 100644
211 index 46948cd5589..00000000000
212 --- a/sci-libs/qd/qd-2.3.22.ebuild
213 +++ /dev/null
214 @@ -1,51 +0,0 @@
215 -# Copyright 1999-2021 Gentoo Authors
216 -# Distributed under the terms of the GNU General Public License v2
217 -
218 -EAPI=6
219 -
220 -FORTRAN_NEEDED=fortran
221 -
222 -inherit autotools fortran-2
223 -
224 -DESCRIPTION="Quad-double and double-double float arithmetics"
225 -HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/"
226 -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz"
227 -
228 -SLOT="0"
229 -LICENSE="BSD"
230 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
231 -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran static-libs"
232 -
233 -PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
234 -
235 -src_prepare() {
236 - default
237 - eautoreconf
238 -}
239 -
240 -src_configure() {
241 - econf \
242 - --disable-ieee-add \
243 - --disable-sloppy-mul \
244 - --disable-sloppy-div \
245 - --enable-inline \
246 - --enable-shared \
247 - $(use_enable static-libs static) \
248 - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \
249 - $(use_enable fortran)
250 -}
251 -
252 -src_install() {
253 - default
254 -
255 - dosym qd_real.h /usr/include/qd/qd.h
256 - dosym dd_real.h /usr/include/qd/dd.h
257 -
258 - if ! use doc; then
259 - rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die
260 - fi
261 -
262 - if ! use static-libs; then
263 - find "${D}" -name '*.la' -delete || die
264 - fi
265 -}