* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xephem/, sci-astronomy/xephem/files/
@ 2018-06-30 4:10 Ulrich Müller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2018-06-30 4:10 UTC (permalink / raw
To: gentoo-commits
commit: 4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 04:09:39 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 30 04:09:39 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4c41d4
sci-astronomy/xephem: Don't link against libXp.
Closes: https://bugs.gentoo.org/650404
Package-Manager: Portage-2.3.41, Repoman-2.3.9
sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch | 11 +++++++++++
sci-astronomy/xephem/xephem-3.7.7.ebuild | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch
new file mode 100644
index 00000000000..e41112f7b1e
--- /dev/null
+++ b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch
@@ -0,0 +1,11 @@
+--- a/GUI/xephem/Makefile
++++ b/GUI/xephem/Makefile
+@@ -30,7 +30,7 @@
+ endif
+
+ # for linux and Apple OS X
+-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
++XLIBS = -lXm -lXt -lXext -lXmu -lX11
+ CFLAGS := $(LIBINC) $(CFLAGS)
+ LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
+
diff --git a/sci-astronomy/xephem/xephem-3.7.7.ebuild b/sci-astronomy/xephem/xephem-3.7.7.ebuild
index ad77acbd721..21274e2d1ad 100644
--- a/sci-astronomy/xephem/xephem-3.7.7.ebuild
+++ b/sci-astronomy/xephem/xephem-3.7.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${P}-respect_env_vars.patch"
"${FILESDIR}/${P}-implicits.patch"
+ "${FILESDIR}/${P}-no_xprint.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xephem/, sci-astronomy/xephem/files/
@ 2022-12-24 7:03 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-12-24 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 09607a4dd3014f1373b1437f06d4aa0e1bce4633
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Fri Dec 9 11:50:45 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 06:59:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09607a4d
sci-astronomy/xephem: enable parallel build
- add a patch to allow parallel builds
- add remote-id to make pkgcheck happy
- update obsolete virtual/jpeg dependency and order deps
Closes: https://bugs.gentoo.org/881813
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28610
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/xephem-4.1.0-allow-parallel-builds.patch | 26 ++++++++++++++++++++++
sci-astronomy/xephem/metadata.xml | 3 +++
...{xephem-4.1.0.ebuild => xephem-4.1.0-r1.ebuild} | 7 ++++--
3 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/sci-astronomy/xephem/files/xephem-4.1.0-allow-parallel-builds.patch b/sci-astronomy/xephem/files/xephem-4.1.0-allow-parallel-builds.patch
new file mode 100644
index 000000000000..87d4a32e8857
--- /dev/null
+++ b/sci-astronomy/xephem/files/xephem-4.1.0-allow-parallel-builds.patch
@@ -0,0 +1,26 @@
+From 89cc80f47cdf71d3a5eae0ea6a2bade329a3e1fb Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Fri, 9 Dec 2022 12:30:24 +0100
+Subject: [PATCH] allow parallel builds
+
+Ensure all libraries are ready before the final binary is
+going to get linked.
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+--- a/GUI/xephem/Makefile
++++ b/GUI/xephem/Makefile
+@@ -182,9 +182,9 @@ OBJS = \
+ xephem.o \
+ xmisc.o
+
+-all: libs xephem xephem.1
++all: xephem xephem.1
+
+-xephem: $(INCS) $(OBJS)
++xephem: libs $(INCS) $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ xephem.1: xephem.man
+--
+2.38.1
+
diff --git a/sci-astronomy/xephem/metadata.xml b/sci-astronomy/xephem/metadata.xml
index b68063e309e9..a6c852e0ab3d 100644
--- a/sci-astronomy/xephem/metadata.xml
+++ b/sci-astronomy/xephem/metadata.xml
@@ -13,4 +13,7 @@
the moons of Jupiter, Saturn and Earth; Mars' and Jupiter's central
meridian longitude; Saturn's rings; and Jupiter's Great Red Spot.
</longdescription>
+ <upstream>
+ <remote-id type="github">XEphem/XEphem</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sci-astronomy/xephem/xephem-4.1.0.ebuild b/sci-astronomy/xephem/xephem-4.1.0-r1.ebuild
similarity index 87%
rename from sci-astronomy/xephem/xephem-4.1.0.ebuild
rename to sci-astronomy/xephem/xephem-4.1.0-r1.ebuild
index 8b8f87e5ba22..ef46be975575 100644
--- a/sci-astronomy/xephem/xephem-4.1.0.ebuild
+++ b/sci-astronomy/xephem/xephem-4.1.0-r1.ebuild
@@ -16,9 +16,9 @@ KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-libs/openssl:=
- >=x11-libs/motif-2.3:0
- virtual/jpeg:0
+ media-libs/libjpeg-turbo:=
media-libs/libpng:0=
+ >=x11-libs/motif-2.3:0
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXt
@@ -28,9 +28,12 @@ BDEPEND="sys-apps/groff"
HTML_DOCS=( GUI/xephem/help/. )
+# NOTE: order is relevant - parallel build patch requires respect env vars
+# patch to be already applied
PATCHES=(
"${FILESDIR}/${PN}-3.7.7-implicits.patch"
"${FILESDIR}/${P}-respect_env_vars.patch"
+ "${FILESDIR}/${P}-allow-parallel-builds.patch"
)
src_compile() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-24 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-30 4:10 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/xephem/, sci-astronomy/xephem/files/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2022-12-24 7:03 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox