From aed4f37ff5cebcf92fe94ffb47abc4598356a0bf Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 11 Apr 2023 16:50:11 +0200 Subject: emacs: add new package at 29.0.90 [TESTING] --- testing/emacs/build | 29 +++++++++++++++++++++++++++++ testing/emacs/checksums | 2 ++ testing/emacs/depends | 9 +++++++++ testing/emacs/meta | 3 +++ testing/emacs/sources | 1 + testing/emacs/version | 1 + 6 files changed, 45 insertions(+) create mode 100755 testing/emacs/build create mode 100644 testing/emacs/checksums create mode 100644 testing/emacs/depends create mode 100644 testing/emacs/meta create mode 100644 testing/emacs/sources create mode 100644 testing/emacs/version diff --git a/testing/emacs/build b/testing/emacs/build new file mode 100755 index 00000000..ff045c83 --- /dev/null +++ b/testing/emacs/build @@ -0,0 +1,29 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-modules \ + --with-x-toolkit=gtk3 \ + --with-pgtk \ + --with-dbus="$(cpt-list -C dbus yes no)" \ + --without-libgmp \ + --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..f1e83a83 --- /dev/null +++ b/testing/emacs/checksums @@ -0,0 +1,2 @@ +%BLAKE3 +abfb43c51a1a175fe58fddd7ec539e826dd3886e71d04c53afc12ae4a75075ce emacs-29.0.90.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/meta b/testing/emacs/meta new file mode 100644 index 00000000..c5b70d92 --- /dev/null +++ b/testing/emacs/meta @@ -0,0 +1,3 @@ +description: GNU Emacs editor (29.1 Pretest Release) +license: GPL-3.0-or-later +maintainer: Cem Keylan diff --git a/testing/emacs/sources b/testing/emacs/sources new file mode 100644 index 00000000..f6ec2c5d --- /dev/null +++ b/testing/emacs/sources @@ -0,0 +1 @@ +https://alpha.gnu.org/gnu/emacs/pretest/emacs-29.0.90.tar.xz diff --git a/testing/emacs/version b/testing/emacs/version new file mode 100644 index 00000000..c3156dcc --- /dev/null +++ b/testing/emacs/version @@ -0,0 +1 @@ +29.0.90 1 -- cgit v1.2.3