[arch-commits] Commit in cage/repos/community-staging-x86_64 (4 files)
David Runge
dvzrv at archlinux.org
Thu Jul 16 14:29:54 UTC 2020
Date: Thursday, July 16, 2020 @ 14:29:54
Author: dvzrv
Revision: 664122
archrelease: copy trunk to community-staging-x86_64
Added:
cage/repos/community-staging-x86_64/PKGBUILD
(from rev 664121, cage/trunk/PKGBUILD)
cage/repos/community-staging-x86_64/cage-0.1.2-scdoc.patch
(from rev 664121, cage/trunk/cage-0.1.2-scdoc.patch)
Deleted:
cage/repos/community-staging-x86_64/PKGBUILD
cage/repos/community-staging-x86_64/cage-0.1.1-wlroots-0.11.0.patch
---------------------------------+
PKGBUILD | 100 +++++++++++++++++---------------------
cage-0.1.1-wlroots-0.11.0.patch | 59 ----------------------
cage-0.1.2-scdoc.patch | 13 ++++
3 files changed, 58 insertions(+), 114 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-16 14:29:45 UTC (rev 664121)
+++ PKGBUILD 2020-07-16 14:29:54 UTC (rev 664122)
@@ -1,55 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-
-_commit='27391f174a1fe385899074f13453667b98af8621'
-pkgname=cage
-pkgver=0.1.1.r68.g27391f1
-pkgrel=1
-pkgdesc="A kiosk compositor for Wayland"
-arch=('x86_64')
-url="https://www.hjdskes.nl/projects/cage/"
-license=('MIT')
-depends=('glibc' 'libxkbcommon' 'polkit' 'pixman' 'wayland')
-makedepends=('git' 'meson' 'wayland-protocols' 'wlroots' 'xorg-server-xwayland')
-optdepends=('xorg-server-xwayland: X11 support')
-# cage 0.1.1 not compatible with wlroots > 0.8.1
-# therefore pinning current HEAD to be able to upgrade wlroots
-# https://github.com/Hjdskes/cage/issues/107
-# source=("$pkgname-$pkgver.tar.gz::https://github.com/Hjdskes/${pkgname}/archive/v${pkgver}.tar.gz"
-# "https://github.com/Hjdskes/cage/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig")
-source=("${pkgname}-${pkgver}::git+https://github.com/Hjdskes/${pkgname}.git#commit=${_commit}?signed"
- "${pkgname}-0.1.1-wlroots-0.11.0.patch")
-sha512sums=('SKIP'
- '4273fb848309c329496a61ecc68018e302ec6b7b4b65c8d3a57304b2e1dd95822d08043cf3ec6c6e1673e16d276edb3b7d0c2566da72689e0f6cabe86f2bf96a')
-validpgpkeys=('13B6A35E9FD677D02CD68DBE37C445296EBC43B1') # Jente Hidskes <dev at hjdskes.nl>
-
-pkgver() {
- cd "$pkgname-$pkgver"
- git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
- cd "$pkgname-$pkgver"
- patch -Np1 -i "../${pkgname}-0.1.1-wlroots-0.11.0.patch"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- arch-meson --prefix=/usr \
- --libdir=lib \
- --buildtype=release \
- -Dxwayland=true \
- build
- ninja -C build
-}
-
-package() {
- depends+=('libwlroots.so')
- cd "$pkgname-$pkgver"
- DESTDIR="${pkgdir}" meson install -C build
- #docs
- install -vDm 644 README.md \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE \
- -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: cage/repos/community-staging-x86_64/PKGBUILD (from rev 664121, cage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-16 14:29:54 UTC (rev 664122)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+
+pkgname=cage
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="A kiosk compositor for Wayland"
+arch=('x86_64')
+url="https://www.hjdskes.nl/projects/cage/"
+license=('MIT')
+depends=('glibc' 'libxkbcommon' 'polkit' 'pixman' 'wayland')
+makedepends=('git' 'meson' 'scdoc' 'wayland-protocols' 'wlroots'
+'xorg-server-xwayland')
+optdepends=('xorg-server-xwayland: X11 support')
+source=("${pkgname}::git+https://github.com/Hjdskes/${pkgname}.git#tag=v${pkgver}?signed"
+ "${pkgname}-0.1.2-scdoc.patch")
+sha512sums=('SKIP'
+ '20cb1ccfd14c6e27df6487c42d98fde672fec084bcd221717aeeceed7739705cc7d8ac5261bfa526c8f20f37305f2c5827f023d620aaebba1d83ea2385d29d9a')
+validpgpkeys=('13B6A35E9FD677D02CD68DBE37C445296EBC43B1') # Jente Hidskes <dev at hjdskes.nl>
+
+prepare() {
+ cd "$pkgname"
+ patch -Np1 -i "../${pkgname}-0.1.2-scdoc.patch"
+}
+
+build() {
+ cd "$pkgname"
+ arch-meson --prefix=/usr \
+ --libdir=lib \
+ --buildtype=release \
+ -Dxwayland=true \
+ build
+ ninja -C build
+}
+
+package() {
+ depends+=('libwlroots.so')
+ cd "$pkgname"
+ DESTDIR="${pkgdir}" meson install -C build
+ #docs
+ install -vDm 644 README.md \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE \
+ -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
Deleted: cage-0.1.1-wlroots-0.11.0.patch
===================================================================
--- cage-0.1.1-wlroots-0.11.0.patch 2020-07-16 14:29:45 UTC (rev 664121)
+++ cage-0.1.1-wlroots-0.11.0.patch 2020-07-16 14:29:54 UTC (rev 664122)
@@ -1,59 +0,0 @@
-From 6a12da196068189a6ba390ca5ca3473454a90da7 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich at FreeBSD.org>
-Date: Sat, 9 May 2020 11:39:00 +0000
-Subject: [PATCH 1/3] output: unbreak with wlroots 0.11.0
-
-Port changes changes from
-https://github.com/swaywm/sway/commit/9d0aa0cb8396
-https://github.com/swaywm/sway/commit/40e87fa98afd
----
- output.c | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/output.c b/output.c
-index d6e34aa..96f915c 100644
---- a/output.c
-+++ b/output.c
-@@ -232,10 +232,7 @@ scan_out_primary_view(struct cg_output *output)
- return false;
- }
-
-- if (!wlr_output_attach_buffer(wlr_output, surface->buffer)) {
-- return false;
-- }
--
-+ wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
- return wlr_output_commit(wlr_output);
- }
-
-
-From 3575c9180bc09d72545b8c832b5278905fa0b006 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich at FreeBSD.org>
-Date: Wed, 15 Jul 2020 23:30:48 +0000
-Subject: [PATCH 2/3] meson: require wlroots 0.11.0 after 6a12da196068
-
-../output.c:235:57: error: no member named 'base' in 'struct wlr_buffer'
- wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
- ~~~~~~~~~~~~~~~ ^
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 90bc400..ee6d4c7 100644
---- a/meson.build
-+++ b/meson.build
-@@ -34,7 +34,7 @@ if is_freebsd
- )
- endif
-
--wlroots = dependency('wlroots', version: '>= 0.9.1')
-+wlroots = dependency('wlroots', version: '>= 0.11.0')
- wayland_protos = dependency('wayland-protocols', version: '>=1.14')
- wayland_server = dependency('wayland-server')
- pixman = dependency('pixman-1')
-
-From c9cef876c05d5412c412774f58926d3b38ae594a Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich at FreeBSD.org>
-Date: Sat, 9 May 2020 11:46:10 +0000
-Subject: [PATCH 3/3] CI: bump wlroots version to 0.11.0
Copied: cage/repos/community-staging-x86_64/cage-0.1.2-scdoc.patch (from rev 664121, cage/trunk/cage-0.1.2-scdoc.patch)
===================================================================
--- cage-0.1.2-scdoc.patch (rev 0)
+++ cage-0.1.2-scdoc.patch 2020-07-16 14:29:54 UTC (rev 664122)
@@ -0,0 +1,13 @@
+diff --git i/cage.1.scd w/cage.1.scd
+index a67cddf..4ca1bea 100644
+--- i/cage.1.scd
++++ w/cage.1.scd
+@@ -32,7 +32,7 @@ activities outside the scope of the running application are prevented.
+ times, each resulting in an additional 90 degrees clockwise rotation.
+
+ *-s*
+- Allow VT switching
++ Allow VT switching
+
+ *-v*
+ Show the version number and exit.
More information about the arch-commits
mailing list