[PKGBUILD] Switch to Emacs 29
All checks were successful
continuous-integration/drone/push Build is passing

Temporarily remove TheVaffel’s patch

Reactivate PDF doc and Xwidgets support
This commit is contained in:
Lucien Cartier-Tilet 2021-12-27 14:33:27 +01:00
parent e918a346fc
commit 2a560e4b79
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -44,9 +44,9 @@ LUCID= # Use the lucid, a.k.a athena, toolkit. Like XEmacs, sorta.
# #
GTK2= # GTK2 support. Why would you? GTK2= # GTK2 support. Why would you?
NOCAIRO= # Disable here. NOCAIRO= # Disable here.
XWIDGETS= # Use GTK+ widgets pulled from webkit2gtk. Usable. XWIDGETS="YES" # Use GTK+ widgets pulled from webkit2gtk. Usable.
DOCS_HTML="YES" # Generate and install html documentation. DOCS_HTML="YES" # Generate and install html documentation.
DOCS_PDF= # Generate and install pdf documentation. DOCS_PDF="YES" # Generate and install pdf documentation.
MAGICK= # ImageMagick 7 support. Deprecated (read the logs). MAGICK= # ImageMagick 7 support. Deprecated (read the logs).
# ImageMagick, like flash, won't die... # ImageMagick, like flash, won't die...
# -->>If you just *believe* you need ImageMagick, you don't.<<-- # -->>If you just *believe* you need ImageMagick, you don't.<<--
@ -59,7 +59,7 @@ if [[ $CLI == "YES" ]] ; then
else else
pkgname="emacs-phundrak-git" pkgname="emacs-phundrak-git"
fi fi
pkgver=28.0.90.151075 pkgver=29.0.50.153181
pkgrel=1 pkgrel=1
pkgdesc="GNU Emacs. Development master branch with Phundraks tweaks." pkgdesc="GNU Emacs. Development master branch with Phundraks tweaks."
arch=('x86_64') arch=('x86_64')
@ -68,15 +68,14 @@ license=('GPL3')
depends_nox=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'gpm') depends_nox=('alsa-lib' 'gnutls' 'libxml2' 'jansson' 'gpm')
depends=("${depends_nox[@]}" 'm17n-lib' 'libotf' 'harfbuzz') depends=("${depends_nox[@]}" 'm17n-lib' 'libotf' 'harfbuzz')
makedepends=('git') makedepends=('git')
provides=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs-nox' 'emacs-git') provides=( 'emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs29-git' 'emacs-seq' 'emacs-nox' 'emacs-git')
conflicts=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs-nox' 'emacs-git') conflicts=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs29-git' 'emacs-seq' 'emacs-nox' 'emacs-git')
replaces=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs-nox' 'emacs-git') replaces=( 'emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs29-git' 'emacs-seq' 'emacs-nox' 'emacs-git')
#source=("emacs-git::git://git.savannah.gnu.org/emacs.git") #source=("emacs-git::git://git.savannah.gnu.org/emacs.git")
# If Savannah fails for reasons, use Github's mirror # If Savannah fails for reasons, use Github's mirror
source=("emacs-git::git://github.com/emacs-mirror/emacs.git#branch=emacs-28" source=("emacs-git::git://github.com/emacs-mirror/emacs.git")
"https://raw.githubusercontent.com/TheVaffel/emacs/master/emacs_background_transparency.patch") sha512sums=('SKIP')
sha512sums=('SKIP' # "https://raw.githubusercontent.com/TheVaffel/emacs/master/emacs_background_transparency.patch")
'd45043e6925358a41fbe42457de3233cd346a7e6133704426240a0c987587328ae08719413188b11db498f27794ee55662c20e8c4b58311bb806ad71e4798574')
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)
################################################################################ ################################################################################
@ -186,8 +185,8 @@ pkgver() {
# Doing so, breaks incremental compilation. # Doing so, breaks incremental compilation.
prepare() { prepare() {
cd "$srcdir/emacs-git" cd "$srcdir/emacs-git"
git apply --check "../../emacs_background_transparency.patch" # git apply --check "../../emacs_background_transparency.patch"
git apply "../../emacs_background_transparency.patch" # git apply "../../emacs_background_transparency.patch"
[[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf ) [[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf )
} }