* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/
@ 2024-08-06 20:09 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2024-08-06 20:09 UTC (permalink / raw
To: gentoo-commits
commit: b7ea809f76f0505df21958345793aa13495533f3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 6 19:53:11 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 6 20:09:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ea809f
sci-libs/libnova: update EAPI 7 -> 8, fix build w/ GCC-14
Closes: https://bugs.gentoo.org/886455
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-libs/libnova/files/libnova-0.16.0-cflags.patch | 23 +++++++++++++++++++++
sci-libs/libnova/files/libnova-0.16.0-gcc14.patch | 24 ++++++++++++++++++++++
sci-libs/libnova/libnova-0.16.0.ebuild | 12 +++++------
3 files changed, 53 insertions(+), 6 deletions(-)
diff --git a/sci-libs/libnova/files/libnova-0.16.0-cflags.patch b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch
new file mode 100644
index 000000000000..fcb06a9360c9
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch
@@ -0,0 +1,23 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+
+-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS)
++AM_CFLAGS = $(AVX_CFLAGS)
+
+ SUBDIRS = libnova elp
+
+--- a/src/elp/Makefile.am
++++ b/src/elp/Makefile.am
+@@ -1,6 +1,6 @@
+ noinst_LTLIBRARIES = libelp.la
+
+-AM_CFLAGS = -I ../ -Wall -O3 $(AVX_CFLAGS)
++AM_CFLAGS = -I ../ $(AVX_CFLAGS)
+
+ libelp_la_SOURCES = \
+ elp1.c \
+--
+2.45.2
+
diff --git a/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch
new file mode 100644
index 000000000000..330952d058bf
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch
@@ -0,0 +1,24 @@
+From 1be82238860bba941b1b16c6f31763577a17b8af Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 6 Aug 2024 21:49:52 +0200
+Subject: Fix build with >=GCC-14
+
+---
+ src/parallax.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/parallax.c b/src/parallax.c
+index 733e26c..0c11f04 100644
+--- a/src/parallax.c
++++ b/src/parallax.c
+@@ -17,6 +17,7 @@
+ */
+
+ #include <math.h>
++#include <libnova/earth.h>
+ #include <libnova/parallax.h>
+ #include <libnova/utility.h>
+ #include <libnova/sidereal_time.h>
+--
+2.45.2
+
diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild b/sci-libs/libnova/libnova-0.16.0.ebuild
index bc3ef11b3d3a..c590ea70af79 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
@@ -16,17 +16,17 @@ IUSE="doc examples"
BDEPEND="doc? ( app-text/doxygen )"
-PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-slibtool.patch
+ "${FILESDIR}"/${P}-cflags.patch
+ "${FILESDIR}"/${P}-gcc14.patch # bug 886455
+)
src_prepare() {
default
eautoreconf
}
-src_configure() {
- econf --disable-static
-}
-
src_compile() {
default
use doc && emake -C doc doc
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/
@ 2021-05-04 15:15 Lars Wendler
0 siblings, 0 replies; 3+ messages in thread
From: Lars Wendler @ 2021-05-04 15:15 UTC (permalink / raw
To: gentoo-commits
commit: dd96e548ff290f898c7707057d028ec72433ab9d
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 14:35:57 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue May 4 15:13:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd96e548
sci-libs/libnova: Fix for slibtool
Thanks-to: orbea <orbea <AT> riseup.net>
Upstream-PR: https://sourceforge.net/p/libnova/libnova/merge-requests/2/
Closes: https://bugs.gentoo.org/778881
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../libnova/files/libnova-0.16.0-slibtool.patch | 26 ++++++++++++++++++++++
sci-libs/libnova/libnova-0.16.0.ebuild | 2 ++
2 files changed, 28 insertions(+)
diff --git a/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
new file mode 100644
index 00000000000..746f46f443f
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
@@ -0,0 +1,26 @@
+From 857957a9229b49044070301da24b84dcb2bb0d67 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Sun, 28 Mar 2021 07:49:22 -0700
+Subject: [PATCH] build: Link with the libelp .la file.
+
+---
+ src/Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index aab450c..6d2b62e 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -46,8 +46,7 @@ noinst_HEADERS = \
+ lunar-priv.h
+
+ libnova_la_LIBADD = \
+- -Lelp/ \
+- -lelp
++ elp/libelp.la
+
+ libnova_la_LDFLAGS = \
+ -version-info $(LT_VERSION) \
+--
+2.29.2
+
diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild b/sci-libs/libnova/libnova-0.16.0.ebuild
index 8a1f2fcfda7..6d070e3c26f 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -16,6 +16,8 @@ IUSE="doc examples"
BDEPEND="doc? ( app-doc/doxygen )"
+PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+
src_prepare() {
default
eautoreconf
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/
@ 2018-04-18 19:33 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2018-04-18 19:33 UTC (permalink / raw
To: gentoo-commits
commit: de4549f584ea54af6e9a731b526c3c678cbf5c37
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 18 19:32:26 2018 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Apr 18 19:32:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de4549f5
sci-libs/libnova: Remove old
Closes: https://bugs.gentoo.org/648818
Package-Manager: Portage-2.3.30, Repoman-2.3.9
sci-libs/libnova/Manifest | 2 -
.../libnova/files/libnova-0.12.1-configure.patch | 17 --------
sci-libs/libnova/libnova-0.12.3.ebuild | 51 ----------------------
sci-libs/libnova/libnova-0.14.0.ebuild | 39 -----------------
4 files changed, 109 deletions(-)
diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest
index 7ad8bce787b..932ef1e1088 100644
--- a/sci-libs/libnova/Manifest
+++ b/sci-libs/libnova/Manifest
@@ -1,3 +1 @@
-DIST libnova-0.12.3.tar.gz 1505676 BLAKE2B 96ece7030bcbfa831c6daa3ef02a1a9d100bd5145d881a9596e0a42ba1917dde007e79da95a433870957c526d0be65f8cb480b5633b0e9a5115a731688e79aea SHA512 e39c55c339dc2d7c899ffb7d0a898a5c2d6ebca5cf3a788db21d84f230a7379bfc0dd4736ed7ae66d8a449d1be9d68b8a4382ae55af4aa638bb734402c43bc72
-DIST libnova-0.14.0.tar.gz 1547373 BLAKE2B 75078d77868419e3cc6d6a7b5c513ebbf32062e4c08c54d5fa80d6e0f4d44eff8118b5d3df4b32d5e14e2f1b9eb989b154391a98eb79dcc83b2cf5f22bad67e6 SHA512 373d32e4f380563f895483d9054cf19bbfc69e32089f75dc91f84daf28610eba94f5615b0eb7004b25b9c702450d594463606b349b93dc9cde46d0d860029da7
DIST libnova-0.15.0.tar.gz 1533794 BLAKE2B e87ffd3b8a895ca7ac9913ad3aacff526718442546df5687f2156718f721665ffff27e69af4bcb65bac5df1fda89fc6fc8fe9876a4b74392986771cf157dc48c SHA512 77ab0ccbfe462c03a21e88656cb4d6389994ea1da0ee8da997f19a83d24ad8fd9e505e70e1580b75332e826e5b7859b5f2af4417f65eb811440493ba586f2574
diff --git a/sci-libs/libnova/files/libnova-0.12.1-configure.patch b/sci-libs/libnova/files/libnova-0.12.1-configure.patch
deleted file mode 100644
index b87b27d75dc..00000000000
--- a/sci-libs/libnova/files/libnova-0.12.1-configure.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- configure.in.orig 2007-11-25 19:24:54.503391146 +0000
-+++ configure.in 2007-11-25 19:26:16.736077320 +0000
-@@ -54,7 +54,6 @@
- AC_STRUCT_TM
-
- LIBS="$LIBS -lm"
--CFLAGS=-Wall
-
- # Checks for header files.
- AC_HEADER_STDC
-@@ -74,5 +73,6 @@
- src/libnova/Makefile
- lntest/Makefile
- doc/Makefile
-+doc/doxyfile
- examples/Makefile
- ])
diff --git a/sci-libs/libnova/libnova-0.12.3.ebuild b/sci-libs/libnova/libnova-0.12.3.ebuild
deleted file mode 100644
index f531c830dbd..00000000000
--- a/sci-libs/libnova/libnova-0.12.3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils autotools flag-o-matic
-
-DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
-HOMEPAGE="http://libnova.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-IUSE="doc examples"
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.12.1-configure.patch
- # 0.12.3 does not pass test with > -02
- replace-flags -O? -O1
- eautoreconf
-}
-
-src_compile() {
- emake || die "emake failed"
- if use doc; then
- cd doc
- emake doc || die "emake in doc failed"
- fi
-}
-
-src_test() {
- emake check || die "emake check failed"
- "${S}"/lntest/lntest || die "lntest failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README || die
- if use doc; then
- dohtml doc/html/* || die "dohtml failed"
- fi
- if use examples; then
- make clean
- rm -f examples/Makefile*
- insinto /usr/share/doc/${PF}
- doins -r examples || die
- fi
-}
diff --git a/sci-libs/libnova/libnova-0.14.0.ebuild b/sci-libs/libnova/libnova-0.14.0.ebuild
deleted file mode 100644
index 23a5867f38e..00000000000
--- a/sci-libs/libnova/libnova-0.14.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils
-
-DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
-HOMEPAGE="http://libnova.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~bicatali/${P}.tar.gz"
-# bad tar ball on sf, rebuild it from svn
-#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="doc examples static-libs"
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_compile() {
- emake
- use doc && emake doc
-}
-
-src_install() {
- default
- use doc && dohtml doc/html/*
- if use examples; then
- make clean
- rm -f examples/Makefile*
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-06 20:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06 20:09 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2021-05-04 15:15 Lars Wendler
2018-04-18 19:33 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox