Date: Tuesday, November 1, 2022 @ 22:42:52
Author: felixonmars
Revision: 460012
archrelease: copy trunk to staging-x86_64
Added:
bigloo/repos/staging-x86_64/
bigloo/repos/staging-x86_64/PKGBUILD
(from rev 460011, bigloo/trunk/PKGBUILD)
bigloo/repos/staging-x86_64/emacs-28.patch
(from rev 460011, bigloo/trunk/emacs-28.patch)
----------------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
emacs-28.patch | 44 +++++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
Copied: bigloo/repos/staging-x86_64/PKGBUILD (from rev 460011,
bigloo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-11-01 22:42:52 UTC (rev 460012)
@@ -0,0 +1,72 @@
+# Maintainer: Jürgen Hötzel <[email protected]>
+# Contributor: John Proctor <[email protected]>
+# Contributor: Kevin Piche <[email protected]>
+
+pkgname=bigloo
+pkgver=4.4c_4
+_src_ver=${pkgver/_/-}
+pkgrel=3
+pkgdesc="Fast scheme compiler"
+arch=('x86_64')
+url="https://www-sop.inria.fr/mimosa/fp/Bigloo/"
+license=('GPL' 'LGPL')
+depends=('gmp' 'openssl' 'libunistring' 'libnsl' 'gc' 'libuv')
+makedepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi' 'libpulse')
+optdepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi')
+options=('!makeflags' '!lto')
+source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}-${_src_ver}.tar.gz"
+ emacs-28.patch)
+sha256sums=('4ed71a86c6d762c35352e9f04871a11fe90fa5dbc974e728a86d9e8229d7c70f'
+ '27fa4d753fba40686d3f64b387bcd4a131342c38494ce01c407c47356c3755a8')
+
+elisp_dir=/usr/share/emacs/site-lisp/bigloo
+
+prepare() {
+ sed -i 's/$(GCLIB)/c/' "${srcdir}/${pkgname}-${_src_ver}/configure"
+ patch -d ${pkgname}-${_src_ver} -p1 < emacs-28.patch # Support emacs 28
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${_src_ver}"
+ ./configure --prefix=/usr \
+ --docdir=/usr/share/doc/bigloo \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --lispdir=${elisp_dir} \
+ --coflags="$CFLAGS" \
+ --cpicflags="-fPIC" \
+ --customgc=no \
+ --customgmp=no \
+ --customlibuv=no \
+ --native-default-backend \
+ --enable-avahi \
+ --enable-flac \
+ --enable-sqlite \
+ --enable-ssl \
+ --disable-gstreamer
+
+ make build compile-bee
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${_src_ver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_src_ver}"
+
+ make DESTDIR="${pkgdir}" install install-bee
+ make -C manuals DESTDIR="${pkgdir}" install-bee
+
+ # Remove references to the build root
+ sed -e "s|^BOOTDIR=.*|BOOTDIR=/usr|g" \
+ -e "s|^BOOTBINDIR=.*|BOOTBINDIR=/usr/bin|g" \
+ -e "s|^BOOTLIBDIR=.*|BOOTLIBDIR=/usr/lib/bigloo/${_src_ver}|g" \
+ -e "s|^BGLBUILDBINDIR=.*|BGLBUILDBINDIR=/usr/bin|g" \
+ -e "s|^BGLBUILDLIBDIR=.*|BGLBUILDLIBDIR=/usr/lib/bigloo/${_src_ver}|g" \
+ -e "s|^\(BIGLOO=.*\)\.sh|\1|" \
+ -e "s|^\(BGL.*=.*\)\.sh|\1|" \
+ -i "${pkgdir}/usr/lib/bigloo/${_src_ver%-*}/Makefile.config"
+
+}
Copied: bigloo/repos/staging-x86_64/emacs-28.patch (from rev 460011,
bigloo/trunk/emacs-28.patch)
===================================================================
--- staging-x86_64/emacs-28.patch (rev 0)
+++ staging-x86_64/emacs-28.patch 2022-11-01 22:42:52 UTC (rev 460012)
@@ -0,0 +1,44 @@
+diff --git a/autoconf/emacsbrand b/autoconf/emacsbrand
+index 77dfb65c..2884ec45 100755
+--- a/autoconf/emacsbrand
++++ b/autoconf/emacsbrand
+@@ -35,6 +35,7 @@ done
+ #* The autodetection ELisp expression */
+ #*---------------------------------------------------------------------*/
+ expr="(cond \
++ ((string-match \"GNU Emacs 28\" (emacs-version)) (kill-emacs 28)) \
+ ((string-match \"GNU Emacs 27\" (emacs-version)) (kill-emacs 27)) \
+ ((string-match \"GNU Emacs 26\" (emacs-version)) (kill-emacs 26)) \
+ ((string-match \"GNU Emacs 25\" (emacs-version)) (kill-emacs 25)) \
+@@ -74,6 +75,10 @@ else
+ else
+ if [ "$version" = "27" ]; then
+ echo "emacs27"
++ else
++ if [ "$version" = "28" ]; then
++ echo "emacs28"
++ fi
+ fi
+ fi
+ fi
+diff --git a/bmacs/Makefile b/bmacs/Makefile
+index 3c64876e..37932158 100644
+--- a/bmacs/Makefile
++++ b/bmacs/Makefile
+@@ -116,7 +116,7 @@ POPULATION = Makefile README $(EMACS_SOURCES)
$(OLD_SOURCES) \
+ #*---------------------------------------------------------------------*/
+ all: $(EMACSBRAND)
+
+-emacs22 emacs23 emacs24 emacs25 emacs26 emacs27:
++emacs22 emacs23 emacs24 emacs25 emacs26 emacs27 emacs28:
+ (expr=load-path; \
+ for p in . $(LOADPATH); do \
+ expr="(cons \"../$$p\" (cons \"$$p\" $$expr))"; \
+@@ -183,6 +183,7 @@ install.emacs24: doinstall
+ install.emacs25: doinstall
+ install.emacs26: doinstall
+ install.emacs27: doinstall
++install.emacs28: doinstall
+ install.xemacs: doinstall
+
+ install.generic: