public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xfitsview/files/, sci-astronomy/xfitsview/
@ 2016-09-02 20:09 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-09-02 20:09 UTC (permalink / raw
  To: gentoo-commits

commit:     b451a42dd3357a2d8d00dba9b92b1032799a295e
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Thu Sep  1 20:52:50 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Sep  2 20:08:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b451a42d

sci-astronomy/xfitsview: revbump (EAPI 4 -> 6)

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2187

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/xfitsview-2.2-build_system.patch         |  8 ++---
 sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild    | 35 ++++++++++++++++++++++
 2 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
index 6b010a3..12eaacf 100644
--- a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
+++ b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
@@ -4,8 +4,8 @@
 
 http://bugs.gentoo.org/show_bug.cgi?id=337479
 
---- Makefile.in
-+++ Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
 @@ -61,26 +61,26 @@
  LIBDIR = lib/$(ARCH)/
  CFLAGS = -Iinclude -Ifitssubs @MOTIF_CPPFLAGS@ @X_CFLAGS@ \
@@ -41,8 +41,8 @@ http://bugs.gentoo.org/show_bug.cgi?id=337479
  
  # make gzipped tar backup of directory
  backup:	
---- fitssubs/Makefile.in
-+++ fitssubs/Makefile.in
+--- a/fitssubs/Makefile.in
++++ b/fitssubs/Makefile.in
 @@ -69,7 +69,7 @@
  
  

diff --git a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
new file mode 100644
index 00000000..3ac2bd2
--- /dev/null
+++ b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN=XFITSview
+MY_P=${MY_PN}${PV}
+
+DESCRIPTION="Viewer for astronomical images in FITS format"
+HOMEPAGE="http://www.nrao.edu/software/fitsview/"
+SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=x11-libs/motif-2.3:0"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}
+
+DOCS=( README changes notes.text )
+PATCHES=( "${FILESDIR}"/${P}-build_system.patch )
+
+src_prepare() {
+	default
+	find "${S}" -name '*old.c' -delete || die
+}
+
+src_install() {
+	dobin XFITSview
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xfitsview/files/, sci-astronomy/xfitsview/
@ 2021-05-09 19:18 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2021-05-09 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     23eeb325a763fa382ddb6e52f7572d610fb0f860
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun May  9 19:18:17 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun May  9 19:18:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23eeb325

sci-astronomy/xfitsview: Respect AR

Closes: https://bugs.gentoo.org/725292
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../xfitsview/files/xfitsview-2.2-build_system.patch | 15 ++++++++++++++-
 sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild      | 20 ++++++++++++--------
 2 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
index 12eaacf4e24..ca45aa7ba39 100644
--- a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
+++ b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
@@ -1,9 +1,22 @@
 * Fix parallel build
 * Respect LDFLAGS
 * Fix build with gmake 3.82
+* Respect AR
 
-http://bugs.gentoo.org/show_bug.cgi?id=337479
+https://bugs.gentoo.org/337479
+https://bugs.gentoo.org/725292
 
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -44,7 +44,7 @@
+ 
+ #  build fitssub library
+ $(ARCH)/libfitsLib.a: ${OBJECTS}
+-	ar rv $(ARCH)/libfitsLib.a ${OBJECTS}
++	${AR} rv $(ARCH)/libfitsLib.a ${OBJECTS}
+ 	${RANLIB} $(ARCH)/libfitsLib.a
+ 
+ clean:
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -61,26 +61,26 @@

diff --git a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
index ff1ebd1455c..32762bcf872 100644
--- a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
+++ b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
+inherit toolchain-funcs
 
 MY_PN=XFITSview
 MY_P=${MY_PN}${PV}
@@ -9,26 +11,28 @@ MY_P=${MY_PN}${PV}
 DESCRIPTION="Viewer for astronomical images in FITS format"
 HOMEPAGE="http://www.nrao.edu/software/fitsview/"
 SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
+S="${WORKDIR}/${MY_PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
 DEPEND=">=x11-libs/motif-2.3:0"
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/${MY_PN}
-
-DOCS=( README changes notes.text )
 PATCHES=( "${FILESDIR}"/${P}-build_system.patch )
 
 src_prepare() {
 	default
-	find "${S}" -name '*old.c' -delete || die
+	find -name '*old.c' -delete || die
+}
+
+src_configure() {
+	tc-export AR
+	default
 }
 
 src_install() {
 	dobin XFITSview
-	einstalldocs
+	dodoc README changes notes.text
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-02 20:09 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xfitsview/files/, sci-astronomy/xfitsview/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2021-05-09 19:18 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox