* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2011-02-18 12:01 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2011-02-18 12:01 UTC (permalink / raw
To: gentoo-commits
commit: e675d19653f7be61b7671cfd525ee999cf58ac12
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Feb 18 12:01:49 2011 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Feb 18 12:01:49 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=e675d196
dev-scheme/bigloo: Fix bug #354751
---
dev-scheme/bigloo/bigloo-3.5a.ebuild | 3 ++
dev-scheme/bigloo/bigloo-3.6a.ebuild | 48 +++++++++++----------------------
2 files changed, 19 insertions(+), 32 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.5a.ebuild b/dev-scheme/bigloo/bigloo-3.5a.ebuild
index 9aa39d6..dd96d62 100644
--- a/dev-scheme/bigloo/bigloo-3.5a.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.5a.ebuild
@@ -79,6 +79,9 @@ src_prepare() {
# Removing bundled boehm-gc
rm -rf gc || die
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
java-pkg-opt-2_src_prepare
}
diff --git a/dev-scheme/bigloo/bigloo-3.6a.ebuild b/dev-scheme/bigloo/bigloo-3.6a.ebuild
index 171e523..c1603db 100644
--- a/dev-scheme/bigloo/bigloo-3.6a.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.6a.ebuild
@@ -20,6 +20,13 @@ LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bglpkg calendar crypto debug doc emacs gmp gstreamer java mail multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+REQUIRED_USE="
+ bglpkg? ( web )
+ gstreamer? ( multimedia threads )
+ openpgp? ( crypto )
+ packrat? ( srfi1 )
+ srfi27? ( x86? ( gmp ) )
+"
# bug 254916 for >=dev-libs/boehm-gc-7.1
DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
@@ -36,38 +43,11 @@ S=${WORKDIR}/${MY_P/-[ab]*/}
SITEFILE="50bigloo-gentoo.el"
-# TODO: Change the following using REQUIRED_USE variable
pkg_pretend() {
- if use gstreamer; then
- if ! use threads; then
- die "USE Dependency: 'gstreamer' needs 'threads'. You may enable 'threads', or disable 'gstreamer'."
- fi
-
- if ! use multimedia; then
- die "USE Dependency: 'gstreamer' needs 'multimedia'."
- fi
- fi
-
- if use packrat && ! use srfi1; then
- die "USE Dependency: 'packrat' needs 'srfi1'."
- fi
-
- if use srfi27; then
- # 'dev-scheme/bigloo srfi27' should be added in arch/amd64/package.use.mask
- if use amd64; then
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "The USE is ignored on amd64."
- elif ! use gmp; then
- die "USE Dependency: 'srfi27' needs 'gmp'."
- fi
- fi
-
- if use bglpkg && ! use web; then
- die "USE Dependency: 'bglpkg' needs 'web'."
- fi
-
- if use openpgp && ! use crypto; then
- die "USE Dependency: 'openpgp' needs 'crypto'."
+ if use srfi27 && use amd64; then
+ #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
+ ewarn "srfi27 is known to only work on 32-bit architectures." \
+ "This IUSE is ignored on amd64."
fi
}
@@ -75,6 +55,9 @@ src_prepare() {
# Removing bundled boehm-gc
rm -rf gc || die
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
java-pkg-opt-2_src_prepare
}
@@ -90,7 +73,8 @@ src_configure() {
myconf="--emacs=false"
fi
- # api/{crypto,openpgp} jvm tests show failures.
+ # Add JCFLAGS to the configure script
+ # (api/{crypto,openpgp} jvm tests show failures)
if use java; then
sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
-e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2012-03-23 9:57 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2012-03-23 9:57 UTC (permalink / raw
To: gentoo-commits
commit: 9cd653c2112fa10d2cbe547d46d0bcc4805e5c04
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Mar 23 09:26:35 2012 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Mar 23 09:44:44 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=9cd653c2
dev-scheme/bigloo: bump to 3.8a
(Portage version: 2.2.0_alpha90/git/Linux i686, signed Manifest commit with key 0xBE63A96F)
---
....6b_alpha20110713.ebuild => bigloo-3.8a.ebuild} | 24 ++++++++++++++-----
dev-scheme/bigloo/metadata.xml | 10 ++++++++
2 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.6b_alpha20110713.ebuild b/dev-scheme/bigloo/bigloo-3.8a.ebuild
similarity index 89%
rename from dev-scheme/bigloo/bigloo-3.6b_alpha20110713.ebuild
rename to dev-scheme/bigloo/bigloo-3.8a.ebuild
index 39fd5fe..1dc76de 100644
--- a/dev-scheme/bigloo/bigloo-3.6b_alpha20110713.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.8a.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -17,7 +17,12 @@ if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
date=${PV/*_alpha/}
date=${date/*_beta/}
year=${date:2:2}
- month=${Months[${date:4:2}]}
+ month=${date:4:2}
+ if [ ${month:0:1} = "0" ]; then
+ # Remove the initial "0" as 08 and 09 are considered as octal values
+ month=${month:1:1}
+ fi
+ month=${Months[$month]}
day=${date:6:2}
MY_P="${MY_P}${day}${month}${year}"
fi
@@ -26,18 +31,20 @@ BGL_RELEASE=${PV/_*/}
DESCRIPTION="Bigloo is a Scheme implementation."
HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
+#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
-#KEYWORDS="~amd64 ~ppc ~x86"
-KEYWORDS=""
-IUSE="alsa bglpkg calendar crypto debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+#KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
REQUIRED_USE="
alsa? ( multimedia )
bglpkg? ( web )
+ flac? ( alsa )
gstreamer? ( multimedia threads )
+ mp3? ( alsa )
openpgp? ( crypto )
packrat? ( srfi1 )
srfi27? ( x86? ( gmp ) )
@@ -46,6 +53,7 @@ REQUIRED_USE="
# bug 254916 for >=dev-libs/boehm-gc-7.1
DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
emacs? ( virtual/emacs )
flac? ( media-libs/flac )
gmp? ( dev-libs/gmp )
@@ -135,8 +143,10 @@ src_configure() {
$(use debug && echo --debug)
${myconf}
$(use_enable alsa)
+ $(use_enable avahi)
$(use_enable calendar)
$(use_enable crypto)
+ $(use_enable csv)
$(use_enable flac)
$(use_enable gmp)
$(use_enable gstreamer)
diff --git a/dev-scheme/bigloo/metadata.xml b/dev-scheme/bigloo/metadata.xml
index ee836ce..ce863ba 100644
--- a/dev-scheme/bigloo/metadata.xml
+++ b/dev-scheme/bigloo/metadata.xml
@@ -16,6 +16,7 @@
<flag name="bglpkg">Build bglpkg binary, which can be use to access scmpkg servers (requires web)</flag>
<flag name="calendar">Build the embedded library for calendar programming</flag>
<flag name="crypto">Build the embedded cryptographic library</flag>
+ <flag name="csv">bigloo-csv is a library for parsing csv and csv-like data</flag>
<flag name="doc">Install Bigloo Manual (HTML docs of Bigloo and r5rs)</flag>
<flag name="emacs">Build and install the Bigloo Developement Environment for Emacs (aka bee-mode)</flag>
<flag name="gstreamer">Adds support for <pkg>media-libs/gstreamer</pkg> (requires threads and multimedia)</flag>
@@ -33,4 +34,13 @@
<flag name="text">Library for dealing with text (e.g. BibTeX parser)</flag>
<flag name="web">Library for web programming (e.g. XML, CGI parsers). Needed for <pkg>dev-scheme/hop</pkg></flag>
</use>
+ <upstream>
+ <maintainer status="active">
+ <email>Manuel.Serrano@inria.fr</email>
+ <name>Manuel Serrano</name>
+ </maintainer>
+ <bugs-to>mailto:bigloo@lists-sop.inria.fr</bugs-to>
+ <changelog>http://www-sop.inria.fr/indes/fp/Bigloo/bigloo-4.html</changelog>
+ <doc>http://www-sop.inria.fr/indes/fp/Bigloo/bigloo-3.html</doc>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2012-05-08 12:00 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2012-05-08 12:00 UTC (permalink / raw
To: gentoo-commits
commit: 087d39baefb724cbc39e9d56a94dc19ef77122d4
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue May 8 10:55:57 2012 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Tue May 8 10:55:57 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=087d39ba
dev-scheme/bigloo: bump to 3.8a_p3 and 3.8b
(Portage version: 2.2.0_alpha101/git/Linux i686, signed Manifest commit with key 0xBE63A96F)
---
dev-scheme/bigloo/bigloo-3.8a_p3.ebuild | 243 +++++++++++++++++++++++++++++++
dev-scheme/bigloo/bigloo-3.8b.ebuild | 243 +++++++++++++++++++++++++++++++
2 files changed, 486 insertions(+), 0 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
new file mode 100644
index 0000000..45fed3e
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
+
+inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
+
+MY_P=${PN}${PV/_p/-}
+MY_P=${MY_P/_alpha*/-alpha}
+MY_P=${MY_P/_beta*/-beta}
+
+# Handling of alpha and beta releases
+if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
+ date=${PV/*_alpha/}
+ date=${date/*_beta/}
+ year=${date:2:2}
+ month=${date:4:2}
+ if [ ${month:0:1} = "0" ]; then
+ # Remove the initial "0" as 08 and 09 are considered as octal values
+ month=${month:1:1}
+ fi
+ month=${Months[$month]}
+ day=${date:6:2}
+ MY_P="${MY_P}${day}${month}${year}"
+fi
+
+BGL_RELEASE=${PV/_*/}
+
+DESCRIPTION="Bigloo is a Scheme implementation."
+HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
+#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+#KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+REQUIRED_USE="
+ alsa? ( multimedia )
+ bglpkg? ( web )
+ flac? ( alsa )
+ gstreamer? ( multimedia threads )
+ mp3? ( alsa )
+ openpgp? ( crypto )
+ packrat? ( srfi1 )
+ srfi27? ( x86? ( gmp ) )
+"
+
+# bug 254916 for >=dev-libs/boehm-gc-7.1
+DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
+ alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
+ emacs? ( virtual/emacs )
+ flac? ( media-libs/flac )
+ gmp? ( dev-libs/gmp )
+ gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ java? ( >=virtual/jdk-1.5 app-arch/zip )
+ mp3? ( media-sound/mpg123 )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+S=${WORKDIR}/${MY_P/-*/}
+
+SITEFILE="50bigloo-gentoo.el"
+
+pkg_pretend() {
+ if use srfi27 && use amd64; then
+ #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
+ ewarn "srfi27 is known to only work on 32-bit architectures." \
+ "This IUSE is ignored on amd64."
+ fi
+}
+
+src_prepare() {
+ # Removing bundled boehm-gc
+ rm -rf gc || die
+
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
+ java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+ filter-flags -fomit-frame-pointer
+
+ local myconf=""
+
+ # Filter Zile emacs replacement. Bug #336717
+ if use emacs; then
+ myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
+ else
+ myconf="--emacs=false"
+ fi
+
+ # Add JCFLAGS to the configure script
+ # (api/{crypto,openpgp} jvm tests show failures)
+ if use java; then
+ sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
+ -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
+ -i configure
+ myconf="${myconf}
+ --jvm=yes"
+ fi
+
+ # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
+ # One or the other could be added upon user request
+ if use bglpkg; then
+ myconf="${myconf}
+ --enable-bglpkg --enable-pkgcomp --enable-pkglib"
+ else
+ myconf="${myconf}
+ --disable-bglpkg --disable-pkgcomp --disable-pkglib"
+ fi
+
+ # srfi27 management
+ if use amd64; then
+ myconf="${myconf}
+ --disable-srfi27"
+ else
+ myconf="${myconf}
+ $(use_enable srfi27)"
+ fi
+
+ # Put every non quoted configure opt into myconf, for the einfo below
+ myconf="
+ --prefix=/usr
+ --libdir=/usr/$(get_libdir)
+ --benchmark=yes
+ --coflags=
+ --customgc=no
+ --sharedbde=no
+ --sharedcompiler=no
+ --strip=no
+ $(use debug && echo --debug)
+ ${myconf}
+ $(use_enable alsa)
+ $(use_enable avahi)
+ $(use_enable calendar)
+ $(use_enable crypto)
+ $(use_enable csv)
+ $(use_enable flac)
+ $(use_enable gmp)
+ $(use_enable gstreamer)
+ $(use_enable mail)
+ $(use_enable mp3 mpg123)
+ $(use_enable multimedia)
+ $(use_enable openpgp)
+ $(use_enable packrat)
+ --disable-phone
+ $(use_enable sqlite)
+ $(use_enable srfi1)
+ $(use_enable ssl)
+ $(use_enable text)
+ $(use_enable threads)
+ $(use_enable web)
+"
+
+ einfo "Configuring bigloo with:" \
+ "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
+
+ # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
+ # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
+ ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
+
+ if use emacs; then
+ einfo "Compiling bee..."
+ emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
+ fi
+}
+
+# default thinks that target doesn't exist
+src_test() {
+ emake -j1 test || die "emake test failed"
+}
+
+src_install() {
+ # Makefile:671:install: install-progs install-docs
+ emake DESTDIR="${D}" install-progs || die "install failed"
+
+ if use emacs; then
+ einfo "Installing bee..."
+ emake DESTDIR="${D}" install-bee || die "install-bee failed"
+ einfo "Installing API-specific emacs files"
+ cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ else
+ # Fix EMACS*=false in Makefile.config
+ sed -i \
+ -e 's:^\(EMACS=\).*$:\1:' \
+ -e 's:^\(EMACSBRAND=\).*$:\1:' \
+ "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
+ || die "sed !emacs in Makefile.config failed"
+ fi
+
+ dodoc ChangeLog README || die "dodoc failed"
+ newdoc LICENSE COPYING || die "newdoc failed"
+
+ pushd "${S}/manuals" &>/dev/null
+ if use doc; then
+ dohtml -r . || die "dohtml failed"
+ doinfo *.info* || die "doinfo failed"
+ fi
+
+ for man in *.man; do
+ newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
+ done
+ popd &>/dev/null
+
+ # Remove created directories which remains empty
+ pushd "${D}/usr" &>/dev/null
+ rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
+ popd &>/dev/null
+}
+
+pkg_preinst() {
+ java-pkg-opt-2_pkg_preinst
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "In order to use the bee-mode, add"
+ elog " (require 'bmacs)"
+ elog "to your ~/.emacs file"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-scheme/bigloo/bigloo-3.8b.ebuild b/dev-scheme/bigloo/bigloo-3.8b.ebuild
new file mode 100644
index 0000000..1dc76de
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.8b.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
+
+inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
+
+MY_P=${PN}${PV/_p/-}
+MY_P=${MY_P/_alpha*/-alpha}
+MY_P=${MY_P/_beta*/-beta}
+
+# Handling of alpha and beta releases
+if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
+ date=${PV/*_alpha/}
+ date=${date/*_beta/}
+ year=${date:2:2}
+ month=${date:4:2}
+ if [ ${month:0:1} = "0" ]; then
+ # Remove the initial "0" as 08 and 09 are considered as octal values
+ month=${month:1:1}
+ fi
+ month=${Months[$month]}
+ day=${date:6:2}
+ MY_P="${MY_P}${day}${month}${year}"
+fi
+
+BGL_RELEASE=${PV/_*/}
+
+DESCRIPTION="Bigloo is a Scheme implementation."
+HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
+#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+#KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+REQUIRED_USE="
+ alsa? ( multimedia )
+ bglpkg? ( web )
+ flac? ( alsa )
+ gstreamer? ( multimedia threads )
+ mp3? ( alsa )
+ openpgp? ( crypto )
+ packrat? ( srfi1 )
+ srfi27? ( x86? ( gmp ) )
+"
+
+# bug 254916 for >=dev-libs/boehm-gc-7.1
+DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
+ alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
+ emacs? ( virtual/emacs )
+ flac? ( media-libs/flac )
+ gmp? ( dev-libs/gmp )
+ gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ java? ( >=virtual/jdk-1.5 app-arch/zip )
+ mp3? ( media-sound/mpg123 )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+S=${WORKDIR}/${MY_P/-[ab]*/}
+
+SITEFILE="50bigloo-gentoo.el"
+
+pkg_pretend() {
+ if use srfi27 && use amd64; then
+ #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
+ ewarn "srfi27 is known to only work on 32-bit architectures." \
+ "This IUSE is ignored on amd64."
+ fi
+}
+
+src_prepare() {
+ # Removing bundled boehm-gc
+ rm -rf gc || die
+
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
+ java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+ filter-flags -fomit-frame-pointer
+
+ local myconf=""
+
+ # Filter Zile emacs replacement. Bug #336717
+ if use emacs; then
+ myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
+ else
+ myconf="--emacs=false"
+ fi
+
+ # Add JCFLAGS to the configure script
+ # (api/{crypto,openpgp} jvm tests show failures)
+ if use java; then
+ sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
+ -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
+ -i configure
+ myconf="${myconf}
+ --jvm=yes"
+ fi
+
+ # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
+ # One or the other could be added upon user request
+ if use bglpkg; then
+ myconf="${myconf}
+ --enable-bglpkg --enable-pkgcomp --enable-pkglib"
+ else
+ myconf="${myconf}
+ --disable-bglpkg --disable-pkgcomp --disable-pkglib"
+ fi
+
+ # srfi27 management
+ if use amd64; then
+ myconf="${myconf}
+ --disable-srfi27"
+ else
+ myconf="${myconf}
+ $(use_enable srfi27)"
+ fi
+
+ # Put every non quoted configure opt into myconf, for the einfo below
+ myconf="
+ --prefix=/usr
+ --libdir=/usr/$(get_libdir)
+ --benchmark=yes
+ --coflags=
+ --customgc=no
+ --sharedbde=no
+ --sharedcompiler=no
+ --strip=no
+ $(use debug && echo --debug)
+ ${myconf}
+ $(use_enable alsa)
+ $(use_enable avahi)
+ $(use_enable calendar)
+ $(use_enable crypto)
+ $(use_enable csv)
+ $(use_enable flac)
+ $(use_enable gmp)
+ $(use_enable gstreamer)
+ $(use_enable mail)
+ $(use_enable mp3 mpg123)
+ $(use_enable multimedia)
+ $(use_enable openpgp)
+ $(use_enable packrat)
+ --disable-phone
+ $(use_enable sqlite)
+ $(use_enable srfi1)
+ $(use_enable ssl)
+ $(use_enable text)
+ $(use_enable threads)
+ $(use_enable web)
+"
+
+ einfo "Configuring bigloo with:" \
+ "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
+
+ # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
+ # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
+ ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
+
+ if use emacs; then
+ einfo "Compiling bee..."
+ emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
+ fi
+}
+
+# default thinks that target doesn't exist
+src_test() {
+ emake -j1 test || die "emake test failed"
+}
+
+src_install() {
+ # Makefile:671:install: install-progs install-docs
+ emake DESTDIR="${D}" install-progs || die "install failed"
+
+ if use emacs; then
+ einfo "Installing bee..."
+ emake DESTDIR="${D}" install-bee || die "install-bee failed"
+ einfo "Installing API-specific emacs files"
+ cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ else
+ # Fix EMACS*=false in Makefile.config
+ sed -i \
+ -e 's:^\(EMACS=\).*$:\1:' \
+ -e 's:^\(EMACSBRAND=\).*$:\1:' \
+ "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
+ || die "sed !emacs in Makefile.config failed"
+ fi
+
+ dodoc ChangeLog README || die "dodoc failed"
+ newdoc LICENSE COPYING || die "newdoc failed"
+
+ pushd "${S}/manuals" &>/dev/null
+ if use doc; then
+ dohtml -r . || die "dohtml failed"
+ doinfo *.info* || die "doinfo failed"
+ fi
+
+ for man in *.man; do
+ newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
+ done
+ popd &>/dev/null
+
+ # Remove created directories which remains empty
+ pushd "${D}/usr" &>/dev/null
+ rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
+ popd &>/dev/null
+}
+
+pkg_preinst() {
+ java-pkg-opt-2_pkg_preinst
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "In order to use the bee-mode, add"
+ elog " (require 'bmacs)"
+ elog "to your ~/.emacs file"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2012-06-01 9:35 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2012-06-01 9:35 UTC (permalink / raw
To: gentoo-commits
commit: f38c669812fc77973d0ab7668a43e8323dbe71ae
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Jun 1 09:35:14 2012 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Jun 1 09:35:14 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=f38c6698
dev-scheme/bigloo: bump to 3.8c
(Portage version: 2.2.0_alpha108/git/Linux x86_64, unsigned Manifest commit)
---
dev-scheme/bigloo/bigloo-3.8c.ebuild | 242 ++++++++++++++++++++++++++++++++++
dev-scheme/bigloo/metadata.xml | 10 +-
2 files changed, 249 insertions(+), 3 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.8c.ebuild b/dev-scheme/bigloo/bigloo-3.8c.ebuild
new file mode 100644
index 0000000..b03f674
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.8c.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
+
+inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
+
+MY_P=${PN}${PV/_p/-}
+MY_P=${MY_P/_alpha*/-alpha}
+MY_P=${MY_P/_beta*/-beta}
+
+# Handling of alpha and beta releases
+if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
+ date=${PV/*_alpha/}
+ date=${date/*_beta/}
+ year=${date:2:2}
+ month=${date:4:2}
+ if [ ${month:0:1} = "0" ]; then
+ # Remove the initial "0" as 08 and 09 are considered as octal values
+ month=${month:1:1}
+ fi
+ month=${Months[$month]}
+ day=${date:6:2}
+ MY_P="${MY_P}${day}${month}${year}"
+fi
+
+BGL_RELEASE=${PV/_*/}
+
+DESCRIPTION="Bigloo is a Scheme implementation."
+HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz
+ ftp://ftp.cnic.fr/gentoo-lisp-overlay/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+REQUIRED_USE="
+ alsa? ( multimedia )
+ bglpkg? ( web )
+ flac? ( alsa )
+ gstreamer? ( multimedia threads )
+ mp3? ( alsa )
+ openpgp? ( crypto )
+ packrat? ( srfi1 )
+ srfi27? ( x86? ( gmp ) )
+"
+
+# bug 254916 for >=dev-libs/boehm-gc-7.1
+DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
+ alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
+ emacs? ( virtual/emacs )
+ flac? ( media-libs/flac )
+ gmp? ( dev-libs/gmp )
+ gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ java? ( >=virtual/jdk-1.5 app-arch/zip )
+ mp3? ( media-sound/mpg123 )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+S=${WORKDIR}/${MY_P/-[ab]*/}
+
+SITEFILE="50bigloo-gentoo.el"
+
+pkg_pretend() {
+ if use srfi27 && use amd64; then
+ #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
+ ewarn "srfi27 is known to only work on 32-bit architectures." \
+ "This IUSE is ignored on amd64."
+ fi
+}
+
+src_prepare() {
+ # Removing bundled boehm-gc
+ rm -rf gc || die
+
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
+ java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+ filter-flags -fomit-frame-pointer
+
+ local myconf=""
+
+ # Filter Zile emacs replacement. Bug #336717
+ if use emacs; then
+ myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
+ else
+ myconf="--emacs=false"
+ fi
+
+ # Add JCFLAGS to the configure script
+ # (api/{crypto,openpgp} jvm tests show failures)
+ if use java; then
+ sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
+ -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
+ -i configure
+ myconf="${myconf}
+ --jvm=yes"
+ fi
+
+ # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
+ # One or the other could be added upon user request
+ if use bglpkg; then
+ myconf="${myconf}
+ --enable-bglpkg --enable-pkgcomp --enable-pkglib"
+ else
+ myconf="${myconf}
+ --disable-bglpkg --disable-pkgcomp --disable-pkglib"
+ fi
+
+ # srfi27 management
+ if use amd64; then
+ myconf="${myconf}
+ --disable-srfi27"
+ else
+ myconf="${myconf}
+ $(use_enable srfi27)"
+ fi
+
+ # Put every non quoted configure opt into myconf, for the einfo below
+ myconf="
+ --prefix=/usr
+ --libdir=/usr/$(get_libdir)
+ --benchmark=yes
+ --coflags=
+ --customgc=no
+ --sharedbde=no
+ --sharedcompiler=no
+ --strip=no
+ $(use debug && echo --debug)
+ ${myconf}
+ $(use_enable alsa)
+ $(use_enable avahi)
+ $(use_enable calendar)
+ $(use_enable crypto)
+ $(use_enable csv)
+ $(use_enable flac)
+ $(use_enable gmp)
+ $(use_enable gstreamer)
+ $(use_enable mail)
+ $(use_enable mp3 mpg123)
+ $(use_enable multimedia)
+ $(use_enable openpgp)
+ $(use_enable packrat)
+ --disable-phone
+ $(use_enable sqlite)
+ $(use_enable srfi1)
+ $(use_enable ssl)
+ $(use_enable text)
+ $(use_enable threads)
+ $(use_enable web)
+"
+
+ einfo "Configuring bigloo with:" \
+ "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
+
+ # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
+ # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
+ ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
+
+ if use emacs; then
+ einfo "Compiling bee..."
+ emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
+ fi
+}
+
+# default thinks that target doesn't exist
+src_test() {
+ emake -j1 test || die "emake test failed"
+}
+
+src_install() {
+ # Makefile:671:install: install-progs install-docs
+ emake DESTDIR="${D}" install-progs || die "install failed"
+
+ if use emacs; then
+ einfo "Installing bee..."
+ emake DESTDIR="${D}" install-bee || die "install-bee failed"
+ einfo "Installing API-specific emacs files"
+ cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ else
+ # Fix EMACS*=false in Makefile.config
+ sed -i \
+ -e 's:^\(EMACS=\).*$:\1:' \
+ -e 's:^\(EMACSBRAND=\).*$:\1:' \
+ "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
+ || die "sed !emacs in Makefile.config failed"
+ fi
+
+ dodoc ChangeLog README || die "dodoc failed"
+ newdoc LICENSE COPYING || die "newdoc failed"
+
+ pushd "${S}/manuals" &>/dev/null
+ if use doc; then
+ dohtml -r . || die "dohtml failed"
+ doinfo *.info* || die "doinfo failed"
+ fi
+
+ for man in *.man; do
+ newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
+ done
+ popd &>/dev/null
+
+ # Remove created directories which remains empty
+ pushd "${D}/usr" &>/dev/null
+ rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
+ popd &>/dev/null
+}
+
+pkg_preinst() {
+ java-pkg-opt-2_pkg_preinst
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "In order to use the bee-mode, add"
+ elog " (require 'bmacs)"
+ elog "to your ~/.emacs file"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-scheme/bigloo/metadata.xml b/dev-scheme/bigloo/metadata.xml
index ce863ba..a878b5d 100644
--- a/dev-scheme/bigloo/metadata.xml
+++ b/dev-scheme/bigloo/metadata.xml
@@ -2,6 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>scheme</herd>
+ <maintainer>
+ <email>c.nicolas+bugs@gmail.com</email>
+ <description>Upstream and Gentoo Lisp Project contributor</description>
+ </maintainer>
<longdescription>
Bigloo is a Scheme implementation devoted to one goal: enabling Scheme
based programming style where C(++) is usually required. Bigloo attempts
@@ -13,7 +17,7 @@
Scheme and C# programs.
</longdescription>
<use>
- <flag name="bglpkg">Build bglpkg binary, which can be use to access scmpkg servers (requires web)</flag>
+ <flag name="bglpkg">Build the bglpkg tool to access scmpkg servers (requires web)</flag>
<flag name="calendar">Build the embedded library for calendar programming</flag>
<flag name="crypto">Build the embedded cryptographic library</flag>
<flag name="csv">bigloo-csv is a library for parsing csv and csv-like data</flag>
@@ -30,7 +34,7 @@
<flag name="srfi1">Build the srfi1 library: List library</flag>
<flag name="srfi27">Build the srfi27 library: Source of Random Bits (32bit-arch only, requires gmp)</flag>
<flag name="ssl">Adds support for SSL connections through <pkg>dev-libs/openssl</pkg></flag>
- <flag name="threads">Enable thread support, it depends on <pkg>dev-libs/boehm-gc</pkg> built with threads use flag</flag>
+ <flag name="threads">Enable thread support; requires <pkg>dev-libs/boehm-gc</pkg> with threads support</flag>
<flag name="text">Library for dealing with text (e.g. BibTeX parser)</flag>
<flag name="web">Library for web programming (e.g. XML, CGI parsers). Needed for <pkg>dev-scheme/hop</pkg></flag>
</use>
@@ -39,7 +43,7 @@
<email>Manuel.Serrano@inria.fr</email>
<name>Manuel Serrano</name>
</maintainer>
- <bugs-to>mailto:bigloo@lists-sop.inria.fr</bugs-to>
+ <bugs-to>mailto:bigloo@inria.fr</bugs-to>
<changelog>http://www-sop.inria.fr/indes/fp/Bigloo/bigloo-4.html</changelog>
<doc>http://www-sop.inria.fr/indes/fp/Bigloo/bigloo-3.html</doc>
</upstream>
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2012-09-14 16:42 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2012-09-14 16:42 UTC (permalink / raw
To: gentoo-commits
commit: 1b5eb3ad8346306b8ea5c859eaaf565d52ee1697
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Sep 14 16:42:19 2012 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Sep 14 16:42:19 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=1b5eb3ad
dev-scheme/bigloo: Move gstreamer dependencies to SLOT 0.10, w.r.t http://article.gmane.org/gmane.linux.gentoo.devel/79863
---
dev-scheme/bigloo/bigloo-3.6a-r1.ebuild | 4 ++--
dev-scheme/bigloo/bigloo-3.8a.ebuild | 2 +-
dev-scheme/bigloo/bigloo-3.8a_p3.ebuild | 2 +-
dev-scheme/bigloo/bigloo-3.8b.ebuild | 2 +-
dev-scheme/bigloo/bigloo-3.8c.ebuild | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild b/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild
index 8187b30..1569e7f 100644
--- a/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -32,7 +32,7 @@ REQUIRED_USE="
DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
emacs? ( virtual/emacs )
gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
java? ( >=virtual/jdk-1.5 app-arch/zip )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
diff --git a/dev-scheme/bigloo/bigloo-3.8a.ebuild b/dev-scheme/bigloo/bigloo-3.8a.ebuild
index 1dc76de..6aa2890 100644
--- a/dev-scheme/bigloo/bigloo-3.8a.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.8a.ebuild
@@ -57,7 +57,7 @@ DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
emacs? ( virtual/emacs )
flac? ( media-libs/flac )
gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
java? ( >=virtual/jdk-1.5 app-arch/zip )
mp3? ( media-sound/mpg123 )
sqlite? ( dev-db/sqlite:3 )
diff --git a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
index 45fed3e..4db2d42 100644
--- a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
@@ -57,7 +57,7 @@ DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
emacs? ( virtual/emacs )
flac? ( media-libs/flac )
gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
java? ( >=virtual/jdk-1.5 app-arch/zip )
mp3? ( media-sound/mpg123 )
sqlite? ( dev-db/sqlite:3 )
diff --git a/dev-scheme/bigloo/bigloo-3.8b.ebuild b/dev-scheme/bigloo/bigloo-3.8b.ebuild
index 1dc76de..6aa2890 100644
--- a/dev-scheme/bigloo/bigloo-3.8b.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.8b.ebuild
@@ -57,7 +57,7 @@ DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
emacs? ( virtual/emacs )
flac? ( media-libs/flac )
gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
java? ( >=virtual/jdk-1.5 app-arch/zip )
mp3? ( media-sound/mpg123 )
sqlite? ( dev-db/sqlite:3 )
diff --git a/dev-scheme/bigloo/bigloo-3.8c.ebuild b/dev-scheme/bigloo/bigloo-3.8c.ebuild
index b03f674..f16dd07 100644
--- a/dev-scheme/bigloo/bigloo-3.8c.ebuild
+++ b/dev-scheme/bigloo/bigloo-3.8c.ebuild
@@ -56,7 +56,7 @@ DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
emacs? ( virtual/emacs )
flac? ( media-libs/flac )
gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
java? ( >=virtual/jdk-1.5 app-arch/zip )
mp3? ( media-sound/mpg123 )
sqlite? ( dev-db/sqlite:3 )
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2012-10-31 16:55 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2012-10-31 16:55 UTC (permalink / raw
To: gentoo-commits
commit: a3b591e7eb2bbdedd4e380e33fe88b56cedb30c5
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Oct 31 16:55:26 2012 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Wed Oct 31 16:55:26 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=a3b591e7
dev-scheme/bigloo: Bump to 3.9a
Package-Manager: portage-2.2.0_alpha142
Manifest-Sign-Key: 0x3D79478FBE63A96F
---
dev-scheme/bigloo/bigloo-3.9a.ebuild | 242 ++++++++++++++++++++++++++++++++++
1 files changed, 242 insertions(+), 0 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.9a.ebuild b/dev-scheme/bigloo/bigloo-3.9a.ebuild
new file mode 100644
index 0000000..f16dd07
--- /dev/null
+++ b/dev-scheme/bigloo/bigloo-3.9a.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
+
+inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
+
+MY_P=${PN}${PV/_p/-}
+MY_P=${MY_P/_alpha*/-alpha}
+MY_P=${MY_P/_beta*/-beta}
+
+# Handling of alpha and beta releases
+if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
+ date=${PV/*_alpha/}
+ date=${date/*_beta/}
+ year=${date:2:2}
+ month=${date:4:2}
+ if [ ${month:0:1} = "0" ]; then
+ # Remove the initial "0" as 08 and 09 are considered as octal values
+ month=${month:1:1}
+ fi
+ month=${Months[$month]}
+ day=${date:6:2}
+ MY_P="${MY_P}${day}${month}${year}"
+fi
+
+BGL_RELEASE=${PV/_*/}
+
+DESCRIPTION="Bigloo is a Scheme implementation."
+HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
+SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz
+ ftp://ftp.cnic.fr/gentoo-lisp-overlay/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
+REQUIRED_USE="
+ alsa? ( multimedia )
+ bglpkg? ( web )
+ flac? ( alsa )
+ gstreamer? ( multimedia threads )
+ mp3? ( alsa )
+ openpgp? ( crypto )
+ packrat? ( srfi1 )
+ srfi27? ( x86? ( gmp ) )
+"
+
+# bug 254916 for >=dev-libs/boehm-gc-7.1
+DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
+ alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
+ emacs? ( virtual/emacs )
+ flac? ( media-libs/flac )
+ gmp? ( dev-libs/gmp )
+ gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
+ java? ( >=virtual/jdk-1.5 app-arch/zip )
+ mp3? ( media-sound/mpg123 )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="mirror"
+
+S=${WORKDIR}/${MY_P/-[ab]*/}
+
+SITEFILE="50bigloo-gentoo.el"
+
+pkg_pretend() {
+ if use srfi27 && use amd64; then
+ #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
+ ewarn "srfi27 is known to only work on 32-bit architectures." \
+ "This IUSE is ignored on amd64."
+ fi
+}
+
+src_prepare() {
+ # Removing bundled boehm-gc
+ rm -rf gc || die
+
+ # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
+ sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
+
+ java-pkg-opt-2_src_prepare
+}
+
+src_configure() {
+ filter-flags -fomit-frame-pointer
+
+ local myconf=""
+
+ # Filter Zile emacs replacement. Bug #336717
+ if use emacs; then
+ myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
+ else
+ myconf="--emacs=false"
+ fi
+
+ # Add JCFLAGS to the configure script
+ # (api/{crypto,openpgp} jvm tests show failures)
+ if use java; then
+ sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
+ -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
+ -i configure
+ myconf="${myconf}
+ --jvm=yes"
+ fi
+
+ # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
+ # One or the other could be added upon user request
+ if use bglpkg; then
+ myconf="${myconf}
+ --enable-bglpkg --enable-pkgcomp --enable-pkglib"
+ else
+ myconf="${myconf}
+ --disable-bglpkg --disable-pkgcomp --disable-pkglib"
+ fi
+
+ # srfi27 management
+ if use amd64; then
+ myconf="${myconf}
+ --disable-srfi27"
+ else
+ myconf="${myconf}
+ $(use_enable srfi27)"
+ fi
+
+ # Put every non quoted configure opt into myconf, for the einfo below
+ myconf="
+ --prefix=/usr
+ --libdir=/usr/$(get_libdir)
+ --benchmark=yes
+ --coflags=
+ --customgc=no
+ --sharedbde=no
+ --sharedcompiler=no
+ --strip=no
+ $(use debug && echo --debug)
+ ${myconf}
+ $(use_enable alsa)
+ $(use_enable avahi)
+ $(use_enable calendar)
+ $(use_enable crypto)
+ $(use_enable csv)
+ $(use_enable flac)
+ $(use_enable gmp)
+ $(use_enable gstreamer)
+ $(use_enable mail)
+ $(use_enable mp3 mpg123)
+ $(use_enable multimedia)
+ $(use_enable openpgp)
+ $(use_enable packrat)
+ --disable-phone
+ $(use_enable sqlite)
+ $(use_enable srfi1)
+ $(use_enable ssl)
+ $(use_enable text)
+ $(use_enable threads)
+ $(use_enable web)
+"
+
+ einfo "Configuring bigloo with:" \
+ "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
+
+ # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
+ # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
+ ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
+
+ if use emacs; then
+ einfo "Compiling bee..."
+ emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
+ fi
+}
+
+# default thinks that target doesn't exist
+src_test() {
+ emake -j1 test || die "emake test failed"
+}
+
+src_install() {
+ # Makefile:671:install: install-progs install-docs
+ emake DESTDIR="${D}" install-progs || die "install failed"
+
+ if use emacs; then
+ einfo "Installing bee..."
+ emake DESTDIR="${D}" install-bee || die "install-bee failed"
+ einfo "Installing API-specific emacs files"
+ cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ else
+ # Fix EMACS*=false in Makefile.config
+ sed -i \
+ -e 's:^\(EMACS=\).*$:\1:' \
+ -e 's:^\(EMACSBRAND=\).*$:\1:' \
+ "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
+ || die "sed !emacs in Makefile.config failed"
+ fi
+
+ dodoc ChangeLog README || die "dodoc failed"
+ newdoc LICENSE COPYING || die "newdoc failed"
+
+ pushd "${S}/manuals" &>/dev/null
+ if use doc; then
+ dohtml -r . || die "dohtml failed"
+ doinfo *.info* || die "doinfo failed"
+ fi
+
+ for man in *.man; do
+ newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
+ done
+ popd &>/dev/null
+
+ # Remove created directories which remains empty
+ pushd "${D}/usr" &>/dev/null
+ rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
+ popd &>/dev/null
+}
+
+pkg_preinst() {
+ java-pkg-opt-2_pkg_preinst
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ elog "In order to use the bee-mode, add"
+ elog " (require 'bmacs)"
+ elog "to your ~/.emacs file"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2013-01-26 14:42 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2013-01-26 14:42 UTC (permalink / raw
To: gentoo-commits
commit: ce96f62ddc4684bd32fdc51853afd1d4e0e172f5
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Sat Jan 26 14:42:26 2013 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Sat Jan 26 14:42:26 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=ce96f62d
dev-scheme/bigloo: version bump to 4.0a
Package-Manager: portage-2.2.0_alpha161
Manifest-Sign-Key: 0x3D79478FBE63A96F
---
dev-scheme/bigloo/bigloo-3.8a.ebuild | 243 --------------------
dev-scheme/bigloo/bigloo-3.8a_p3.ebuild | 243 --------------------
dev-scheme/bigloo/bigloo-3.8b.ebuild | 243 --------------------
.../{bigloo-3.8c.ebuild => bigloo-4.0a.ebuild} | 2 +-
4 files changed, 1 insertions(+), 730 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.8a.ebuild b/dev-scheme/bigloo/bigloo-3.8a.ebuild
deleted file mode 100644
index 6aa2890..0000000
--- a/dev-scheme/bigloo/bigloo-3.8a.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
deleted file mode 100644
index 4db2d42..0000000
--- a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8b.ebuild b/dev-scheme/bigloo/bigloo-3.8b.ebuild
deleted file mode 100644
index 6aa2890..0000000
--- a/dev-scheme/bigloo/bigloo-3.8b.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8c.ebuild b/dev-scheme/bigloo/bigloo-4.0a.ebuild
similarity index 99%
rename from dev-scheme/bigloo/bigloo-3.8c.ebuild
rename to dev-scheme/bigloo/bigloo-4.0a.ebuild
index f16dd07..fbd7e5e 100644
--- a/dev-scheme/bigloo/bigloo-3.8c.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.0a.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2013-01-27 20:51 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2013-01-27 20:51 UTC (permalink / raw
To: gentoo-commits
commit: 0e21661aed5895f61a5f72a979e6fdd3606a6705
Author: Cyprien Nicolas (fulax) <gentoo <AT> fulax <DOT> fr>
AuthorDate: Sun Jan 27 20:51:34 2013 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Sun Jan 27 20:51:34 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=0e21661a
dev-scheme/bigloo-4.0a: bump to EAPI=5 to use subslots
Package-Manager: portage-2.2.0_alpha161
Manifest-Sign-Key: 0x3D79478FBE63A96F
---
dev-scheme/bigloo/bigloo-4.0a.ebuild | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-4.0a.ebuild b/dev-scheme/bigloo/bigloo-4.0a.ebuild
index fbd7e5e..ae00010 100644
--- a/dev-scheme/bigloo/bigloo-4.0a.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.0a.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="4"
+EAPI="5"
Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
@@ -35,7 +35,7 @@ SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz
ftp://ftp.cnic.fr/gentoo-lisp-overlay/${MY_P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
-SLOT="0"
+SLOT="0/${BGL_RELEASE}"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2013-02-03 13:59 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2013-02-03 13:59 UTC (permalink / raw
To: gentoo-commits
commit: bf0db0ac6d36598858d1ceb157fd54b54931ed83
Author: Cyprien Nicolas (fulax) <gentoo <AT> fulax <DOT> fr>
AuthorDate: Sun Feb 3 13:56:32 2013 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Sun Feb 3 13:56:32 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=bf0db0ac
dev-scheme/bigloo: Update manifest and add amd64-linux keyword (works fine here, but no jvm support yet)
---
dev-scheme/bigloo/bigloo-3.6a-r1.ebuild | 210 -------------------------------
dev-scheme/bigloo/bigloo-4.0a.ebuild | 43 ++++---
2 files changed, 24 insertions(+), 229 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild b/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild
deleted file mode 100644
index 1569e7f..0000000
--- a/dev-scheme/bigloo/bigloo-3.6a-r1.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="bglpkg calendar crypto debug doc emacs gmp gstreamer java mail multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- bglpkg? ( web )
- gstreamer? ( multimedia threads )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- emacs? ( virtual/emacs )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # Fix some printf format warnings
- epatch "${FILESDIR}/${PN}-${BGL_RELEASE}-fix_printf_format_warnings.patch"
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-4.0a.ebuild b/dev-scheme/bigloo/bigloo-4.0a.ebuild
index ae00010..2209f16 100644
--- a/dev-scheme/bigloo/bigloo-4.0a.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.0a.ebuild
@@ -36,7 +36,7 @@ SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz
LICENSE="GPL-2 LGPL-2"
SLOT="0/${BGL_RELEASE}"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
REQUIRED_USE="
alsa? ( multimedia )
@@ -76,6 +76,11 @@ pkg_pretend() {
ewarn "srfi27 is known to only work on 32-bit architectures." \
"This IUSE is ignored on amd64."
fi
+
+ if use java && use prefix; then
+ die "Bigloo's JVM backend won't build on prefix." \
+ "Please remove 'java' from bigloo USE flags."
+ fi
}
src_prepare() {
@@ -95,7 +100,7 @@ src_configure() {
# Filter Zile emacs replacement. Bug #336717
if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
+ myconf="--bee=full --emacs=${EMACS} --lispdir=${EPREFIX}${SITELISP}/${PN}"
else
myconf="--emacs=false"
fi
@@ -131,8 +136,8 @@ src_configure() {
# Put every non quoted configure opt into myconf, for the einfo below
myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
+ --prefix=\"${EPREFIX}\"/usr
+ --libdir=\"${EPREFIX}\"/usr/$(get_libdir)
--benchmark=yes
--coflags=
--customgc=no
@@ -172,54 +177,54 @@ src_configure() {
}
src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
+ emake EFLAGS='-ldopt "$(LDFLAGS)"'
if use emacs; then
einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
+ emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"'
fi
}
# default thinks that target doesn't exist
src_test() {
- emake -j1 test || die "emake test failed"
+ emake -j1 test
}
src_install() {
# Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
+ emake DESTDIR="${D}" install-progs
if use emacs; then
einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
+ emake DESTDIR="${D}" install-bee
+ #einfo "Installing API-specific emacs files"
+ #cp -v "${S}"/api/*/emacs/*.el "${ED}/${SITELISP}/${PN}"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
else
# Fix EMACS*=false in Makefile.config
sed -i \
-e 's:^\(EMACS=\).*$:\1:' \
-e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
+ "${ED}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
+ || die "sed emacs in Makefile.config failed"
fi
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
+ dodoc ChangeLog README
+ newdoc LICENSE COPYING
pushd "${S}/manuals" &>/dev/null
if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
+ dohtml -r .
+ doinfo *.info*
fi
for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
+ newman ${man} ${man/.man/.1}
done
popd &>/dev/null
# Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
+ pushd "${ED}/usr" &>/dev/null
rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
popd &>/dev/null
}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
@ 2021-06-04 17:42 Cyprien Nicolas
0 siblings, 0 replies; 10+ messages in thread
From: Cyprien Nicolas @ 2021-06-04 17:42 UTC (permalink / raw
To: gentoo-commits
commit: 94262cee9fc308da861dcf53d4fbe73f91ce12ad
Author: Cyprien Nicolas (fulax) <cyprien <AT> nicolas <DOT> tf>
AuthorDate: Fri Jun 4 17:33:12 2021 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Jun 4 17:42:21 2021 +0000
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=94262cee
dev-scheme/bigloo: Remove 3.9a (EAPI 4). Update metadata.
Signed-off-by: Cyprien Nicolas <cyprien <AT> nicolas.tf>
dev-scheme/bigloo/bigloo-3.9a.ebuild | 242 -----------------------------------
dev-scheme/bigloo/bigloo-4.0a.ebuild | 3 +-
dev-scheme/bigloo/metadata.xml | 7 +-
3 files changed, 4 insertions(+), 248 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.9a.ebuild b/dev-scheme/bigloo/bigloo-3.9a.ebuild
deleted file mode 100644
index f16dd073..00000000
--- a/dev-scheme/bigloo/bigloo-3.9a.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz
- ftp://ftp.cnic.fr/gentoo-lisp-overlay/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-4.0a.ebuild b/dev-scheme/bigloo/bigloo-4.0a.ebuild
index 2209f168..a809c94e 100644
--- a/dev-scheme/bigloo/bigloo-4.0a.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.0a.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI="5"
diff --git a/dev-scheme/bigloo/metadata.xml b/dev-scheme/bigloo/metadata.xml
index a878b5d1..30a3133e 100644
--- a/dev-scheme/bigloo/metadata.xml
+++ b/dev-scheme/bigloo/metadata.xml
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>scheme</herd>
- <maintainer>
- <email>c.nicolas+bugs@gmail.com</email>
- <description>Upstream and Gentoo Lisp Project contributor</description>
+ <maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
</maintainer>
<longdescription>
Bigloo is a Scheme implementation devoted to one goal: enabling Scheme
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-06-04 17:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 16:42 [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/ Cyprien Nicolas
-- strict thread matches above, loose matches on Subject: below --
2021-06-04 17:42 Cyprien Nicolas
2013-02-03 13:59 Cyprien Nicolas
2013-01-27 20:51 Cyprien Nicolas
2013-01-26 14:42 Cyprien Nicolas
2012-10-31 16:55 Cyprien Nicolas
2012-06-01 9:35 Cyprien Nicolas
2012-05-08 12:00 Cyprien Nicolas
2012-03-23 9:57 Cyprien Nicolas
2011-02-18 12:01 Cyprien Nicolas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox