public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molden/
Date: Sat, 16 Jul 2022 14:06:14 +0000 (UTC)	[thread overview]
Message-ID: <1657980358.bf486b04b3c2f2513ba8fee0278e7395d4cdb63c.soap@gentoo> (raw)

commit:     bf486b04b3c2f2513ba8fee0278e7395d4cdb63c
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sat Jul 16 14:05:58 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 14:05:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf486b04

sci-chemistry/molden: install sci-chemistry/surf instead of bundled one

sci-chemistry/molden newly installs /bin/surf since 6.9, commit
ec853626b72f ("sci-chemistry/molden: add version 6.9"), however, this is
bundled version of sci-chemistry/surf which should be used instead. This
change solves multiple issues:

- unnecessary /bin/surf collision with sci-chemistry/surf and
  www-client/surf, #834033 #858209
- missing SURF license of bundled surf, which is no longer needed
- ex: no python-exec wrapped executable found in /usr/lib/python-exec,
  #849371 issue, which is triggered by surf/surf target.

x11-misc/gccmakedep and app-editors/vim dependencies are no longer
needed because they were used in surf/surf target.

Closes: https://github.com/gentoo/gentoo/pull/26439
Closes: https://bugs.gentoo.org/822510
Closes: https://bugs.gentoo.org/834033
Closes: https://bugs.gentoo.org/849371
Closes: https://bugs.gentoo.org/858209
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../molden/{molden-6.9.ebuild => molden-6.9-r1.ebuild}   | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/sci-chemistry/molden/molden-6.9.ebuild b/sci-chemistry/molden/molden-6.9-r1.ebuild
similarity index 80%
rename from sci-chemistry/molden/molden-6.9.ebuild
rename to sci-chemistry/molden/molden-6.9-r1.ebuild
index df6e76dbfe75..e3ff6d0a079e 100644
--- a/sci-chemistry/molden/molden-6.9.ebuild
+++ b/sci-chemistry/molden/molden-6.9-r1.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="opengl"
 
-RDEPEND="
+DEPEND="
 	x11-libs/libXmu
 	opengl? (
 		media-libs/freeglut
@@ -25,10 +25,9 @@ RDEPEND="
 		virtual/glu
 	)
 "
-DEPEND="${RDEPEND}
-	x11-misc/gccmakedep
-	app-editors/vim"
-	# vim provides ex, which the build system uses (surf/Makefile, at least)
+RDEPEND="${DEPEND}
+	sci-chemistry/surf
+"
 
 PATCHES=(
 	"${FILESDIR}/${P}-ldflags.patch"
@@ -36,9 +35,6 @@ PATCHES=(
 
 src_prepare() {
 	default
-	sed \
-		-e 's:makedepend:gccmakedep:g' \
-		-i src/surf/Makefile || die
 	sed 's:shell g77:shell $(FC):g' -i makefile || die
 }
 
@@ -60,7 +56,7 @@ src_compile() {
 	)
 
 	einfo "Building Molden..."
-	emake -j1 molden ambfor/ambfor ambfor/ambmd surf/surf "${args[@]}"
+	emake -j1 molden ambfor/ambfor ambfor/ambmd "${args[@]}"
 	if use opengl ; then
 		einfo "Building Molden OpenGL helper..."
 		emake -j1 "${args[@]}" gmolden
@@ -68,7 +64,7 @@ src_compile() {
 }
 
 src_install() {
-	dobin bin/molden bin/ambfor bin/ambmd bin/surf
+	dobin bin/molden bin/ambfor bin/ambmd
 	if use opengl; then
 		dobin bin/gmolden
 		doicon -s 64 haux/gmolden.png


             reply	other threads:[~2022-07-16 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-16 14:06 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-30  9:25 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molden/ Jakov Smolić
2021-02-19 12:47 Sam James
2019-11-24  3:21 Aaron Bauman
2019-11-12 10:45 Agostino Sarubbo
2016-02-11  7:54 Justin Lecher
2016-02-11  7:54 Justin Lecher
2016-02-11  7:54 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657980358.bf486b04b3c2f2513ba8fee0278e7395d4cdb63c.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox