From bbcf29bcee92d08583ce41a034858d1b68d89658 Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 17 Jan 2023 05:09:50 +0000 Subject: [PATCH] Sort linker flags A-Z. --- portage/bashrc | 35 -- portage/env/basic.conf | 14 - portage/env/firefox.conf | 18 - portage/env/gcc-basic.conf | 29 -- portage/env/gcc-nolto-nopie.conf | 32 -- portage/env/gcc-nolto.conf | 4 +- portage/env/gcc-nopie.conf | 32 -- portage/env/gcc.conf | 31 -- portage/env/nolto-nopie.conf | 18 - portage/env/nolto.conf | 18 - portage/env/nopie.conf | 17 - portage/env/notmpfs.conf | 10 - portage/make.conf | 68 ---- portage/package.accept_keywords | 48 --- portage/package.env | 382 ------------------ portage/package.license | 15 - portage/package.mask | 34 -- portage/package.unmask | 9 - portage/package.use | 77 ---- portage/patches/dev-libs/Ice/execinfo.patch | 22 - portage/patches/gui-libs/wlroots/3581.patch | 114 ------ .../patches/media-libs/gavl/patch-gavl.patch | 10 - .../libopenshot-audio/juce_core.cpp | 262 ------------ .../libopenshot-audio/juce_core.patch | 12 - .../patches/media-libs/mlt/musl-locale.patch | 13 - ...ck-for-backtrace-function-only-if-ex.patch | 39 -- portage/patches/sys-boot/grub/gnulinux.patch | 29 -- portage/profile/package.provided | 3 - portage/profile/package.use.force | 3 - portage/repos.conf | 38 -- portage/sets/lang | 25 -- portage/sets/rust | 12 - portage/sets/tc-llvm | 20 - 33 files changed, 2 insertions(+), 1491 deletions(-) delete mode 100644 portage/bashrc delete mode 100644 portage/env/basic.conf delete mode 100644 portage/env/firefox.conf delete mode 100644 portage/env/gcc-basic.conf delete mode 100644 portage/env/gcc-nolto-nopie.conf delete mode 100644 portage/env/gcc-nopie.conf delete mode 100644 portage/env/gcc.conf delete mode 100644 portage/env/nolto-nopie.conf delete mode 100644 portage/env/nolto.conf delete mode 100644 portage/env/nopie.conf delete mode 100644 portage/env/notmpfs.conf delete mode 100644 portage/make.conf delete mode 100644 portage/package.accept_keywords delete mode 100644 portage/package.env delete mode 100644 portage/package.license delete mode 100644 portage/package.mask delete mode 100644 portage/package.unmask delete mode 100644 portage/package.use delete mode 100644 portage/patches/dev-libs/Ice/execinfo.patch delete mode 100644 portage/patches/gui-libs/wlroots/3581.patch delete mode 100644 portage/patches/media-libs/gavl/patch-gavl.patch delete mode 100644 portage/patches/media-libs/libopenshot-audio/juce_core.cpp delete mode 100644 portage/patches/media-libs/libopenshot-audio/juce_core.patch delete mode 100644 portage/patches/media-libs/mlt/musl-locale.patch delete mode 100644 portage/patches/sys-apps/sandbox/0001-configure.ac-check-for-backtrace-function-only-if-ex.patch delete mode 100644 portage/patches/sys-boot/grub/gnulinux.patch delete mode 100644 portage/profile/package.provided delete mode 100644 portage/profile/package.use.force delete mode 100644 portage/repos.conf delete mode 100644 portage/sets/lang delete mode 100644 portage/sets/rust delete mode 100644 portage/sets/tc-llvm diff --git a/portage/bashrc b/portage/bashrc deleted file mode 100644 index 1bcf337..0000000 --- a/portage/bashrc +++ /dev/null @@ -1,35 +0,0 @@ -# Portage - bashrc - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 0.0.1.1 - - -# Automatically update cfg-update index. -pre_pkg_setup() { - [[ $ROOT = / ]] && cfg-update --index -} - -function pre_pkg_preinst() { - # Sign out-of-tree kernel modules. - if [[ "$(type -t linux-mod_pkg_preinst)" != "function" ]]; then - # The package does not seem to install any kernel modules. - return - fi - # Get signature algorithm used by the kernel. - local module_sig_hash="$(grep -Po '(?<=CONFIG_MODULE_SIG_HASH=").*(?=")' "${KERNEL_DIR}/.config")" - # Get the key file used by the kernel. - local module_sig_key="$(grep -Po '(?<=CONFIG_MODULE_SIG_KEY=").*(?=")' "${KERNEL_DIR}/.config")" - module_sig_key="${module_sig_key:-certs/signing_key.pem}" - # Key file or PKCS11 URI path. - if [[ "${module_sig_key#pkcs11:}" == "${module_sig_key}" && "${module_sig_key#/}" == "${module_sig_key}" ]]; then - local key_path="${KERNEL_DIR}/${module_sig_key}" - else - local key_path="${module_sig_key}" - fi - # Certificate path. - local cert_path="${KERNEL_DIR}/certs/signing_key.x509" - # Sign all installed modules before merging. - find "${D%/}/${INSDESTTREE#/}/" -name "*.ko" -exec "${KERNEL_DIR}/scripts/sign-file" "${module_sig_hash}" "${key_path}" "${cert_path}" '{}' \; -} diff --git a/portage/env/basic.conf b/portage/env/basic.conf deleted file mode 100644 index e4c7604..0000000 --- a/portage/env/basic.conf +++ /dev/null @@ -1,14 +0,0 @@ -# Portage - env - Clang - Basic - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.0.4 - - -# Flags -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all" diff --git a/portage/env/firefox.conf b/portage/env/firefox.conf deleted file mode 100644 index f8df5db..0000000 --- a/portage/env/firefox.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Portage - env - Firefox - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 4.0.0.5 - - -# Flags -## Hardening flags -C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv" -LD_SEC="-Wl,-pie -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" -RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all" diff --git a/portage/env/gcc-basic.conf b/portage/env/gcc-basic.conf deleted file mode 100644 index a1a7319..0000000 --- a/portage/env/gcc-basic.conf +++ /dev/null @@ -1,29 +0,0 @@ -# Portage - env - GCC - Basic - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.0.4 - - -# Toolchain -AR="ar" -CC="gcc" -CPP="cpp" -CXX="g++" -LD="ld" -NM="nm" -OBJCOPY="objcopy" -OBJDUMP="objdump" -RANLIB="ranlib" -READELF="readelf" -STRINGS="strings" -STRIP="strip" - - -# Flags -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" -## Linker flags -LDFLAGS="-Wl,-O2 -Wl,--strip-all" diff --git a/portage/env/gcc-nolto-nopie.conf b/portage/env/gcc-nolto-nopie.conf deleted file mode 100644 index 5d1d85b..0000000 --- a/portage/env/gcc-nolto-nopie.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Portage - env - GCC - No LTO, no PIE - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.1.4 - - -# Toolchain. -AR="ar" -CC="gcc" -CPP="cpp" -CXX="g++" -LD="ld" -NM="nm" -OBJCOPY="objcopy" -OBJDUMP="objdump" -RANLIB="ranlib" -READELF="readelf" -STRINGS="strings" -STRIP="strip" - - -# Flags -## Hardening flags -C_SEC="-fPIC -fstack-clash-protection -fstack-protector-strong -fwrapv" -LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -## Linker flags -LDFLAGS="-Wl,-O2 ${LD_SEC}" diff --git a/portage/env/gcc-nolto.conf b/portage/env/gcc-nolto.conf index f39a674..74ce5df 100644 --- a/portage/env/gcc-nolto.conf +++ b/portage/env/gcc-nolto.conf @@ -3,7 +3,7 @@ # Copyright 2022-2023 Inference # SPDX-License-Identifier: BSD-3-Clause-Clear -# Version: 3.0.0.5 +# Version: 3.0.1.6 # Toolchain @@ -26,4 +26,4 @@ STRIP="strip" CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" ## Linker flags -LDFLAGS="-Wl,--strip-all -Wl,-O2" +LDFLAGS="-Wl,-O2 -Wl,--strip-all" diff --git a/portage/env/gcc-nopie.conf b/portage/env/gcc-nopie.conf deleted file mode 100644 index 3b540a0..0000000 --- a/portage/env/gcc-nopie.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Portage - env - GCC - No PIE - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.1.5 - - -# Toolchain -AR="ar" -CC="gcc" -CPP="cpp" -CXX="g++" -LD="ld" -NM="nm" -OBJCOPY="objcopy" -OBJDUMP="objdump" -RANLIB="ranlib" -READELF="readelf" -STRINGS="strings" -STRIP="strip" - - -# Flags -## Hardening flags -C_SEC="-fPIC -fstack-clash-protection -fstack-protector-strong -fwrapv" -LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -## Linker flags -LDFLAGS="-Wl,-O2 ${LD_SEC}" diff --git a/portage/env/gcc.conf b/portage/env/gcc.conf deleted file mode 100644 index 6b86d8c..0000000 --- a/portage/env/gcc.conf +++ /dev/null @@ -1,31 +0,0 @@ -# Portage - env - GCC - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.1.4 - - -# Toolchain -AR="ar" -CC="gcc" -CXX="g++" -LD="ld" -NM="nm" -OBJCOPY="objcopy" -OBJDUMP"=objdump" -RANLIB="ranlib" -READELF="readelf" -STRINGS="strings" -STRIP="strip" - - -# Flags -## Hardening flags -C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -fwrapv" -LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -## Linker flags -LDFLAGS="-Wl,-O2 ${LD_SEC}" diff --git a/portage/env/nolto-nopie.conf b/portage/env/nolto-nopie.conf deleted file mode 100644 index 0c90f4a..0000000 --- a/portage/env/nolto-nopie.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Portage - env - Clang - No LTO, no PIE - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 3.0.0.5 - - -# Flags -## Hardening flags -C_SEC="-fPIC -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv" -LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}" diff --git a/portage/env/nolto.conf b/portage/env/nolto.conf deleted file mode 100644 index 4b811ee..0000000 --- a/portage/env/nolto.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Portage - env - Clang - No LTO - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 3.0.0.4 - - -# Flags -## Hardening flags -C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv" -LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}" diff --git a/portage/env/nopie.conf b/portage/env/nopie.conf deleted file mode 100644 index 6987ae9..0000000 --- a/portage/env/nopie.conf +++ /dev/null @@ -1,17 +0,0 @@ -# Portage - env - Clang - No PIE - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 2.0.0.3 - - -# Flags -## Hardening flags -C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv" -LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" -## Compiler flags -CFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--thinlto-jobs=4 ${LD_SEC}" diff --git a/portage/env/notmpfs.conf b/portage/env/notmpfs.conf deleted file mode 100644 index 1cc8f0e..0000000 --- a/portage/env/notmpfs.conf +++ /dev/null @@ -1,10 +0,0 @@ -# Portage - env - No tmpfs - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 0.0.0.0 - - -# Directories -PORTAGE_TMPDIR="/var/tmp/notmpfs/" diff --git a/portage/make.conf b/portage/make.conf deleted file mode 100644 index ceaddeb..0000000 --- a/portage/make.conf +++ /dev/null @@ -1,68 +0,0 @@ -# Portage - make.conf - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 8.0.0.32 - - -# System -## Appearance -NOCOLOR="false" -## CHOST -CHOST="x86_64-gentoo-linux-musl" -## Directories -PORTAGE_LOGDIR="/var/log/portage/" -DISTDIR="/var/cache/distfile/" -PKGDIR="/var/cache/bin/" -## Language -LC_MESSAGES="C" -LINGUAS="en" -L10N="en-GB" -## Gentoo mirrors -## ONLY IPV4 + IPV6 DUAL-STACK MIRRORS SHOULD BE USED! IPV4 IS BEING PHASED OUT! -## IF IPV6-ONLY IS SUPPORTED BY ISP, IPV6-ONLY MIRRORS SHOULD BE PREFERRED! -GENTOO_MIRRORS="rsync://mirror.bytemark.co.uk/gentoo/ rsync://rsync.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://mirror.init7.net/gentoo/ rsync://ftp.iij.ad.jp/pub/linux/gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/gentoo/" -## Emerge -BINPKG_COMPRESS="zstd" -BINPKG_COMPRESS_FLAGS="-7" -CLEAN_DELAY="10" -EMERGE_DEFAULT_OPTS="--ask --jobs 1 --load-average 5 --verbose" -FEATURES="buildpkg ipc-sandbox merge-sync metadata-transfer network-sandbox pid-sandbox sandbox strict unknown-features-filter" -MAKEOPTS="--jobs 4" -PORTAGE_CHECKSUM_FILTER="-* sha256 sha512" -PORTAGE_RSYNC_EXTRA_OPTS="--progress --verbose" - -# Toolchain -AR="llvm-ar" -CC="clang" -CPP="clang-cpp" -CXX="clang++" -LD="ld.lld" -NM="llvm-nm" -OBJCOPY="llvm-objcopy" -OBJDUMP="llvm-objdump" -RANLIB="llvm-ranlib" -READELF="llvm-readelf" -STRINGS="llvm-strings" -STRIP="llvm-strip" - - -# Flags -## Compiler flags -CFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" -CXXFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe" -RUSTFLAGS="-C debuginfo=0 -C embed-bitcode=y -C lto -C opt-level=2 -C target-cpu=znver3" -## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all -Wl,--thinlto-jobs=4" -## USE flags -USE="clang dbus libcxx libedit llvm-libunwind lto nftables pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libvpx system-llvm system-png system-webp verify-sig wayland" -USE="${USE} -ipv6 -systemd -X" -## CPU flags -CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" -## Video card flags -VIDEO_CARDS="amdgpu radeonsi" -## ABI flags -ABI_X86="64" -## LLVM target flags -LLVM_TARGETS="X86" diff --git a/portage/package.accept_keywords b/portage/package.accept_keywords deleted file mode 100644 index b770b27..0000000 --- a/portage/package.accept_keywords +++ /dev/null @@ -1,48 +0,0 @@ -# Portage - package.accept_keywords - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 4.0.0.20 - - -app-arch/unrar ~amd64 -dev-lang/rust ~amd64 -dev-libs/date ~amd64 -dev-libs/icu ~amd64 -dev-libs/libfmt ~amd64 -dev-libs/libstrophe ~amd64 -dev-libs/nss ~amd64 -dev-libs/spdlog ~amd64 -dev-libs/wayland-protocols ~amd64 -fs-util/fsverity-utils ~amd64 -gui-apps/waybar ~amd64 -gui-libs/wlroots ~amd64 -gui-wm/sway ~amd64 - -Date: Wed, 23 Nov 2022 23:16:03 +0000 -Subject: [PATCH] Add dev-libs/Ice patch to remove execinfo.h which is - unapplicable on musl libc. - ---- - portage/patches/dev-libs/Ice/Exception.cpp | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/cpp/src/IceUtil/Exception.cpp b/cpp/src/IceUtil/Exception.cpp -index 2de6e31..831d9ef 100644 ---- a/cpp/src/IceUtil/Exception.cpp -+++ b/cpp/src/IceUtil/Exception.cpp -@@ -31,7 +31,6 @@ - - #if defined(__GNUC__) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && \ - !defined(ICE_STATIC_LIBS) --# include - # include - # define ICE_GCC_STACK_TRACES - #endif diff --git a/portage/patches/gui-libs/wlroots/3581.patch b/portage/patches/gui-libs/wlroots/3581.patch deleted file mode 100644 index 8a2c023..0000000 --- a/portage/patches/gui-libs/wlroots/3581.patch +++ /dev/null @@ -1,114 +0,0 @@ -From 988fe5bda9c11c4b2a25e998bd0329c70cc487a0 Mon Sep 17 00:00:00 2001 -From: Rouven Czerwinski -Date: Fri, 27 May 2022 20:47:34 +0200 -Subject: [PATCH] relative_pointer: handle inert pointer objects - -Since 5e0ef70cc085 ("seat: Create inert objects for missing capabilities") -wlroots can create inert seat objects when the capability is currently missing -for the client but it had the capablity before. The client hoever will happily -handover the wl_pointer resource to the relative_pointer implementation, -creating a NULL pointer dereference when trying to access the seat_client which -is set to NULL for inert objects. - -Since the protocol does not contain an error for such requests, we hand out an -relative_pointer handle with the seat set to NULL. -We also need to check whether there is an associated seat in -send_relative_motion and need to tweak the destroy notifier in case no seat is -available. - -This way we can hand out a valid relative_pointer resource and don't crash the -compositor when trying to access an inert seat pointer resource in -relative_pointer. - -Relevant WAYLAND_DEBUG=1 when testing a client and switching VT every second: -[2619872.442] wl_seat@30.capabilities(3) -[2619872.460] -> wl_seat@30.get_pointer(new id wl_pointer@36) -[2619872.484] wl_data_device@25.selection(nil) -[2619872.504] zwp_primary_selection_device_v1@26.selection(nil) -[2619874.995] wl_seat@12.capabilities(3) -[2619875.035] -> wl_compositor@5.create_surface(new id wl_surface@37) -[2619875.088] -> wl_seat@12.get_pointer(new id wl_pointer@29) -[2619875.105] -> zwp_relative_pointer_manager_v1@8.get_relative_pointer(new id zwp_relative_pointer_v1@27, wl_pointer@29) -[2619875.127] -> wl_compositor@5.create_surface(new id wl_surface@35) -[2619875.139] -> wl_seat@12.get_pointer(new id wl_pointer@43) -[2619981.180] wl_seat@12.capabilities(2) -[2619981.214] -> zwp_relative_pointer_v1@27.destroy() -[2619981.226] -> wl_pointer@29.release() -[2619981.236] -> wl_surface@37.destroy() -[2619981.247] -> wl_pointer@43.release() -[2619981.254] -> wl_surface@35.destroy() -[2619981.262] wl_seat@12.capabilities(0) -[2619981.285] -> wl_keyboard@33.release() -[2619987.316] wl_seat@30.capabilities(2) -[2619987.336] -> wl_pointer@36.release() -[2619987.363] wl_seat@30.capabilities(0) -[2619987.371] -> wl_keyboard@34.release() -[2621932.880] wl_display@1.delete_id(41) -[2621932.903] wl_display@1.delete_id(40) -[2621932.910] wl_display@1.delete_id(27) -[2621932.917] wl_display@1.delete_id(29) -[2621932.924] wl_display@1.delete_id(37) -[2621932.930] wl_display@1.delete_id(43) -[2621932.944] wl_display@1.delete_id(35) -[2621932.950] wl_display@1.delete_id(33) -[2621932.959] wl_seat@12.capabilities(2) -[2621932.976] -> wl_seat@12.get_keyboard(new id wl_keyboard@33) -[2621936.875] wl_seat@12.capabilities(3) -[2621936.893] -> wl_compositor@5.create_surface(new id wl_surface@35) -[2621936.931] -> wl_seat@12.get_pointer(new id wl_pointer@43) -[2621936.945] -> zwp_relative_pointer_manager_v1@8.get_relative_pointer(new id zwp_relative_pointer_v1@37, wl_pointer@43) -[2621936.965] -> wl_compositor@5.create_surface(new id wl_surface@29) -[2621936.987] -> wl_seat@12.get_pointer(new id wl_pointer@27) -[2621942.796] wl_data_device@25.selection(nil) -[2621942.817] zwp_primary_selection_device_v1@26.selection(nil) -[2621942.823] wl_seat@30.capabilities(2) ---- - types/wlr_relative_pointer_v1.c | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c -index 8613f2b91..0c3d3829f 100644 ---- a/types/wlr_relative_pointer_v1.c -+++ b/types/wlr_relative_pointer_v1.c -@@ -117,9 +117,17 @@ static void relative_pointer_manager_v1_handle_get_relative_pointer(struct wl_cl - } - - relative_pointer->resource = relative_pointer_resource; -- relative_pointer->seat = seat_client->seat; - relative_pointer->pointer_resource = pointer; - -+ if (seat_client) { -+ relative_pointer->seat = seat_client->seat; -+ wl_signal_add(&relative_pointer->seat->events.destroy, -+ &relative_pointer->seat_destroy); -+ relative_pointer->seat_destroy.notify = relative_pointer_handle_seat_destroy; -+ } else { -+ wl_list_init(&relative_pointer->seat_destroy.link); -+ } -+ - wl_signal_init(&relative_pointer->events.destroy); - - wl_resource_set_implementation(relative_pointer_resource, &relative_pointer_v1_impl, -@@ -131,10 +139,6 @@ static void relative_pointer_manager_v1_handle_get_relative_pointer(struct wl_cl - wl_list_insert(&manager->relative_pointers, - &relative_pointer->link); - -- wl_signal_add(&relative_pointer->seat->events.destroy, -- &relative_pointer->seat_destroy); -- relative_pointer->seat_destroy.notify = relative_pointer_handle_seat_destroy; -- - wl_resource_add_destroy_listener(relative_pointer->pointer_resource, - &relative_pointer->pointer_destroy); - relative_pointer->pointer_destroy.notify = relative_pointer_handle_pointer_destroy; -@@ -230,7 +234,7 @@ void wlr_relative_pointer_manager_v1_send_relative_motion( - wl_list_for_each(pointer, &manager->relative_pointers, link) { - struct wlr_seat_client *seat_client = - wlr_seat_client_from_pointer_resource(pointer->pointer_resource); -- if (seat != pointer->seat || focused != seat_client) { -+ if (!pointer->seat || seat != pointer->seat || focused != seat_client) { - continue; - } - --- -GitLab - diff --git a/portage/patches/media-libs/gavl/patch-gavl.patch b/portage/patches/media-libs/gavl/patch-gavl.patch deleted file mode 100644 index 86e19d4..0000000 --- a/portage/patches/media-libs/gavl/patch-gavl.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/benchmark.c 2012-06-08 14:49:30.000000000 +0300 -+++ b/src/benchmark.c 2021-03-15 01:35:44.098919393 +0200 -@@ -40,6 +40,7 @@ - #endif - - #ifdef HAVE_SCHED_SETAFFINITY -+#define _GNU_SOURCE - #define __USE_GNU - #include - #endif diff --git a/portage/patches/media-libs/libopenshot-audio/juce_core.cpp b/portage/patches/media-libs/libopenshot-audio/juce_core.cpp deleted file mode 100644 index 868a2ff..0000000 --- a/portage/patches/media-libs/libopenshot-audio/juce_core.cpp +++ /dev/null @@ -1,262 +0,0 @@ -/* - ============================================================================== - - This file is part of the JUCE library. - Copyright (c) 2017 - ROLI Ltd. - - JUCE is an open source library subject to commercial or open-source - licensing. - - The code included in this file is provided under the terms of the ISC license - http://www.isc.org/downloads/software-support-policy/isc-license. Permission - To use, copy, modify, and/or distribute this software for any purpose with or - without fee is hereby granted provided that the above copyright notice and - this permission notice appear in all copies. - - JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER - EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE - DISCLAIMED. - - ============================================================================== -*/ - -#ifdef JUCE_CORE_H_INCLUDED - /* When you add this cpp file to your project, you mustn't include it in a file where you've - already included any other headers - just put it inside a file on its own, possibly with your config - flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix - header files that the compiler may be using. - */ - #error "Incorrect use of JUCE cpp file" -#endif - -#define JUCE_CORE_INCLUDE_OBJC_HELPERS 1 -#define JUCE_CORE_INCLUDE_COM_SMART_PTR 1 -#define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1 -#define JUCE_CORE_INCLUDE_JNI_HELPERS 1 - -#include "juce_core.h" - -#include -#include -#include - -#if ! JUCE_ANDROID - #include - #include -#endif - -#if JUCE_WINDOWS - #include - - #if JUCE_MINGW - #include - #include - #include - #else - #pragma warning (push) - #pragma warning (disable: 4091) - #include - #pragma warning (pop) - - #if ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES - #pragma comment (lib, "DbgHelp.lib") - #endif - #endif - -#else - #if JUCE_LINUX || JUCE_ANDROID - #include - #include - #include - #include - #include - #endif - - #if JUCE_LINUX - #include - #include - #include - #include - - #if JUCE_USE_CURL - #include - #endif - #endif - - #include - #include - #include - #include - #include - #include - #include - #include - - #if ! JUCE_ANDROID - #endif -#endif - -#if JUCE_MAC || JUCE_IOS - #include - #include - #include -#endif - -#if JUCE_ANDROID - #include - #include -#endif - -#undef check - -//============================================================================== -#ifndef JUCE_STANDALONE_APPLICATION - JUCE_COMPILER_WARNING ("Please re-save your project with the latest Projucer version to avoid this warning") - #define JUCE_STANDALONE_APPLICATION 0 -#endif - -//============================================================================== -#include "containers/juce_AbstractFifo.cpp" -#include "containers/juce_ArrayBase.cpp" -#include "containers/juce_NamedValueSet.cpp" -#include "containers/juce_OwnedArray.cpp" -#include "containers/juce_PropertySet.cpp" -#include "containers/juce_ReferenceCountedArray.cpp" -#include "containers/juce_SparseSet.cpp" -#include "files/juce_DirectoryIterator.cpp" -#include "files/juce_File.cpp" -#include "files/juce_FileInputStream.cpp" -#include "files/juce_FileOutputStream.cpp" -#include "files/juce_FileSearchPath.cpp" -#include "files/juce_TemporaryFile.cpp" -#include "logging/juce_FileLogger.cpp" -#include "logging/juce_Logger.cpp" -#include "maths/juce_BigInteger.cpp" -#include "maths/juce_Expression.cpp" -#include "maths/juce_Random.cpp" -#include "memory/juce_MemoryBlock.cpp" -#include "misc/juce_RuntimePermissions.cpp" -#include "misc/juce_Result.cpp" -#include "misc/juce_Uuid.cpp" -#include "misc/juce_ConsoleApplication.cpp" -#include "network/juce_MACAddress.cpp" -#include "network/juce_NamedPipe.cpp" -#include "network/juce_Socket.cpp" -#include "network/juce_IPAddress.cpp" -#include "streams/juce_BufferedInputStream.cpp" -#include "streams/juce_FileInputSource.cpp" -#include "streams/juce_InputStream.cpp" -#include "streams/juce_MemoryInputStream.cpp" -#include "streams/juce_MemoryOutputStream.cpp" -#include "streams/juce_SubregionStream.cpp" -#include "system/juce_SystemStats.cpp" -#include "text/juce_CharacterFunctions.cpp" -#include "text/juce_Identifier.cpp" -#include "text/juce_LocalisedStrings.cpp" -#include "text/juce_String.cpp" -#include "streams/juce_OutputStream.cpp" -#include "text/juce_StringArray.cpp" -#include "text/juce_StringPairArray.cpp" -#include "text/juce_StringPool.cpp" -#include "text/juce_TextDiff.cpp" -#include "text/juce_Base64.cpp" -#include "threads/juce_ReadWriteLock.cpp" -#include "threads/juce_Thread.cpp" -#include "threads/juce_ThreadPool.cpp" -#include "threads/juce_TimeSliceThread.cpp" -#include "time/juce_PerformanceCounter.cpp" -#include "time/juce_RelativeTime.cpp" -#include "time/juce_Time.cpp" -#include "unit_tests/juce_UnitTest.cpp" -#include "containers/juce_Variant.cpp" -#include "javascript/juce_JSON.cpp" -#include "javascript/juce_Javascript.cpp" -#include "containers/juce_DynamicObject.cpp" -#include "xml/juce_XmlDocument.cpp" -#include "xml/juce_XmlElement.cpp" -#include "zip/juce_GZIPDecompressorInputStream.cpp" -#include "zip/juce_GZIPCompressorOutputStream.cpp" -#include "zip/juce_ZipFile.cpp" -#include "files/juce_FileFilter.cpp" -#include "files/juce_WildcardFileFilter.cpp" - -//============================================================================== -#if ! JUCE_WINDOWS - #include "native/juce_posix_SharedCode.h" - #include "native/juce_posix_NamedPipe.cpp" - #if ! JUCE_ANDROID || __ANDROID_API__ >= 24 - #include "native/juce_posix_IPAddress.h" - #endif -#endif - -//============================================================================== -#if JUCE_MAC || JUCE_IOS - #include "native/juce_mac_Files.mm" - #include "native/juce_mac_Network.mm" - #include "native/juce_mac_Strings.mm" - #include "native/juce_mac_SystemStats.mm" - #include "native/juce_mac_Threads.mm" - -//============================================================================== -#elif JUCE_WINDOWS - #include "native/juce_win32_Files.cpp" - #include "native/juce_win32_Network.cpp" - #include "native/juce_win32_Registry.cpp" - #include "native/juce_win32_SystemStats.cpp" - #include "native/juce_win32_Threads.cpp" - -//============================================================================== -#elif JUCE_LINUX - #include "native/juce_linux_CommonFile.cpp" - #include "native/juce_linux_Files.cpp" - #include "native/juce_linux_Network.cpp" - #if JUCE_USE_CURL - #include "native/juce_curl_Network.cpp" - #endif - #include "native/juce_linux_SystemStats.cpp" - #include "native/juce_linux_Threads.cpp" - -//============================================================================== -#elif JUCE_ANDROID - #include "native/juce_linux_CommonFile.cpp" - #include "native/juce_android_JNIHelpers.cpp" - #include "native/juce_android_Files.cpp" - #include "native/juce_android_Misc.cpp" - #include "native/juce_android_Network.cpp" - #include "native/juce_android_SystemStats.cpp" - #include "native/juce_android_Threads.cpp" - #include "native/juce_android_RuntimePermissions.cpp" - -#endif - -#include "threads/juce_ChildProcess.cpp" -#include "threads/juce_HighResolutionTimer.cpp" -#include "threads/juce_WaitableEvent.cpp" -#include "network/juce_URL.cpp" -#include "network/juce_WebInputStream.cpp" -#include "streams/juce_URLInputSource.cpp" - -//============================================================================== -#if JUCE_UNIT_TESTS - #include "containers/juce_HashMap_test.cpp" -#endif - -//============================================================================== -namespace juce -{ -/* - As the very long class names here try to explain, the purpose of this code is to cause - a linker error if not all of your compile units are consistent in the options that they - enable before including JUCE headers. The reason this is important is that if you have - two cpp files, and one includes the juce headers with debug enabled, and the other doesn't, - then each will be generating code with different memory layouts for the classes, and - you'll get subtle and hard-to-track-down memory corruption bugs! -*/ -#if JUCE_DEBUG - this_will_fail_to_link_if_some_of_your_compile_units_are_built_in_debug_mode - ::this_will_fail_to_link_if_some_of_your_compile_units_are_built_in_debug_mode() noexcept {} -#else - this_will_fail_to_link_if_some_of_your_compile_units_are_built_in_release_mode - ::this_will_fail_to_link_if_some_of_your_compile_units_are_built_in_release_mode() noexcept {} -#endif -} diff --git a/portage/patches/media-libs/libopenshot-audio/juce_core.patch b/portage/patches/media-libs/libopenshot-audio/juce_core.patch deleted file mode 100644 index 94c5496..0000000 --- a/portage/patches/media-libs/libopenshot-audio/juce_core.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/portage/patches/media-libs/libopenshot-audio/juce_core.cpp b/portage/patches/media-libs/libopenshot-audio/juce_core.cpp -index 8bac812..868a2ff 100644 ---- a/JuceLibraryCode/modules/juce_core/juce_core.cpp -+++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp -@@ -93,7 +93,6 @@ - #include - - #if ! JUCE_ANDROID -- #include - #endif - #endif - diff --git a/portage/patches/media-libs/mlt/musl-locale.patch b/portage/patches/media-libs/mlt/musl-locale.patch deleted file mode 100644 index 46f7534..0000000 --- a/portage/patches/media-libs/mlt/musl-locale.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/framework/mlt_property.h b/src/framework/mlt_property.h -index 1bfc971fb7..e2ba1c1d6d 100644 ---- a/src/framework/mlt_property.h -+++ b/src/framework/mlt_property.h -@@ -30,7 +30,7 @@ - #include - #endif - --#if (defined(__GLIBC__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H) -+#if (defined(__linux__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H) - # include - #elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506) - # include diff --git a/portage/patches/sys-apps/sandbox/0001-configure.ac-check-for-backtrace-function-only-if-ex.patch b/portage/patches/sys-apps/sandbox/0001-configure.ac-check-for-backtrace-function-only-if-ex.patch deleted file mode 100644 index 2900063..0000000 --- a/portage/patches/sys-apps/sandbox/0001-configure.ac-check-for-backtrace-function-only-if-ex.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 1fb3b0d59e41dbef1f93e2194e1827a11b8b9f45 Mon Sep 17 00:00:00 2001 -From: Alfred Wingate -Date: Mon, 21 Feb 2022 20:24:09 +0200 -Subject: [PATCH] configure.ac: check for backtrace function only if execinfo.h - is found - -* llvm-unwindlib has backtrace function defined so it might lead to a - false result in the test otherwise on musl systems which dont have - execinfo.h - -Signed-off-by: Alfred Wingate ---- - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 698051f..644bd06 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -161,6 +161,8 @@ AC_CHECK_HEADERS_ONCE(m4_flatten([ - linux/ptrace.h - ])) - -+AC_CHECK_HEADER(execinfo.h, AC_DEFINE(HAVE_EXECINFO_H) AC_CHECK_FUNCS_ONCE(backtrace)) -+ - dnl Checks for typedefs, structures, and compiler characteristics. - dnl Do this after all headers have been checked. - AC_C_CONST -@@ -187,7 +189,6 @@ AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK - AC_TYPE_SIGNAL - AC_FUNC_STAT - AC_CHECK_FUNCS_ONCE(m4_flatten([ -- backtrace - clone - __clone2 - creat64 --- -2.35.1 - diff --git a/portage/patches/sys-boot/grub/gnulinux.patch b/portage/patches/sys-boot/grub/gnulinux.patch deleted file mode 100644 index d8bce1e..0000000 --- a/portage/patches/sys-boot/grub/gnulinux.patch +++ /dev/null @@ -1,29 +0,0 @@ -Not GNU/Linux. - ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -29,9 +29,9 @@ export TEXTDOMAINDIR="@localedir@" - CLASS="--class gnu-linux --class gnu --class os" - - if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then -- OS=GNU/Linux -+ OS=Linux - else -- OS="${GRUB_DISTRIBUTOR} GNU/Linux" -+ OS="${GRUB_DISTRIBUTOR} Linux" - CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}" - fi - ---- a/util/grub.d/20_linux_xen.in -+++ b/util/grub.d/20_linux_xen.in -@@ -29,9 +29,9 @@ export TEXTDOMAINDIR="@localedir@" - CLASS="--class gnu-linux --class gnu --class os --class xen" - - if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then -- OS=GNU/Linux -+ OS=Linux - else -- OS="${GRUB_DISTRIBUTOR} GNU/Linux" -+ OS="${GRUB_DISTRIBUTOR} Linux" - CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}" - fi diff --git a/portage/profile/package.provided b/portage/profile/package.provided deleted file mode 100644 index 074f822..0000000 --- a/portage/profile/package.provided +++ /dev/null @@ -1,3 +0,0 @@ -# Portage package.provided - -# Copyright 2022 Inference diff --git a/portage/profile/package.use.force b/portage/profile/package.use.force deleted file mode 100644 index 8e2f079..0000000 --- a/portage/profile/package.use.force +++ /dev/null @@ -1,3 +0,0 @@ -# Portage package.use.force - -# Copyright 2022 Inference diff --git a/portage/repos.conf b/portage/repos.conf deleted file mode 100644 index 743d89d..0000000 --- a/portage/repos.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Portage - repos.conf - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 5.0.0.12 - - -# ONLY IPV4 + IPV6 DUAL-STACK MIRRORS SHOULD BE USED! IPV4 IS BEING PHASED OUT! -# IF IPV6-ONLY IS SUPPORTED BY ISP, IPV6-ONLY MIRRORS SHOULD BE PREFERRED! - -# Gentoo -[gentoo] -location = /var/db/repos/gentoo/ -sync-type = git -sync-uri = https://github.com/gentoo-mirror/gentoo.git -sync-git-verify-commit-signature = yes -sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc -sync-openpgp-key-refresh = true -sync-openpgp-key-server = hkps://keys.gentoo.org -strict-misc-digests = true -sync-allow-hardlinks = true - -# Local -[local] -location = /var/db/repos/local/ - -# Inferencium -[general] -location = /var/db/repos/general/ -sync-type = git -sync-uri = https://git.inferencium.net/Inferencium/general.git - -# LibreWolf -[librewolf] -location = /var/db/repos/librewolf/ -sync-type = git -sync-uri = https://gitlab.com/librewolf-community/browser/gentoo.git diff --git a/portage/sets/lang b/portage/sets/lang deleted file mode 100644 index 1f7e7e7..0000000 --- a/portage/sets/lang +++ /dev/null @@ -1,25 +0,0 @@ -# Portage - Set - Programming Languages - -# Copyright 2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 0.0.0.0 - - -# Packages which contain or bootstrap programming languages. These packages should be recompiled -# after each toolchain update/change, and all software compiled using these programming languages -# should be recompiled using the recompiled programming languages afterwards. -dev-lang/duktape -dev-lang/go -dev-lang/lua -dev-lang/luajit -dev-lang/nasm -dev-lang/perl -dev-lang/python -dev-lang/python-exec -dev-lang/python-exec-conf -dev-lang/rust -dev-lang/swig -dev-lang/tcl -dev-lang/vala -dev-lang/yasm diff --git a/portage/sets/rust b/portage/sets/rust deleted file mode 100644 index 4db2ba2..0000000 --- a/portage/sets/rust +++ /dev/null @@ -1,12 +0,0 @@ -# Portage - Set - Rust - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 0.0.1.1 - - -# Packages which are written in Rust and are compiled via rustc. These packages should be recompiled -# after each Rust update/change. -sys-process/bottom -x11-terms/alacritty diff --git a/portage/sets/tc-llvm b/portage/sets/tc-llvm deleted file mode 100644 index b743eb4..0000000 --- a/portage/sets/tc-llvm +++ /dev/null @@ -1,20 +0,0 @@ -# Portage - Set - Toolchain - LLVM - -# Copyright 2022-2023 Inference -# SPDX-License-Identifier: BSD-3-Clause-Clear - -# Version: 0.1.1.2 - - -sys-devel/clang -sys-devel/clang-common -sys-devel/clang-runtime -sys-devel/lld -sys-devel/llvm -sys-devel/llvm-common -sys-libs/compiler-rt -sys-libs/compiler-rt-sanitizers -sys-libs/libcxx -sys-libs/libcxxabi -sys-libs/libomp -sys-libs/llvm-libunwind