Sort linker flags A-Z.

This commit is contained in:
inference 2023-01-17 05:09:50 +00:00
parent c8d2974c94
commit bbcf29bcee
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M
33 changed files with 2 additions and 1491 deletions

View File

@ -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}" '{}' \;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

31
portage/env/gcc.conf vendored
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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
<media-gfx/gimp-3.0.0 **
media-libs/babl ~amd64
media-libs/dav1d ~amd64
media-libs/gegl ~amd64
net-im/profanity ~amd64
net-misc/ytfzf ~amd64
sys-auth/elogind ~amd64
sys-devel/clang ~amd64
sys-devel/clang-common ~amd64
sys-devel/clang-runtime ~amd64
sys-devel/gcc ~amd64
sys-devel/lld ~amd64
sys-devel/llvm ~amd64
sys-devel/llvm-common ~amd64
sys-fs/jmtpfs ~amd64
sys-kernel/fortress-kernel ~amd64
sys-kernel/inf-kernel ~amd64
sys-kernel/linux-firmware ~amd64
sys-libs/compiler-rt ~amd64
sys-libs/compiler-rt-sanitizers ~amd64
sys-libs/libcxx ~amd64
sys-libs/libcxxabi ~amd64
sys-libs/libomp ~amd64
sys-libs/libucontext ~amd64
sys-libs/llvm-libunwind ~amd64
virtual/rust ~amd64
www-client/librewolf ~amd64

View File

