Updated package to mirror aur/i3-gaps-next-git

This commit is contained in:
David Thurstenson 2021-09-27 13:14:37 -05:00
parent 14e139bb60
commit f724028ccf
3 changed files with 46 additions and 66 deletions

View File

@ -1,18 +1,19 @@
pkgbase = i3-gaps-fullscreen-next-git pkgbase = i3-gaps-fullscreen-next-git
pkgdesc = A fork of a fork of i3wm tiling window manager, with multi-monitor fullscreen workaround for VMWare, mpv, etc. pkgdesc = A fork of a fork of i3wm tiling window manager, with multi-monitor fullscreen workaround for VMWare, mpv, etc.
pkgver = 4.16.1.r178.g31c0f1b8 pkgver = 4.19.1.r177.g4ea30ca9
pkgrel = 1 pkgrel = 2
url = https://github.com/Airblader/i3/tree/gaps-next url = https://github.com/Airblader/i3/tree/gaps-next
arch = i686 arch = i686
arch = x86_64 arch = x86_64
groups = i3
groups = i3-vcs groups = i3-vcs
license = BSD license = BSD
makedepends = git makedepends = git
makedepends = bison
makedepends = flex
makedepends = asciidoc makedepends = asciidoc
makedepends = docbook-xsl
makedepends = xmlto makedepends = xmlto
makedepends = perl makedepends = meson
makedepends = pkgconfig
depends = xcb-util-keysyms depends = xcb-util-keysyms
depends = xcb-util-wm depends = xcb-util-wm
depends = libev depends = libev
@ -23,24 +24,16 @@ pkgbase = i3-gaps-fullscreen-next-git
depends = xcb-util-cursor depends = xcb-util-cursor
depends = xcb-util-xrm depends = xcb-util-xrm
depends = libxkbcommon-x11 depends = libxkbcommon-x11
optdepends = rxvt-unicode: The terminal emulator used in the default config.
optdepends = dmenu: As menu.
optdepends = i3lock: For locking your screen. optdepends = i3lock: For locking your screen.
optdepends = i3status: To display system information with a bar. optdepends = i3status: To display system information with a bar.
optdepends = perl-json-xs: For i3-save-tree
optdepends = perl-anyevent-i3: For i3-save-tree
provides = i3-wm provides = i3-wm
conflicts = i3-wm conflicts = i3-wm
conflicts = i3bar
conflicts = i3bar-git
conflicts = i3-git conflicts = i3-git
conflicts = i3-gaps-git
conflicts = i3-gaps conflicts = i3-gaps
conflicts = i3-gaps-next-git
options = docs options = docs
options = !strip
source = git://github.com/Airblader/i3#branch=gaps-next source = git://github.com/Airblader/i3#branch=gaps-next
source = wm-fullscreen-monitors.patch
sha1sums = SKIP sha1sums = SKIP
sha1sums = 409e143bd326216337195850a08b1b590cba8502
pkgname = i3-gaps-fullscreen-next-git pkgname = i3-gaps-fullscreen-next-git

View File

@ -1,77 +1,52 @@
# Maintainer: Ingo Bürk <admin at airblader dot de> # Maintainer: David Thurstenson <thurstylark@gmail.com>
# Contributor: Ingo Bürk <admin at airblader dot de>
pkgname=i3-gaps-fullscreen-next-git pkgname=i3-gaps-fullscreen-next-git
pkgver=4.16.1.r178.g31c0f1b8 pkgver=4.19.1.r177.g4ea30ca9
pkgrel=1 pkgrel=2
pkgdesc='A fork of a fork of i3wm tiling window manager, with multi-monitor fullscreen workaround for VMWare, mpv, etc.' pkgdesc='A fork of a fork of i3wm tiling window manager, with multi-monitor fullscreen workaround for VMWare, mpv, etc.'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='https://github.com/Airblader/i3/tree/gaps-next' url='https://github.com/Airblader/i3/tree/gaps-next'
license=('BSD') license=('BSD')
provides=('i3-wm') provides=('i3-wm')
conflicts=('i3-wm' 'i3bar' 'i3bar-git' 'i3-git' 'i3-gaps-git' 'i3-gaps' 'i3-gaps-next-git') conflicts=('i3-wm' 'i3-git' 'i3-gaps')
groups=('i3-vcs') groups=('i3' 'i3-vcs')
depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl' depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm' 'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm'
'libxkbcommon-x11') 'libxkbcommon-x11')
makedepends=('git' 'asciidoc' 'docbook-xsl' 'xmlto' 'perl' 'pkgconfig') makedepends=('git' 'bison' 'flex' 'asciidoc' 'xmlto' 'meson')
optdepends=('rxvt-unicode: The terminal emulator used in the default config.' optdepends=('i3lock: For locking your screen.'
'dmenu: As menu.' 'i3status: To display system information with a bar.')
'i3lock: For locking your screen.' options=('docs')
'i3status: To display system information with a bar.' source=('git://github.com/Airblader/i3#branch=gaps-next'
'perl-json-xs: For i3-save-tree' 'wm-fullscreen-monitors.patch')
'perl-anyevent-i3: For i3-save-tree') sha1sums=('SKIP'
options=('docs' '!strip') '409e143bd326216337195850a08b1b590cba8502')
source=('git://github.com/Airblader/i3#branch=gaps-next')
sha1sums=('SKIP')
_gitname='i3'
pkgver() { pkgver() {
cd "$srcdir/$_gitname" cd "${srcdir}/i3"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
} }
prepare() { prepare() {
cd "$_gitname" cd "${srcdir}/i3"
patch -p1 << EOF patch -p1 < "../wm-fullscreen-monitors.patch"
diff --git a/include/atoms_NET_SUPPORTED.xmacro b/include/atoms_NET_SUPPORTED.xmacro
index a81948a9..096c6229 100644
--- a/include/atoms_NET_SUPPORTED.xmacro
+++ b/include/atoms_NET_SUPPORTED.xmacro
@@ -23,6 +23,7 @@ xmacro(_NET_WM_WINDOW_TYPE_DROPDOWN_MENU)
xmacro(_NET_WM_WINDOW_TYPE_TOOLTIP)
xmacro(_NET_WM_WINDOW_TYPE_NOTIFICATION)
+xmacro(_NET_WM_FULLSCREEN_MONITORS)
xmacro(_NET_WM_DESKTOP)
xmacro(_NET_WM_STRUT_PARTIAL)
EOF
} }
build() { build() {
cd "$_gitname" cd "i3"
arch-meson \
autoreconf --force --install -Ddocs=true \
-Dmans=true \
rm -rf build/ ../build
mkdir -p build && cd build/ meson compile -C ../build
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-sanitizers
# See https://lists.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html
make CPPFLAGS+="-U_FORTIFY_SOURCE"
} }
package() { package() {
cd "$_gitname" cd "i3"
cd build/ DESTDIR="$pkgdir" meson install -C ../build
make DESTDIR="$pkgdir/" install install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICENSE
install -Dm644 ../LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,12 @@
diff --git a/include/i3-atoms_NET_SUPPORTED.xmacro.h b/include/i3-atoms_NET_SUPPORTED.xmacro.h
index b491da98..620f9b8d 100644
--- a/include/i3-atoms_NET_SUPPORTED.xmacro.h
+++ b/include/i3-atoms_NET_SUPPORTED.xmacro.h
@@ -24,6 +24,7 @@ xmacro(_NET_WM_WINDOW_TYPE_DROPDOWN_MENU) \
xmacro(_NET_WM_WINDOW_TYPE_POPUP_MENU) \
xmacro(_NET_WM_WINDOW_TYPE_TOOLTIP) \
xmacro(_NET_WM_WINDOW_TYPE_NOTIFICATION) \
+xmacro(_NET_WM_FULLSCREEN_MONITORS) \
xmacro(_NET_WM_DESKTOP) \
xmacro(_NET_WM_STRUT_PARTIAL) \
xmacro(_NET_CLIENT_LIST) \