Skip to content

Instantly share code, notes, and snippets.

@glitsj16
glitsj16 / licenses-label.patch
Last active April 28, 2024 02:04
[AUR] pamac-classic: hide licenses label
--- a/data/interface/manager_window.ui
+++ b/data/interface/manager_window.ui
@@ -679,7 +679,7 @@
</child>
<child>
<object class="GtkLabel" id="licenses_label">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
# pacman 6.1 LDFLAGS break the build due to the extra '-Wl's
#LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
# -Wl,-z,pack-relative-relocs"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,pack-relative-relocs"
$ makechrootpkg -- -rs
...
Checking for ffmpeg/libavcodec/allcodecs.c ... not found
Checking for ffmpeg/libavcodec/hwaccels.h ... not found
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
$ cat /etc/firejail/firefox.local
# testing https://github.com/netblue30/firejail/issues/6195
# with firejail from git @
# https://github.com/netblue30/firejail/commit/760f50f78ad13664d7a32b4577381c0341ab2d4a
#
# test 02 :: WITHOUT including landlock-common.inc
#
# $ firejail --debug --profile=firefox --landlock.enforce true
# move our local overrides out of the way while testing
$ cat /etc/firejail/firefox.local
# testing https://github.com/netblue30/firejail/issues/6195
# with firejail from git @
# https://github.com/netblue30/firejail/commit/760f50f78ad13664d7a32b4577381c0341ab2d4a
#
# test 01 :: including landlock-common.inc
#
# $ firejail --debug --profile=firefox --landlock.enforce true
# move our local overrides out of the way while testing
$ gcc --version | head -n 1
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
$ ./configure \
--prefix=/usr \
--enable-analyzer \
--enable-apparmor \
--enable-landlock \
--enable-private-lib
checking for gcc... gcc
@glitsj16
glitsj16 / PKGBUILD
Last active July 8, 2023 06:04
transmission-cli-git
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jackson Abascal <jacksonabascal@gmail.com>
_pkgbase=transmission
_pkgname=transmission-cli
pkgname=transmission-cli-git
pkgver=4.0.3.r154.g97da2adbc
pkgrel=1
_pkgname=do-agent
pkgname="${_pkgname}-bin"
pkgver=3.16.2
pkgrel=1
pkgdesc="Collects system metrics from DigitalOcean Droplets - binary version"
url="https://github.com/digitalocean/do-agent"
arch=(x86_64)
license=(Apache)
options=(!strip)
provides=(do-agent)
From 4171f827d0e1f7c223139c77d7ba77dc7b516edb Mon Sep 17 00:00:00 2001
From: graysky <therealgraysky@proton.me>
Date: Wed, 5 Oct 2022 05:43:13 -0400
Subject: [PATCH 4/8] hrtimer: Replace all schedule timeout(1) with
schedule_min_hrtimeout()
---
drivers/accessibility/speakup/speakup_acntpc.c | 4 ++--
drivers/accessibility/speakup/speakup_apollo.c | 2 +-
drivers/accessibility/speakup/speakup_decext.c | 2 +-
From 308a45413e82f6be1bf10864f5f9eab6bf0dd799 Mon Sep 17 00:00:00 2001
From: graysky <therealgraysky@proton.me>
Date: Wed, 5 Oct 2022 05:45:01 -0400
Subject: [PATCH 8/8] clockevents, hrtimer: Make hrtimer granularity and
minimum hrtimeout configurable in sysctl. Set default granularity to 100us
and min timeout to 500us
---
kernel/sysctl.c | 21 +++++++++++++++++
kernel/time/clockevents.c | 3 ++-