@ -1,382 +0,0 @@
# Portage - package.env
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 5.0.0.39
# No LTO
app-crypt/efitools nolto.conf
app-shells/zsh nolto.conf
dev-lang/luajit nolto.conf
dev-lang/rust nolto.conf notmpfs.conf
dev-util/cbindgen nolto.conf
sys-libs/libcap nolto.conf
sys-process/bottom nolto.conf
x11-terms/alacritty nolto.conf
# No PIE
app-accessibility/at-spi2-atk nopie.conf
app-accessibility/at-spi2-core nopie.conf
app-admin/doas nopie.conf
app-admin/keepassxc nopie.conf
app-admin/perl-cleaner nopie.conf
app-admin/setools nopie.conf
app-admin/sysklogd nopie.conf
app-arch/brotli nopie.conf
app-arch/bzip2 nopie.conf
app-arch/libarchive nopie.conf
app-arch/lz4 nopie.conf
app-arch/unrar nopie.conf
app-arch/xz-utils nopie.conf
app-arch/zstd nopie.conf
app-crypt/argon2 nopie.conf
app-crypt/efitools nopie.conf
app-crypt/gnupg nopie.conf
app-crypt/gpgme nopie.conf
app-crypt/libb2 nopie.conf
app-crypt/libmd nopie.conf
app-crypt/mhash nopie.conf
app-crypt/pinentry nopie.conf
app-crypt/rhash nopie.conf
app-editors/neovim nopie.conf
app-eselect/eselect-fontconfig nopie.conf
app-eselect/eselect-mpg123 nopie.conf
app-eselect/eselect-notify-send nopie.conf
app-eselect/eselect-rust nopie.conf
app-eselect/eselect-vi nopie.conf
app-i18n/uchardet nopie.conf
app-misc/ca-certificates nopie.conf
app-misc/jq nopie.conf
app-misc/mc nopie.conf
app-misc/tmux nopie.conf
app-portage/eix nopie.conf
app-portage/gemato nopie.conf
app-shells/bash nopie.conf
app-text/asciidoc nopie.conf
app-text/enchant nopie.conf
app-text/hunspell nopie.conf
app-text/poppler nopie.conf
app-text/xmlto nopie.conf
dev-cpp/atkmm nopie.conf
dev-cpp/cairomm nopie.conf
dev-cpp/glibmm nopie.conf
dev-cpp/gtkmm nopie.conf
dev-cpp/pangomm nopie.conf
dev-db/lmdb nopie.conf
dev-db/sqlite nopie.conf
dev-lang/duktape nopie.conf
dev-lang/lua nopie.conf
dev-lang/tcl nopie.conf
dev-lang/vala nopie.conf
dev-libs/atk nopie.conf
dev-libs/boehm-gc nopie.conf
dev-libs/boost nopie.conf
dev-libs/botan nopie.conf
dev-libs/date nopie.conf
dev-libs/dbus-glib nopie.conf
dev-libs/double-conversion nopie.conf
dev-libs/elfutils nopie.conf
dev-libs/expat nopie.conf
dev-libs/fribidi nopie.conf
dev-libs/glib nopie.conf
dev-libs/gmp nopie.conf
dev-libs/icu nopie.conf
dev-libs/json-c nopie.conf
dev-libs/json-glib nopie.conf
dev-libs/jsoncpp nopie.conf
dev-libs/libaio nopie.conf
dev-libs/libassuan nopie.conf
dev-libs/libatasmart nopie.conf
dev-libs/libatomic_ops nopie.conf
dev-libs/libbsd nopie.conf
dev-libs/libbytesize nopie.conf
dev-libs/libdbusmenu-qt nopie.conf
dev-libs/libevdev nopie.conf
dev-libs/libffi nopie.conf
dev-libs/libfmt nopie.conf
dev-libs/libgcrypt nopie.conf
dev-libs/libgee nopie.conf
dev-libs/libgpg-error nopie.conf
dev-libs/libgudev nopie.conf
dev-libs/libinput nopie.conf
dev-libs/libksba nopie.conf
dev-libs/libltdl nopie.conf
dev-libs/libmpack nopie.conf
dev-libs/libnl nopie.conf
dev-libs/libpcre nopie.conf
dev-libs/libpcre2 nopie.conf
dev-libs/libpipeline nopie.conf
dev-libs/libsigc++ nopie.conf
dev-libs/libsodium nopie.conf
dev-libs/libstrophe nopie.conf
dev-libs/libtasn1 nopie.conf
dev-libs/libtermkey nopie.conf
dev-libs/libtomcrypt nopie.conf
dev-libs/libtommath nopie.conf
dev-libs/libunistring nopie.conf
dev-libs/libusb nopie.conf
dev-libs/libuv nopie.conf
dev-libs/libvterm nopie.conf
dev-libs/libyaml nopie.conf
dev-libs/lzo nopie.conf
dev-libs/mpc nopie.conf
dev-libs/mpfr nopie.conf
dev-libs/msgpack nopie.conf
dev-libs/nettle nopie.conf
dev-libs/npth nopie.conf
dev-libs/nspr nopie.conf
dev-libs/nss nopie.conf
dev-libs/oniguruma nopie.conf
dev-libs/openssl nopie.conf
dev-libs/popt nopie.conf
dev-libs/protobuf nopie.conf
dev-libs/re2 nopie.conf
dev-libs/spdlog nopie.conf
dev-libs/tree-sitter nopie.conf
dev-libs/unibilium nopie.conf
dev-libs/wayland nopie.conf
dev-qt/* nopie.conf
dev-util/cbindgen nopie.conf
dev-util/glslang nopie.conf
dev-util/meson nopie.conf
dev-util/ninja nopie.conf
dev-util/ostree nopie.conf
dev-util/spirv-headers nopie.conf
dev-util/re2c nopie.conf
gnome-base/dconf nopie.conf
gnome-base/gsettings-desktop-schemas nopie.conf
gnome-base/librsvg nopie.conf
gui-libs/wlroots nopie.conf
media-fonts/font-util nopie.conf
media-gfx/chafa nopie.conf
media-gfx/exiv2 nopie.conf
media-gfx/gimp nopie.conf
media-gfx/graphicsmagick nopie.conf
media-gfx/graphite2 nopie.conf
media-gfx/imagemagick nopie.conf
media-gfx/mypaint-brushes nopie.conf
media-gfx/qrencode nopie.conf
media-libs/alsa-lib nopie.conf
media-libs/babl nopie.conf
media-libs/dav1d nopie.conf
media-libs/flac nopie.conf
media-libs/fontconfig nopie.conf
media-libs/freetype nopie.conf
media-libs/gavl nopie.conf
media-libs/gegl nopie.conf
media-libs/gexiv2 nopie.conf
media-libs/glew nopie.conf
media-libs/glu nopie.conf
media-libs/harfbuzz nopie.conf
media-libs/ladspa-sdk nopie.conf
media-libs/lcms nopie.conf
media-libs/libaom nopie.conf
media-libs/libass nopie.conf
media-libs/libebur128 nopie.conf
media-libs/libepoxy nopie.conf
media-libs/libexif nopie.conf
media-libs/libglvnd nopie.conf
media-libs/libjpeg-turbo nopie.conf
media-libs/libmad nopie.conf
media-libs/libmpdclient nopie.conf
media-libs/libmtp nopie.conf
media-libs/libmypaint nopie.conf
media-libs/libnsgif nopie.conf
media-libs/libogg nopie.conf
media-libs/libopusenc nopie.conf
media-libs/libpng nopie.conf
media-libs/libpulse nopie.conf
media-libs/libsamplerate nopie.conf
media-libs/libsdl2 nopie.conf
media-libs/libsndfile nopie.conf
media-libs/libtheora nopie.conf
media-libs/libva nopie.conf
media-libs/libvorbis nopie.conf
media-libs/libvpx nopie.conf
media-libs/libwebp nopie.conf
media-libs/lilv nopie.conf
media-libs/mesa nopie.conf
media-libs/openal nopie.conf
media-libs/openh264 nopie.conf
media-libs/openjpeg nopie.conf
media-libs/opus nopie.conf
media-libs/opusfile nopie.conf
media-libs/portaudio nopie.conf
media-libs/soxr nopie.conf
media-libs/speex nopie.conf
media-libs/speexdsp nopie.conf
media-libs/sratom nopie.conf
media-libs/suil nopie.conf
media-libs/tiff nopie.conf
media-libs/vulkan-loader nopie.conf
media-libs/webrtc-audio-processing nopie.conf
media-libs/x264 nopie.conf
media-libs/xvid nopie.conf
media-plugins/alsa-plugins nopie.conf
media-plugins/frei0r-plugins nopie.conf
media-sound/alsa-utils nopie.conf
media-sound/lame nopie.conf
media-sound/mpg123 nopie.conf
media-sound/pulseaudio nopie.conf
media-sound/pulseaudio-daemon nopie.conf
media-sound/pulsemixer nopie.conf
media-video/ffmpeg nopie.conf
media-video/movit nopie.conf
net-dns/c-ares nopie.conf
net-dns/libidn2 nopie.conf
net-firewall/iptables nopie.conf
net-im/profanity nopie.conf
net-libs/glib-networking nopie.conf
net-libs/gnutls nopie.conf
net-libs/libasyncns nopie.conf
net-libs/libmnl nopie.conf
net-libs/libnftnl nopie.conf
net-libs/libotr nopie.conf
net-libs/libproxy nopie.conf
net-libs/libpsl nopie.conf
net-libs/libsignal-protocol-c nopie.conf
net-libs/libsoup nopie.conf
net-libs/nghttp2 nopie.conf
net-libs/zeromq nopie.conf
net-misc/curl nopie.conf
sci-libs/fftw nopie.conf
sys-apps/acl nopie.conf
sys-apps/file nopie.conf
sys-apps/flatpak nopie.conf
sys-apps/gawk nopie.conf
sys-apps/help2man nopie.conf
sys-apps/kmod nopie.conf
sys-apps/man-db nopie.conf
sys-apps/openrc nopie.conf
sys-apps/pciutils nopie.conf
sys-apps/pcsc-lite nopie.conf
sys-apps/sandbox nopie.conf
sys-apps/sed nopie.conf
sys-apps/systemd-utils nopie.conf
sys-apps/util-linux nopie.conf
sys-auth/libyubikey nopie.conf
sys-auth/passwdqc nopie.conf
sys-auth/polkit-qt nopie.conf
sys-auth/seatd nopie.conf
sys-auth/ykpers nopie.conf
sys-devel/bc nopie.conf
sys-devel/binutils nopie.conf
sys-devel/clang nopie.conf
sys-devel/clang-common nopie.conf
sys-devel/clang-runtime nopie.conf
sys-devel/lld nopie.conf
sys-devel/llvm nopie.conf
sys-devel/llvm-common nopie.conf
sys-fs/btrfs-progs nopie.conf
sys-fs/cryptmount nopie.conf
sys-fs/cryptsetup nopie.conf
sys-fs/e2fsprogs nopie.conf
sys-fs/fuse nopie.conf
sys-fs/udev nopie.conf
sys-fs/udisks nopie.conf
sys-libs/argp-standalone nopie.conf
sys-libs/binutils-libs nopie.conf
sys-libs/compiler-rt-sanitizers nopie.conf
sys-libs/efivar nopie.conf
sys-libs/fts-standalone nopie.conf
sys-libs/gdbm nopie.conf
sys-libs/libblockdev nopie.conf
sys-libs/libcap-ng nopie.conf
sys-libs/libcxx nopie.conf
sys-libs/libcxxabi nopie.conf
sys-libs/libomp nopie.conf
sys-libs/libseccomp nopie.conf
sys-libs/libsepol nopie.conf
sys-libs/libucontext nopie.conf
sys-libs/llvm-libunwind nopie.conf
sys-libs/mtdev nopie.conf
sys-libs/ncurses nopie.conf
sys-libs/obstack-standalone nopie.conf
sys-libs/pam nopie.conf
sys-libs/readline nopie.conf
sys-libs/zlib nopie.conf
sys-process/psmisc nopie.conf
virtual/libelf nopie.conf
virtual/rust nopie.conf
virtual/w3m nopie.conf
www-client/w3m nopie.conf
x11-base/xcb-proto nopie.conf
x11-libs/* nopie.conf
x11-themes/gtk-engines-adwaita nopie.conf
# No LTO, No PIE
gnome-base/librsvg nolto-nopie.conf
# Basic
app-admin/setools basic.conf
app-portage/portage-utils basic.conf
app-text/tree basic.conf
dev-lang/perl basic.conf
dev-lang/python basic.conf
dev-libs/appstream-glib basic.conf
dev-libs/libevent basic.conf
dev-libs/libxml2 basic.conf
dev-libs/libxslt basic.conf
dev-lua/lpeg basic.conf
dev-lua/luv basic.conf
dev-lua/mpack basic.conf
dev-perl/* basic.conf
dev-python/* basic.conf
dev-util/pkgconf basic.conf
gui-apps/waybar basic.conf
media-sound/cmus basic.conf
net-analyzer/openbsd-netcat basic.conf
net-libs/nodejs basic.conf
net-voip/mumble basic.conf
perl-core/* basic.conf
sys-apps/attr basic.conf
sys-apps/dbus basic.conf
sys-apps/iproute2 basic.conf
sys-apps/portage basic.conf
sys-apps/shadow basic.conf
sys-block/parted basic.conf
sys-boot/grub basic.conf
sys-devel/gettext basic.conf
sys-fs/cryptmount basic.conf
sys-fs/fuse basic.conf
sys-fs/lvm2 basic.conf
sys-libs/compiler-rt basic.conf
sys-libs/libcap basic.conf
sys-libs/libselinux basic.conf
sys-libs/libsemanage basic.conf
sys-libs/musl basic.conf
sys-libs/slang basic.conf
sys-process/audit basic.conf
sys-process/procps basic.conf
# GCC - No PIE
app-arch/cpio gcc-nopie.conf
app-arch/zip gcc-nopie.conf
app-crypt/pinentry gcc-nopie.conf
app-crypt/signify gcc-nopie.conf
dev-libs/libedit gcc-nopie.conf
dev-libs/poco gcc-nopie.conf
dev-util/spirv-tools gcc-nopie.conf
media-libs/libaom gcc-nopie.conf
media-libs/libopenshot-audio gcc-nopie.conf
media-video/mpv gcc-nopie.conf
net-misc/rsync gcc-nopie.conf
sys-apps/coreutils gcc-nopie.conf
sys-auth/elogind gcc-nopie.conf
sys-auth/polkit gcc-nopie.conf
sys-block/thin-provisioning-tools gcc-nopie.conf
sys-devel/gcc gcc-nopie.conf
sys-devel/gettext gcc-nopie.conf
sys-fs/jmtpfs gcc-nopie.conf
x11-libs/gtk+ gcc-nopie.conf
x11-libs/pixman gcc-nopie.conf
# GCC - Basic
dev-libs/gobject-introspection gcc-basic.conf
sys-apps/iproute2 gcc-basic.conf
sys-fs/lvm2 gcc-basic.conf
# Firefox
www-client/librewolf firefox.conf notmpfs.conf

View File

@ -1,15 +0,0 @@
# Portage - package.license
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.1.2
*/* BSD
*/* GPL-2
*/* GPL-3
*/* MIT
app-arch/unrar unRAR
sys-kernel/inf-kernel linux-firmware
sys-kernel/linux-firmware @BINARY-REDISTRIBUTABLE

View File

@ -1,34 +0,0 @@
# Portage - package.mask
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# 2.0.0.3
# Global
#*/*x11*
#*/*xorg*
## sudo is a security risk due to overly complex configuration; doas is a superior alternative with
## simple configuration.
app-admin/sudo
## Hikari frequently loses connection to Wayland server and kills open processes.
gui-wm/hikari
## llvm-libunwind is an LLVM-optimised alternative to libunwind.
sys-libs/libunwind
## Chromium is incompatible with musl, and patches to make it compatible are unmaintainable.
www-client/chromium
## Firefox includes unnecessary features for a web browser, and its practices are questionable;
## LibreWolf is a minimal alternative which strips these features.
www-client/firefox
# Gentoo
## Gentoo kernels are often behind with updates for lengthy periods of time; this is unacceptable
## for high-security systems.
sys-kernel/*-kernel::gentoo
sys-kernel/*-kernel-bin::gentoo
sys-kernel/*-sources::gentoo
## Downloading entire linux-firmware package when only a small amount of firmware files are required
## is a waste of bandwidth; switched to in-house linux-firmware package which contains only required
## firmware files.
sys-kernel/linux-firmware::gentoo

View File

@ -1,9 +0,0 @@
# Portage - package.unmask
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# 1.0.0.2
# Global

View File

@ -1,77 +0,0 @@
# Portage - package.use
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# 7.0.0.18
app-admin/keepassxc -network yubikey
app-crypt/gcr gtk
app-text/poppler cairo
app-text/xmlto text
dev-cpp/cairomm X
dev-libs/libedit static-libs
dev-libs/libpcre -readline
dev-libs/libpcre2 -readline
dev-libs/libsodium -verify-sig
dev-libs/libusb udev
dev-libs/libxml2 icu
dev-python/PyQt5 svg gui widgets webchannel printsupport network
dev-qt/qtcore icu
dev-qt/qtgui egl eglfs jpeg X
dev-qt/qtmultimedia widgets
dev-qt/qtwebchannel qml
dev-qt/qtwebengine widgets
dev-util/android-tools udev
gui-apps/grim jpeg
gui-apps/waybar -popups -sndio -tray mpd network
gui-libs/wlroots X
gui-wm/sway -swaybar man swaybg swayidle swaylock swaymsg X
media-fonts/noto cjk
media-gfx/graphicsmagick png
media-libs/babl lcms introspection
media-libs/freeimage jpeg jpeg2k png raw tiff webp
media-libs/gegl cairo introspection lcms
media-libs/harfbuzz icu glib introspection truetype
media-libs/imlib2 X
media-libs/libepoxy X
media-libs/libglvnd X
media-libs/libpng apng
media-libs/libpulse X
media-libs/libraw jpeg
media-libs/libsdl2 gles2 opengl X
media-libs/libvpx postproc
media-libs/mesa X
media-libs/opencv contrib contribdnn
media-libs/sdl2-image gif jpeg png tiff webp
media-libs/sdl2-mixer -fluidsynth -mad -midi -mikmod -mod -modplug -playtools -static-libs -timidity -tremor flac mp3 opus vorbis wav
media-plugins/alsa-plugins pulseaudio
media-video/ffmpeg mp3 sdl theora vorbis vpx X x264 xvid
media-video/mpv -xv cli
net-dns/dnsmasq ipv6 script
net-im/profanity -gpg -otr omemo
net-libs/nodejs -lto inspector
net-libs/zeromq drafts
net-misc/chrony nts -ntp
sys-auth/polkit duktape
sys-auth/seatd server
sys-apps/file zstd
sys-block/parted device-mapper
sys-devel/binutils -cet static-libs
sys-devel/clang-common default-compiler-rt default-libcxx default-lld stricter
sys-devel/clang-runtime -sanitize libcxx
sys-devel/gcc -cet -fortran zstd
sys-devel/llvm zstd
sys-fs/cryptsetup argon2 nls openssl reencrypt udev
sys-kernel/inf-kernel symlink
sys-libs/compiler-rt-sanitizers -asan -cfi -dfsan -hwasan -libfuzzer -lsan -memprof -msan -profile -safestack -scudo -shadowcallstack -tsan -ubsan -xray
sys-libs/libcxx static-libs
sys-libs/libcxxabi static-libs
sys-libs/llvm-libunwind static-libs
sys-libs/ncurses static-libs
sys-libs/zlib minizip
www-client/librewolf -dbus -gmp-autoupdate eme-free
x11-libs/cairo X
x11-libs/libdrm video_cards_radeon
x11-libs/pango X

View File

@ -1,22 +0,0 @@
From 9671cfb2ac1afec778b764e10f3fb2eb8ba707b1 Mon Sep 17 00:00:00 2001
From: inference <admin@inferencium.net>
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 <execinfo.h>
# include <cxxabi.h>
# define ICE_GCC_STACK_TRACES
#endif

View File

@ -1,114 +0,0 @@
From 988fe5bda9c11c4b2a25e998bd0329c70cc487a0 Mon Sep 17 00:00:00 2001
From: Rouven Czerwinski <rouven@czerwinskis.de>
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

View File

@ -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 <sched.h>
#endif

View File

@ -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 <locale>
#include <cctype>
#include <cstdarg>
#if ! JUCE_ANDROID
#include <sys/timeb.h>
#include <cwctype>
#endif
#if JUCE_WINDOWS
#include <ctime>
#if JUCE_MINGW
#include <ws2spi.h>
#include <cstdio>
#include <locale.h>
#else
#pragma warning (push)
#pragma warning (disable: 4091)
#include <Dbghelp.h>
#pragma warning (pop)
#if ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
#pragma comment (lib, "DbgHelp.lib")
#endif
#endif
#else
#if JUCE_LINUX || JUCE_ANDROID
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/errno.h>
#include <unistd.h>
#include <netinet/in.h>
#endif
#if JUCE_LINUX
#include <stdio.h>
#include <langinfo.h>
#include <ifaddrs.h>
#include <sys/resource.h>
#if JUCE_USE_CURL
#include <curl/curl.h>
#endif
#endif
#include <pwd.h>
#include <fcntl.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <sys/time.h>
#include <net/if.h>
#include <sys/ioctl.h>
#if ! JUCE_ANDROID
#endif
#endif
#if JUCE_MAC || JUCE_IOS
#include <xlocale.h>
#include <mach/mach.h>
#include <signal.h>
#endif
#if JUCE_ANDROID
#include <ifaddrs.h>
#include <android/log.h>
#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
}

View File

@ -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 <sys/ioctl.h>
#if ! JUCE_ANDROID
- #include <execinfo.h>
#endif
#endif

View File

@ -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 <sys/param.h>
#endif
-#if (defined(__GLIBC__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
+#if (defined(__linux__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
# include <locale.h>
#elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506)
# include <xlocale.h>

View File

@ -1,39 +0,0 @@
From 1fb3b0d59e41dbef1f93e2194e1827a11b8b9f45 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
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 <parona@protonmail.com>
---
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

View File

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

View File

@ -1,3 +0,0 @@
# Portage package.provided
# Copyright 2022 Inference

View File

@ -1,3 +0,0 @@
# Portage package.use.force
# Copyright 2022 Inference

View File

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

View File

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

View File

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

View File

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