public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2016-03-06 23:35 David Seifert
  0 siblings, 0 replies; 14+ messages in thread
From: David Seifert @ 2016-03-06 23:35 UTC (permalink / raw
  To: gentoo-commits

commit:     c1a02a50c21fc5f7932a99bea7e8a8428d17bc04
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 23:32:17 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 23:35:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a02a50

sci-electronics/magic: Add 'mailto:' to <bugs-to/> tag

Package-Manager: portage-2.2.27

 sci-electronics/magic/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/magic/metadata.xml b/sci-electronics/magic/metadata.xml
index dc83bb8..1b0b93f 100644
--- a/sci-electronics/magic/metadata.xml
+++ b/sci-electronics/magic/metadata.xml
@@ -23,6 +23,6 @@
     </maintainer>
     <changelog>http://www.opencircuitdesign.com/magic/release.html</changelog>
     <doc lang="en">http://www.opencircuitdesign.com/magic/magic_docs.html</doc>
-    <bugs-to>tim@opencircuitdesign.com</bugs-to>
+    <bugs-to>mailto:tim@opencircuitdesign.com</bugs-to>
   </upstream>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2020-09-24 19:53 Aaron Bauman
  0 siblings, 0 replies; 14+ messages in thread
From: Aaron Bauman @ 2020-09-24 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     06787dbec06146cac745be92526bf244932a3c60
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 19:04:10 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 19:53:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06787dbe

sci-electronics/magic: drop old EAPI=5

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sci-electronics/magic/Manifest             |  2 -
 sci-electronics/magic/magic-7.5.231.ebuild | 73 ----------------------------
 sci-electronics/magic/magic-8.0.138.ebuild | 76 ------------------------------
 3 files changed, 151 deletions(-)

diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
index aaa86e03d40..bd1baafd599 100644
--- a/sci-electronics/magic/Manifest
+++ b/sci-electronics/magic/Manifest
@@ -1,5 +1,3 @@
 DIST 2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e
 DIST magic-7.5.202.tgz 3692294 BLAKE2B 8c484e7771b388df8a5e9df574a522f81b5ae34bfaa0db28f444f31a0f5737094d73d2f5467796df74f9230fe684e9c96b08b11812b5627ee5a1bcc74893a021 SHA512 62be6e781ab51a4129a520b91a35ff5c280e7e9cb825e5d71e4012205dd0b777ca8c2355fb071d7d716977d477bddd44e45ca2810d3f97bb63dfe46c5ad1ba80
-DIST magic-7.5.231.tgz 3751133 BLAKE2B ffe7b19cfadd84ab91d668f7f317fc53dcec4292348324a9cd6326370a6b8446db537667103169313b72ad5e5e78458e346e802744ab2856eae40d773d65f80e SHA512 ff1aa170c0fdbeb78aca7328370f40fde1a7276dd77e1b4d4d53f121b38ffecdc8b0d860dc92c1dfeccd1dd7685ee6079aa19984757025fc743ae1a88ed0aace
-DIST magic-8.0.138.tgz 3880247 BLAKE2B be6e11f55452c990ae443639ba6852d683323159104ef3626e96e5ddc275a420f0f8debfcb517a7ac38ecd04aa01dfc935e81634c740f1761a1bd3a6adb35c69 SHA512 934fb0afef7fd7aca1307a1e9c86d23531d4188d1bd03bbfbb3609cabec115f5ce66ef02b75f5a0aedbace0b1f68260585b279a6d7bc45f58a4e0ac09cd99d36
 DIST magic-8.0.207.tgz 3893605 BLAKE2B 39309def79e03fd6b116482eec2f200cb2b0d2042add2e2a70b0805bc0bc75654de6a92150167ab755b21c333be917c5fac53a30e9f5ee7915fd662179ce391c SHA512 034387d774f653d6de419d597564e96242b87bf3c478045e5a649f490fe4e5431c983f6667b5900ec9ae283af2775404dfbdcbaf18419f85d7242d492360d32b

diff --git a/sci-electronics/magic/magic-7.5.231.ebuild b/sci-electronics/magic/magic-7.5.231.ebuild
deleted file mode 100644
index b85ff98fcbd..00000000000
--- a/sci-electronics/magic/magic-7.5.231.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib eutils autotools
-
-DESCRIPTION="The VLSI design CAD tool"
-HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
-SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
-	ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
-
-LICENSE="HPND GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug opengl"
-
-RDEPEND="sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	dev-lang/tcl:0=
-	dev-lang/tk:0=
-	dev-tcltk/blt
-	opengl? ( virtual/opengl )"
-DEPEND="${RDEPEND}
-	app-shells/tcsh"
-
-src_prepare() {
-	einfo remove bundled readline-4.3
-	rm -r readline || die
-
-	epatch \
-		"${FILESDIR}"/${PN}-7.5.231-blt-test.patch \
-		"${FILESDIR}"/${PN}-7.5.231-ldflags.patch \
-		"${FILESDIR}"/${PN}-7.5.231-verbose-build.patch
-
-	cd scripts || die
-	eautoreconf
-	cd .. || die
-
-	sed -i -e "s: -pg : :" tcltk/Makefile || die
-}
-
-src_configure() {
-	# Short-circuit top-level configure script to retain CFLAGS
-	# fix tcl/tk detection #447868
-	cd scripts
-	CPP="cpp" econf \
-		--with-tcl=yes \
-		--with-tcllibs="/usr/$(get_libdir)" \
-		--with-tklibs="/usr/$(get_libdir)" \
-		--enable-modular \
-		$(use_enable debug memdebug) \
-		$(use_with opengl)
-}
-
-src_install() {
-	emake -j1 DESTDIR="${D}" install
-
-	dodoc README README.Tcl TODO
-
-	# Move docs from libdir to docdir and add symlink.
-	mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
-	rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
-	dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
-
-	# Move tutorial from libdir to datadir and add symlink.
-	dodir /usr/share/${PN}
-	mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
-	dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
-
-	# Install latest MOSIS tech files
-	cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
-}

diff --git a/sci-electronics/magic/magic-8.0.138.ebuild b/sci-electronics/magic/magic-8.0.138.ebuild
deleted file mode 100644
index c437a36c055..00000000000
--- a/sci-electronics/magic/magic-8.0.138.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib eutils autotools
-
-DESCRIPTION="The VLSI design CAD tool"
-HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
-SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
-	ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
-
-LICENSE="HPND GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug opengl"
-
-RDEPEND="sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	dev-lang/tcl:0=
-	dev-lang/tk:0=
-	dev-tcltk/blt
-	opengl? ( virtual/glu
-		virtual/opengl )"
-DEPEND="${RDEPEND}
-	app-shells/tcsh"
-
-src_prepare() {
-	einfo remove bundled readline-4.3
-	rm -r readline || die
-
-	epatch \
-		"${FILESDIR}/${PN}-7.5.231-verbose-build.patch"
-
-	cd scripts || die
-	eautoreconf
-	cd .. || die
-
-	sed -i -e "s: -pg : :" tcltk/Makefile || die
-}
-
-src_configure() {
-	# Short-circuit top-level configure script to retain CFLAGS
-	# fix tcl/tk detection #447868
-	cd scripts
-	CPP="cpp" econf \
-		--with-tcl=yes \
-		--with-tcllibs="/usr/$(get_libdir)" \
-		--with-tklibs="/usr/$(get_libdir)" \
-		--enable-modular \
-		$(use_enable debug memdebug) \
-		$(use_with opengl)
-}
-
-src_compile() {
-	emake -j1
-}
-
-src_install() {
-	emake -j1 DESTDIR="${D}" install
-
-	dodoc README README.Tcl TODO
-
-	# Move docs from libdir to docdir and add symlink.
-	mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
-	rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
-	dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
-
-	# Move tutorial from libdir to datadir and add symlink.
-	dodir /usr/share/${PN}
-	mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
-	dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
-
-	# Install latest MOSIS tech files
-	cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2021-08-18 23:18 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-08-18 23:18 UTC (permalink / raw
  To: gentoo-commits

commit:     be7ed26f001fb31bf32a69824c3cc858b48f0326
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 18 23:17:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 18 23:18:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be7ed26f

sci-electronics/magic: fix autoconf 2.71 compatibility

Closes: https://bugs.gentoo.org/775422
Thanks-to: Lars Wendler <polynomial-c <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/magic/magic-8.0.207.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sci-electronics/magic/magic-8.0.207.ebuild b/sci-electronics/magic/magic-8.0.207.ebuild
index f39b2bed4f9..5c62820b86b 100644
--- a/sci-electronics/magic/magic-8.0.207.ebuild
+++ b/sci-electronics/magic/magic-8.0.207.ebuild
@@ -34,6 +34,12 @@ src_prepare() {
 	cd .. || die
 
 	sed -i -e "s: -pg : :" tcltk/Makefile || die
+
+	# required for >=autoconf-2.70 (bug #775422)
+	local ac_aux_file
+	for ac_aux_file in install-sh config.guess config.sub ; do
+		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
+	done
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2021-09-29 22:21 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2021-09-29 22:21 UTC (permalink / raw
  To: gentoo-commits

commit:     c4fcafe9dfa8d26fe7876ed96432a32a6798d623
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 29 22:20:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 29 22:21:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4fcafe9

sci-electronics/magic: fix autoconf 2.71 compatibility in stable

Bug: https://bugs.gentoo.org/775422
Closes: https://bugs.gentoo.org/814788
See: be7ed26f001fb31bf32a69824c3cc858b48f0326
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/magic/magic-7.5.202-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sci-electronics/magic/magic-7.5.202-r1.ebuild b/sci-electronics/magic/magic-7.5.202-r1.ebuild
index 00761831257..40a3643a1eb 100644
--- a/sci-electronics/magic/magic-7.5.202-r1.ebuild
+++ b/sci-electronics/magic/magic-7.5.202-r1.ebuild
@@ -31,6 +31,12 @@ src_prepare() {
 	eautoreconf
 	cd ..
 	sed -i -e "s: -pg : :" tcltk/Makefile || die
+
+	# required for >=autoconf-2.70 (bug #775422)
+	local ac_aux_file
+	for ac_aux_file in install-sh config.guess config.sub ; do
+		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
+	done
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2021-12-14 16:09 Jakov Smolić
  0 siblings, 0 replies; 14+ messages in thread
From: Jakov Smolić @ 2021-12-14 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     3ed6184c5ad118d528883613c5b610f1945edb48
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 16:08:34 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 16:08:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ed6184c

sci-electronics/magic: Stabilize 8.3.232 amd64, #819120

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.232.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/magic/magic-8.3.232.ebuild b/sci-electronics/magic/magic-8.3.232.ebuild
index c21980f211ab..db858c2d6131 100644
--- a/sci-electronics/magic/magic-8.3.232.ebuild
+++ b/sci-electronics/magic/magic-8.3.232.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
 
 LICENSE="HPND GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="cairo debug opengl"
 
 RDEPEND="sys-libs/ncurses:0=


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2021-12-14 16:15 Jakov Smolić
  0 siblings, 0 replies; 14+ messages in thread
From: Jakov Smolić @ 2021-12-14 16:15 UTC (permalink / raw
  To: gentoo-commits

commit:     297cd17c912dd593b13925361c1d9c9b8ec137ad
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 16:14:54 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 16:14:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297cd17c

sci-electronics/magic: Stabilize 8.3.232 x86, #819120

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.232.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/magic/magic-8.3.232.ebuild b/sci-electronics/magic/magic-8.3.232.ebuild
index db858c2d6131..a23b43b71b8d 100644
--- a/sci-electronics/magic/magic-8.3.232.ebuild
+++ b/sci-electronics/magic/magic-8.3.232.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
 
 LICENSE="HPND GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="cairo debug opengl"
 
 RDEPEND="sys-libs/ncurses:0=


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2021-12-14 16:17 Jakov Smolić
  0 siblings, 0 replies; 14+ messages in thread
From: Jakov Smolić @ 2021-12-14 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     eab85e9b2b0040ca34bd0a8faba2a1da1d8592c0
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 16:17:03 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 16:17:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab85e9b

sci-electronics/magic: Drop EAPI-5 ebuild

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-electronics/magic/Manifest                |  2 -
 sci-electronics/magic/magic-7.5.202-r1.ebuild | 70 ---------------------------
 2 files changed, 72 deletions(-)

diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
index 06e1a5b7843f..e58deb09ddfc 100644
--- a/sci-electronics/magic/Manifest
+++ b/sci-electronics/magic/Manifest
@@ -1,4 +1,2 @@
-DIST 2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e
-DIST magic-7.5.202.tgz 3692294 BLAKE2B 8c484e7771b388df8a5e9df574a522f81b5ae34bfaa0db28f444f31a0f5737094d73d2f5467796df74f9230fe684e9c96b08b11812b5627ee5a1bcc74893a021 SHA512 62be6e781ab51a4129a520b91a35ff5c280e7e9cb825e5d71e4012205dd0b777ca8c2355fb071d7d716977d477bddd44e45ca2810d3f97bb63dfe46c5ad1ba80
 DIST magic-8.3.232.tgz 4093446 BLAKE2B 6b4b49c2b1f566b0173bead0e95e381a6632b049545dc3b26572f415ba0df3958bc5c3931b686718136185cf105e437fe70dc1f71a11707ad33afac80ddf8f2f SHA512 755b27b8f263d990ca86b3f043e1b8f8a2de75d72f1baf9c4de3a1d7cde28feecf093d8bf1497f2632327d09ce0ce0b17ccea46bdba01c5b53c52ea0f5cf5fdc
 DIST magic-tech-mosis-2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e

diff --git a/sci-electronics/magic/magic-7.5.202-r1.ebuild b/sci-electronics/magic/magic-7.5.202-r1.ebuild
deleted file mode 100644
index d0de7f316712..000000000000
--- a/sci-electronics/magic/magic-7.5.202-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib epatch autotools
-
-DESCRIPTION="The VLSI design CAD tool"
-HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
-SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
-	ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
-
-LICENSE="HPND GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-RDEPEND="sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	dev-lang/tcl:0=
-	dev-lang/tk:0=
-	dev-tcltk/blt"
-DEPEND="${RDEPEND}
-	app-shells/tcsh"
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-ldflags.patch"
-	epatch "${FILESDIR}/${P}-install.patch" #422687
-	epatch "${FILESDIR}/${P}-include.patch"
-	cd scripts
-	eautoreconf
-	cd ..
-	sed -i -e "s: -pg : :" tcltk/Makefile || die
-
-	# required for >=autoconf-2.70 (bug #775422)
-	local ac_aux_file
-	for ac_aux_file in install-sh config.guess config.sub ; do
-		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
-	done
-}
-
-src_configure() {
-	# Short-circuit top-level configure script to retain CFLAGS
-	# fix tcl/tk detection #447868
-	cd scripts
-	CPP="cpp" econf --with-tcllibs="/usr/$(get_libdir)" --with-tklibs="/usr/$(get_libdir)"
-}
-
-src_compile() {
-	emake -j1
-}
-
-src_install() {
-	emake -j1 DESTDIR="${D}" install
-
-	dodoc README README.Tcl TODO
-
-	# Move docs from libdir to docdir and add symlink.
-	mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
-	rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
-	dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
-
-	# Move tutorial from libdir to datadir and add symlink.
-	dodir /usr/share/${PN}
-	mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
-	dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
-
-	# Install latest MOSIS tech files
-	cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2022-06-07  3:44 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-06-07  3:44 UTC (permalink / raw
  To: gentoo-commits

commit:     3889abee7866460d84530f9aa518dbebee548b16
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Tue Jun  7 02:25:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 03:44:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3889abee

sci-electronics/magic: add 8.3.309

Signed-off-by: James Beddek <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/25782
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/magic/Manifest             |  1 +
 sci-electronics/magic/magic-8.3.309.ebuild | 94 ++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
index e58deb09ddfc..a7f556f1ccd3 100644
--- a/sci-electronics/magic/Manifest
+++ b/sci-electronics/magic/Manifest
@@ -1,2 +1,3 @@
 DIST magic-8.3.232.tgz 4093446 BLAKE2B 6b4b49c2b1f566b0173bead0e95e381a6632b049545dc3b26572f415ba0df3958bc5c3931b686718136185cf105e437fe70dc1f71a11707ad33afac80ddf8f2f SHA512 755b27b8f263d990ca86b3f043e1b8f8a2de75d72f1baf9c4de3a1d7cde28feecf093d8bf1497f2632327d09ce0ce0b17ccea46bdba01c5b53c52ea0f5cf5fdc
+DIST magic-8.3.309.tgz 4175194 BLAKE2B dc63e74abf1a0fee75b1b018f58f73f0ed4ba7acb244aa0f427af1d4051a3344892ee8514a5f99827bd10c8ff44eac907a70150855db48fb97d0e4d436273893 SHA512 1abfd843f3d123bf532672c5e8c58d2c0f50e29ab017c21e4895810163eec430ba07c3b0dd8c571e47f1ce3bacfd37aa4cc667e4cecb3d53b3b7dd1c8205d8c2
 DIST magic-tech-mosis-2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e

diff --git a/sci-electronics/magic/magic-8.3.309.ebuild b/sci-electronics/magic/magic-8.3.309.ebuild
new file mode 100644
index 000000000000..af68823bb2b6
--- /dev/null
+++ b/sci-electronics/magic/magic-8.3.309.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit python-any-r1
+
+TECH_MOSIS_VER="2002a"
+
+DESCRIPTION="The VLSI design CAD tool"
+HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
+SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
+	http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
+		-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
+
+LICENSE="HPND GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="cairo debug opengl"
+
+RDEPEND="
+	sys-libs/ncurses:0=
+	sys-libs/readline:0=
+	sys-libs/zlib:=
+	dev-lang/tcl:0=
+	dev-lang/tk:0=
+	dev-tcltk/blt
+	cairo? ( x11-libs/cairo[opengl?] )
+	opengl? (
+		virtual/glu
+		virtual/opengl
+	)
+"
+DEPEND="
+	${RDEPEND}
+	${PYTHON_DEPS}
+"
+BDEPEND="app-shells/tcsh"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.3.232-libdir.patch
+)
+
+DOCS=( README.md README.Tcl TODO )
+
+src_prepare() {
+	default
+
+	pushd scripts &>/dev/null || die
+	mv configure.in configure.ac || die
+	popd &>/dev/null || die
+
+	# required for >=autoconf-2.70 (bug #775422)
+	local ac_aux_file
+	for ac_aux_file in install-sh config.guess config.sub ; do
+		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
+	done
+}
+
+src_configure() {
+	# Short-circuit top-level configure script to retain CFLAGS
+	# fix tcl/tk detection #447868
+	cd scripts || die
+	econf \
+		--with-tcl="/usr/$(get_libdir)" \
+		--with-tk="/usr/$(get_libdir)" \
+		--with-tcllibs="/usr/$(get_libdir)" \
+		--with-tklibs="/usr/$(get_libdir)" \
+		--disable-modular \
+		$(use_enable debug memdebug) \
+		$(use_enable cairo cairo-offscreen) \
+		$(use_with opengl)
+}
+
+src_install() {
+	# Make does not always install required .tech files with parallel make install
+	emake DESTDIR="${ED}" install -j1
+	einstalldocs
+
+	# Move docs from libdir to docdir and add symlink.
+	mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
+	rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
+	dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
+
+	# Move tutorial from libdir to datadir and add symlink.
+	dodir /usr/share/${PN}
+	mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
+	dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
+
+	# Install latest MOSIS tech files
+	cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2022-06-07  3:44 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-06-07  3:44 UTC (permalink / raw
  To: gentoo-commits

commit:     b8a6d91e0c08f8039e685a780e656388c18f59d6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  7 03:44:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 03:44:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a6d91e

sci-electronics/magic: drop back to ~arch for 8.3.309; use BDEPEND for PYTHON_DEPS

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.309.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sci-electronics/magic/magic-8.3.309.ebuild b/sci-electronics/magic/magic-8.3.309.ebuild
index af68823bb2b6..2f0d828f97bb 100644
--- a/sci-electronics/magic/magic-8.3.309.ebuild
+++ b/sci-electronics/magic/magic-8.3.309.ebuild
@@ -17,7 +17,7 @@ SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
 
 LICENSE="HPND GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="cairo debug opengl"
 
 RDEPEND="
@@ -33,11 +33,9 @@ RDEPEND="
 		virtual/opengl
 	)
 "
-DEPEND="
-	${RDEPEND}
-	${PYTHON_DEPS}
-"
-BDEPEND="app-shells/tcsh"
+DEPEND="${RDEPEND}"
+BDEPEND="app-shells/tcsh
+	${PYTHON_DEPS}"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-8.3.232-libdir.patch
@@ -61,7 +59,7 @@ src_prepare() {
 
 src_configure() {
 	# Short-circuit top-level configure script to retain CFLAGS
-	# fix tcl/tk detection #447868
+	# Fix tcl/tk detection, bug #447868
 	cd scripts || die
 	econf \
 		--with-tcl="/usr/$(get_libdir)" \


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2022-06-21 10:02 Andrew Ammerlaan
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Ammerlaan @ 2022-06-21 10:02 UTC (permalink / raw
  To: gentoo-commits

commit:     7851882d742b5931a488374c1356f8f83b88a408
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Mon Jun 20 06:04:58 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 09:59:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7851882d

sci-electronics/magic: respect cairo use flag

Also, don't let make/configure try to grab the commit through `git rev-parse HEAD`

Signed-off-by: James Beddek <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/25787
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.309-r1.ebuild | 96 +++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)

diff --git a/sci-electronics/magic/magic-8.3.309-r1.ebuild b/sci-electronics/magic/magic-8.3.309-r1.ebuild
new file mode 100644
index 000000000000..daeca5ef9e93
--- /dev/null
+++ b/sci-electronics/magic/magic-8.3.309-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit python-any-r1
+
+TECH_MOSIS_VER="2002a"
+
+DESCRIPTION="The VLSI design CAD tool"
+HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
+SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
+	http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
+		-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
+
+LICENSE="HPND GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cairo debug opengl"
+
+RDEPEND="
+	sys-libs/ncurses:0=
+	sys-libs/readline:0=
+	sys-libs/zlib:=
+	dev-lang/tcl:0=
+	dev-lang/tk:0=
+	dev-tcltk/blt
+	cairo? ( x11-libs/cairo[opengl?] )
+	opengl? (
+		virtual/glu
+		virtual/opengl
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="app-shells/tcsh
+	${PYTHON_DEPS}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.3.232-libdir.patch
+)
+
+DOCS=( README.md README.Tcl TODO )
+
+src_prepare() {
+	default
+
+	# Don't embed MAGIC_COMMIT
+	sed -i 's/git rev-parse HEAD//' scripts/defs.mak.in || die
+
+	pushd scripts &>/dev/null || die
+	mv configure.in configure.ac || die
+	popd &>/dev/null || die
+
+	# required for >=autoconf-2.70 (bug #775422)
+	local ac_aux_file
+	for ac_aux_file in install-sh config.guess config.sub ; do
+		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
+	done
+}
+
+src_configure() {
+	# Short-circuit top-level configure script to retain CFLAGS
+	# Fix tcl/tk detection, bug #447868
+	cd scripts || die
+	econf \
+		--with-tcl="/usr/$(get_libdir)" \
+		--with-tk="/usr/$(get_libdir)" \
+		--with-tcllibs="/usr/$(get_libdir)" \
+		--with-tklibs="/usr/$(get_libdir)" \
+		--disable-modular \
+		$(use_enable debug memdebug) \
+		$(use_enable cairo cairo-offscreen) \
+		$(use_with cairo) \
+		$(use_with opengl)
+}
+
+src_install() {
+	# Make does not always install required .tech files with parallel make install
+	emake DESTDIR="${ED}" install -j1
+	einstalldocs
+
+	# Move docs from libdir to docdir and add symlink.
+	mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
+	rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
+	dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
+
+	# Move tutorial from libdir to datadir and add symlink.
+	dodir /usr/share/${PN}
+	mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
+	dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
+
+	# Install latest MOSIS tech files
+	cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2023-02-01  7:23 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2023-02-01  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     a027c3d8005ca107ab9919c3900c81fcf71f604b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 07:19:43 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 07:22:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a027c3d8

sci-electronics/magic: fix x11-libs/cairo dep

Nothing should've actually needed opengl on, so let's drop the dep,
as it's almost certainly bogus.

Bug: https://bugs.gentoo.org/892782
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../magic/{magic-8.3.232.ebuild => magic-8.3.232-r1.ebuild}           | 4 ++--
 .../magic/{magic-8.3.309.ebuild => magic-8.3.309-r2.ebuild}           | 2 +-
 .../magic/{magic-8.3.309-r1.ebuild => magic-8.3.309-r3.ebuild}        | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-electronics/magic/magic-8.3.232.ebuild b/sci-electronics/magic/magic-8.3.232-r1.ebuild
similarity index 96%
rename from sci-electronics/magic/magic-8.3.232.ebuild
rename to sci-electronics/magic/magic-8.3.232-r1.ebuild
index a23b43b71b8d..d3876aa9ad6e 100644
--- a/sci-electronics/magic/magic-8.3.232.ebuild
+++ b/sci-electronics/magic/magic-8.3.232-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ RDEPEND="sys-libs/ncurses:0=
 	dev-lang/tcl:0=
 	dev-lang/tk:0=
 	dev-tcltk/blt
-	cairo? ( x11-libs/cairo[opengl?] )
+	cairo? ( x11-libs/cairo )
 	opengl? (
 		virtual/glu
 		virtual/opengl

diff --git a/sci-electronics/magic/magic-8.3.309.ebuild b/sci-electronics/magic/magic-8.3.309-r2.ebuild
similarity index 98%
rename from sci-electronics/magic/magic-8.3.309.ebuild
rename to sci-electronics/magic/magic-8.3.309-r2.ebuild
index 9857f5aa9749..b615a42ae11d 100644
--- a/sci-electronics/magic/magic-8.3.309.ebuild
+++ b/sci-electronics/magic/magic-8.3.309-r2.ebuild
@@ -27,7 +27,7 @@ RDEPEND="
 	dev-lang/tcl:0=
 	dev-lang/tk:0=
 	dev-tcltk/blt
-	cairo? ( x11-libs/cairo[opengl?] )
+	cairo? ( x11-libs/cairo )
 	opengl? (
 		virtual/glu
 		virtual/opengl

diff --git a/sci-electronics/magic/magic-8.3.309-r1.ebuild b/sci-electronics/magic/magic-8.3.309-r3.ebuild
similarity index 98%
rename from sci-electronics/magic/magic-8.3.309-r1.ebuild
rename to sci-electronics/magic/magic-8.3.309-r3.ebuild
index 871d9495f6bd..1b40c505933c 100644
--- a/sci-electronics/magic/magic-8.3.309-r1.ebuild
+++ b/sci-electronics/magic/magic-8.3.309-r3.ebuild
@@ -27,7 +27,7 @@ RDEPEND="
 	dev-lang/tcl:0=
 	dev-lang/tk:0=
 	dev-tcltk/blt
-	cairo? ( x11-libs/cairo[opengl?] )
+	cairo? ( x11-libs/cairo )
 	opengl? (
 		virtual/glu
 		virtual/opengl


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2023-03-17 10:58 Andrew Ammerlaan
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Ammerlaan @ 2023-03-17 10:58 UTC (permalink / raw
  To: gentoo-commits

commit:     0e619e8bb85ccf0be076b266dbf5fa96b531c7b7
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Wed Feb  8 15:19:42 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 10:58:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e619e8b

sci-electronics/magic: Version bump to 8.3.365

Closes: https://bugs.gentoo.org/887691
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29484
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-electronics/magic/Manifest             |  1 +
 sci-electronics/magic/magic-8.3.365.ebuild | 98 ++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
index a7f556f1ccd3..7c77e2332aac 100644
--- a/sci-electronics/magic/Manifest
+++ b/sci-electronics/magic/Manifest
@@ -1,3 +1,4 @@
 DIST magic-8.3.232.tgz 4093446 BLAKE2B 6b4b49c2b1f566b0173bead0e95e381a6632b049545dc3b26572f415ba0df3958bc5c3931b686718136185cf105e437fe70dc1f71a11707ad33afac80ddf8f2f SHA512 755b27b8f263d990ca86b3f043e1b8f8a2de75d72f1baf9c4de3a1d7cde28feecf093d8bf1497f2632327d09ce0ce0b17ccea46bdba01c5b53c52ea0f5cf5fdc
 DIST magic-8.3.309.tgz 4175194 BLAKE2B dc63e74abf1a0fee75b1b018f58f73f0ed4ba7acb244aa0f427af1d4051a3344892ee8514a5f99827bd10c8ff44eac907a70150855db48fb97d0e4d436273893 SHA512 1abfd843f3d123bf532672c5e8c58d2c0f50e29ab017c21e4895810163eec430ba07c3b0dd8c571e47f1ce3bacfd37aa4cc667e4cecb3d53b3b7dd1c8205d8c2
+DIST magic-8.3.365.tgz 4206213 BLAKE2B 2a50843c166f55471db13400c047cc5b32e762ad90cefb170c03874427ebce3452a6f13ff1524897672bbd7418d9ace2366d22fba9641310882f505d3463c19f SHA512 8ac3933ae74f5953dfbcfaaeaddb8fded36aa9fe2e371808c53edb96f758451b7d75fd6c47666ae0624de5dbab335f6a2990427e1135165360ddc5ed8a33954d
 DIST magic-tech-mosis-2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e

diff --git a/sci-electronics/magic/magic-8.3.365.ebuild b/sci-electronics/magic/magic-8.3.365.ebuild
new file mode 100644
index 000000000000..feb879ad8924
--- /dev/null
+++ b/sci-electronics/magic/magic-8.3.365.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-any-r1
+
+TECH_MOSIS_VER="2002a"
+
+DESCRIPTION="The VLSI design CAD tool"
+HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
+SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
+	http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
+		-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
+
+LICENSE="HPND GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cairo debug opengl"
+
+# https://bugs.gentoo.org/887691
+RDEPEND="
+	sys-libs/ncurses:0=
+	sys-libs/readline:0=
+	sys-libs/zlib:=
+	dev-lang/tcl:0=
+	dev-lang/tk:0=
+	dev-tcltk/blt
+	cairo? ( x11-libs/cairo )
+	opengl? (
+		virtual/glu
+		virtual/opengl
+	)
+	!net-misc/ipsorcery
+"
+DEPEND="${RDEPEND}"
+BDEPEND="app-shells/tcsh
+	${PYTHON_DEPS}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.3.232-libdir.patch
+)
+
+DOCS=( README.md README.Tcl TODO )
+
+src_prepare() {
+	default
+
+	# Don't embed MAGIC_COMMIT
+	sed -i 's/git rev-parse HEAD//' scripts/defs.mak.in || die
+
+	pushd scripts &>/dev/null || die
+	mv configure.in configure.ac || die
+	popd &>/dev/null || die
+
+	# required for >=autoconf-2.70 (bug #775422)
+	local ac_aux_file
+	for ac_aux_file in install-sh config.guess config.sub ; do
+		ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
+	done
+}
+
+src_configure() {
+	# Short-circuit top-level configure script to retain CFLAGS
+	# Fix tcl/tk detection, bug #447868
+	cd scripts || die
+	econf \
+		--with-tcl="/usr/$(get_libdir)" \
+		--with-tk="/usr/$(get_libdir)" \
+		--with-tcllibs="/usr/$(get_libdir)" \
+		--with-tklibs="/usr/$(get_libdir)" \
+		--disable-modular \
+		$(use_enable debug memdebug) \
+		$(use_enable cairo cairo-offscreen) \
+		$(use_with cairo) \
+		$(use_with opengl)
+}
+
+src_install() {
+	# Make does not always install required .tech files with parallel make install
+	emake DESTDIR="${ED}" install -j1
+	einstalldocs
+
+	# Move docs from libdir to docdir and add symlink.
+	mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
+	rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
+	dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
+
+	# Move tutorial from libdir to datadir and add symlink.
+	dodir /usr/share/${PN}
+	mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
+	dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
+
+	# Install latest MOSIS tech files
+	cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2023-06-25  3:13 Sam James
  0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2023-06-25  3:13 UTC (permalink / raw
  To: gentoo-commits

commit:     675d071226c918309ebbbf3b281b04efe61d373d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 03:13:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 03:13:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675d0712

sci-electronics/magic: Stabilize 8.3.365 amd64, #909105

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.365.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-electronics/magic/magic-8.3.365.ebuild b/sci-electronics/magic/magic-8.3.365.ebuild
index feb879ad8924..295ffbfb144e 100644
--- a/sci-electronics/magic/magic-8.3.365.ebuild
+++ b/sci-electronics/magic/magic-8.3.365.ebuild
@@ -17,7 +17,7 @@ SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
 
 LICENSE="HPND GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="cairo debug opengl"
 
 # https://bugs.gentoo.org/887691


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

* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/
@ 2024-07-30 21:13 Pacho Ramos
  0 siblings, 0 replies; 14+ messages in thread
From: Pacho Ramos @ 2024-07-30 21:13 UTC (permalink / raw
  To: gentoo-commits

commit:     d4634afeefd11d181e1b35d9737f44088f05508a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 19:53:29 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 21:11:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4634afe

sci-electronics/magic: enable py3.12

Closes: https://bugs.gentoo.org/929765
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-electronics/magic/magic-8.3.365.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/magic/magic-8.3.365.ebuild b/sci-electronics/magic/magic-8.3.365.ebuild
index 295ffbfb144e..a2e076e9dd0b 100644
--- a/sci-electronics/magic/magic-8.3.365.ebuild
+++ b/sci-electronics/magic/magic-8.3.365.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit python-any-r1
 


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

end of thread, other threads:[~2024-07-30 21:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-29 22:21 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/magic/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-07-30 21:13 Pacho Ramos
2023-06-25  3:13 Sam James
2023-03-17 10:58 Andrew Ammerlaan
2023-02-01  7:23 Sam James
2022-06-21 10:02 Andrew Ammerlaan
2022-06-07  3:44 Sam James
2022-06-07  3:44 Sam James
2021-12-14 16:17 Jakov Smolić
2021-12-14 16:15 Jakov Smolić
2021-12-14 16:09 Jakov Smolić
2021-08-18 23:18 Sam James
2020-09-24 19:53 Aaron Bauman
2016-03-06 23:35 David Seifert

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