From 6e8ec734c49ff71af450188c8807589d2acd6f53 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 8 Nov 2021 14:22:15 +0100 Subject: [PATCH] =?UTF-8?q?[PKGBUILD]=20Apply=20TheVaffel=E2=80=99s=20patc?= =?UTF-8?q?h=20for=20Emacs=20transparent=20background?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds a patch applied to Emacs’ source code so Emacs can get a transparent background and not make the whole frame transparent. This means images and text are no longer transparent, only the background! --- Documents/code/AUR/emacs/PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documents/code/AUR/emacs/PKGBUILD b/Documents/code/AUR/emacs/PKGBUILD index 2d3ca19..310991e 100644 --- a/Documents/code/AUR/emacs/PKGBUILD +++ b/Documents/code/AUR/emacs/PKGBUILD @@ -60,7 +60,7 @@ if [[ $CLI == "YES" ]] ; then else pkgname="emacs-phundrak-git" fi -pkgver=28.0.60.150902 +pkgver=28.0.60.150911 pkgrel=1 pkgdesc="GNU Emacs. Development master branch with Phundrak’s tweaks." arch=('x86_64') @@ -74,9 +74,11 @@ conflicts=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs- replaces=('emacs' 'emacs26-git' 'emacs27-git' 'emacs28-git' 'emacs-seq' 'emacs-nox' 'emacs-git') #source=("emacs-git::git://git.savannah.gnu.org/emacs.git") # 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#branch=emacs-28" + "https://raw.githubusercontent.com/TheVaffel/emacs/master/emacs_background_transparency.patch") OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) -md5sums=('SKIP') +md5sums=('SKIP' + 'SKIP') ################################################################################ ################################################################################ @@ -185,6 +187,8 @@ pkgver() { # Doing so, breaks incremental compilation. prepare() { cd "$srcdir/emacs-git" + git apply --check "../../emacs_background_transparency.patch" + git apply "../../emacs_background_transparency.patch" [[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf ) }