From 535d4360c38be0862357bb5cf4e8d61c6af27c60 Mon Sep 17 00:00:00 2001 From: Dominika Liberda Date: Sun, 26 Dec 2021 15:17:31 +0100 Subject: [PATCH] - tons of shit --- sakamoto/apple-fnmode-openrc/APKBUILD | 22 ------- sakamoto/apple-fnmode-openrc/apple-fnmode | 7 --- sakamoto/qemu-ifup-br0/APKBUILD | 22 ------- sakamoto/qemu-ifup-br0/qemu-ifup | 12 ---- sakamoto/sway/APKBUILD | 58 ------------------- sakamoto/sway/sway.desktop | 11 ---- sakamoto/wg0-openrc/APKBUILD | 24 -------- sakamoto/wg0-openrc/wg0 | 15 ----- ...ll-error-on-0-dimension-without-anch.patch | 51 ---------------- sakamoto/wlroots/APKBUILD | 48 --------------- 10 files changed, 270 deletions(-) delete mode 100644 sakamoto/apple-fnmode-openrc/APKBUILD delete mode 100644 sakamoto/apple-fnmode-openrc/apple-fnmode delete mode 100644 sakamoto/qemu-ifup-br0/APKBUILD delete mode 100644 sakamoto/qemu-ifup-br0/qemu-ifup delete mode 100644 sakamoto/sway/APKBUILD delete mode 100644 sakamoto/sway/sway.desktop delete mode 100644 sakamoto/wg0-openrc/APKBUILD delete mode 100644 sakamoto/wg0-openrc/wg0 delete mode 100644 sakamoto/wlroots/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch delete mode 100644 sakamoto/wlroots/APKBUILD diff --git a/sakamoto/apple-fnmode-openrc/APKBUILD b/sakamoto/apple-fnmode-openrc/APKBUILD deleted file mode 100644 index e2a02f4..0000000 --- a/sakamoto/apple-fnmode-openrc/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Patrycja Rosa -# Maintainer: Patrycja Rosa -pkgname=apple-fnmode-openrc -pkgver=1.0.0 -pkgrel=0 -pkgdesc="Service changing hid_apple fnmode to 2 on boot" -url="https://git.sakamoto.pl/laudompat/alpine-repo" -arch="noarch" -license="MIT" -depends="" -makedepends="" -install="" -subpackages="" -source="apple-fnmode" -builddir="$srcdir/tmp" -options="!check" - -package() { - install -Dm755 "$srcdir/apple-fnmode" "$pkgdir/etc/init.d/apple-fnmode" -} - -sha512sums="5f9f5396468c70417936d11012c10d2b3d881ce6043a4d3e2301727a62361d3b98afd589a46535776bcf3c084c4163cc3ca8890de03d42c9fb7eb208c3926dfc apple-fnmode" diff --git a/sakamoto/apple-fnmode-openrc/apple-fnmode b/sakamoto/apple-fnmode-openrc/apple-fnmode deleted file mode 100644 index 42e73cd..0000000 --- a/sakamoto/apple-fnmode-openrc/apple-fnmode +++ /dev/null @@ -1,7 +0,0 @@ -#!/sbin/openrc-run - -description="Sets hid_apple fnmode to 2." - -start () { - echo 2 > /sys/module/hid_apple/parameters/fnmode -} diff --git a/sakamoto/qemu-ifup-br0/APKBUILD b/sakamoto/qemu-ifup-br0/APKBUILD deleted file mode 100644 index bde7ce7..0000000 --- a/sakamoto/qemu-ifup-br0/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Patrycja Rosa -# Maintainer: Patrycja Rosa -pkgname=qemu-ifup-br0 -pkgver=1.0.0 -pkgrel=0 -pkgdesc="qemu-ifup script which adds a tuntap device to br0" -url="https://git.sakamoto.pl/laudompat/alpine-repo" -arch="noarch" -license="MIT" -depends="" -makedepends="" -install="" -subpackages="" -source="qemu-ifup" -builddir="$srcdir/tmp" -options="!check" - -package() { - install -Dm755 "$srcdir/qemu-ifup" "$pkgdir/etc/qemu-ifup" -} - -sha512sums="13f081cb64c52f5561a61e30b2f3251f114b843eab275a56e6929d06ae16a447c99489c9acd0edbc52b00ba275a3897cf81c50864bed5bef7d8a63b284450e25 qemu-ifup" diff --git a/sakamoto/qemu-ifup-br0/qemu-ifup b/sakamoto/qemu-ifup-br0/qemu-ifup deleted file mode 100644 index eb8f3c4..0000000 --- a/sakamoto/qemu-ifup-br0/qemu-ifup +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -set -x - -if [ -n "$1" ]; then - ip tuntap add $1 mode tap user $(whoami) - ip link set $1 up - ip link set $1 master br0 - exit 0 -else - echo "Error: no interface specified" - exit 1 -fi diff --git a/sakamoto/sway/APKBUILD b/sakamoto/sway/APKBUILD deleted file mode 100644 index 841f19b..0000000 --- a/sakamoto/sway/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Henrik Riomar -# Contributor: Antoine Fontaine -# Maintainer: Drew DeVault -pkgname=sway -pkgver=1.6 -pkgrel=1 -pkgdesc="i3 compatible window manager for Wayland" -url="https://swaywm.org" -arch="all" -license="MIT" -options="suid !check" # no test suite -depends="swaybg" -makedepends="cairo-dev - gdk-pixbuf-dev - json-c-dev - libevdev-dev - libinput-dev - libxkbcommon-dev - linux-pam-dev - meson - ninja - pango-dev - pcre2-dev - scdoc - wayland-dev - wayland-protocols - wlroots-dev - " -subpackages=" - $pkgname-doc - $pkgname-bash-completion - $pkgname-zsh-completion - $pkgname-fish-completion - " -source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/sway/archive/$pkgver.tar.gz - sway.desktop - " - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output - chmod u+s "$pkgdir"/usr/bin/sway - - install -D -m644 "$srcdir"/sway.desktop \ - "$pkgdir"/usr/share/wayland-sessions/sway.desktop - - mkdir -p "$pkgdir"/usr/share/zsh "$pkgdir"/usr/share/fish - mv "$pkgdir"/usr/share/bash-completion "$pkgdir"/usr/share/ - mv "$pkgdir"/usr/share/zsh/site-functions "$pkgdir"/usr/share/zsh - mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions -} - -sha512sums="f62477aa4a20de99c41078c6866ec67d04d0d1824f4cb21a0c40213dbadf6394e31cd239b74376bf604d20d03ce047ba97f1728043568fd49fcef43f5101c750 sway-1.6.tar.gz -c9bc08fbd9d059c037ad1e3b7ab5e91bcde27dce248cc558c1f126b01c85b1d0d4ed4bb10e3f27bc818a06e60a81f19478b95529d4eeb32036e2c6ea9f29db36 sway.desktop" diff --git a/sakamoto/sway/sway.desktop b/sakamoto/sway/sway.desktop deleted file mode 100644 index 8800aec..0000000 --- a/sakamoto/sway/sway.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=Sway -Name[en]=Sway -Comment=This session logs you into Sway -Comment[en]=This session logs in you into Sway -Exec=dbus-run-session /usr/bin/sway -TryExec=/usr/bin/sway -Icon= -Type=Application -X-DesktopNames=Sway -Keywords=launch;Sway;desktop;session; diff --git a/sakamoto/wg0-openrc/APKBUILD b/sakamoto/wg0-openrc/APKBUILD deleted file mode 100644 index 2aed7ac..0000000 --- a/sakamoto/wg0-openrc/APKBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Contributor: Patrycja Rosa -# Maintainer: Patrycja Rosa -pkgname=wg0-openrc -pkgver=1.0.0 -pkgrel=0 -pkgdesc="Service starting Wireguard interface wg0" -url="https://git.sakamoto.pl/laudompat/alpine-repo" -arch="noarch" -license="MIT" -depends="" -makedepends="" -install="" -subpackages="" -source="wg0" -builddir="$srcdir/tmp" -options="!check" - -package() { - install -Dm755 "$srcdir/wg0" "$pkgdir/etc/init.d/wg0" -} - -sha512sums=" -90a141ebbb0dd54d81d047e5bb264f782df20c011c7fbde4db8ac376a2d59c8a59de9ac258ca1b93741b9e42207cf22c26d2cc1c6f11b6f2e27ad8e2b5be891d wg0 -" diff --git a/sakamoto/wg0-openrc/wg0 b/sakamoto/wg0-openrc/wg0 deleted file mode 100644 index 29509f9..0000000 --- a/sakamoto/wg0-openrc/wg0 +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need localmount net - use dns - after bootmisc -} - -start() { - wg-quick up wg0 -} - -stop() { - wg-quick down wg0 -} diff --git a/sakamoto/wlroots/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch b/sakamoto/wlroots/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch deleted file mode 100644 index 15d492c..0000000 --- a/sakamoto/wlroots/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch +++ /dev/null @@ -1,51 +0,0 @@ -Upstream: no - -From e43ba0857cb39eae30b5e02cb87723e6456dc61e Mon Sep 17 00:00:00 2001 -From: Oliver Smith -Date: Tue, 10 Nov 2020 20:57:04 +0100 -Subject: [PATCH] Revert "layer-shell: error on 0 dimension without anchors" - -This reverts commit 8dec751a6d84335fb04288b8efab6dd5c90288d3, which -introduced a consistency check: -https://github.com/swaywm/wlroots/commit/8dec751a6d84335fb04288b8efab6dd5c90288d3 - -Currently this causes phosh to crash, so let's revert it temporarily: -https://source.puri.sm/Librem5/phosh/-/issues/422 ---- - types/wlr_layer_shell_v1.c | 20 -------------------- - 1 file changed, 20 deletions(-) - -diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c -index bc681117..d83b22b8 100644 ---- a/types/wlr_layer_shell_v1.c -+++ b/types/wlr_layer_shell_v1.c -@@ -307,26 +307,6 @@ static void layer_surface_role_commit(struct wlr_surface *wlr_surface) { - return; - } - -- const uint32_t horiz = ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT | -- ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT; -- if (surface->client_pending.desired_width == 0 && -- (surface->client_pending.anchor & horiz) != horiz) { -- wl_resource_post_error(surface->resource, -- ZWLR_LAYER_SURFACE_V1_ERROR_INVALID_SIZE, -- "width 0 requested without setting left and right anchors"); -- return; -- } -- -- const uint32_t vert = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | -- ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM; -- if (surface->client_pending.desired_height == 0 && -- (surface->client_pending.anchor & vert) != vert) { -- wl_resource_post_error(surface->resource, -- ZWLR_LAYER_SURFACE_V1_ERROR_INVALID_SIZE, -- "height 0 requested without setting top and bottom anchors"); -- return; -- } -- - if (surface->closed) { - // Ignore commits after the compositor has closed it - return; --- -2.20.1 - diff --git a/sakamoto/wlroots/APKBUILD b/sakamoto/wlroots/APKBUILD deleted file mode 100644 index 0d5ed1a..0000000 --- a/sakamoto/wlroots/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Henrik Riomar -# Maintainer: Drew DeVault -pkgname=wlroots -pkgver=0.13.0 -pkgrel=0 -pkgdesc="modular Wayland compositor library" -url="https://github.com/swaywm/wlroots" -arch="all" -license="MIT" -options="!check" # contains no test suite -makedepends=" - elogind-dev - eudev-dev - libcap-dev - libinput-dev - libxcb-dev - libxkbcommon-dev - mesa-dev - meson - ninja - pixman-dev - wayland-dev - wayland-protocols - xcb-util-image-dev - xcb-util-wm-dev - xkeyboard-config - xwayland-dev - " -subpackages="$pkgname-dev $pkgname-dbg" -source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz - 0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch - " - -build() { - abuild-meson \ - -Dlogind=enabled \ - -Dlogind-provider=elogind \ - -Dexamples=false \ - . build - meson compile ${JOBS:+-j ${JOBS}} -C build -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C build -} - -sha512sums="1c942a6b8a628383e2b68cd9096d3525021347c5c363a8239a3b4fb0d5736ffcd3e2c1333fdd7d95ecf214dd04bf01062b4f1b4fbbcd88d1d086a55261ca0c82 wlroots-0.13.0.tar.gz -5547741b35fc8364360dabb93a6f988b6be9299b77ee4adf2c7edfcd4a3c97f2f0cbbd19a41548254fe5d2327ed45300824920ce3c9d0cb0846a3ba5b5a83e02 0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch"