public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2015-12-19 17:15 Sven Wegener
  0 siblings, 0 replies; 28+ messages in thread
From: Sven Wegener @ 2015-12-19 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     2b991e1c4802247825a3d156570626fb792bba7c
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 13:01:29 2015 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 17:10:27 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b991e1c

dev-embedded/sdcc: Update sourceforge svn url

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-2.9.0.ebuild | 2 +-
 dev-embedded/sdcc/sdcc-3.5.0.ebuild | 2 +-
 dev-embedded/sdcc/sdcc-9999.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-2.9.0.ebuild b/dev-embedded/sdcc/sdcc-2.9.0.ebuild
index 1a34c20..f475339 100644
--- a/dev-embedded/sdcc/sdcc-2.9.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.9.0.ebuild
@@ -7,7 +7,7 @@ EAPI="2"
 inherit eutils
 
 if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc"
+	ESVN_REPO_URI="https://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc"
 	inherit subversion autotools
 	docs_compile() { return 0; }
 else

diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
index aefd1bc..6091311 100644
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
@@ -7,7 +7,7 @@ EAPI="5"
 inherit eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc"
+	ESVN_REPO_URI="https://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc"
 	inherit subversion
 	docs_compile() { return 0; }
 else

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index faffcf0..c0f1553 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -7,7 +7,7 @@ EAPI="5"
 inherit eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc"
+	ESVN_REPO_URI="https://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc"
 	inherit subversion
 	docs_compile() { return 0; }
 else


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2015-12-19 17:15 Sven Wegener
  0 siblings, 0 replies; 28+ messages in thread
From: Sven Wegener @ 2015-12-19 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     e76e424631447234a00ab1d0b559e3abea3ea28d
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 02:11:30 2015 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 17:10:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76e4246

dev-embedded/sdcc: Copy current release ebuild to live ebuild

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-9999.ebuild | 47 ++++++++++++++++++++++++++++----------
 1 file changed, 35 insertions(+), 12 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index c0f1553..6091311 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -20,9 +20,20 @@ fi
 DESCRIPTION="Small device C compiler (for various microprocessors)"
 HOMEPAGE="http://sdcc.sourceforge.net/"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2 ZLIB
+	non-free? ( MicroChip-SDCC )
+	packihx? ( public-domain )"
 SLOT="0"
-IUSE="+boehm-gc doc"
+IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8
+ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc"
+
+REQUIRED_USE="
+	mcs51? ( sdbinutils )
+	ds390? ( sdbinutils )
+	ds400? ( sdbinutils )
+	hc08?  ( sdbinutils )
+	s08?   ( sdbinutils )"
+
 RESTRICT="strip"
 
 RDEPEND="dev-libs/boost:=
@@ -41,12 +52,10 @@ if docs_compile ; then
 		)"
 fi
 
-S=${WORKDIR}/${PN}
-
 src_prepare() {
 	# Fix conflicting variable names between Gentoo and sdcc
 	find \
-		'(' -name 'Makefile*.in' -o -name configure ')' \
+		'(' -name 'Makefile*.in' -o -name 'configure' ')' \
 		-exec sed -r -i \
 			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
 			{} + || die
@@ -57,15 +66,8 @@ src_prepare() {
 		-e "/^AR =/s:=.*:=$(tc-getAR):" \
 		support/cpp/Makefile.in || die
 
-	# We'll install doc manually
-	sed -i -e '/SDCC_DOC/d' Makefile.in || die
-	sed -i -e 's/ doc//' sim/ucsim/packages_in.mk || die
-
 	# Make sure timestamps don't get messed up.
 	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
-
-	# workaround parallel build issues with lyx
-	mkdir -p "${HOME}"/.lyx
 }
 
 src_configure() {
@@ -77,6 +79,27 @@ src_configure() {
 		ac_cv_prog_AR="$(tc-getAR)" \
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		--without-ccache \
+		$(use_enable mcs51 mcs51-port) \
+		$(use_enable z80 z80-port) \
+		$(use_enable z180 z180-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ds390 ds390-port) \
+		$(use_enable ds400 ds400-port) \
+		$(use_enable pic14 pic14-port) \
+		$(use_enable pic16 pic16-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable s08 s08-port) \
+		$(use_enable stm8 stm8-port) \
+		$(use_enable ucsim ucsim) \
+		$(use_enable device-lib device-lib) \
+		$(use_enable packihx packihx) \
+		$(use_enable sdcpp sdcpp) \
+		$(use_enable sdcdb sdcdb) \
+		$(use_enable sdbinutils sdbinutils) \
+		$(use_enable non-free non-free) \
 		$(use_enable boehm-gc libgc) \
 		$(docs_compile && use_enable doc || echo --disable-doc)
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2018-04-12 20:54 Thomas Deutschmann
  0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2018-04-12 20:54 UTC (permalink / raw
  To: gentoo-commits

commit:     ed24fb13667d75fbb8a26327e9086377570942ef
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 12 20:48:44 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 12 20:53:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed24fb13

dev-embedded/sdcc: x86 stable (bug #648138)

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-embedded/sdcc/sdcc-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
index 9dbabaed2ff..e3300256be1 100644
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
-	KEYWORDS="amd64 ~ppc ~x86"
+	KEYWORDS="amd64 ~ppc x86"
 	docs_compile() { return 1; }
 fi
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2018-04-26  4:34 Matt Turner
  0 siblings, 0 replies; 28+ messages in thread
From: Matt Turner @ 2018-04-26  4:34 UTC (permalink / raw
  To: gentoo-commits

commit:     01033b859b420d448161bcdf2449568c6adbbf7e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 26 04:33:14 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 04:33:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01033b85

dev-embedded/sdcc: Dropped ppc keywords

 dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild | 2 +-
 dev-embedded/sdcc/sdcc-2.6.0.ebuild           | 2 +-
 dev-embedded/sdcc/sdcc-2.7.0.ebuild           | 2 +-
 dev-embedded/sdcc/sdcc-2.8.0.ebuild           | 2 +-
 dev-embedded/sdcc/sdcc-2.9.0.ebuild           | 2 +-
 dev-embedded/sdcc/sdcc-3.5.0.ebuild           | 2 +-
 dev-embedded/sdcc/sdcc-9999.ebuild            | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild b/dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild
index ffb2b28b46c..445816f1165 100644
--- a/dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.5.0_p20060502.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://sdcc.sourceforge.net/snapshots/sdcc-src/${PN}-src-${MY_PV}.tar.g
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 DEPEND=">=dev-embedded/gputils-0.13.2

diff --git a/dev-embedded/sdcc/sdcc-2.6.0.ebuild b/dev-embedded/sdcc/sdcc-2.6.0.ebuild
index d490da6133e..6c7bae31cce 100644
--- a/dev-embedded/sdcc/sdcc-2.6.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.6.0.ebuild
@@ -8,7 +8,7 @@ SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
 DEPEND=">=dev-embedded/gputils-0.13.2

diff --git a/dev-embedded/sdcc/sdcc-2.7.0.ebuild b/dev-embedded/sdcc/sdcc-2.7.0.ebuild
index 79185f92578..8f20469a8de 100644
--- a/dev-embedded/sdcc/sdcc-2.7.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.7.0.ebuild
@@ -8,7 +8,7 @@ SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
 DEPEND=">=dev-embedded/gputils-0.13.2

diff --git a/dev-embedded/sdcc/sdcc-2.8.0.ebuild b/dev-embedded/sdcc/sdcc-2.8.0.ebuild
index 772a0c0d2fc..b453702c67f 100644
--- a/dev-embedded/sdcc/sdcc-2.8.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.8.0.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="boehm-gc doc"
 
 DEPEND=">=dev-embedded/gputils-0.13.2

diff --git a/dev-embedded/sdcc/sdcc-2.9.0.ebuild b/dev-embedded/sdcc/sdcc-2.9.0.ebuild
index 0c0cdc553a6..2a6ad593874 100644
--- a/dev-embedded/sdcc/sdcc-2.9.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-2.9.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
-	KEYWORDS="~amd64 ~ppc ~x86"
+	KEYWORDS="~amd64 ~x86"
 	docs_compile() { return 1; }
 fi
 

diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
index e3300256be1..3379d7019c1 100644
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
-	KEYWORDS="amd64 ~ppc x86"
+	KEYWORDS="amd64 x86"
 	docs_compile() { return 1; }
 fi
 

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index fdc35714a01..e0d3b94b8ec 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
-	KEYWORDS="~amd64 ~ppc ~x86"
+	KEYWORDS="~amd64 ~x86"
 	docs_compile() { return 1; }
 fi
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2018-11-01 16:02 Jeroen Roovers
  0 siblings, 0 replies; 28+ messages in thread
From: Jeroen Roovers @ 2018-11-01 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     5a8cba4b1b5681b0db6286f3747df7b4be3b2360
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  1 16:01:49 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Nov  1 16:02:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8cba4b

dev-embedded/sdcc: Version 3.8.0

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-embedded/sdcc/Manifest                         |  2 +
 dev-embedded/sdcc/metadata.xml                     |  8 +-
 .../sdcc/{sdcc-9999.ebuild => sdcc-3.8.0.ebuild}   | 98 +++++++++++++---------
 dev-embedded/sdcc/sdcc-9999.ebuild                 | 98 +++++++++++++---------
 4 files changed, 125 insertions(+), 81 deletions(-)

diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index ab1a89d8386..ce848d246fa 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -1,2 +1,4 @@
 DIST sdcc-doc-3.5.0.tar.bz2 1000775 BLAKE2B 30cd31990788060ebc792d98b072d4d72ce72176bf09374084246bfe02a8164ab083fb9cfe7fb6ee246b523dce7163d494f2161eb7537f972408f03bc9541426 SHA512 43de0c19ad538b4495218b04e5ab6a886fd9945c8a82c400e9a53314547f5d6ab0529989274faecc2d954f35f8fe60f338f09f93536b62a305203d2119df597e
+DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8ddaf3ed0f9f810bf8cb9fcb5b10eb2cd96099d83c5a0fda240cdd3d11fd247e576a67a32047a4f7a705b8401637 SHA512 63319b7c344b320600e6a7c158d1a5e69abe595dfd6b8d32a95f15678c3bc2f6fe72c959516c4b1f812deb089854c6a51c31438ef6a6c7f9fcb4d419d8cce3cf
 DIST sdcc-src-3.5.0.tar.bz2 10504517 BLAKE2B 16102ebd55026826100b453db20e00fa599ce6ad72f1466c32deb7211f09188048f35ac8ddd5987b7a3ad5fad79f2e2ee833da60e22a26b107c5e9e0e7c9be09 SHA512 a5842945da065ab566b7e073782e92f851da48c160990d49b76ab4773fe1c14286cab399fb7f2456432e4043ee7ce07c3b149aeb103c51f85a33fdc5f8798f4e
+DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a

diff --git a/dev-embedded/sdcc/metadata.xml b/dev-embedded/sdcc/metadata.xml
index c0f3e2174ed..6d9caa8c84a 100644
--- a/dev-embedded/sdcc/metadata.xml
+++ b/dev-embedded/sdcc/metadata.xml
@@ -6,12 +6,18 @@
 		<name>Embedded Gentoo</name>
 	</maintainer>
 	<longdescription>
-SDCC is a retargettable, optimizing ANSI - C compiler suite that targets the Intel MCS51 based microprocessors (8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A, TLCS-90) and STMicroelectronics STM8. It can be retargeted for other microprocessors.
+SDCC is a retargettable, optimizing ANSI - C compiler suite that targets the
+Intel MCS51 based microprocessors (8031, 8032, 8051, 8052, etc.), Maxim
+(formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based
+(hc08, s08), Zilog Z80 based MCUs (z80, z180, gbz80, Rabbit 2000/3000, Rabbit
+3000A, TLCS-90) and STMicroelectronics STM8. It can be retargeted for other
+microprocessors.
 	</longdescription>
 	<upstream>
 		<remote-id type="sourceforge">sdcc</remote-id>
 	</upstream>
 	<use>
+		<flag name="avr">Add support for AVR -- not supported upstream</flag>
 		<flag name="boehm-gc">Enable Hans Boehm's garbage collector <pkg>dev-libs/boehm-gc</pkg></flag>
 		<flag name="device-lib">Enable built of devices libraries</flag>
 		<flag name="ds390">Add support for Dallas DS390</flag>

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
similarity index 72%
copy from dev-embedded/sdcc/sdcc-9999.ebuild
copy to dev-embedded/sdcc/sdcc-3.8.0.ebuild
index e0d3b94b8ec..8db064b0f82 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -19,36 +18,51 @@ fi
 DESCRIPTION="Small device C compiler (for various microprocessors)"
 HOMEPAGE="http://sdcc.sourceforge.net/"
 
-LICENSE="GPL-2 ZLIB
+LICENSE="
+	GPL-2 ZLIB
 	non-free? ( MicroChip-SDCC )
-	packihx? ( public-domain )"
+	packihx? ( public-domain )
+"
 SLOT="0"
-IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8
-ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc"
+SDCC_PORTS="
+	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
+	z80
+"
+IUSE="
+	${SDCC_PORTS}
+	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+"
 
 REQUIRED_USE="
-	mcs51? ( sdbinutils )
 	ds390? ( sdbinutils )
 	ds400? ( sdbinutils )
 	hc08?  ( sdbinutils )
-	s08?   ( sdbinutils )"
+	mcs51? ( sdbinutils )
+	s08?   ( sdbinutils )
+	|| ( ${SDCC_PORTS} )
+"
 
 RESTRICT="strip"
 
-RDEPEND="dev-libs/boost:=
+RDEPEND="
+	dev-libs/boost:=
 	sys-libs/ncurses:=
 	sys-libs/readline:0=
 	>=dev-embedded/gputils-0.13.7
 	boehm-gc? ( dev-libs/boehm-gc:= )
-	!dev-embedded/sdcc-svn"
-DEPEND="${RDEPEND}
-	dev-util/gperf"
+	!dev-embedded/sdcc-svn
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/gperf
+"
 if docs_compile ; then
-	DEPEND+="
-		doc? (
-			>=app-office/lyx-1.3.4
-			dev-tex/latex2html
-		)"
+DEPEND+="
+	doc? (
+		>=app-office/lyx-1.3.4
+		dev-tex/latex2html
+	)
+"
 fi
 
 src_prepare() {
@@ -60,13 +74,15 @@ src_prepare() {
 			{} + || die
 
 	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i '1iAR = @AR@' Makefile.common.in || die
+	sed -i -e '1iAR = @AR@' Makefile.common.in || die
 	sed -i \
 		-e "/^AR =/s:=.*:=$(tc-getAR):" \
 		support/cpp/Makefile.in || die
 
 	# Make sure timestamps don't get messed up.
 	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
+
+	default
 }
 
 src_configure() {
@@ -76,31 +92,32 @@ src_configure() {
 		ac_cv_prog_STRIP=true \
 		ac_cv_prog_AS="$(tc-getAS)" \
 		ac_cv_prog_AR="$(tc-getAR)" \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
-		--without-ccache \
-		$(use_enable mcs51 mcs51-port) \
-		$(use_enable z80 z80-port) \
-		$(use_enable z180 z180-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable tlcs90 tlcs90-port) \
+		$(docs_compile && use_enable doc || echo --disable-doc) \
+		$(use_enable avr avr-port) \
+		$(use_enable boehm-gc libgc) \
+		$(use_enable device-lib) \
 		$(use_enable ds390 ds390-port) \
 		$(use_enable ds400 ds400-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable mcs51 mcs51-port) \
+		$(use_enable non-free) \
+		$(use_enable packihx) \
 		$(use_enable pic14 pic14-port) \
 		$(use_enable pic16 pic16-port) \
-		$(use_enable hc08 hc08-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
 		$(use_enable s08 s08-port) \
+		$(use_enable sdbinutils) \
+		$(use_enable sdcdb) \
+		$(use_enable sdcpp) \
 		$(use_enable stm8 stm8-port) \
-		$(use_enable ucsim ucsim) \
-		$(use_enable device-lib device-lib) \
-		$(use_enable packihx packihx) \
-		$(use_enable sdcpp sdcpp) \
-		$(use_enable sdcdb sdcdb) \
-		$(use_enable sdbinutils sdbinutils) \
-		$(use_enable non-free non-free) \
-		$(use_enable boehm-gc libgc) \
-		$(docs_compile && use_enable doc || echo --disable-doc)
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ucsim) \
+		$(use_enable z180 z180-port) \
+		$(use_enable z80 z80-port) \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--without-ccache
 }
 
 src_install() {
@@ -110,7 +127,8 @@ src_install() {
 
 	if use doc ; then
 		docs_compile || cd "${WORKDIR}"/doc
-		dohtml -r *
+		docinto html
+		doins -r *
 	fi
 
 	# a bunch of archives (*.a) are built & installed by gputils

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index e0d3b94b8ec..8db064b0f82 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -19,36 +18,51 @@ fi
 DESCRIPTION="Small device C compiler (for various microprocessors)"
 HOMEPAGE="http://sdcc.sourceforge.net/"
 
-LICENSE="GPL-2 ZLIB
+LICENSE="
+	GPL-2 ZLIB
 	non-free? ( MicroChip-SDCC )
-	packihx? ( public-domain )"
+	packihx? ( public-domain )
+"
 SLOT="0"
-IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8
-ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc"
+SDCC_PORTS="
+	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
+	z80
+"
+IUSE="
+	${SDCC_PORTS}
+	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+"
 
 REQUIRED_USE="
-	mcs51? ( sdbinutils )
 	ds390? ( sdbinutils )
 	ds400? ( sdbinutils )
 	hc08?  ( sdbinutils )
-	s08?   ( sdbinutils )"
+	mcs51? ( sdbinutils )
+	s08?   ( sdbinutils )
+	|| ( ${SDCC_PORTS} )
+"
 
 RESTRICT="strip"
 
-RDEPEND="dev-libs/boost:=
+RDEPEND="
+	dev-libs/boost:=
 	sys-libs/ncurses:=
 	sys-libs/readline:0=
 	>=dev-embedded/gputils-0.13.7
 	boehm-gc? ( dev-libs/boehm-gc:= )
-	!dev-embedded/sdcc-svn"
-DEPEND="${RDEPEND}
-	dev-util/gperf"
+	!dev-embedded/sdcc-svn
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/gperf
+"
 if docs_compile ; then
-	DEPEND+="
-		doc? (
-			>=app-office/lyx-1.3.4
-			dev-tex/latex2html
-		)"
+DEPEND+="
+	doc? (
+		>=app-office/lyx-1.3.4
+		dev-tex/latex2html
+	)
+"
 fi
 
 src_prepare() {
@@ -60,13 +74,15 @@ src_prepare() {
 			{} + || die
 
 	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i '1iAR = @AR@' Makefile.common.in || die
+	sed -i -e '1iAR = @AR@' Makefile.common.in || die
 	sed -i \
 		-e "/^AR =/s:=.*:=$(tc-getAR):" \
 		support/cpp/Makefile.in || die
 
 	# Make sure timestamps don't get messed up.
 	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
+
+	default
 }
 
 src_configure() {
@@ -76,31 +92,32 @@ src_configure() {
 		ac_cv_prog_STRIP=true \
 		ac_cv_prog_AS="$(tc-getAS)" \
 		ac_cv_prog_AR="$(tc-getAR)" \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
-		--without-ccache \
-		$(use_enable mcs51 mcs51-port) \
-		$(use_enable z80 z80-port) \
-		$(use_enable z180 z180-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable tlcs90 tlcs90-port) \
+		$(docs_compile && use_enable doc || echo --disable-doc) \
+		$(use_enable avr avr-port) \
+		$(use_enable boehm-gc libgc) \
+		$(use_enable device-lib) \
 		$(use_enable ds390 ds390-port) \
 		$(use_enable ds400 ds400-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable mcs51 mcs51-port) \
+		$(use_enable non-free) \
+		$(use_enable packihx) \
 		$(use_enable pic14 pic14-port) \
 		$(use_enable pic16 pic16-port) \
-		$(use_enable hc08 hc08-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
 		$(use_enable s08 s08-port) \
+		$(use_enable sdbinutils) \
+		$(use_enable sdcdb) \
+		$(use_enable sdcpp) \
 		$(use_enable stm8 stm8-port) \
-		$(use_enable ucsim ucsim) \
-		$(use_enable device-lib device-lib) \
-		$(use_enable packihx packihx) \
-		$(use_enable sdcpp sdcpp) \
-		$(use_enable sdcdb sdcdb) \
-		$(use_enable sdbinutils sdbinutils) \
-		$(use_enable non-free non-free) \
-		$(use_enable boehm-gc libgc) \
-		$(docs_compile && use_enable doc || echo --disable-doc)
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ucsim) \
+		$(use_enable z180 z180-port) \
+		$(use_enable z80 z80-port) \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--without-ccache
 }
 
 src_install() {
@@ -110,7 +127,8 @@ src_install() {
 
 	if use doc ; then
 		docs_compile || cd "${WORKDIR}"/doc
-		dohtml -r *
+		docinto html
+		doins -r *
 	fi
 
 	# a bunch of archives (*.a) are built & installed by gputils


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-02-18 23:49 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2019-02-18 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     61f1fce51e90b1832f5df8da028c4167f409a6f6
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 18 23:43:14 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 23:49:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f1fce5

dev-embedded/sdcc: update to EAPI=7, use dostrip

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 133 +++++++++++++++++++++++++++++++++
 1 file changed, 133 insertions(+)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
new file mode 100644
index 00000000000..7e84d1c8b75
--- /dev/null
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+if [[ ${PV} == "9999" ]] ; then
+	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
+	inherit subversion
+else
+	SRC_URI="
+		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
+		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
+	"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Small device C compiler (for various microprocessors)"
+HOMEPAGE="http://sdcc.sourceforge.net/"
+
+LICENSE="
+	GPL-2 ZLIB
+	non-free? ( MicroChip-SDCC )
+	packihx? ( public-domain )
+"
+SLOT="0"
+SDCC_PORTS="
+	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
+	z80
+"
+IUSE="
+	${SDCC_PORTS}
+	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+"
+
+REQUIRED_USE="
+	ds390? ( sdbinutils )
+	ds400? ( sdbinutils )
+	hc08?  ( sdbinutils )
+	mcs51? ( sdbinutils )
+	s08?   ( sdbinutils )
+	|| ( ${SDCC_PORTS} )
+"
+
+RESTRICT="strip"
+
+RDEPEND="
+	dev-libs/boost:=
+	sys-libs/ncurses:=
+	sys-libs/readline:0=
+	>=dev-embedded/gputils-0.13.7
+	boehm-gc? ( dev-libs/boehm-gc:= )
+	!dev-embedded/sdcc-svn
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/gperf
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.8.0-override-override.patch
+)
+
+src_prepare() {
+	# Fix conflicting variable names between Gentoo and sdcc
+	find \
+		'(' -name 'Makefile*.in' -o -name 'configure' ')' \
+		-exec sed -r -i \
+			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
+			{} + || die
+
+	# https://sourceforge.net/p/sdcc/bugs/2398/
+	sed -i -e '1iAR = @AR@' Makefile.common.in || die
+	sed -i \
+		-e "/^AR =/s:=.*:=$(tc-getAR):" \
+		support/cpp/Makefile.in || die
+
+	# Make sure timestamps don't get messed up.
+	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
+
+	default
+	eautoreconf
+}
+
+src_configure() {
+	# sdbinutils subdir doesn't pass down --docdir properly, so need to
+	# expand $(datarootdir) ourselves.
+	econf \
+		ac_cv_prog_AR="$(tc-getAR)" \
+		ac_cv_prog_AS="$(tc-getAS)" \
+		ac_cv_prog_STRIP=true \
+		$(use_enable avr avr-port) \
+		$(use_enable boehm-gc libgc) \
+		$(use_enable device-lib) \
+		$(use_enable ds390 ds390-port) \
+		$(use_enable ds400 ds400-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable mcs51 mcs51-port) \
+		$(use_enable non-free) \
+		$(use_enable packihx) \
+		$(use_enable pic14 pic14-port) \
+		$(use_enable pic16 pic16-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
+		$(use_enable s08 s08-port) \
+		$(use_enable sdbinutils) \
+		$(use_enable sdcdb) \
+		$(use_enable sdcpp) \
+		$(use_enable stm8 stm8-port) \
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ucsim) \
+		$(use_enable z180 z180-port) \
+		$(use_enable z80 z80-port) \
+		--disable-doc \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--without-ccache
+}
+
+src_install() {
+	default
+	dodoc doc/*.txt
+	find "${D}" -name .deps -exec rm -rf {} + || die
+
+	if use doc && [[ ${PV} != "9999" ]]; then
+		cd "${WORKDIR}"/doc
+		dodoc -r *
+	fi
+
+	# a bunch of archives (*.a) are built & installed by gputils
+	# for PIC processors, but they do not work with standard `ar`
+	# & `scanelf` utils and they're not for the host.
+	dostrip "${D%/}"/usr/bin
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-02-18 23:49 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2019-02-18 23:49 UTC (permalink / raw
  To: gentoo-commits

commit:     07249f05acded59ac1f74d53e4961ddb346d2632
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 18 23:48:44 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 23:49:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07249f05

dev-embedded/sdcc: drop prepstrip, bug #587310

Reported-by: Michał Górny
Closes: https://bugs.gentoo.org/587310
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.5.0.ebuild | 7 +------
 dev-embedded/sdcc/sdcc-3.8.0.ebuild | 7 +------
 dev-embedded/sdcc/sdcc-9999.ebuild  | 7 +++++--
 3 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
index 3379d7019c1..5a4e83b451d 100644
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -112,9 +112,4 @@ src_install() {
 		docs_compile || cd "${WORKDIR}"/doc
 		dohtml -r *
 	fi
-
-	# a bunch of archives (*.a) are built & installed by gputils
-	# for PIC processors, but they do not work with standard `ar`
-	# & `scanelf` utils and they're not for the host.
-	env RESTRICT="" prepstrip "${D%/}"/usr/bin
 }

diff --git a/dev-embedded/sdcc/sdcc-3.8.0.ebuild b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
index b2e7a0f0e7b..570c8091c70 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -125,9 +125,4 @@ src_install() {
 		cd "${WORKDIR}"/doc
 		dodoc -r *
 	fi
-
-	# a bunch of archives (*.a) are built & installed by gputils
-	# for PIC processors, but they do not work with standard `ar`
-	# & `scanelf` utils and they're not for the host.
-	env RESTRICT="" prepstrip "${D%/}"/usr/bin
 }

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index b2e7a0f0e7b..4a113587a4d 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -129,5 +129,8 @@ src_install() {
 	# a bunch of archives (*.a) are built & installed by gputils
 	# for PIC processors, but they do not work with standard `ar`
 	# & `scanelf` utils and they're not for the host.
-	env RESTRICT="" prepstrip "${D%/}"/usr/bin
+
+	# TODO: use dostrip from EAPI=7 when subversion gets EAPI=7
+	# in bug #678344:
+	#dostrip "${D%/}"/usr/bin
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-02-19 21:56 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2019-02-19 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     db0c635fbd9f7999131347f630d6b21d41a762d0
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 19 21:56:18 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Feb 19 21:56:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db0c635f

dev-embedded/sdcc: require sdbinutils for every port, bug #678354

Top-level Makefile unconditionally pulls in sdcc-binutils as a dependency.
If being opted out explicitly the build always fails as:
    make -j5 -s
    make[1]: *** No targets specified and no makefile found.  Stop.
    make: *** [Makefile:147: sdcc-sdbinutils] Error 2

Fix it by effectively requiring IUSE=sdbinutils for each port.

Reported-by: email200202 <AT> yahoo.com
Closes: https://bugs.gentoo.org/678354
Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 14 +++++++-------
 dev-embedded/sdcc/sdcc-9999.ebuild     | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 7e84d1c8b75..abba11e8b88 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -30,15 +30,15 @@ SDCC_PORTS="
 "
 IUSE="
 	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+	+boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
 "
 
-REQUIRED_USE="
-	ds390? ( sdbinutils )
-	ds400? ( sdbinutils )
-	hc08?  ( sdbinutils )
-	mcs51? ( sdbinutils )
-	s08?   ( sdbinutils )
+for port in ${SDCC_PORTS}; do
+REQUIRED_USE="${REQUIRED_USE}
+	${port}? ( sdbinutils )
+"
+done
+REQUIRED_USE="${REQUIRED_USE}
 	|| ( ${SDCC_PORTS} )
 "
 

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 4a113587a4d..efab11532f4 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -30,15 +30,15 @@ SDCC_PORTS="
 "
 IUSE="
 	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+	+boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
 "
 
-REQUIRED_USE="
-	ds390? ( sdbinutils )
-	ds400? ( sdbinutils )
-	hc08?  ( sdbinutils )
-	mcs51? ( sdbinutils )
-	s08?   ( sdbinutils )
+for port in ${SDCC_PORTS}; do
+REQUIRED_USE="${REQUIRED_USE}
+	${port}? ( sdbinutils )
+"
+done
+REQUIRED_USE="${REQUIRED_USE}
 	|| ( ${SDCC_PORTS} )
 "
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-03-09 19:18 Thomas Deutschmann
  0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2019-03-09 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c903a548473a0d96c51cf63008c7a4dcde9d5800
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  9 19:15:28 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Mar  9 19:18:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c903a548

dev-embedded/sdcc: x86 stable (bug #679816)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index abba11e8b88..131b290cd48 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -12,7 +12,7 @@ else
 		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
 	"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64 x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-03-10 15:16 Mikle Kolyada
  0 siblings, 0 replies; 28+ messages in thread
From: Mikle Kolyada @ 2019-03-10 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7f3293d687d6c3acfe514b665449f9c116f939e8
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 15:14:48 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 15:14:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3293d6

dev-embedded/sdcc: amd64 stable wrt bug #679816

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 131b290cd48..79c2981dc3e 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -12,7 +12,7 @@ else
 		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
 	"
-	KEYWORDS="~amd64 x86"
+	KEYWORDS="amd64 x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-03-10 15:16 Mikle Kolyada
  0 siblings, 0 replies; 28+ messages in thread
From: Mikle Kolyada @ 2019-03-10 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     51f7025773d6221bac66e64453349b8979f8a486
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 15:16:09 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 15:16:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f70257

dev-embedded/sdcc: Drop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-embedded/sdcc/Manifest          |   2 -
 dev-embedded/sdcc/sdcc-3.5.0.ebuild | 115 --------------------------------
 dev-embedded/sdcc/sdcc-3.8.0.ebuild | 128 ------------------------------------
 3 files changed, 245 deletions(-)

diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index ce848d246fa..9e9fbf6092d 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -1,4 +1,2 @@
-DIST sdcc-doc-3.5.0.tar.bz2 1000775 BLAKE2B 30cd31990788060ebc792d98b072d4d72ce72176bf09374084246bfe02a8164ab083fb9cfe7fb6ee246b523dce7163d494f2161eb7537f972408f03bc9541426 SHA512 43de0c19ad538b4495218b04e5ab6a886fd9945c8a82c400e9a53314547f5d6ab0529989274faecc2d954f35f8fe60f338f09f93536b62a305203d2119df597e
 DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8ddaf3ed0f9f810bf8cb9fcb5b10eb2cd96099d83c5a0fda240cdd3d11fd247e576a67a32047a4f7a705b8401637 SHA512 63319b7c344b320600e6a7c158d1a5e69abe595dfd6b8d32a95f15678c3bc2f6fe72c959516c4b1f812deb089854c6a51c31438ef6a6c7f9fcb4d419d8cce3cf
-DIST sdcc-src-3.5.0.tar.bz2 10504517 BLAKE2B 16102ebd55026826100b453db20e00fa599ce6ad72f1466c32deb7211f09188048f35ac8ddd5987b7a3ad5fad79f2e2ee833da60e22a26b107c5e9e0e7c9be09 SHA512 a5842945da065ab566b7e073782e92f851da48c160990d49b76ab4773fe1c14286cab399fb7f2456432e4043ee7ce07c3b149aeb103c51f85a33fdc5f8798f4e
 DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a

diff --git a/dev-embedded/sdcc/sdcc-3.5.0.ebuild b/dev-embedded/sdcc/sdcc-3.5.0.ebuild
deleted file mode 100644
index 5a4e83b451d..00000000000
--- a/dev-embedded/sdcc/sdcc-3.5.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs
-
-if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
-	inherit subversion
-	docs_compile() { return 0; }
-else
-	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
-		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
-	KEYWORDS="amd64 x86"
-	docs_compile() { return 1; }
-fi
-
-DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
-
-LICENSE="GPL-2 ZLIB
-	non-free? ( MicroChip-SDCC )
-	packihx? ( public-domain )"
-SLOT="0"
-IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8
-ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc"
-
-REQUIRED_USE="
-	mcs51? ( sdbinutils )
-	ds390? ( sdbinutils )
-	ds400? ( sdbinutils )
-	hc08?  ( sdbinutils )
-	s08?   ( sdbinutils )"
-
-RESTRICT="strip"
-
-RDEPEND="dev-libs/boost:=
-	sys-libs/ncurses:=
-	sys-libs/readline:0=
-	>=dev-embedded/gputils-0.13.7
-	boehm-gc? ( dev-libs/boehm-gc:= )
-	!dev-embedded/sdcc-svn"
-DEPEND="${RDEPEND}
-	dev-util/gperf"
-if docs_compile ; then
-	DEPEND+="
-		doc? (
-			>=app-office/lyx-1.3.4
-			dev-tex/latex2html
-		)"
-fi
-
-src_prepare() {
-	# Fix conflicting variable names between Gentoo and sdcc
-	find \
-		'(' -name 'Makefile*.in' -o -name 'configure' ')' \
-		-exec sed -r -i \
-			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
-			{} + || die
-
-	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i '1iAR = @AR@' Makefile.common.in || die
-	sed -i \
-		-e "/^AR =/s:=.*:=$(tc-getAR):" \
-		support/cpp/Makefile.in || die
-
-	# Make sure timestamps don't get messed up.
-	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
-}
-
-src_configure() {
-	# sdbinutils subdir doesn't pass down --docdir properly, so need to
-	# expand $(datarootdir) ourselves.
-	econf \
-		ac_cv_prog_STRIP=true \
-		ac_cv_prog_AS="$(tc-getAS)" \
-		ac_cv_prog_AR="$(tc-getAR)" \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
-		--without-ccache \
-		$(use_enable mcs51 mcs51-port) \
-		$(use_enable z80 z80-port) \
-		$(use_enable z180 z180-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable tlcs90 tlcs90-port) \
-		$(use_enable ds390 ds390-port) \
-		$(use_enable ds400 ds400-port) \
-		$(use_enable pic14 pic14-port) \
-		$(use_enable pic16 pic16-port) \
-		$(use_enable hc08 hc08-port) \
-		$(use_enable s08 s08-port) \
-		$(use_enable stm8 stm8-port) \
-		$(use_enable ucsim ucsim) \
-		$(use_enable device-lib device-lib) \
-		$(use_enable packihx packihx) \
-		$(use_enable sdcpp sdcpp) \
-		$(use_enable sdcdb sdcdb) \
-		$(use_enable sdbinutils sdbinutils) \
-		$(use_enable non-free non-free) \
-		$(use_enable boehm-gc libgc) \
-		$(docs_compile && use_enable doc || echo --disable-doc)
-}
-
-src_install() {
-	default
-	dodoc doc/*.txt
-	find "${D}" -name .deps -exec rm -rf {} + || die
-
-	if use doc ; then
-		docs_compile || cd "${WORKDIR}"/doc
-		dohtml -r *
-	fi
-}

diff --git a/dev-embedded/sdcc/sdcc-3.8.0.ebuild b/dev-embedded/sdcc/sdcc-3.8.0.ebuild
deleted file mode 100644
index 570c8091c70..00000000000
--- a/dev-embedded/sdcc/sdcc-3.8.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools toolchain-funcs
-
-if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
-	inherit subversion
-else
-	SRC_URI="
-		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
-		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
-	"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
-
-LICENSE="
-	GPL-2 ZLIB
-	non-free? ( MicroChip-SDCC )
-	packihx? ( public-domain )
-"
-SLOT="0"
-SDCC_PORTS="
-	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
-	z80
-"
-IUSE="
-	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
-"
-
-REQUIRED_USE="
-	ds390? ( sdbinutils )
-	ds400? ( sdbinutils )
-	hc08?  ( sdbinutils )
-	mcs51? ( sdbinutils )
-	s08?   ( sdbinutils )
-	|| ( ${SDCC_PORTS} )
-"
-
-RESTRICT="strip"
-
-RDEPEND="
-	dev-libs/boost:=
-	sys-libs/ncurses:=
-	sys-libs/readline:0=
-	>=dev-embedded/gputils-0.13.7
-	boehm-gc? ( dev-libs/boehm-gc:= )
-	!dev-embedded/sdcc-svn
-"
-DEPEND="
-	${RDEPEND}
-	dev-util/gperf
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.8.0-override-override.patch
-)
-
-src_prepare() {
-	# Fix conflicting variable names between Gentoo and sdcc
-	find \
-		'(' -name 'Makefile*.in' -o -name 'configure' ')' \
-		-exec sed -r -i \
-			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
-			{} + || die
-
-	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i -e '1iAR = @AR@' Makefile.common.in || die
-	sed -i \
-		-e "/^AR =/s:=.*:=$(tc-getAR):" \
-		support/cpp/Makefile.in || die
-
-	# Make sure timestamps don't get messed up.
-	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
-
-	default
-	eautoreconf
-}
-
-src_configure() {
-	# sdbinutils subdir doesn't pass down --docdir properly, so need to
-	# expand $(datarootdir) ourselves.
-	econf \
-		ac_cv_prog_AR="$(tc-getAR)" \
-		ac_cv_prog_AS="$(tc-getAS)" \
-		ac_cv_prog_STRIP=true \
-		$(use_enable avr avr-port) \
-		$(use_enable boehm-gc libgc) \
-		$(use_enable device-lib) \
-		$(use_enable ds390 ds390-port) \
-		$(use_enable ds400 ds400-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable hc08 hc08-port) \
-		$(use_enable mcs51 mcs51-port) \
-		$(use_enable non-free) \
-		$(use_enable packihx) \
-		$(use_enable pic14 pic14-port) \
-		$(use_enable pic16 pic16-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable s08 s08-port) \
-		$(use_enable sdbinutils) \
-		$(use_enable sdcdb) \
-		$(use_enable sdcpp) \
-		$(use_enable stm8 stm8-port) \
-		$(use_enable tlcs90 tlcs90-port) \
-		$(use_enable ucsim) \
-		$(use_enable z180 z180-port) \
-		$(use_enable z80 z80-port) \
-		--disable-doc \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
-		--without-ccache
-}
-
-src_install() {
-	default
-	dodoc doc/*.txt
-	find "${D}" -name .deps -exec rm -rf {} + || die
-
-	if use doc && [[ ${PV} != "9999" ]]; then
-		cd "${WORKDIR}"/doc
-		dodoc -r *
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2019-08-31 12:16 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2019-08-31 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     8e7716ec178284d781029688d4083a4380c3c4ab
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 12:14:37 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 12:16:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7716ec

dev-embedded/sdcc: use dostrip in live ebuild as well

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 2 +-
 dev-embedded/sdcc/sdcc-9999.ebuild     | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 79c2981dc3e..08e64f35f2b 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -129,5 +129,5 @@ src_install() {
 	# a bunch of archives (*.a) are built & installed by gputils
 	# for PIC processors, but they do not work with standard `ar`
 	# & `scanelf` utils and they're not for the host.
-	dostrip "${D%/}"/usr/bin
+	dostrip /usr/bin
 }

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index efab11532f4..23c2e5edc14 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 inherit autotools toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
@@ -129,8 +129,5 @@ src_install() {
 	# a bunch of archives (*.a) are built & installed by gputils
 	# for PIC processors, but they do not work with standard `ar`
 	# & `scanelf` utils and they're not for the host.
-
-	# TODO: use dostrip from EAPI=7 when subversion gets EAPI=7
-	# in bug #678344:
-	#dostrip "${D%/}"/usr/bin
+	dostrip /usr/bin
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2020-01-16  8:30 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2020-01-16  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     8d842c61b00c64d5859acb1a603a7fe60af0d186
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 08:29:33 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 08:30:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d842c61

dev-embedded/sdcc: avoid makeinfo depend

eautoreconf triggers sdbinutils bfd.info rebuild
and pulls in extra dependency. We don't need it.

Reported-by: Daniel M. Weeks
Closes: https://bugs.gentoo.org/705424
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 5 +++++
 dev-embedded/sdcc/sdcc-9999.ebuild     | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 7917e57ae05..b756e19cec4 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -73,6 +73,11 @@ src_prepare() {
 
 	default
 	eautoreconf
+
+	# Avoid 'bfd.info' rebuild with 'makeinfo': bug #705424
+	# Build dependencies are: eautoreconf->Makefile.in->bfdver.texi->bfd.info
+	touch support/sdbinutils/bfd/doc/bfdver.texi || die
+	touch support/sdbinutils/bfd/doc/bfd.info || die
 }
 
 src_configure() {

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index e77bef24bf5..73a2c6190d4 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -73,6 +73,11 @@ src_prepare() {
 
 	default
 	eautoreconf
+
+	# Avoid 'bfd.info' rebuild with 'makeinfo': bug #705424
+	# Build dependencies are: eautoreconf->Makefile.in->bfdver.texi->bfd.info
+	touch support/sdbinutils/bfd/doc/bfdver.texi || die
+	touch support/sdbinutils/bfd/doc/bfd.info || die
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2020-01-16  8:30 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2020-01-16  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     4774f4e27ac8665af94e6022388965e430ca22b3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 08:00:28 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 08:30:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4774f4e2

dev-embedded/sdcc: drop upstreamed 'AR =' fix

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 8 +-------
 dev-embedded/sdcc/sdcc-9999.ebuild     | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 08e64f35f2b..7917e57ae05 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -68,12 +68,6 @@ src_prepare() {
 			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
 			{} + || die
 
-	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i -e '1iAR = @AR@' Makefile.common.in || die
-	sed -i \
-		-e "/^AR =/s:=.*:=$(tc-getAR):" \
-		support/cpp/Makefile.in || die
-
 	# Make sure timestamps don't get messed up.
 	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
 

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 23c2e5edc14..e77bef24bf5 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -68,12 +68,6 @@ src_prepare() {
 			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
 			{} + || die
 
-	# https://sourceforge.net/p/sdcc/bugs/2398/
-	sed -i -e '1iAR = @AR@' Makefile.common.in || die
-	sed -i \
-		-e "/^AR =/s:=.*:=$(tc-getAR):" \
-		support/cpp/Makefile.in || die
-
 	# Make sure timestamps don't get messed up.
 	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2020-02-01  0:07 Sergei Trofimovich
  0 siblings, 0 replies; 28+ messages in thread
From: Sergei Trofimovich @ 2020-02-01  0:07 UTC (permalink / raw
  To: gentoo-commits

commit:     78452f111aa5b4903378d311d9b43090196d789a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 00:07:31 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 00:07:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78452f11

dev-embedded/sdcc: bump up to 4.0.0, bug #697746

Reported-by: Esteve Varela Colominas
Closes: https://bugs.gentoo.org/697746
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-embedded/sdcc/Manifest                         |  2 +
 dev-embedded/sdcc/metadata.xml                     | 35 +++++++++------
 .../sdcc/{sdcc-9999.ebuild => sdcc-4.0.0.ebuild}   | 51 +++++++++++++++-------
 dev-embedded/sdcc/sdcc-9999.ebuild                 | 51 +++++++++++++++-------
 4 files changed, 93 insertions(+), 46 deletions(-)

diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index 9e9fbf6092d..ea672c78bce 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -1,2 +1,4 @@
 DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8ddaf3ed0f9f810bf8cb9fcb5b10eb2cd96099d83c5a0fda240cdd3d11fd247e576a67a32047a4f7a705b8401637 SHA512 63319b7c344b320600e6a7c158d1a5e69abe595dfd6b8d32a95f15678c3bc2f6fe72c959516c4b1f812deb089854c6a51c31438ef6a6c7f9fcb4d419d8cce3cf
+DIST sdcc-doc-4.0.0.tar.bz2 980999 BLAKE2B 6f9478c095e6b4fec27c6ab7a10a8564ae46d754709848b3a7a26a7a2dfecd3833ce3cfe7a41f9033b5a34a1b6e962090d91c9688294dd347e1c98658761c019 SHA512 83bed77b46ad2f028725a3ffe6090d71185f73d4e99c241e7ebd1c509ba1be1911f4b9130c344fa4eb928f48122179b6b71e9d5a27d9f18ff74017c61fae77ff
 DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a
+DIST sdcc-src-4.0.0.tar.bz2 19204540 BLAKE2B 2192a7dc7418826440209dd8c7a73fd5ced491b799975b953368daeabb429327a6c518a1212a2fd49c34c6e5ab7d84f240cbf6ff8b3779e2d38f5ad81499ee71 SHA512 41a92711a9278261879caec1a01425104b7c75346b3c6ad9617cab025309c9b38f79eea2d04122f5ae6ce273fcd61fbde8a0d23756313a4593394230b51a1d4c

diff --git a/dev-embedded/sdcc/metadata.xml b/dev-embedded/sdcc/metadata.xml
index 6d9caa8c84a..101bb8b3411 100644
--- a/dev-embedded/sdcc/metadata.xml
+++ b/dev-embedded/sdcc/metadata.xml
@@ -17,28 +17,35 @@ microprocessors.
 		<remote-id type="sourceforge">sdcc</remote-id>
 	</upstream>
 	<use>
-		<flag name="avr">Add support for AVR -- not supported upstream</flag>
 		<flag name="boehm-gc">Enable Hans Boehm's garbage collector <pkg>dev-libs/boehm-gc</pkg></flag>
 		<flag name="device-lib">Enable built of devices libraries</flag>
-		<flag name="ds390">Add support for Dallas DS390</flag>
-		<flag name="ds400">Add support for Dallas DS400</flag>
-		<flag name="gbz80">Add support for Gameboy gbz80</flag>
-		<flag name="hc08">Add support for Freescale/Motorola HC08 based</flag>
-		<flag name="mcs51">Add support for Intel mcs51</flag>
 		<flag name="non-free">Enable non-free runtime library parts</flag>
 		<flag name="packihx">Enable Intel HEX files pack utility</flag>
-		<flag name="pic14">Add support for Microchip 14 bits PICs</flag>
-		<flag name="pic16">Add support for Microchip 16 bits PICs</flag>
-		<flag name="r2k">Add support for Rabbit 2000</flag>
-		<flag name="r3ka">Add support for Rabbit 3000A</flag>
-		<flag name="s08">Add support for Freescale/Motorola S08</flag>
 		<flag name="sdbinutils">Enable SDCC library archive utilities sdar, sdranlib, sdnm</flag>
 		<flag name="sdcdb">Enable SDCC source level debugger</flag>
 		<flag name="sdcpp">Enable SDCC preprocessor based on GCC cpp</flag>
-		<flag name="stm8">Add support for STMicroelectronics STM8</flag>
-		<flag name="tlcs90">Add support for TLCS-90</flag>
 		<flag name="ucsim">Enable software simulator for microcontrollers</flag>
-		<flag name="z180">Add support for Zilog Z180</flag>
+
+		<!-- ports in order defined by configure.ac -->
+		<flag name="avr">Add support for AVR -- not supported upstream</flag>
+		<flag name="mcs51">Add support for Intel mcs51</flag>
 		<flag name="z80">Add support for Zilog Z80</flag>
+		<flag name="z180">Add support for Zilog Z180</flag>
+		<flag name="r2k">Add support for Rabbit 2000</flag>
+		<flag name="r3ka">Add support for Rabbit 3000A</flag>
+		<flag name="gbz80">Add support for Gameboy gbz80</flag>
+		<flag name="tlcs90">Add support for TLCS-90</flag>
+		<flag name="ez80-z80">Add support for EZ80-Z80</flag>
+		<flag name="ds390">Add support for Dallas DS390</flag>
+		<flag name="ds400">Add support for Dallas DS400</flag>
+		<flag name="pic14">Add support for Microchip 14 bits PICs</flag>
+		<flag name="pic16">Add support for Microchip 16 bits PICs</flag>
+		<flag name="hc08">Add support for Freescale/Motorola HC08 based</flag>
+		<flag name="s08">Add support for Freescale/Motorola S08</flag>
+		<flag name="stm8">Add support for STMicroelectronics STM8</flag>
+		<flag name="pdk13">Add support for PDK13</flag>
+		<flag name="pdk14">Add support for PDK14</flag>
+		<flag name="pdk15">Add support for PDK15</flag>
+		<flag name="pdk16">Add support for PDK16</flag>
 	</use>
 </pkgmetadata>

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-4.0.0.ebuild
similarity index 89%
copy from dev-embedded/sdcc/sdcc-9999.ebuild
copy to dev-embedded/sdcc/sdcc-4.0.0.ebuild
index 73a2c6190d4..010160b22da 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.0.0.ebuild
@@ -24,9 +24,21 @@ LICENSE="
 	packihx? ( public-domain )
 "
 SLOT="0"
+# in order of configure.ac's AC_DO_PORT stanzas
 SDCC_PORTS="
-	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
-	z80
+	avr
+	mcs51
+	z80 z180
+	r2k r3ka
+	gbz80
+	tlcs90
+	ez80-z80
+	ds390 ds400
+	pic14 pic16
+	hc08
+	s08
+	stm8
+	pdk13 pdk14 pdk15 pdk16
 "
 IUSE="
 	${SDCC_PORTS}
@@ -87,29 +99,36 @@ src_configure() {
 		ac_cv_prog_AR="$(tc-getAR)" \
 		ac_cv_prog_AS="$(tc-getAS)" \
 		ac_cv_prog_STRIP=true \
-		$(use_enable avr avr-port) \
 		$(use_enable boehm-gc libgc) \
 		$(use_enable device-lib) \
-		$(use_enable ds390 ds390-port) \
-		$(use_enable ds400 ds400-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable hc08 hc08-port) \
-		$(use_enable mcs51 mcs51-port) \
 		$(use_enable non-free) \
 		$(use_enable packihx) \
-		$(use_enable pic14 pic14-port) \
-		$(use_enable pic16 pic16-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable s08 s08-port) \
 		$(use_enable sdbinutils) \
 		$(use_enable sdcdb) \
 		$(use_enable sdcpp) \
-		$(use_enable stm8 stm8-port) \
-		$(use_enable tlcs90 tlcs90-port) \
 		$(use_enable ucsim) \
-		$(use_enable z180 z180-port) \
+		\
+		$(use_enable avr avr-port) \
+		$(use_enable mcs51 mcs51-port) \
 		$(use_enable z80 z80-port) \
+		$(use_enable z180 z180-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ez80-z80 ez80_z80-port) \
+		$(use_enable ds390 ds390-port) \
+		$(use_enable ds400 ds400-port) \
+		$(use_enable pic14 pic14-port) \
+		$(use_enable pic16 pic16-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable s08 s08-port) \
+		$(use_enable stm8 stm8-port) \
+		$(use_enable pdk13 pdk13-port) \
+		$(use_enable pdk14 pdk14-port) \
+		$(use_enable pdk15 pdk15-port) \
+		$(use_enable pdk16 pdk16-port) \
+		\
 		--disable-doc \
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		--without-ccache

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 73a2c6190d4..010160b22da 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -24,9 +24,21 @@ LICENSE="
 	packihx? ( public-domain )
 "
 SLOT="0"
+# in order of configure.ac's AC_DO_PORT stanzas
 SDCC_PORTS="
-	avr ds390 ds400 gbz80 hc08 mcs51 pic14 pic16 r2k r3ka s08 stm8 tlcs90 z180
-	z80
+	avr
+	mcs51
+	z80 z180
+	r2k r3ka
+	gbz80
+	tlcs90
+	ez80-z80
+	ds390 ds400
+	pic14 pic16
+	hc08
+	s08
+	stm8
+	pdk13 pdk14 pdk15 pdk16
 "
 IUSE="
 	${SDCC_PORTS}
@@ -87,29 +99,36 @@ src_configure() {
 		ac_cv_prog_AR="$(tc-getAR)" \
 		ac_cv_prog_AS="$(tc-getAS)" \
 		ac_cv_prog_STRIP=true \
-		$(use_enable avr avr-port) \
 		$(use_enable boehm-gc libgc) \
 		$(use_enable device-lib) \
-		$(use_enable ds390 ds390-port) \
-		$(use_enable ds400 ds400-port) \
-		$(use_enable gbz80 gbz80-port) \
-		$(use_enable hc08 hc08-port) \
-		$(use_enable mcs51 mcs51-port) \
 		$(use_enable non-free) \
 		$(use_enable packihx) \
-		$(use_enable pic14 pic14-port) \
-		$(use_enable pic16 pic16-port) \
-		$(use_enable r2k r2k-port) \
-		$(use_enable r3ka r3ka-port) \
-		$(use_enable s08 s08-port) \
 		$(use_enable sdbinutils) \
 		$(use_enable sdcdb) \
 		$(use_enable sdcpp) \
-		$(use_enable stm8 stm8-port) \
-		$(use_enable tlcs90 tlcs90-port) \
 		$(use_enable ucsim) \
-		$(use_enable z180 z180-port) \
+		\
+		$(use_enable avr avr-port) \
+		$(use_enable mcs51 mcs51-port) \
 		$(use_enable z80 z80-port) \
+		$(use_enable z180 z180-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r3ka r3ka-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ez80-z80 ez80_z80-port) \
+		$(use_enable ds390 ds390-port) \
+		$(use_enable ds400 ds400-port) \
+		$(use_enable pic14 pic14-port) \
+		$(use_enable pic16 pic16-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable s08 s08-port) \
+		$(use_enable stm8 stm8-port) \
+		$(use_enable pdk13 pdk13-port) \
+		$(use_enable pdk14 pdk14-port) \
+		$(use_enable pdk15 pdk15-port) \
+		$(use_enable pdk16 pdk16-port) \
+		\
 		--disable-doc \
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		--without-ccache


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2021-11-12  1:49 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-11-12  1:49 UTC (permalink / raw
  To: gentoo-commits

commit:     82e8b83620d3ee4c4255617f5a4b1e76b467d403
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 01:49:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 01:49:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e8b836

dev-embedded/sdcc: post merge cleanups

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

 dev-embedded/sdcc/sdcc-4.1.0.ebuild |  6 ++++--
 dev-embedded/sdcc/sdcc-9999.ebuild  | 15 +++++++++++----
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-4.1.0.ebuild b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
index 9764015ecdc..34d23c5be2b 100644
--- a/dev-embedded/sdcc/sdcc-4.1.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
@@ -12,6 +13,8 @@ else
 		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
 	"
+	S="${WORKDIR}/sdcc"
+
 	KEYWORDS="~amd64 ~x86"
 fi
 
@@ -74,7 +77,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-3.8.0-override-override.patch
 )
 
-S="${WORKDIR}/sdcc"
 
 src_prepare() {
 	# Fix conflicting variable names between Gentoo and sdcc
@@ -152,5 +154,5 @@ src_install() {
 	# a bunch of archives (*.a) are built & installed by gputils
 	# for PIC processors, but they do not work with standard `ar`
 	# & `scanelf` utils and they're not for the host.
-	dostrip /usr/bin
+	dostrip -x /usr/bin
 }

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 42f67b831e1..9b5bf53b05d 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
@@ -12,6 +13,8 @@ else
 		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
 		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
 	"
+	S="${WORKDIR}/sdcc"
+
 	KEYWORDS="~amd64 ~x86"
 fi
 
@@ -29,10 +32,11 @@ SDCC_PORTS="
 	avr
 	mcs51
 	z80 z180
-	r2k r3ka
+	r2k r2ka r3ka
 	gbz80
 	tlcs90
 	ez80-z80
+	z80n
 	ds390 ds400
 	pic14 pic16
 	hc08
@@ -60,7 +64,8 @@ RDEPEND="
 	dev-libs/boost:=
 	sys-libs/ncurses:=
 	sys-libs/readline:0=
-	>=dev-embedded/gputils-0.13.7
+	pic14? ( >=dev-embedded/gputils-0.13.7 )
+	pic16? ( >=dev-embedded/gputils-0.13.7 )
 	boehm-gc? ( dev-libs/boehm-gc:= )
 	!dev-embedded/sdcc-svn
 "
@@ -113,10 +118,12 @@ src_configure() {
 		$(use_enable z80 z80-port) \
 		$(use_enable z180 z180-port) \
 		$(use_enable r2k r2k-port) \
+		$(use_enable r2ka r2ka-port) \
 		$(use_enable r3ka r3ka-port) \
 		$(use_enable gbz80 gbz80-port) \
 		$(use_enable tlcs90 tlcs90-port) \
 		$(use_enable ez80-z80 ez80_z80-port) \
+		$(use_enable z80n z80n-port) \
 		$(use_enable ds390 ds390-port) \
 		$(use_enable ds400 ds400-port) \
 		$(use_enable pic14 pic14-port) \
@@ -146,5 +153,5 @@ src_install() {
 	# a bunch of archives (*.a) are built & installed by gputils
 	# for PIC processors, but they do not work with standard `ar`
 	# & `scanelf` utils and they're not for the host.
-	dostrip /usr/bin
+	dostrip -x /usr/bin
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2021-11-12  1:49 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-11-12  1:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c07b196801193d2de83a2f0291a966f699466bcf
Author:     Fabio Rossi <rossi.f <AT> inwind <DOT> it>
AuthorDate: Mon Nov  8 18:20:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 01:47:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07b1968

dev-embedded/sdcc: added version 4.1.0

- added support to z80n and r2ka ports
- fixed bug #779622
- fixed bug #770082

Closes: https://bugs.gentoo.org/779622
Closes: https://bugs.gentoo.org/770082
Signed-off-by: Fabio Rossi <rossi.f <AT> inwind.it>
Closes: https://github.com/gentoo/gentoo/pull/22867
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-embedded/sdcc/Manifest          |   2 +
 dev-embedded/sdcc/metadata.xml      |   2 +
 dev-embedded/sdcc/sdcc-4.1.0.ebuild | 156 ++++++++++++++++++++++++++++++++++++
 3 files changed, 160 insertions(+)

diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index ea672c78bce..f2c7ac6c98a 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -1,4 +1,6 @@
 DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8ddaf3ed0f9f810bf8cb9fcb5b10eb2cd96099d83c5a0fda240cdd3d11fd247e576a67a32047a4f7a705b8401637 SHA512 63319b7c344b320600e6a7c158d1a5e69abe595dfd6b8d32a95f15678c3bc2f6fe72c959516c4b1f812deb089854c6a51c31438ef6a6c7f9fcb4d419d8cce3cf
 DIST sdcc-doc-4.0.0.tar.bz2 980999 BLAKE2B 6f9478c095e6b4fec27c6ab7a10a8564ae46d754709848b3a7a26a7a2dfecd3833ce3cfe7a41f9033b5a34a1b6e962090d91c9688294dd347e1c98658761c019 SHA512 83bed77b46ad2f028725a3ffe6090d71185f73d4e99c241e7ebd1c509ba1be1911f4b9130c344fa4eb928f48122179b6b71e9d5a27d9f18ff74017c61fae77ff
+DIST sdcc-doc-4.1.0.tar.bz2 991207 BLAKE2B fd1ab82c8cc65031a8231bc4aba1e0562ed4b3178612a4d915568cb5600ba9159d89f905e261e860da9e0f4aa5a24fbd7ab1364f2f9f7b3078bcf3aa01d71ba5 SHA512 01686e590d0168108099d3c6c9bdb0885a25abccc9b6c87739eafec7103054424da1a5960a8d4566462dca9bf00cdd8b103ab6026523833d9aaa4d4bcdc5b620
 DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a
 DIST sdcc-src-4.0.0.tar.bz2 19204540 BLAKE2B 2192a7dc7418826440209dd8c7a73fd5ced491b799975b953368daeabb429327a6c518a1212a2fd49c34c6e5ab7d84f240cbf6ff8b3779e2d38f5ad81499ee71 SHA512 41a92711a9278261879caec1a01425104b7c75346b3c6ad9617cab025309c9b38f79eea2d04122f5ae6ce273fcd61fbde8a0d23756313a4593394230b51a1d4c
+DIST sdcc-src-4.1.0.tar.bz2 19400609 BLAKE2B 9754d70026af595a5456f0d7c1b375df2716c6400ca59affcadbfd3588f4d51c45a3d52c235d6efc9b7512b5f94f023d8d2964cc0365cdff4586edf71fc51af1 SHA512 a9c3fee427cbc66b56a286c8d66b2922f79c9dfb42d2ed2843b2e192a6b314a04de4c82f1083d8625b49756b5f1d99f8fb706402b5f1284110760ec346303779

diff --git a/dev-embedded/sdcc/metadata.xml b/dev-embedded/sdcc/metadata.xml
index ecb0a6234b7..573753d7343 100644
--- a/dev-embedded/sdcc/metadata.xml
+++ b/dev-embedded/sdcc/metadata.xml
@@ -32,10 +32,12 @@ microprocessors.
 		<flag name="z80">Add support for Zilog Z80</flag>
 		<flag name="z180">Add support for Zilog Z180</flag>
 		<flag name="r2k">Add support for Rabbit 2000</flag>
+		<flag name="r2ka">Add support for Rabbit 2000A</flag>
 		<flag name="r3ka">Add support for Rabbit 3000A</flag>
 		<flag name="gbz80">Add support for Gameboy gbz80</flag>
 		<flag name="tlcs90">Add support for TLCS-90</flag>
 		<flag name="ez80-z80">Add support for EZ80-Z80</flag>
+		<flag name="z80n">Add support for Zilog Z80N</flag>
 		<flag name="ds390">Add support for Dallas DS390</flag>
 		<flag name="ds400">Add support for Dallas DS400</flag>
 		<flag name="pic14">Add support for Microchip 14 bits PICs</flag>

diff --git a/dev-embedded/sdcc/sdcc-4.1.0.ebuild b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
new file mode 100644
index 00000000000..9764015ecdc
--- /dev/null
+++ b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+if [[ ${PV} == "9999" ]] ; then
+	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
+	inherit subversion
+else
+	SRC_URI="
+		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
+		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
+	"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Small device C compiler (for various microprocessors)"
+HOMEPAGE="http://sdcc.sourceforge.net/"
+
+LICENSE="
+	GPL-2 ZLIB
+	non-free? ( MicroChip-SDCC )
+	packihx? ( public-domain )
+"
+SLOT="0"
+# in order of configure.ac's AC_DO_PORT stanzas
+SDCC_PORTS="
+	avr
+	mcs51
+	z80 z180
+	r2k r2ka r3ka
+	gbz80
+	tlcs90
+	ez80-z80
+	z80n
+	ds390 ds400
+	pic14 pic16
+	hc08
+	s08
+	stm8
+	pdk13 pdk14 pdk15 pdk16
+"
+IUSE="
+	${SDCC_PORTS}
+	+boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
+"
+
+for port in ${SDCC_PORTS}; do
+REQUIRED_USE="${REQUIRED_USE}
+	${port}? ( sdbinutils )
+"
+done
+REQUIRED_USE="${REQUIRED_USE}
+	|| ( ${SDCC_PORTS} )
+"
+
+RESTRICT="strip"
+
+RDEPEND="
+	dev-libs/boost:=
+	sys-libs/ncurses:=
+	sys-libs/readline:0=
+	pic14? ( >=dev-embedded/gputils-0.13.7 )
+	pic16? ( >=dev-embedded/gputils-0.13.7 )
+	boehm-gc? ( dev-libs/boehm-gc:= )
+	!dev-embedded/sdcc-svn
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/gperf
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.8.0-override-override.patch
+)
+
+S="${WORKDIR}/sdcc"
+
+src_prepare() {
+	# Fix conflicting variable names between Gentoo and sdcc
+	find \
+		'(' -name 'Makefile*.in' -o -name 'configure' ')' \
+		-exec sed -r -i \
+			-e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \
+			{} + || die
+
+	# Make sure timestamps don't get messed up.
+	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
+
+	default
+	eautoreconf
+
+	# Avoid 'bfd.info' rebuild with 'makeinfo': bug #705424
+	# Build dependencies are: eautoreconf->Makefile.in->bfdver.texi->bfd.info
+	touch support/sdbinutils/bfd/doc/bfdver.texi || die
+	touch support/sdbinutils/bfd/doc/bfd.info || die
+}
+
+src_configure() {
+	# sdbinutils subdir doesn't pass down --docdir properly, so need to
+	# expand $(datarootdir) ourselves.
+	econf \
+		ac_cv_prog_AR="$(tc-getAR)" \
+		ac_cv_prog_AS="$(tc-getAS)" \
+		ac_cv_prog_STRIP=true \
+		$(use_enable boehm-gc libgc) \
+		$(use_enable device-lib) \
+		$(use_enable non-free) \
+		$(use_enable packihx) \
+		$(use_enable sdbinutils) \
+		$(use_enable sdcdb) \
+		$(use_enable sdcpp) \
+		$(use_enable ucsim) \
+		\
+		$(use_enable avr avr-port) \
+		$(use_enable mcs51 mcs51-port) \
+		$(use_enable z80 z80-port) \
+		$(use_enable z180 z180-port) \
+		$(use_enable r2k r2k-port) \
+		$(use_enable r2ka r2ka-port) \
+		$(use_enable r3ka r3ka-port) \
+		$(use_enable gbz80 gbz80-port) \
+		$(use_enable tlcs90 tlcs90-port) \
+		$(use_enable ez80-z80 ez80_z80-port) \
+		$(use_enable z80n z80n-port) \
+		$(use_enable ds390 ds390-port) \
+		$(use_enable ds400 ds400-port) \
+		$(use_enable pic14 pic14-port) \
+		$(use_enable pic16 pic16-port) \
+		$(use_enable hc08 hc08-port) \
+		$(use_enable s08 s08-port) \
+		$(use_enable stm8 stm8-port) \
+		$(use_enable pdk13 pdk13-port) \
+		$(use_enable pdk14 pdk14-port) \
+		$(use_enable pdk15 pdk15-port) \
+		$(use_enable pdk16 pdk16-port) \
+		\
+		--disable-doc \
+		--without-ccache
+}
+
+src_install() {
+	default
+	dodoc doc/*.txt
+	find "${D}" -name .deps -exec rm -rf {} + || die
+
+	if use doc && [[ ${PV} != "9999" ]]; then
+		cd "${WORKDIR}"/doc
+		dodoc -r *
+	fi
+
+	# a bunch of archives (*.a) are built & installed by gputils
+	# for PIC processors, but they do not work with standard `ar`
+	# & `scanelf` utils and they're not for the host.
+	dostrip /usr/bin
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2021-11-12  2:02 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-11-12  2:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d14807efb47ed48a0133392bd5f51061c4c6413a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 01:49:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 01:49:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14807ef

dev-embedded/sdcc: fix DoubleEmptyLine

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

 dev-embedded/sdcc/sdcc-4.1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-4.1.0.ebuild b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
index 34d23c5be2b..9b5bf53b05d 100644
--- a/dev-embedded/sdcc/sdcc-4.1.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
@@ -77,7 +77,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-3.8.0-override-override.patch
 )
 
-
 src_prepare() {
 	# Fix conflicting variable names between Gentoo and sdcc
 	find \


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-03-05 10:14 Viorel Munteanu
  0 siblings, 0 replies; 28+ messages in thread
From: Viorel Munteanu @ 2023-03-05 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     4ffb3c05ffea51b9145adfea5ed8290663565e3c
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 09:52:36 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 10:14:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ffb3c05

dev-embedded/sdcc: enable and remove USE sdbinutils

REQUIRED_USE requires at least one port.
Any port requires the `sdbinutils` USE flag.
Remove the flag and have it always enabled.

I tried to compile without it, the build fails, so it was useless anyway.

Fix SRC_URI permanent redirect and https HOMEPAGE.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.2.0.ebuild | 25 ++++++++-----------------
 dev-embedded/sdcc/sdcc-9999.ebuild  | 25 ++++++++-----------------
 2 files changed, 16 insertions(+), 34 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-4.2.0.ebuild b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
index 672ec63f733d..dc4655403f3d 100644
--- a/dev-embedded/sdcc/sdcc-4.2.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,15 +10,15 @@ if [[ ${PV} == "9999" ]] ; then
 	inherit subversion
 else
 	SRC_URI="
-		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
-		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
+		https://downloads.sourceforge.net/project/${PN}/sdcc/${PV}/${PN}-src-${PV}.tar.bz2
+		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
 	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
+HOMEPAGE="https://sdcc.sourceforge.net/"
 
 LICENSE="
 	GPL-2 ZLIB
@@ -45,24 +45,15 @@ SDCC_PORTS="
 "
 IUSE="
 	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
-"
-
-for port in ${SDCC_PORTS}; do
-REQUIRED_USE="${REQUIRED_USE}
-	${port}? ( sdbinutils )
-"
-done
-REQUIRED_USE="${REQUIRED_USE}
-	|| ( ${SDCC_PORTS} )
+	+boehm-gc device-lib doc non-free packihx sdcdb +sdcpp ucsim
 "
 
 RDEPEND="
 	dev-libs/boost:=
+	sys-libs/zlib:=
 	pic14? ( >=dev-embedded/gputils-0.13.7 )
 	pic16? ( >=dev-embedded/gputils-0.13.7 )
 	boehm-gc? ( dev-libs/boehm-gc:= )
-	sdbinutils? ( sys-libs/zlib:= )
 	sdcdb? ( sys-libs/readline:0= )
 	ucsim? ( sys-libs/ncurses:= )
 "
@@ -106,13 +97,13 @@ src_configure() {
 	local myeconfargs=(
 		ac_cv_prog_STRIP=true
 		--without-ccache
+		--enable-sdbinutils
 
 		$(use_enable ucsim)
 		$(use_enable device-lib)
 		$(use_enable packihx)
 		$(use_enable sdcpp)
 		$(use_enable sdcdb)
-		$(use_enable sdbinutils)
 		$(use_enable non-free)
 		$(use_enable boehm-gc libgc)
 
@@ -158,7 +149,7 @@ src_compile() {
 src_install() {
 	default
 	dodoc doc/*.txt
-	find "${D}" -type d -name .deps -exec rm -vrf {} + || die
+	find "${ED}" -type d -name .deps -exec rm -vr {} + || die
 
 	if use doc && [[ ${PV} != "9999" ]]; then
 		cd "${WORKDIR}"/doc

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 672ec63f733d..dc4655403f3d 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,15 +10,15 @@ if [[ ${PV} == "9999" ]] ; then
 	inherit subversion
 else
 	SRC_URI="
-		mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
-		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )
+		https://downloads.sourceforge.net/project/${PN}/sdcc/${PV}/${PN}-src-${PV}.tar.bz2
+		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
 	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
+HOMEPAGE="https://sdcc.sourceforge.net/"
 
 LICENSE="
 	GPL-2 ZLIB
@@ -45,24 +45,15 @@ SDCC_PORTS="
 "
 IUSE="
 	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
-"
-
-for port in ${SDCC_PORTS}; do
-REQUIRED_USE="${REQUIRED_USE}
-	${port}? ( sdbinutils )
-"
-done
-REQUIRED_USE="${REQUIRED_USE}
-	|| ( ${SDCC_PORTS} )
+	+boehm-gc device-lib doc non-free packihx sdcdb +sdcpp ucsim
 "
 
 RDEPEND="
 	dev-libs/boost:=
+	sys-libs/zlib:=
 	pic14? ( >=dev-embedded/gputils-0.13.7 )
 	pic16? ( >=dev-embedded/gputils-0.13.7 )
 	boehm-gc? ( dev-libs/boehm-gc:= )
-	sdbinutils? ( sys-libs/zlib:= )
 	sdcdb? ( sys-libs/readline:0= )
 	ucsim? ( sys-libs/ncurses:= )
 "
@@ -106,13 +97,13 @@ src_configure() {
 	local myeconfargs=(
 		ac_cv_prog_STRIP=true
 		--without-ccache
+		--enable-sdbinutils
 
 		$(use_enable ucsim)
 		$(use_enable device-lib)
 		$(use_enable packihx)
 		$(use_enable sdcpp)
 		$(use_enable sdcdb)
-		$(use_enable sdbinutils)
 		$(use_enable non-free)
 		$(use_enable boehm-gc libgc)
 
@@ -158,7 +149,7 @@ src_compile() {
 src_install() {
 	default
 	dodoc doc/*.txt
-	find "${D}" -type d -name .deps -exec rm -vrf {} + || die
+	find "${ED}" -type d -name .deps -exec rm -vr {} + || die
 
 	if use doc && [[ ${PV} != "9999" ]]; then
 		cd "${WORKDIR}"/doc


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-04-10  8:48 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2023-04-10  8:48 UTC (permalink / raw
  To: gentoo-commits

commit:     5c47d23f053ac3ecd3821d6ed97648c12844a619
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 08:47:49 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 08:47:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c47d23f

dev-embedded/sdcc: Stabilize 4.2.0 amd64, #904099

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

 dev-embedded/sdcc/sdcc-4.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-4.2.0.ebuild b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
index dc4655403f3d..291623b8d48a 100644
--- a/dev-embedded/sdcc/sdcc-4.2.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
@@ -14,7 +14,7 @@ else
 		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-04-22 16:32 Arthur Zamarin
  0 siblings, 0 replies; 28+ messages in thread
From: Arthur Zamarin @ 2023-04-22 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     77d2ca1d5cf3b1fd1c4c79b0fc029620a5ba547a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 16:31:57 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 16:31:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d2ca1d

dev-embedded/sdcc: Stabilize 4.2.0 x86, #904099

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-4.2.0.ebuild b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
index 291623b8d48a..674b5e4b92f3 100644
--- a/dev-embedded/sdcc/sdcc-4.2.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.2.0.ebuild
@@ -14,7 +14,7 @@ else
 		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
-	KEYWORDS="amd64 ~x86"
+	KEYWORDS="amd64 x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-06-08 11:23 Viorel Munteanu
  0 siblings, 0 replies; 28+ messages in thread
From: Viorel Munteanu @ 2023-06-08 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     165e212e17f43d18d9819d8d5badbb931cf8b8db
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun  7 17:17:36 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 11:19:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165e212e

dev-embedded/sdcc: use HTTPS

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 4 ++--
 dev-embedded/sdcc/sdcc-4.0.0.ebuild    | 4 ++--
 dev-embedded/sdcc/sdcc-4.1.0.ebuild    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index c4850e617289..f3916194c922 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ else
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
+HOMEPAGE="https://sdcc.sourceforge.net/"
 
 LICENSE="
 	GPL-2 ZLIB

diff --git a/dev-embedded/sdcc/sdcc-4.0.0.ebuild b/dev-embedded/sdcc/sdcc-4.0.0.ebuild
index 42f67b831e1a..dcb2ee1132ef 100644
--- a/dev-embedded/sdcc/sdcc-4.0.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ else
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
+HOMEPAGE="https://sdcc.sourceforge.net/"
 
 LICENSE="
 	GPL-2 ZLIB

diff --git a/dev-embedded/sdcc/sdcc-4.1.0.ebuild b/dev-embedded/sdcc/sdcc-4.1.0.ebuild
index 9b5bf53b05db..2be8c0e650ae 100644
--- a/dev-embedded/sdcc/sdcc-4.1.0.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.1.0.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=7
@@ -19,7 +19,7 @@ else
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="http://sdcc.sourceforge.net/"
+HOMEPAGE="https://sdcc.sourceforge.net/"
 
 LICENSE="
 	GPL-2 ZLIB


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-08-26 16:48 Viorel Munteanu
  0 siblings, 0 replies; 28+ messages in thread
From: Viorel Munteanu @ 2023-08-26 16:48 UTC (permalink / raw
  To: gentoo-commits

commit:     46451db0c880be7ae852468c9855dca37abff61d
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 16:46:51 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 16:47:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46451db0

dev-embedded/sdcc: add 4.3.0

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/sdcc/Manifest          |   2 +
 dev-embedded/sdcc/sdcc-4.3.0.ebuild | 160 ++++++++++++++++++++++++++++++++++++
 2 files changed, 162 insertions(+)

diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index 772ac6c967a3..67c7abbe0abc 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -2,7 +2,9 @@ DIST sdcc-doc-3.8.0.tar.bz2 965465 BLAKE2B 541ed3ba4d3a23dd3fcea248de84d887fdcd8
 DIST sdcc-doc-4.0.0.tar.bz2 980999 BLAKE2B 6f9478c095e6b4fec27c6ab7a10a8564ae46d754709848b3a7a26a7a2dfecd3833ce3cfe7a41f9033b5a34a1b6e962090d91c9688294dd347e1c98658761c019 SHA512 83bed77b46ad2f028725a3ffe6090d71185f73d4e99c241e7ebd1c509ba1be1911f4b9130c344fa4eb928f48122179b6b71e9d5a27d9f18ff74017c61fae77ff
 DIST sdcc-doc-4.1.0.tar.bz2 991207 BLAKE2B fd1ab82c8cc65031a8231bc4aba1e0562ed4b3178612a4d915568cb5600ba9159d89f905e261e860da9e0f4aa5a24fbd7ab1364f2f9f7b3078bcf3aa01d71ba5 SHA512 01686e590d0168108099d3c6c9bdb0885a25abccc9b6c87739eafec7103054424da1a5960a8d4566462dca9bf00cdd8b103ab6026523833d9aaa4d4bcdc5b620
 DIST sdcc-doc-4.2.0.tar.bz2 1244684 BLAKE2B d6ee4001ee0d2dde61dd1e8567499909fa6373eac93f3731fa1d6628f6e488742cc0798b1ebb908769d4cc52e091d4d685b3891d7c15a519294240643e528b02 SHA512 8494de35991e9a38ca138545b7c2396d353b21d67a4f321afa9187a5c117c6ce7d3c0850e95c981ccc7a3c8fa1e470f5e2351b84ccbe1634b1f8bf085cd45f76
+DIST sdcc-doc-4.3.0.tar.bz2 1271916 BLAKE2B a8c8018990ff2ae5504253f38a9de045b8a5227a60d76604394c286cb55d11b24f3ab97ed0a11d434c0b1ccb7e5340c33872c5ff5e677130e395b396a389f532 SHA512 088dce843c9e06380a8058b5253051e2a2442655be38435f15ed6754291e75d3f6e2b1a416e4f90dd865b2d89a9e1c59a2b9ee1422096132f49f038c527bcd19
 DIST sdcc-src-3.8.0.tar.bz2 18987862 BLAKE2B 7e8ddea41ae02842bb1376c53364c386a0fb47a1acdcc97cc72f002e78a2854fc43adfd0177f94dd1173dbd81052c390c5b2fef302c73f0b830ec83eea70869c SHA512 38145ea3e9560eb8894c54bd7213da67a20163739c944c3247fa8fa456dfedaaa469746169d3e114affcab48b73db4cd8c9a0a367e7368f2471de64761a3e04a
 DIST sdcc-src-4.0.0.tar.bz2 19204540 BLAKE2B 2192a7dc7418826440209dd8c7a73fd5ced491b799975b953368daeabb429327a6c518a1212a2fd49c34c6e5ab7d84f240cbf6ff8b3779e2d38f5ad81499ee71 SHA512 41a92711a9278261879caec1a01425104b7c75346b3c6ad9617cab025309c9b38f79eea2d04122f5ae6ce273fcd61fbde8a0d23756313a4593394230b51a1d4c
 DIST sdcc-src-4.1.0.tar.bz2 19400609 BLAKE2B 9754d70026af595a5456f0d7c1b375df2716c6400ca59affcadbfd3588f4d51c45a3d52c235d6efc9b7512b5f94f023d8d2964cc0365cdff4586edf71fc51af1 SHA512 a9c3fee427cbc66b56a286c8d66b2922f79c9dfb42d2ed2843b2e192a6b314a04de4c82f1083d8625b49756b5f1d99f8fb706402b5f1284110760ec346303779
 DIST sdcc-src-4.2.0.tar.bz2 19662367 BLAKE2B a11d6b3af2552e0508bb1d0644d3e6db385634237fc93079716a5e3aa710bac25fd888e10dce76e6891ebe524f4d81d8318492001d8ce9ade0ef16d114adf14b SHA512 7ca4037d526b5fed7bbca4433835d0299ced7315dd69c1ec66cff873ec7caa41b69927363bf5850e2ad4f27ef6286e57f9ccd40bb6792308be6c3073c5238cba
+DIST sdcc-src-4.3.0.tar.bz2 19931677 BLAKE2B 94fc7ade96801ea6c9eb89d32b99554d27ad3d926d2d5889e91334b11d4658ccc160606cd2b1c6f3bb21bd25ea3df1dca274f40553aa8a52a73ac07764b3eaad SHA512 dabe276a0d2872bee2cdc14433f31a1e94153f9dce5a11add916ede2e76bfacf763be8e6d8134dc3aefdae29e38d3a7354626755e81e0f6db0e60c1798476f21

diff --git a/dev-embedded/sdcc/sdcc-4.3.0.ebuild b/dev-embedded/sdcc/sdcc-4.3.0.ebuild
new file mode 100644
index 000000000000..d8acd784b586
--- /dev/null
+++ b/dev-embedded/sdcc/sdcc-4.3.0.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+if [[ ${PV} == "9999" ]] ; then
+	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
+	inherit subversion
+else
+	SRC_URI="
+		https://downloads.sourceforge.net/project/${PN}/sdcc/${PV}/${PN}-src-${PV}.tar.bz2
+		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
+	"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Small device C compiler (for various microprocessors)"
+HOMEPAGE="https://sdcc.sourceforge.net/"
+
+LICENSE="
+	GPL-2 ZLIB
+	non-free? ( MicroChip-SDCC )
+	packihx? ( public-domain )
+"
+SLOT="0"
+# in order of configure.ac's AC_DO_PORT stanzas
+SDCC_PORTS="
+	mcs51
+	z80 z180
+	r2k r2ka r3ka
+	sm83
+	tlcs90
+	ez80-z80
+	z80n
+	ds390 ds400
+	pic14 pic16
+	hc08
+	s08
+	stm8
+	pdk13 pdk14 pdk15 pdk16
+	mos6502 mos65c02
+"
+IUSE="
+	${SDCC_PORTS}
+	+boehm-gc device-lib doc non-free packihx sdcdb +sdcpp ucsim
+"
+
+RDEPEND="
+	dev-libs/boost:=
+	sys-libs/zlib:=
+	pic14? ( >=dev-embedded/gputils-0.13.7 )
+	pic16? ( >=dev-embedded/gputils-0.13.7 )
+	boehm-gc? ( dev-libs/boehm-gc:= )
+	sdcdb? ( sys-libs/readline:0= )
+	ucsim? ( sys-libs/ncurses:= )
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/gperf
+"
+PATCHES=(
+	"${FILESDIR}"/sdcc-4.3.2-override-override.patch
+	"${FILESDIR}"/sdcc-4.2.0-link-tinfo.patch
+)
+
+src_prepare() {
+	# Fix conflicting variable names between Gentoo and sdcc
+	find device/lib/pic{14,16} device/non-free/lib/pic{14,16} \( \
+			-name 'configure.ac' -o -name 'Makefile.*' \) \
+		-exec sed -i 's/\<ARCH\>/SDCC_&/g' {} + || die
+	find device -name 'Makefile.in' \
+		-exec sed -i 's/\<PORTDIR\>/SDCC_&/g' {} + || die
+	# Possible alternative: Patch the following files to not pick up the
+	# variables from the environment:
+	# - lib/Makefile.in (PORTDIR ifndef/endif)
+	# - device/non-free/lib/pic14/Makefile.common.in (ARCH ?= 877)
+	# - device/non-free/lib/pic16/configure.ac (${ARCH:-18f452})
+	# - device/lib/pic14/configure.ac (${ARCH:-16f877})
+	# - device/lib/pic16/configure.ac (${ARCH:-18f452})
+
+	# Make sure timestamps don't get messed up.
+	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
+
+	mkdir -p support/sdbinutils/bfd/doc || die
+
+	default
+	eautoreconf
+
+	# Avoid 'bfd.info' rebuild with 'makeinfo': bug #705424
+	# Build dependencies are: eautoreconf->Makefile.in->bfdver.texi->bfd.info
+	touch support/sdbinutils/bfd/doc/bfdver.texi || die
+	touch support/sdbinutils/bfd/doc/bfd.info || die
+}
+
+src_configure() {
+	local myeconfargs=(
+		ac_cv_prog_STRIP=true
+		--without-ccache
+		--enable-sdbinutils
+
+		$(use_enable ucsim)
+		$(use_enable device-lib)
+		$(use_enable packihx)
+		$(use_enable sdcpp)
+		$(use_enable sdcdb)
+		$(use_enable non-free)
+		$(use_enable boehm-gc libgc)
+
+		$(use_enable mcs51 mcs51-port)
+		$(use_enable z80 z80-port)
+		$(use_enable z180 z180-port)
+		$(use_enable r2k r2k-port)
+		$(use_enable r2ka r2ka-port)
+		$(use_enable r3ka r3ka-port)
+		$(use_enable sm83 sm83-port)
+		$(use_enable tlcs90 tlcs90-port)
+		$(use_enable ez80-z80 ez80_z80-port)
+		$(use_enable z80n z80n-port)
+		$(use_enable ds390 ds390-port)
+		$(use_enable ds400 ds400-port)
+		$(use_enable pic14 pic14-port)
+		$(use_enable pic16 pic16-port)
+		$(use_enable hc08 hc08-port)
+		$(use_enable s08 s08-port)
+		$(use_enable stm8 stm8-port)
+		$(use_enable pdk13 pdk13-port)
+		$(use_enable pdk14 pdk14-port)
+		$(use_enable pdk15 pdk15-port)
+		$(use_enable pdk16 pdk16-port)
+		$(use_enable mos6502 mos6502-port)
+		$(use_enable mos65c02 mos65c02-port)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	# Sanity check, as gputils errors/segfaults don't cause make to stop
+	local libs=()
+	use pic14 && libs+=( device/lib/build/pic14/libsdcc.lib )
+	use pic16 && libs+=( device/lib/build/pic16/libsdcc.lib )
+	for lib in "${libs[@]}"; do
+		[[ -f "${lib}" ]] || die "Failed to build ${lib}"
+	done
+}
+
+src_install() {
+	default
+	dodoc doc/*.txt
+	find "${ED}" -type d -name .deps -exec rm -vr {} + || die
+
+	if use doc && [[ ${PV} != "9999" ]]; then
+		cd "${WORKDIR}"/doc
+		dodoc -r *
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-11-15  5:39 Viorel Munteanu
  0 siblings, 0 replies; 28+ messages in thread
From: Viorel Munteanu @ 2023-11-15  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     604a695d20a10bb03ed983911322be3a90b735df
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 05:36:12 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 05:39:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604a695d

dev-embedded/sdcc: fix build issue with USE=-mos65c02

Don't generate a Makefile instead of attempting to remove it afterwards.

Closes: https://bugs.gentoo.org/917354
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
index 6bfa58b9f7e7..9e37f736f518 100644
--- a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
@@ -96,6 +96,10 @@ src_prepare() {
 	# libiberty configure will fail if this was not set
 	export libiberty_topdir="${S}"/support/sdbinutils/libiberty
 
+	# this does not build: https://sourceforge.net/p/sdcc/bugs/3673/
+	# disable for now
+	sed 's:device/lib/mos65c02/Makefile::' -i configure.ac || die
+
 	default
 	eautoreconf
 
@@ -144,10 +148,6 @@ src_configure() {
 		$(use_enable mos65c02 mos65c02-port)
 	)
 	econf "${myeconfargs[@]}"
-
-	# this does not build: https://sourceforge.net/p/sdcc/bugs/3673/
-	# disable for now
-	rm device/lib/mos65c02/Makefile || die
 }
 
 src_compile() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-11-26  9:00 Viorel Munteanu
  0 siblings, 0 replies; 28+ messages in thread
From: Viorel Munteanu @ 2023-11-26  9:00 UTC (permalink / raw
  To: gentoo-commits

commit:     152fde35a5fcea2f18f97bbcd04a0839ba1b84e7
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 08:59:23 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 09:00:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152fde35

dev-embedded/sdcc: drop 4.3.0

Not ready for stabilization, let's wait for 4.3.0-r1.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0.ebuild | 160 ------------------------------------
 1 file changed, 160 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-4.3.0.ebuild b/dev-embedded/sdcc/sdcc-4.3.0.ebuild
deleted file mode 100644
index d8acd784b586..000000000000
--- a/dev-embedded/sdcc/sdcc-4.3.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-if [[ ${PV} == "9999" ]] ; then
-	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
-	inherit subversion
-else
-	SRC_URI="
-		https://downloads.sourceforge.net/project/${PN}/sdcc/${PV}/${PN}-src-${PV}.tar.bz2
-		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
-	"
-
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Small device C compiler (for various microprocessors)"
-HOMEPAGE="https://sdcc.sourceforge.net/"
-
-LICENSE="
-	GPL-2 ZLIB
-	non-free? ( MicroChip-SDCC )
-	packihx? ( public-domain )
-"
-SLOT="0"
-# in order of configure.ac's AC_DO_PORT stanzas
-SDCC_PORTS="
-	mcs51
-	z80 z180
-	r2k r2ka r3ka
-	sm83
-	tlcs90
-	ez80-z80
-	z80n
-	ds390 ds400
-	pic14 pic16
-	hc08
-	s08
-	stm8
-	pdk13 pdk14 pdk15 pdk16
-	mos6502 mos65c02
-"
-IUSE="
-	${SDCC_PORTS}
-	+boehm-gc device-lib doc non-free packihx sdcdb +sdcpp ucsim
-"
-
-RDEPEND="
-	dev-libs/boost:=
-	sys-libs/zlib:=
-	pic14? ( >=dev-embedded/gputils-0.13.7 )
-	pic16? ( >=dev-embedded/gputils-0.13.7 )
-	boehm-gc? ( dev-libs/boehm-gc:= )
-	sdcdb? ( sys-libs/readline:0= )
-	ucsim? ( sys-libs/ncurses:= )
-"
-DEPEND="
-	${RDEPEND}
-	dev-util/gperf
-"
-PATCHES=(
-	"${FILESDIR}"/sdcc-4.3.2-override-override.patch
-	"${FILESDIR}"/sdcc-4.2.0-link-tinfo.patch
-)
-
-src_prepare() {
-	# Fix conflicting variable names between Gentoo and sdcc
-	find device/lib/pic{14,16} device/non-free/lib/pic{14,16} \( \
-			-name 'configure.ac' -o -name 'Makefile.*' \) \
-		-exec sed -i 's/\<ARCH\>/SDCC_&/g' {} + || die
-	find device -name 'Makefile.in' \
-		-exec sed -i 's/\<PORTDIR\>/SDCC_&/g' {} + || die
-	# Possible alternative: Patch the following files to not pick up the
-	# variables from the environment:
-	# - lib/Makefile.in (PORTDIR ifndef/endif)
-	# - device/non-free/lib/pic14/Makefile.common.in (ARCH ?= 877)
-	# - device/non-free/lib/pic16/configure.ac (${ARCH:-18f452})
-	# - device/lib/pic14/configure.ac (${ARCH:-16f877})
-	# - device/lib/pic16/configure.ac (${ARCH:-18f452})
-
-	# Make sure timestamps don't get messed up.
-	[[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} +
-
-	mkdir -p support/sdbinutils/bfd/doc || die
-
-	default
-	eautoreconf
-
-	# Avoid 'bfd.info' rebuild with 'makeinfo': bug #705424
-	# Build dependencies are: eautoreconf->Makefile.in->bfdver.texi->bfd.info
-	touch support/sdbinutils/bfd/doc/bfdver.texi || die
-	touch support/sdbinutils/bfd/doc/bfd.info || die
-}
-
-src_configure() {
-	local myeconfargs=(
-		ac_cv_prog_STRIP=true
-		--without-ccache
-		--enable-sdbinutils
-
-		$(use_enable ucsim)
-		$(use_enable device-lib)
-		$(use_enable packihx)
-		$(use_enable sdcpp)
-		$(use_enable sdcdb)
-		$(use_enable non-free)
-		$(use_enable boehm-gc libgc)
-
-		$(use_enable mcs51 mcs51-port)
-		$(use_enable z80 z80-port)
-		$(use_enable z180 z180-port)
-		$(use_enable r2k r2k-port)
-		$(use_enable r2ka r2ka-port)
-		$(use_enable r3ka r3ka-port)
-		$(use_enable sm83 sm83-port)
-		$(use_enable tlcs90 tlcs90-port)
-		$(use_enable ez80-z80 ez80_z80-port)
-		$(use_enable z80n z80n-port)
-		$(use_enable ds390 ds390-port)
-		$(use_enable ds400 ds400-port)
-		$(use_enable pic14 pic14-port)
-		$(use_enable pic16 pic16-port)
-		$(use_enable hc08 hc08-port)
-		$(use_enable s08 s08-port)
-		$(use_enable stm8 stm8-port)
-		$(use_enable pdk13 pdk13-port)
-		$(use_enable pdk14 pdk14-port)
-		$(use_enable pdk15 pdk15-port)
-		$(use_enable pdk16 pdk16-port)
-		$(use_enable mos6502 mos6502-port)
-		$(use_enable mos65c02 mos65c02-port)
-	)
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	default
-
-	# Sanity check, as gputils errors/segfaults don't cause make to stop
-	local libs=()
-	use pic14 && libs+=( device/lib/build/pic14/libsdcc.lib )
-	use pic16 && libs+=( device/lib/build/pic16/libsdcc.lib )
-	for lib in "${libs[@]}"; do
-		[[ -f "${lib}" ]] || die "Failed to build ${lib}"
-	done
-}
-
-src_install() {
-	default
-	dodoc doc/*.txt
-	find "${ED}" -type d -name .deps -exec rm -vr {} + || die
-
-	if use doc && [[ ${PV} != "9999" ]]; then
-		cd "${WORKDIR}"/doc
-		dodoc -r *
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-12-28  9:55 Arthur Zamarin
  0 siblings, 0 replies; 28+ messages in thread
From: Arthur Zamarin @ 2023-12-28  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     460ccaa844b2d6955a22292788cc8eb3ec056764
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 09:55:16 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 09:55:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460ccaa8

dev-embedded/sdcc: Stabilize 4.3.0-r1 amd64, #920851

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
index b9779c274169..c317c061b57d 100644
--- a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
@@ -14,7 +14,7 @@ else
 		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
-	KEYWORDS="~amd64 x86"
+	KEYWORDS="amd64 x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2023-12-28  9:55 Arthur Zamarin
  0 siblings, 0 replies; 28+ messages in thread
From: Arthur Zamarin @ 2023-12-28  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     5acac6ef88b89fe6fd1d2d19d187d0bfdb227fb3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 09:55:13 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 09:55:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5acac6ef

dev-embedded/sdcc: Stabilize 4.3.0-r1 x86, #920851

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
index 9e37f736f518..b9779c274169 100644
--- a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
@@ -14,7 +14,7 @@ else
 		doc? ( https://downloads.sourceforge.net/project/${PN}/sdcc-doc/${PV}/${PN}-doc-${PV}.tar.bz2 )
 	"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64 x86"
 fi
 
 DESCRIPTION="Small device C compiler (for various microprocessors)"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
@ 2024-04-05  1:21 Sam James
  0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2024-04-05  1:21 UTC (permalink / raw
  To: gentoo-commits

commit:     5392281a662b0bda89384e936bde9a455e2a2ae3
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Apr  4 04:31:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 01:20:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5392281a

dev-embedded/sdcc: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/924691
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild | 9 +++++++--
 dev-embedded/sdcc/sdcc-9999.ebuild     | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild b/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
index c317c061b57d..3aa25dab19f1 100644
--- a/dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-4.3.0-r1.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
 
-inherit autotools
+inherit autotools flag-o-matic
 
 if [[ ${PV} == "9999" ]] ; then
 	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -110,6 +110,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=odr, -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/924691
+	# https://sourceforge.net/p/sdcc/bugs/3725/
+	filter-lto
+
 	local myeconfargs=(
 		ac_cv_prog_STRIP=true
 		--without-ccache

diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index f2689c566ba0..72705ab05c30 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.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
 
-inherit autotools
+inherit autotools flag-o-matic
 
 if [[ ${PV} == "9999" ]] ; then
 	ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -95,6 +95,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=odr, -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/924691
+	# https://sourceforge.net/p/sdcc/bugs/3725/
+	filter-lto
+
 	local myeconfargs=(
 		ac_cv_prog_STRIP=true
 		--without-ccache


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

end of thread, other threads:[~2024-04-05  1:21 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16  8:30 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2024-04-05  1:21 Sam James
2023-12-28  9:55 Arthur Zamarin
2023-12-28  9:55 Arthur Zamarin
2023-11-26  9:00 Viorel Munteanu
2023-11-15  5:39 Viorel Munteanu
2023-08-26 16:48 Viorel Munteanu
2023-06-08 11:23 Viorel Munteanu
2023-04-22 16:32 Arthur Zamarin
2023-04-10  8:48 Sam James
2023-03-05 10:14 Viorel Munteanu
2021-11-12  2:02 Sam James
2021-11-12  1:49 Sam James
2021-11-12  1:49 Sam James
2020-02-01  0:07 Sergei Trofimovich
2020-01-16  8:30 Sergei Trofimovich
2019-08-31 12:16 Sergei Trofimovich
2019-03-10 15:16 Mikle Kolyada
2019-03-10 15:16 Mikle Kolyada
2019-03-09 19:18 Thomas Deutschmann
2019-02-19 21:56 Sergei Trofimovich
2019-02-18 23:49 Sergei Trofimovich
2019-02-18 23:49 Sergei Trofimovich
2018-11-01 16:02 Jeroen Roovers
2018-04-26  4:34 Matt Turner
2018-04-12 20:54 Thomas Deutschmann
2015-12-19 17:15 Sven Wegener
2015-12-19 17:15 Sven Wegener

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