aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-08-04 11:48:13 +0300
committerCem Keylan <cem@ckyln.com>2020-08-04 11:48:13 +0300
commite67e7d1d48224a9dee400f82555154a216d896fa (patch)
treefb2b7116a7d643eb71c1c043ee767337eca573f7 /testing
parent452372b3f917edeea71d250b228d2cf673bb4f70 (diff)
downloadrepository-e67e7d1d48224a9dee400f82555154a216d896fa.tar.gz
emacs: add new package at 27.1-rc1 [TESTING]
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/emacs/build31
-rw-r--r--testing/emacs/checksums1
-rw-r--r--testing/emacs/depends9
-rw-r--r--testing/emacs/sources1
-rw-r--r--testing/emacs/version1
5 files changed, 43 insertions, 0 deletions
diff --git a/testing/emacs/build b/testing/emacs/build
new file mode 100755
index 00000000..7428c187
--- /dev/null
+++ b/testing/emacs/build
@@ -0,0 +1,31 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --with-modules \
+ --with-xft \
+ --with-x-toolkit=athena \
+ --without-toolkit-scroll-bars \
+ --without-dbus \
+ --without-gconf \
+ --without-gsettings \
+ --with-xpm=no \
+ --with-gnutls=yes
+
+mkdir -p "$1/usr/share/emacs/site-lisp"
+cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el"
+;; GnuTLS configuration
+;; In Carbs, CA certificates are installed to /etc/certificates
+(with-eval-after-load 'gnutls
+ (setq gnutls-verify-error t
+ gnutls-min-prime-bits 2048
+ gnutls-trustfiles '("/etc/certificates/cert.pem")
+))
+
+(setq-default shr-blocked-images ".*\.svg$")
+EOF
+
+make
+make DESTDIR="$1" install
+
+rm -rf "$1/usr/lib/systemd"
diff --git a/testing/emacs/checksums b/testing/emacs/checksums
new file mode 100644
index 00000000..3c3ff00c
--- /dev/null
+++ b/testing/emacs/checksums
@@ -0,0 +1 @@
+4fcc06da284a8a369c64b9c9d2d73c39dd289958a0a1b673b3cdba1e774a5b6f emacs-27.1-rc1.tar.xz
diff --git a/testing/emacs/depends b/testing/emacs/depends
new file mode 100644
index 00000000..b44d27b7
--- /dev/null
+++ b/testing/emacs/depends
@@ -0,0 +1,9 @@
+giflib
+gnutls
+libjpeg-turbo
+libpng
+libxaw3d
+libxml2
+ncurses
+tiff
+zlib
diff --git a/testing/emacs/sources b/testing/emacs/sources
new file mode 100644
index 00000000..c18fb224
--- /dev/null
+++ b/testing/emacs/sources
@@ -0,0 +1 @@
+https://alpha.gnu.org/gnu/emacs/pretest/emacs-27.1-rc1.tar.xz
diff --git a/testing/emacs/version b/testing/emacs/version
new file mode 100644
index 00000000..308bcf20
--- /dev/null
+++ b/testing/emacs/version
@@ -0,0 +1 @@
+27.1-rc1 1