diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-07 19:31:03 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-07 19:31:03 +0000 |
commit | 3e662f36547c13d1182c72f7dc433285601bee8a (patch) | |
tree | 96ee662eb713124297cc8f82bdc1a0f92ea7c7b5 /dev-scheme | |
parent | Add settings for x32 ABI, and make amd64 explicit in case it is not the defau... (diff) | |
download | historical-3e662f36547c13d1182c72f7dc433285601bee8a.tar.gz historical-3e662f36547c13d1182c72f7dc433285601bee8a.tar.bz2 historical-3e662f36547c13d1182c72f7dc433285601bee8a.zip |
Version bump, assign package to proxy-maintainers, thanks to Erik Falor. Bug fixes will arrive soon
Package-Manager: portage-2.1.10.39/cvs/Linux x86_64
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/chicken/ChangeLog | 11 | ||||
-rw-r--r-- | dev-scheme/chicken/Manifest | 7 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-4.7.3.ebuild | 65 | ||||
-rw-r--r-- | dev-scheme/chicken/files/chicken-4.7.3-parallel-build.patch | 74 | ||||
-rw-r--r-- | dev-scheme/chicken/metadata.xml | 13 |
5 files changed, 166 insertions, 4 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog index be88472484b9..59d037096d11 100644 --- a/dev-scheme/chicken/ChangeLog +++ b/dev-scheme/chicken/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-scheme/chicken -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.42 2010/10/06 04:25:04 chiiph Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.43 2011/12/07 19:31:03 maksbotan Exp $ + +*chicken-4.7.3 (07 Dec 2011) + + 07 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> +chicken-4.7.3.ebuild, + +files/chicken-4.7.3-parallel-build.patch, metadata.xml: + Version bump, assign package to proxy-maintainers, thanks to Erik Falor. Bug + fixes will arrive soon *chicken-4.6.0 (06 Oct 2010) diff --git a/dev-scheme/chicken/Manifest b/dev-scheme/chicken/Manifest index 9791250e44aa..b14eb36a63af 100644 --- a/dev-scheme/chicken/Manifest +++ b/dev-scheme/chicken/Manifest @@ -1,10 +1,13 @@ AUX 50hen-gentoo.el 145 RMD160 88e497b36f696f5a575c02e16b86fc610f4d066c SHA1 eed85cf1aff39a5541e51c3582bef1121dbc8e9d SHA256 5b58b0cc226fd167fa8f2523846fa980c74df77513703dbd63f7f82167ec0f52 AUX chicken-4.5.0-r0-ARCH-to-zARCH-hack.patch 5441 RMD160 b3aac629ae7e14b84de30167be376b3ccc986b9d SHA1 552215cce26aa60a3bcb68922dc90ead5cc0bf2c SHA256 a887a97531a57585894cae4ac6934ce88073525ef96e5ef5d6201421f93c1e6f +AUX chicken-4.7.3-parallel-build.patch 3122 RMD160 7404d2a0475b1d1303cca8ccc7ab697de88b4e08 SHA1 59b79076259c8255e8a0403d507eeedd125e2169 SHA256 ae1be72f78144daf010d07a5c88e94c977f0288f1c95a3410da6a5120f2a7bfb DIST chicken-3.3.0.tar.gz 4228441 RMD160 74035304164d5c8c2f2ed7571662452df86725f2 SHA1 3af69007f664ccdef988863f1c6ac24405c5500c SHA256 5ce2519bac9956de5700a5777b2bbc2cd89202ef2d2252a40a0d1e8c9854bec6 DIST chicken-4.5.0.tar.gz 2914920 RMD160 03d511d4a78add4fb3505a3c8eea5594fe9bb705 SHA1 67c1d791b59dc77fe5f41f19dc70fa2d5b86e4c3 SHA256 95919725411268614022ffc2426c826290cbebb6d574c1f2ebcaee5ac3ef9fd9 DIST chicken-4.6.0.tar.gz 3019126 RMD160 f279b39b8294496a6e22b39b56d3fcf108d55405 SHA1 a801383786908022223c32337fb1c5814e6c26a5 SHA256 c55d1dadf9941b3efbc7be9181d5c7cbc304a20c614625fbf710c0acaa1cd245 +DIST chicken-4.7.3.tar.gz 3316152 RMD160 150cdd093e3a375db99f83a90ee1305c70f8f88c SHA1 47b139f8c4c6fa10af891ce36db24744973321c3 SHA256 00c82bc2208d74463a69356d2a30a3771f87048ea87fb9c024d464b3c9d4e230 EBUILD chicken-3.3.0.ebuild 1569 RMD160 d2592ac4ea39f16e66e3a5ab12ea648dc5595564 SHA1 7f25b5d3b4f3ca71a4fe5ef8d2d247e512050558 SHA256 68e958a02a13039359584927a0d15e5b95280bcf1e12da97bad4dada0e8c17e7 EBUILD chicken-4.5.0.ebuild 1489 RMD160 127a87e38c2b0c57278c5353024305c81a058af0 SHA1 1b9b6d1589cfa946c3b9903042193ec501600ab5 SHA256 17c96121b7868373a92bd6249a5887bf85e0b8693e627d4a8002591a092d5899 EBUILD chicken-4.6.0.ebuild 1693 RMD160 8abcf4b00fd685d44ce984e0781266e5e6af409f SHA1 9ada0956d7cfe263d478375a07182f7fc01cf441 SHA256 baac199e060815f232b8947c00fea3d39e6e42622095111b0370f9d5c7187d6a -MISC ChangeLog 6131 RMD160 bd3d4263dae3af8b683bb877ef6c7c4cd22a9964 SHA1 51bc305db2a43f8c71b167b9e92504d705741e83 SHA256 8f0fb6aeec587a281357f9f43d3a834e948ea533de1f3d6606b6e9c5a75a9c26 -MISC metadata.xml 525 RMD160 82f9c47c5af5d6924874670ce17c44c025b130d4 SHA1 935f520a583ad4f32663522537dbbfb1e9af7f07 SHA256 59bdf730d4d0fdfa81186f0876abb06ccfb034bec3dec9dfadcfe2d4321cffc8 +EBUILD chicken-4.7.3.ebuild 2055 RMD160 2cb82cfeea65cfccf26bfc88f1db3fa446dd4f09 SHA1 ffbf340538cd142fac4dddd656c395ead87c9ed9 SHA256 9a1cedbebfd904268107bc4ce8f38277c824df2141932934be5570ffba55e0fb +MISC ChangeLog 6403 RMD160 de2c702d7b5df47c321df9addf608d2d36341e15 SHA1 c0aab1fbff14979039c5c53ad69f028d213985a6 SHA256 21af65cb630a2cd880d47930d29619b58e3ecd8c4b0f71fb1cb9241111e8c0e7 +MISC metadata.xml 870 RMD160 c61ae7dfb522088d9aa3acaf785653754d6fb719 SHA1 082210ceb45222653d4a5203fadf26972f4e9333 SHA256 8608f5461e3c84d4034d7fdb21f85cfcaa7afdbf7603fce4f8b817edcd99da94 diff --git a/dev-scheme/chicken/chicken-4.7.3.ebuild b/dev-scheme/chicken/chicken-4.7.3.ebuild new file mode 100644 index 000000000000..0e5c7551b3e3 --- /dev/null +++ b/dev-scheme/chicken/chicken-4.7.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.7.3.ebuild,v 1.1 2011/12/07 19:31:03 maksbotan Exp $ + +EAPI="3" + +inherit eutils multilib + +DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" +HOMEPAGE="http://www.call-cc.org/" +SRC_URI="http://code.call-cc.org/dev-snapshots/2011/08/17/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="emacs parallel-build" + +DEPEND="sys-apps/texinfo + emacs? ( virtual/emacs )" +RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )" + +src_prepare() { + if use "parallel-build" + then + epatch "${FILESDIR}"/${P}-parallel-build.patch + fi + + #Because chicken's Upstream is in the habit of using variables that + #portage also uses :( eg. $ARCH in this case + for f in defaults.make Makefile.bsd Makefile.cross-linux-mingw Makefile.cygwin \ + Makefile.linux Makefile.macosx Makefile.mingw-msys Makefile.solaris \ + rules.make + do + sed "s,ARCH,zARCH," -i ${f} || die "sed failed" + done + + sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed" + sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed" +} + +src_compile() { + OPTIONS="PLATFORM=linux PREFIX=/usr" + if use "parallel-build" + then + ewarn "You enabled parralel-build use flag. This future is still" + ewarn "in testing, try without it before filing bugs" + emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ + HOSTSYSTEM="${CBUILD}" || die "emake failed" + else + emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ + HOSTSYSTEM="${CBUILD}" || die "emake failed" + fi +} + +# chicken's testsuite is not runnable before install +# upstream has been notified of the issue +RESTRICT=test + +src_install() { + # still can't run make in parallel for the install target + emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" install || die + + rm "${D}"/usr/share/doc/${P}/LICENSE || die + dodoc NEWS || die +} diff --git a/dev-scheme/chicken/files/chicken-4.7.3-parallel-build.patch b/dev-scheme/chicken/files/chicken-4.7.3-parallel-build.patch new file mode 100644 index 000000000000..6d9628701481 --- /dev/null +++ b/dev-scheme/chicken/files/chicken-4.7.3-parallel-build.patch @@ -0,0 +1,74 @@ +diff --git a/GNUmakefile b/GNUmakefile +index 9bc40ca..c697f14 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -49,6 +49,9 @@ STANDARD_TARGETS \ + fullcheck libs install-target install-dev bench + + .PHONY: $(STANDARD_TARGETS) dist boot-chicken ++# Build this file's targets sequentially. This avoids executing overlapping ++# makes if the user specifies multiple targets. ++.NOTPARALLEL: + + $(STANDARD_TARGETS): + $(MAKE) -f $(SRCDIR)/Makefile.$(PLATFORM) CONFIG=$(CONFIG) $@ +diff --git a/README b/README +index 8d0d067..551b716 100644 +--- a/README ++++ b/README +@@ -72,7 +72,7 @@ + platforms. + + Note that parallel builds (using the "-j" make(1) option) are +- *not* supported. ++ also supported. Beware that parallel install will not work though. + + If you invoke "make" later with different configuration parameters, + it is advisable to run: +diff --git a/rules.make b/rules.make +index 929b0a3..a8cb9b0 100644 +--- a/rules.make ++++ b/rules.make +@@ -243,8 +243,8 @@ lib$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(A): $(APPLY_HACK_OBJECT) $(LIBCHIC + + # import libraries and extensions + +-%.so: %.o +- $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^ $(LINKER_OUTPUT_OPTION) $@ \ ++%.so: %.o $(PRIMARY_LIBCHICKEN) ++ $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $< $(LINKER_OUTPUT_OPTION) $@ \ + $(LINKER_LIBRARY_PREFIX)$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(LINKER_LIBRARY_SUFFIX) \ + $(LIBRARIES) + +@@ -578,9 +578,9 @@ chicken-profile.c: $(SRCDIR)chicken-profile.scm + $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@ + chicken-install.c: $(SRCDIR)chicken-install.scm setup-download.c setup-api.c + $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@ +-chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm ++chicken-uninstall.c: $(SRCDIR)chicken-uninstall.scm setup-api.c + $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@ +-chicken-status.c: $(SRCDIR)chicken-status.scm ++chicken-status.c: $(SRCDIR)chicken-status.scm setup-api.c + $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@ + csc.c: $(SRCDIR)csc.scm + $(CHICKEN) $< $(CHICKEN_PROGRAM_OPTIONS) -output-file $@ +@@ -671,14 +671,17 @@ bench: $(CHICKEN_SHARED_EXECUTABLE) $(CSI_SHARED_EXECUTABLE) $(CSC_PROGRAM)$(EXE + .PHONY: boot-chicken + + boot-chicken: ++ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= confclean + $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \ + SRCDIR=$(SRCDIR) CHICKEN=$(CHICKEN) PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 \ + C_COMPILER_OPTIMIZATION_OPTIONS= C_HACKED_APPLY= \ +- confclean chicken-boot-stage1$(EXE) ++ chicken-boot-stage1$(EXE) ++ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= touchfiles + $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \ + SRCDIR=$(SRCDIR) CHICKEN=`pwd`/chicken-boot-stage1$(EXE) PROGRAM_SUFFIX=-boot \ + STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS= \ +- touchfiles chicken-boot$(EXE) confclean ++ chicken-boot$(EXE) ++ $(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) CONFIG= confclean + + .PHONY: touchfiles + diff --git a/dev-scheme/chicken/metadata.xml b/dev-scheme/chicken/metadata.xml index b3cd8071226f..cc5af33bd39b 100644 --- a/dev-scheme/chicken/metadata.xml +++ b/dev-scheme/chicken/metadata.xml @@ -2,6 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>scheme</herd> +<herd>proxy-maintainers</herd> +<maintainer> + <email>ewfalor@gmail.com</email> + <name>Erik Falor</name> +</maintainer> +<maintainer> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> +</maintainer> <longdescription> CHICKEN is a compiler for the Scheme programming language. CHICKEN produces portable, efficient C, supports almost all of the current Scheme language @@ -9,4 +18,8 @@ standard, the Revised5 Report on the Algorithmic Language Scheme (R5RS ), and includes many enhancements and extensions. CHICKEN runs on MacOS X, Windows, and many Unix flavours. </longdescription> +<use> + <flag name="parallel-build">Enable testing parallel build mode added in + 4.7.3 version. Can still be not working</flag> +</use> </pkgmetadata> |