[arch-commits] Commit in bigloo/trunk (PKGBUILD emacs-28.patch)

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 23 07:54:50 UTC 2022


    Date: Saturday, April 23, 2022 @ 07:54:50
  Author: arojas
Revision: 443796

209A36D43CE2E87DA861FC58539DFD48135182EF key rebuild

Added:
  bigloo/trunk/emacs-28.patch
Modified:
  bigloo/trunk/PKGBUILD

----------------+
 PKGBUILD       |   13 ++++++++-----
 emacs-28.patch |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-22 23:19:55 UTC (rev 443795)
+++ PKGBUILD	2022-04-23 07:54:50 UTC (rev 443796)
@@ -3,7 +3,7 @@
 # Contributor: Kevin Piche <kevin at archlinux.org>
 
 pkgname=bigloo
-pkgver=4.4c_2
+pkgver=4.4c_4
 _src_ver=${pkgver/_/-}
 pkgrel=1
 pkgdesc="Fast scheme compiler"
@@ -11,16 +11,19 @@
 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' 'chrpath')
+makedepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi' 'libpulse')
 optdepends=('emacs' 'zip' 'sqlite' 'alsa-lib' 'flac' 'avahi')
-options=('!makeflags')
-source=("ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}-${_src_ver}.tar.gz")
-sha256sums=('3e139639812f7cf9293e77ce250311a38a4a2cac516a7bfb38f964a06ef3300c')
+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() {

Added: emacs-28.patch
===================================================================
--- emacs-28.patch	                        (rev 0)
+++ emacs-28.patch	2022-04-23 07:54:50 UTC (rev 443796)
@@ -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:



More information about the arch-commits mailing list