- tons of shit

meow
Dominika Liberda 2021-12-26 15:17:31 +01:00
parent 54beeaca5c
commit 535d4360c3
10 changed files with 0 additions and 270 deletions

View File

@ -1,22 +0,0 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
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"

View File

@ -1,7 +0,0 @@
#!/sbin/openrc-run
description="Sets hid_apple fnmode to 2."
start () {
echo 2 > /sys/module/hid_apple/parameters/fnmode
}

View File

@ -1,22 +0,0 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
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"

View File

@ -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

View File

@ -1,58 +0,0 @@
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Drew DeVault <sir@cmpwn.com>
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"

View File

@ -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;

View File

@ -1,24 +0,0 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
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
"

View File

@ -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
}

View File

@ -1,51 +0,0 @@
Upstream: no
From e43ba0857cb39eae30b5e02cb87723e6456dc61e Mon Sep 17 00:00:00 2001
From: Oliver Smith <ollieparanoid@postmarketos.org>
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

View File

@ -1,48 +0,0 @@
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
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"