From afc2039b9c2d4de42c333fb2a26c6dac0824f450 Mon Sep 17 00:00:00 2001 From: imax-ua Date: Tue, 9 Apr 2024 00:18:28 +0000 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B2=D0=B0=D1=8F=20=D0=BF?= =?UTF-8?q?=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0=D1=86=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-editors/sublime-merge/Manifest | 2 + .../sublime-merge/sublime-merge-2091.ebuild | 57 ++ app-emulation/wine-staging/Manifest | 15 + .../files/wine-staging-7.17-noexecstack.patch | 7 + .../files/wine-staging-7.20-unwind.patch | 36 ++ app-emulation/wine-staging/metadata.xml | 37 ++ .../wine-staging/wine-staging-8.0.ebuild | 359 ++++++++++++ .../wine-staging/wine-staging-8.3.ebuild | 366 ++++++++++++ .../wine-staging/wine-staging-8.4.ebuild | 369 ++++++++++++ .../wine-staging/wine-staging-8.5.ebuild | 369 ++++++++++++ app-misc/clight/Manifest | 5 + app-misc/clight/clight-4.9.ebuild | 60 ++ app-misc/clight/clight-9999.ebuild | 60 ++ ...ight-gentoo-skip-manpage-compression.patch | 14 + app-misc/clight/metadata.xml | 14 + app-misc/clightd/Manifest | 4 + app-misc/clightd/clightd-5.7.ebuild | 75 +++ app-misc/clightd/clightd-9999.ebuild | 75 +++ app-misc/clightd/metadata.xml | 19 + dev-libs/libmodule/Manifest | 3 + dev-libs/libmodule/libmodule-5.0.1.ebuild | 19 + dev-libs/libmodule/metadata.xml | 11 + media-libs/mesa/Manifest | 6 + .../mesa/files/clang_resource_dir.patch | 24 + ...mesa-23.0.2-wayland-crash-warnings-2.patch | 49 ++ .../mesa-23.0.2-wayland-crash-warnings.patch | 37 ++ ...ader-cache-when-executing-intel_clc-.patch | 30 + media-libs/mesa/mesa-23.0.3-r1.ebuild | 462 +++++++++++++++ media-sound/mpd/Manifest | 6 + media-sound/mpd/files/mpd-0.21.1.logrotate | 9 + media-sound/mpd/files/mpd-0.21.4.init | 34 ++ .../mpd/files/mpd-0.23.11-boost-1.81.patch | 30 + media-sound/mpd/metadata.xml | 49 ++ media-sound/mpd/mpd-0.23.12.ebuild | 251 ++++++++ media-sound/pamixer/Manifest | 2 + media-sound/pamixer/pamixer-1.4.ebuild | 31 + metadata/layout.conf | 2 + .../telegram-desktop-bin-4.14.15.ebuild | 62 ++ profiles/arch | 1 + profiles/base | 1 + .../linux/amd64/23.0/desktop/bspwm/eapi | 1 + .../linux/amd64/23.0/desktop/bspwm/parent | 2 + .../default/linux/amd64/23.0/desktop/eapi | 1 + .../default/linux/amd64/23.0/desktop/parent | 2 + .../linux/amd64/23.0/desktop/plasma/eapi | 1 + .../linux/amd64/23.0/desktop/plasma/parent | 2 + profiles/default/linux/amd64/23.0/eapi | 1 + .../default/linux/amd64/23.0/make.defaults | 8 + .../default/linux/amd64/23.0/no-multilib/eapi | 1 + .../linux/amd64/23.0/no-multilib/parent | 2 + profiles/default/linux/amd64/23.0/parent | 3 + profiles/default/linux/amd64/eapi | 1 + profiles/default/linux/amd64/package.use.mask | 10 + profiles/default/linux/amd64/parent | 2 + profiles/default/linux/eapi | 1 + profiles/default/linux/make.defaults | 60 ++ profiles/default/linux/package.mask | 8 + profiles/default/linux/package.use | 10 + profiles/default/linux/package.use.mask | 52 ++ profiles/default/linux/packages | 12 + profiles/default/linux/packages.build | 41 ++ profiles/default/linux/use.mask | 15 + profiles/features | 1 + profiles/profiles.desc | 24 + profiles/releases | 1 + profiles/repo_name | 1 + profiles/targets/desktop/bspwm/eapi | 1 + profiles/targets/desktop/bspwm/make.defaults | 24 + .../bspwm/package.accept_keywords/desktop | 30 + .../bspwm/package.accept_keywords/system | 10 + .../desktop/bspwm/package.mask/desktop | 3 + .../targets/desktop/bspwm/package.mask/system | 3 + .../desktop/bspwm/package.unmask/system | 2 + .../targets/desktop/bspwm/package.use/desktop | 10 + .../targets/desktop/bspwm/package.use/steam | 23 + .../targets/desktop/bspwm/package.use/system | 22 + .../targets/desktop/bspwm/package.use/wine | 76 +++ profiles/targets/desktop/bspwm/parent | 1 + profiles/targets/desktop/eapi | 1 + profiles/targets/desktop/make.defaults | 6 + profiles/targets/desktop/package.use | 107 ++++ profiles/targets/desktop/package.use.force | 13 + profiles/targets/desktop/plasma/eapi | 1 + profiles/targets/desktop/plasma/make.defaults | 4 + profiles/targets/desktop/plasma/package.use | 86 +++ profiles/targets/desktop/plasma/parent | 1 + profiles/targets/desktop/plasma/use.force | 4 + sys-apps/fstrimDaemon/Manifest | 3 + .../files/fstrimDaemon-1.1.1-fixes.patch | 23 + .../fstrimDaemon/fstrimDaemon-1.1.1.ebuild | 40 ++ sys-firmware/iwl6005-ucode/Manifest | 5 + .../iwl6005-ucode-17.168.5.3.ebuild | 24 + .../iwl6005-ucode-18.168.6.1.ebuild | 24 + sys-firmware/iwl6005-ucode/metadata.xml | 5 + sys-kernel/gentoo-sources/Manifest | 11 + .../gentoo-sources-5.15.94.ebuild | 28 + .../gentoo-sources-6.1.41.ebuild | 28 + sys-kernel/gentoo-sources/metadata.xml | 14 + sys-kernel/linux-headers/Manifest | 6 + ...-Use-stddefs.h-instead-of-compiler.h.patch | 51 ++ ...ders-5.15-remove-inclusion-sysinfo.h.patch | 25 + .../linux-headers-5.15-r3.ebuild | 55 ++ sys-kernel/linux-headers/metadata.xml | 11 + sys-kernel/zen-sources/Manifest | 6 + sys-kernel/zen-sources/metadata.xml | 12 + .../zen-sources/zen-sources-6.3.9.ebuild | 42 ++ x11-drivers/nvidia-drivers/Manifest | 21 + .../files/95-nvidia-settings-r1 | 2 + .../nvidia-drivers/files/nvidia-390.conf | 21 + .../nvidia-drivers-390.154-clang15-x86.patch | 29 + .../nvidia-drivers-390.154-clang15.patch | 84 +++ .../files/nvidia-drm-outputclass-390.conf | 7 + .../nvidia-modprobe-390.141-uvm-perms.patch | 12 + .../files/nvidia-persistenced.confd | 7 + .../files/nvidia-persistenced.initd | 12 + .../nvidia-settings-390.141-fno-common.patch | 16 + .../nvidia-settings-390.144-desktop.patch | 12 + .../nvidia-settings-390.144-no-gtk2.patch | 11 + .../nvidia-settings-390.144-raw-ldflags.patch | 9 + x11-drivers/nvidia-drivers/metadata.xml | 28 + .../nvidia-drivers-390.157.ebuild | 551 ++++++++++++++++++ x11-misc/kbdd/Manifest | 1 + x11-misc/kbdd/kbdd-9999.ebuild | 23 + x11-misc/perwindowlayoutd/Manifest | 1 + .../perwindowlayoutd-9999.ebuild | 23 + x11-misc/picom-dccsillag/Manifest | 2 + x11-misc/picom-dccsillag/metadata.xml | 21 + .../picom-dccsillag-9999.ebuild | 67 +++ x11-misc/picom-pijulius/Manifest | 2 + x11-misc/picom-pijulius/metadata.xml | 21 + .../picom-pijulius/picom-pijulius-9999.ebuild | 75 +++ x11-misc/picom-sdhand/Manifest | 2 + x11-misc/picom-sdhand/metadata.xml | 21 + .../picom-sdhand/picom-sdhand-9999.ebuild | 67 +++ x11-misc/picom-zaney/Manifest | 2 + x11-misc/picom-zaney/metadata.xml | 21 + x11-misc/picom-zaney/picom-zaney-9999.ebuild | 67 +++ x11-misc/xidlehook/Manifest | 126 ++++ x11-misc/xidlehook/xidlehook-0.10.0.ebuild | 167 ++++++ 139 files changed, 5697 insertions(+) create mode 100644 app-editors/sublime-merge/Manifest create mode 100644 app-editors/sublime-merge/sublime-merge-2091.ebuild create mode 100644 app-emulation/wine-staging/Manifest create mode 100644 app-emulation/wine-staging/files/wine-staging-7.17-noexecstack.patch create mode 100644 app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch create mode 100644 app-emulation/wine-staging/metadata.xml create mode 100644 app-emulation/wine-staging/wine-staging-8.0.ebuild create mode 100644 app-emulation/wine-staging/wine-staging-8.3.ebuild create mode 100644 app-emulation/wine-staging/wine-staging-8.4.ebuild create mode 100644 app-emulation/wine-staging/wine-staging-8.5.ebuild create mode 100644 app-misc/clight/Manifest create mode 100644 app-misc/clight/clight-4.9.ebuild create mode 100644 app-misc/clight/clight-9999.ebuild create mode 100644 app-misc/clight/files/clight-gentoo-skip-manpage-compression.patch create mode 100644 app-misc/clight/metadata.xml create mode 100644 app-misc/clightd/Manifest create mode 100644 app-misc/clightd/clightd-5.7.ebuild create mode 100644 app-misc/clightd/clightd-9999.ebuild create mode 100644 app-misc/clightd/metadata.xml create mode 100644 dev-libs/libmodule/Manifest create mode 100644 dev-libs/libmodule/libmodule-5.0.1.ebuild create mode 100644 dev-libs/libmodule/metadata.xml create mode 100644 media-libs/mesa/Manifest create mode 100644 media-libs/mesa/files/clang_resource_dir.patch create mode 100644 media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings-2.patch create mode 100644 media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings.patch create mode 100644 media-libs/mesa/files/mesa-23.1.0-intel-Disable-shader-cache-when-executing-intel_clc-.patch create mode 100644 media-libs/mesa/mesa-23.0.3-r1.ebuild create mode 100644 media-sound/mpd/Manifest create mode 100644 media-sound/mpd/files/mpd-0.21.1.logrotate create mode 100644 media-sound/mpd/files/mpd-0.21.4.init create mode 100644 media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch create mode 100644 media-sound/mpd/metadata.xml create mode 100644 media-sound/mpd/mpd-0.23.12.ebuild create mode 100644 media-sound/pamixer/Manifest create mode 100644 media-sound/pamixer/pamixer-1.4.ebuild create mode 100644 metadata/layout.conf create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.15.ebuild create mode 120000 profiles/arch create mode 120000 profiles/base create mode 100644 profiles/default/linux/amd64/23.0/desktop/bspwm/eapi create mode 100644 profiles/default/linux/amd64/23.0/desktop/bspwm/parent create mode 100644 profiles/default/linux/amd64/23.0/desktop/eapi create mode 100644 profiles/default/linux/amd64/23.0/desktop/parent create mode 100644 profiles/default/linux/amd64/23.0/desktop/plasma/eapi create mode 100644 profiles/default/linux/amd64/23.0/desktop/plasma/parent create mode 100644 profiles/default/linux/amd64/23.0/eapi create mode 100644 profiles/default/linux/amd64/23.0/make.defaults create mode 100644 profiles/default/linux/amd64/23.0/no-multilib/eapi create mode 100644 profiles/default/linux/amd64/23.0/no-multilib/parent create mode 100644 profiles/default/linux/amd64/23.0/parent create mode 100644 profiles/default/linux/amd64/eapi create mode 100644 profiles/default/linux/amd64/package.use.mask create mode 100644 profiles/default/linux/amd64/parent create mode 100644 profiles/default/linux/eapi create mode 100644 profiles/default/linux/make.defaults create mode 100644 profiles/default/linux/package.mask create mode 100644 profiles/default/linux/package.use create mode 100644 profiles/default/linux/package.use.mask create mode 100644 profiles/default/linux/packages create mode 100644 profiles/default/linux/packages.build create mode 100644 profiles/default/linux/use.mask create mode 120000 profiles/features create mode 100644 profiles/profiles.desc create mode 120000 profiles/releases create mode 100644 profiles/repo_name create mode 100644 profiles/targets/desktop/bspwm/eapi create mode 100644 profiles/targets/desktop/bspwm/make.defaults create mode 100644 profiles/targets/desktop/bspwm/package.accept_keywords/desktop create mode 100644 profiles/targets/desktop/bspwm/package.accept_keywords/system create mode 100644 profiles/targets/desktop/bspwm/package.mask/desktop create mode 100644 profiles/targets/desktop/bspwm/package.mask/system create mode 100644 profiles/targets/desktop/bspwm/package.unmask/system create mode 100644 profiles/targets/desktop/bspwm/package.use/desktop create mode 100644 profiles/targets/desktop/bspwm/package.use/steam create mode 100644 profiles/targets/desktop/bspwm/package.use/system create mode 100644 profiles/targets/desktop/bspwm/package.use/wine create mode 100644 profiles/targets/desktop/bspwm/parent create mode 100644 profiles/targets/desktop/eapi create mode 100644 profiles/targets/desktop/make.defaults create mode 100644 profiles/targets/desktop/package.use create mode 100644 profiles/targets/desktop/package.use.force create mode 100644 profiles/targets/desktop/plasma/eapi create mode 100644 profiles/targets/desktop/plasma/make.defaults create mode 100644 profiles/targets/desktop/plasma/package.use create mode 100644 profiles/targets/desktop/plasma/parent create mode 100644 profiles/targets/desktop/plasma/use.force create mode 100644 sys-apps/fstrimDaemon/Manifest create mode 100644 sys-apps/fstrimDaemon/files/fstrimDaemon-1.1.1-fixes.patch create mode 100644 sys-apps/fstrimDaemon/fstrimDaemon-1.1.1.ebuild create mode 100644 sys-firmware/iwl6005-ucode/Manifest create mode 100644 sys-firmware/iwl6005-ucode/iwl6005-ucode-17.168.5.3.ebuild create mode 100644 sys-firmware/iwl6005-ucode/iwl6005-ucode-18.168.6.1.ebuild create mode 100644 sys-firmware/iwl6005-ucode/metadata.xml create mode 100644 sys-kernel/gentoo-sources/Manifest create mode 100644 sys-kernel/gentoo-sources/gentoo-sources-5.15.94.ebuild create mode 100644 sys-kernel/gentoo-sources/gentoo-sources-6.1.41.ebuild create mode 100644 sys-kernel/gentoo-sources/metadata.xml create mode 100644 sys-kernel/linux-headers/Manifest create mode 100644 sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch create mode 100644 sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch create mode 100644 sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild create mode 100644 sys-kernel/linux-headers/metadata.xml create mode 100644 sys-kernel/zen-sources/Manifest create mode 100644 sys-kernel/zen-sources/metadata.xml create mode 100644 sys-kernel/zen-sources/zen-sources-6.3.9.ebuild create mode 100644 x11-drivers/nvidia-drivers/Manifest create mode 100644 x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1 create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-390.conf create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass-390.conf create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-modprobe-390.141-uvm-perms.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-persistenced.confd create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-settings-390.141-fno-common.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch create mode 100644 x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch create mode 100644 x11-drivers/nvidia-drivers/metadata.xml create mode 100644 x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild create mode 100644 x11-misc/kbdd/Manifest create mode 100644 x11-misc/kbdd/kbdd-9999.ebuild create mode 100644 x11-misc/perwindowlayoutd/Manifest create mode 100644 x11-misc/perwindowlayoutd/perwindowlayoutd-9999.ebuild create mode 100644 x11-misc/picom-dccsillag/Manifest create mode 100644 x11-misc/picom-dccsillag/metadata.xml create mode 100644 x11-misc/picom-dccsillag/picom-dccsillag-9999.ebuild create mode 100644 x11-misc/picom-pijulius/Manifest create mode 100644 x11-misc/picom-pijulius/metadata.xml create mode 100644 x11-misc/picom-pijulius/picom-pijulius-9999.ebuild create mode 100644 x11-misc/picom-sdhand/Manifest create mode 100644 x11-misc/picom-sdhand/metadata.xml create mode 100644 x11-misc/picom-sdhand/picom-sdhand-9999.ebuild create mode 100644 x11-misc/picom-zaney/Manifest create mode 100644 x11-misc/picom-zaney/metadata.xml create mode 100644 x11-misc/picom-zaney/picom-zaney-9999.ebuild create mode 100644 x11-misc/xidlehook/Manifest create mode 100644 x11-misc/xidlehook/xidlehook-0.10.0.ebuild diff --git a/app-editors/sublime-merge/Manifest b/app-editors/sublime-merge/Manifest new file mode 100644 index 0000000..859c5b4 --- /dev/null +++ b/app-editors/sublime-merge/Manifest @@ -0,0 +1,2 @@ +DIST sublime_merge_build_2091_x64.tar.xz 5347224 BLAKE2B 5027eb92f6a67764bba7928469cc2fb53478946a5ab1121a8ea6e8096c191e09fbe62cce6dfca1ec60a87f0eac60a971e6a53f0a5049a45ad97e27a1d407edcf SHA512 ccad0b16941539788ffd7f549eb3ffa2089a483b0aaa1fa9dc48dba4840342e79735cd16305f83dacf706780f099036c17fa348b7c22d5cfe7244cbb29d57e3e +EBUILD sublime-merge-2091.ebuild 1334 BLAKE2B b672347f9b5098ef6c44c282c1abd2c72873fb56b9b6fc6bc13ef35d492c9cecd7df066b6cbf426687b5d66be32a1ff9f654011cf7cf2305da2ab0c1b283a969 SHA512 bc1928821630b33f5359ca8343d0dd4ede194dfa13ecf1c706136334f9fb5e9ad9c39b80e8e2f398bf1aeb6bce3ced0299771120c0d932732ef8199de606535e diff --git a/app-editors/sublime-merge/sublime-merge-2091.ebuild b/app-editors/sublime-merge/sublime-merge-2091.ebuild new file mode 100644 index 0000000..131b8e1 --- /dev/null +++ b/app-editors/sublime-merge/sublime-merge-2091.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils + +# get the major version from PV +# MV=${PV:0:1} +# MY_PV=${PV#*_beta} + +DESCRIPTION="Meet a new Git Client, from the makers of Sublime Text" +HOMEPAGE="https://www.sublimemerge.com/" +SRC_URI="https://download.sublimetext.com/sublime_merge_build_${PV}_x64.tar.xz" +S=${WORKDIR}/sublime_merge + +LICENSE="Sublime" +SLOT="0" +KEYWORDS="~amd64" +IUSE="dbus" +RESTRICT="bindist mirror strip" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:3 + x11-libs/libX11 + dbus? ( sys-apps/dbus )" + +src_install() { + insinto /opt/sublime_merge + exeinto /opt/sublime_merge + + doins -r Packages Icon + doexe sublime_merge + + dosym /opt/sublime_merge/sublime_merge /usr/bin/sublime_merge + +# local size +# for size in 32 48 128 256; do +# dosym ../../../../../../opt/${PN}${PV}/Icon/${size}x${size}/sublime-merge.png \ +# /usr/share/icons/hicolor/${size}x${size}/apps/sublime-merge.png +# done + +# make_desktop_entry "sublime-merge" "Sublime Merge ${PV}" "sublime-merge" \ +# "TextEditor;IDE;Development" "StartupNotify=true" + + # needed to get WM_CLASS lookup right +# mv "${ED%/}"/usr/share/applications/subl{-sublime-merge,}.desktop || die +} + +pkg_postrm() { + gnome2_icon_cache_update +} + +pkg_postinst() { + gnome2_icon_cache_update +} diff --git a/app-emulation/wine-staging/Manifest b/app-emulation/wine-staging/Manifest new file mode 100644 index 0000000..ffe2ecb --- /dev/null +++ b/app-emulation/wine-staging/Manifest @@ -0,0 +1,15 @@ +AUX wine-staging-7.17-noexecstack.patch 223 BLAKE2B 6e6cfc208f11c2c2b7bbc392e3703c50669ba9abf088dac0dd7aa8d6e59fcdd6656f5ad6955e4ef87c25d6f4082d83af71a09b2928934222b25847b8b2b5089f SHA512 43fc5c50c33e09f028c2369a660499fbb6c240931c6b7d44c4e838deee1df0390706967b375d36ee8eea339e86a5af1c7a49a76d884860c045c3476d8c8d2a5f +AUX wine-staging-7.20-unwind.patch 1450 BLAKE2B 80e9222c95393aaa4b95e05597a4181030fc988d95e416d2f92631f29f640b9abb3dd0853d005de4725b41c09224e478741902075259d48a30830a923790579f SHA512 e1a72f1463be32975daa02064acb96189cd79cb41ff98f89b58e46c97100a3ac46405b1b9982378c9de275acbdb74168853e47b932e06398cdd2981b23f483ce +DIST wine-8.0.tar.xz 29054044 BLAKE2B baf8f96b665119c9f38a148a2472dbe8f6ca8d4641d9d09d48cb72cb4de2585c274b8b7981c2fa622ead6da2f087c57652e9b48edc8a17c0cfd6be9a36732f02 SHA512 53ba813b260a65a271ec575822725b97631f60038fb026dcc0fe66862711eedcc29a8feb29ff54ae4f64458f85c290d8f3838eff5e4c77a5420a7d2b951fef77 +DIST wine-8.3.tar.xz 28983532 BLAKE2B b811a13aaa87f186c744254059d40fdf0740da42cf788acb2375c04cf3ecc281c92afc7bb7830d5797624d96f803edcb2d2778c5da378d89938fe0b68e72a287 SHA512 9c0c86f1d523cc65fe6bcb2f98e73f8909282eda1c04516ff35a32833e469421e099fe1351c3078ac96aa7884fc194a77fcf2ba8863e2a227316fd84562f1f5a +DIST wine-8.4.tar.xz 29031312 BLAKE2B 0b91267a68e4e332544d273646bb1e9389c3af3f48069ab7942096af5512e86a61d39788d91c221b4ae96e81858cfdff1e43a658ba407ff1450b6d752b8a3235 SHA512 8de144a65c0a3a2984fabc1294b647b8581da5fa8bd28a9ff756ab59256ee2b453d898453fc902bbc372a4e017a8e29b1eeef917f137ec1134ac08b671eccc7d +DIST wine-8.5.tar.xz 29064032 BLAKE2B 35fa6d7ec88ff67d9acf13466b3618eb45d664bed0a9ee581e46cb6e7692395837c8c8e86dead1dbcad582ef29c674a0df4b7180addee837b466eba7fdcd350a SHA512 f6aaab8a32eb7bce7f48d21d99417c9e6e8fe41b3d36320762775ef954db7ddd4fcff01d56475f35038d814557834a41a9e3ae85e5cae8a1b820c5044b42a327 +DIST wine-staging-8.0.tar.gz 9529620 BLAKE2B c9540195ea885d9f1e980232b0af471e92c61eb079cae35fdb3af5c13d4660b3466f751772440e38f15874082db296d16d1f1d68827a505b2dd949617eda0203 SHA512 76a729d7ced1ff634ddb455ddfaa66ca103b652f43cd152b57ada7431bb5fbb74f5e92bf2f4f329b6df6f5908130afad84e609cbce6df645d6cf8131e9b949f9 +DIST wine-staging-8.3.tar.gz 9523336 BLAKE2B 3fdb6343ab3735e9235ea3d99e3da4d392de9620d93e85e2bd3b13ae2e0eca2654b2b48230a3bfd7c66ead1fb751ddb092b361943f7a95eb3df5a240c2b9e32b SHA512 e2b1dc107088f716f1c7e80bc25b152ff5c2c4c4a6f29a60e42eabdea0e8b5df84eaeaf8b978f5aefc3f9ad5962eb74784d5a98b95fa3694485d00f3fa628ce6 +DIST wine-staging-8.4.tar.gz 9522340 BLAKE2B b9fb08f529c9c24d9d6b09adbb359b265e246b8f4651eef0983d10b9c84afbdc9c58e04180e802cd3a7d0951f12ff46495b1ec0508e02f5b76ae7d0d987dc22c SHA512 96a6a870020e59f8437c65604536fec4b80d7d9e5a937e5d0a6cb0b2b4e544e6153fa0cdf2a8fd2c32d090001334e68124c2855c6a2a1454fdcdb6ea23d75fd7 +DIST wine-staging-8.5.tar.gz 9530306 BLAKE2B 9457fb44aea427c2c09d6329f2f585ae7e14ca32950204019136616d73ad1b83b629297499197b91fb542784b8e5b6edd8743ee6a72794ce58ef5c6b1d27f308 SHA512 9d347c55a62f661bdcc102d373e05d162217b7b1348bdb6f2b114d20e35146862379d2cf03a96916bd1d52166a538af55d48e25a169cd6ee23818673bd35909a +EBUILD wine-staging-8.0.ebuild 11426 BLAKE2B 616e32fb223e84e7267eac5399b666e8364572316d4dcfa8023eb22243f16240a67699e69947cb75b7c557b02ac3f8cc65860a81878abe68e72b4384ae5a67c2 SHA512 5bf84720e364705f7f88ebb3fb37bcf6eaf7ecbb8d540ac37f3ef0dd4d467b2c28a9932b979ca4c1b251fe677c6a2aa360fc7c9020504d30275e19f9d48c1741 +EBUILD wine-staging-8.3.ebuild 11531 BLAKE2B 31c630f056c1c46f7e064ac0761dcf36b89c320ab896c62ce1a68e751549a9fa08ba7e5a311181465354c9bd45296a48b97c21a9992c1ef1c7f18e373e927efc SHA512 c4439acbb1cc16387e2489789c9ff3435ac27a18d2dd83b13e11c76ec65d8bcef18aeff0ed9960b6eb98f0adde1c5ab4b451bee357ca8c9085f5428c86973c19 +EBUILD wine-staging-8.4.ebuild 11613 BLAKE2B 404d37d25e8c747e6313e94c550eb1f6e6848a0c32b0ba400b71c6a7f484bf17bf540a7a04c3bcb558d9349a5e0f4a369cef82f1d3bffa950fb0ee8ab9c2b86b SHA512 e54f8ac543ce6e6cfbd6e7245f91ab18c107843cf6cd13659bfa45cd660d4fc3e0384588b1e01011558c6be5dcc1d449778c09201a433ad27b2028ed39b37f33 +EBUILD wine-staging-8.5.ebuild 11613 BLAKE2B 404d37d25e8c747e6313e94c550eb1f6e6848a0c32b0ba400b71c6a7f484bf17bf540a7a04c3bcb558d9349a5e0f4a369cef82f1d3bffa950fb0ee8ab9c2b86b SHA512 e54f8ac543ce6e6cfbd6e7245f91ab18c107843cf6cd13659bfa45cd660d4fc3e0384588b1e01011558c6be5dcc1d449778c09201a433ad27b2028ed39b37f33 +MISC metadata.xml 2301 BLAKE2B 9b65253f5a19d8aafc6c9ccd361a0b8cdd14a600ddd51bf163603c7400b2c39bf147f7fe671e3aba68ff8f8f2874eec0b64dd73afe4dabad3667cd23ca99aee0 SHA512 885f7c8e2239733193d16b32bb29a21285ff732092ae0c095056ee311bdf9b7135200a29ede5958d668acf9777640f139ffc5ffe43b1455356ce4bc897621401 diff --git a/app-emulation/wine-staging/files/wine-staging-7.17-noexecstack.patch b/app-emulation/wine-staging/files/wine-staging-7.17-noexecstack.patch new file mode 100644 index 0000000..4baa48c --- /dev/null +++ b/app-emulation/wine-staging/files/wine-staging-7.17-noexecstack.patch @@ -0,0 +1,7 @@ +Also write GNU-stack note on dummy files used for stub libraries. +--- a/tools/winebuild/import.c ++++ b/tools/winebuild/import.c +@@ -1676,2 +1676,3 @@ + output( "\t.text\n" ); ++ output_gnu_stack_note(); + } diff --git a/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch b/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch new file mode 100644 index 0000000..f130ef5 --- /dev/null +++ b/app-emulation/wine-staging/files/wine-staging-7.20-unwind.patch @@ -0,0 +1,36 @@ +Fix build with llvm-libunwind, and also fix for non-llvm libunwind +when using clang+bfd given clang doesn't have _Unwind_Find_FDE in +its rtlib and expects it from llvm-libunwind. + +The _CONFIG_H_ check is for Rip - 1), &bases ); + +@@ -760,4 +761,5 @@ + return dwarf_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context, fde, + &bases, &dispatch->LanguageHandler, &dispatch->HandlerData ); ++#endif + #ifdef HAVE_LIBUNWIND + return libunwind_virtual_unwind( context->Rip, &dispatch->EstablisherFrame, context, diff --git a/app-emulation/wine-staging/metadata.xml b/app-emulation/wine-staging/metadata.xml new file mode 100644 index 0000000..b67374f --- /dev/null +++ b/app-emulation/wine-staging/metadata.xml @@ -0,0 +1,37 @@ + + + + + wine@gentoo.org + Wine + + +Wine is an Open Source implementation of the Windows API on top of X and Unix. + +Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, and Solaris. + +This variant of the Wine packaging includes the Wine-Staging patchset. + + + Enable ISDN support using net-libs/libcapi + + Use sys-devel/crossdev for the toolchain rather than + dev-util/mingw64-toolchain (requires manual setting up) + + Pull in games-emulation/dosbox to run DOS applications + Enable mshtml support using app-emulation/wine-gecko + Build PE files using a MinGW toolchain for better compatibility + Enable .NET support using app-emulation/wine-mono + Enable support for configuring remote shares using net-fs/samba + Enable OpenCL support + Enable off-screen rendering (OpenGL in bitmaps) support + Support packet capture software (e.g. wireshark) + Install helpers that require perl (winedump/winemaker) + Pull in net-fs/samba with winbind for NTLM auth support + Enable gamepad support using media-libs/libsdl2 + Enable Vulkan drivers + + + wine-staging/wine-staging + + diff --git a/app-emulation/wine-staging/wine-staging-8.0.ebuild b/app-emulation/wine-staging/wine-staging-8.0.ebuild new file mode 100644 index 0000000..46496d8 --- /dev/null +++ b/app-emulation/wine-staging/wine-staging-8.0.ebuild @@ -0,0 +1,359 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) +inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper + +WINE_GECKO=2.47.3 +WINE_MONO=7.4.0 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git" + WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git" +else + (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 + SRC_URI=" + https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz + https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~amd64 ~x86" +fi +S="${WORKDIR}/wine-${PV}" + +DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" +HOMEPAGE="https://wiki.winehq.org/Wine-Staging" + +LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" +SLOT="${PV}" +IUSE=" + +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos + llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2 + +gstreamer kerberos +mingw +mono netapi nls odbc opencl +opengl + osmesa pcap perl pulseaudio samba scanner +sdl selinux +ssl + +truetype udev udisks +unwind usb v4l +vulkan +xcomposite xinerama" +REQUIRED_USE=" + X? ( truetype ) + crossdev-mingw? ( mingw )" # bug #551124 for truetype + +# tests are non-trivial to run, can hang easily, don't play well with +# sandbox, and several need real opengl/vulkan or network access +RESTRICT="test" + +# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked +WINE_DLOPEN_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + opengl? ( + media-libs/libglvnd[X,${MULTILIB_USEDEP}] + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + ) + cups? ( net-print/cups[${MULTILIB_USEDEP}] ) + fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[${MULTILIB_USEDEP}] ) + odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +WINE_COMMON_DEPEND=" + ${WINE_DLOPEN_DEPEND} + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] ) + !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] ) + ) + usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${WINE_COMMON_DEPEND} + app-emulation/wine-desktop-common + dos? ( games-emulation/dosbox ) + gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] ) + gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] ) + mono? ( app-emulation/wine-mono:${WINE_MONO} ) + perl? ( + dev-lang/perl + dev-perl/XML-LibXML + ) + samba? ( net-fs/samba[winbind] ) + selinux? ( sec-policy/selinux-wine ) + udisks? ( sys-fs/udisks:2 )" +DEPEND=" + ${WINE_COMMON_DEPEND} + sys-kernel/linux-headers + X? ( x11-base/xorg-proto )" +BDEPEND=" + dev-lang/perl + sys-devel/binutils + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + ) ) + nls? ( sys-devel/gettext )" +IDEPEND=">=app-eselect/eselect-wine-2" + +QA_CONFIG_IMPL_DECL_SKIP=( + __clear_cache # unused on amd64+x86 (bug #900334) + res_getservers # false positive +) +QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext + +PATCHES=( + "${FILESDIR}"/${PN}-7.17-noexecstack.patch + "${FILESDIR}"/${PN}-7.20-unwind.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then + local mingw=-w64-mingw32 + for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do + if ! type -P ${mingw}-gcc >/dev/null; then + eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain" + eerror "yourself by installing sys-devel/crossdev then running:" + eerror + eerror " crossdev --target ${mingw}" + eerror + eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw" + die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found" + fi + done + fi +} + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + EGIT_CHECKOUT_DIR=${WORKDIR}/${P} + git-r3_src_unpack + + EGIT_COMMIT=$("${BASH}" "${EGIT_CHECKOUT_DIR}"/patches/patchinstall.sh --upstream-commit) || die + EGIT_REPO_URI=${WINE_EGIT_REPO_URI} + EGIT_CHECKOUT_DIR=${S} + einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})" + git-r3_src_unpack + else + default + fi +} + +src_prepare() { + local staging=( + ./patchinstall.sh DESTDIR="${S}" + --all + --backend=eapply + --no-autoconf + -W winemenubuilder-Desktop_Icon_Path #652176 + ${MY_WINE_STAGING_CONF} + ) + + # source patcher in a subshell so can use eapply as a backend + ebegin "Running ${staging[*]}" + ( cd ../${P}/patches && . "${staging[@]}" ) + eend ${?} || die "Failed to apply the patchset" + + # sanity check, bumping these has a history of oversights + local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \ + dlls/appwiz.cpl/addons.c || die) + if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then + local gmfatal= + [[ ${PV} == *9999 ]] && gmfatal=nonfatal + ${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)" + fi + + default + + # ensure .desktop calls this variant + slot + sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die + + # always update for patches (including user's wrt #432348) + eautoreconf + tools/make_requests || die # perl +} + +src_configure() { + WINE_PREFIX=/usr/lib/${P} + WINE_DATADIR=/usr/share/${P} + + local conf=( + --prefix="${EPREFIX}"${WINE_PREFIX} + --datadir="${EPREFIX}"${WINE_DATADIR} + --includedir="${EPREFIX}"/usr/include/${P} + --libdir="${EPREFIX}"${WINE_PREFIX} + --mandir="${EPREFIX}"${WINE_DATADIR}/man + $(use_enable gecko mshtml) + $(use_enable mono mscoree) + --disable-tests + $(use_with X x) + $(use_with alsa) + $(use_with capi) + $(use_with cups) + $(use_with fontconfig) + $(use_with gphoto2 gphoto) + $(use_with gstreamer) + $(use_with kerberos gssapi) + $(use_with kerberos krb5) + $(use_with mingw) + $(use_with netapi) + $(use_with nls gettext) + $(use_with opencl) + $(use_with opengl) + $(use_with osmesa) + --without-oss # media-sound/oss is not packaged (OSSv4) + $(use_with pcap) + $(use_with pulseaudio pulse) + $(use_with scanner sane) + $(use_with sdl) + $(use_with ssl gnutls) + $(use_with truetype freetype) + $(use_with udev) + $(use_with udisks dbus) # dbus is only used for udisks + $(use_with unwind) + $(use_with usb) + $(use_with v4l v4l2) + $(use_with vulkan) + $(use_with xcomposite) + $(use_with xinerama) + $(usev !odbc ac_cv_lib_soname_odbc=) + ) + + tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097) + filter-lto # build failure + use mingw || filter-flags -fno-plt # build failure + use custom-cflags || strip-flags # can break in obscure ways at runtime + use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold + # https://github.com/gentoo/gentoo/pull/28355 + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && + append-ldflags -fuse-ld=bfd + + # build using upstream's way (--with-wine64) + # order matters: configure+compile 64->32, install 32->64 + local -i bits + for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do + ( + einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..." + + mkdir ../build${bits} || die + cd ../build${bits} || die + + pe_arch=i386 + if (( bits == 64 )); then + pe_arch=x86_64 + : "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}" + conf+=( --enable-win64 ) + elif use amd64; then + conf+=( + $(usev abi_x86_64 --with-wine64=../build64) + TARGETFLAGS=-m32 # for widl + ) + # _setup is optional, but use over Wine's auto-detect (+#472038) + multilib_toolchain_setup x86 + fi + : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" + + if use mingw; then + # CROSSCC is no longer recognized by Wine, but still use for now + # (future handling for CROSS* variables is subject to changes) + conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" ) + + # use *FLAGS for mingw, but strip unsupported + : "${CROSSCFLAGS:=$( + # >=wine-7.21 configure.ac no longer adds -fno-strict by mistake + append-cflags '-fno-strict-aliasing' + filter-flags '-fstack-clash-protection' #758914 + filter-flags '-fstack-protector*' #870136 + filter-flags '-mfunction-return=thunk*' #878849 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSLDFLAGS:=$( + filter-flags '-fuse-ld=*' + CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" + export CROSS{C,LD}FLAGS + fi + + ECONF_SOURCE=${S} econf "${conf[@]}" + ) + done +} + +src_compile() { + use abi_x86_64 && emake -C ../build64 # do first + use abi_x86_32 && emake -C ../build32 +} + +src_install() { + use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install + use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last + + # symlink for plain 'wine' and install its man pages if 64bit-only #404331 + if use abi_x86_64 && use !abi_x86_32; then + dosym wine64 ${WINE_PREFIX}/bin/wine + dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader + local man + for man in ../build64/loader/wine.*man; do + : "${man##*/wine}" + : "${_%.*}" + insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1 + newins ${man} wine.1 + done + fi + + use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \ + "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die + + # create variant wrappers for eselect-wine + local bin + for bin in "${ED}"${WINE_PREFIX}/bin/*; do + make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}" + done + + # don't let portage try to strip PE files with the wrong + # strip executable and instead handle it here (saves ~120MB) + if use mingw; then + dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows + use debug || + find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die + fi + + dodoc ANNOUNCE AUTHORS README* documentation/README* +} + +pkg_postinst() { + eselect wine update --if-unset || die +} + +pkg_postrm() { + eselect wine update --if-unset || die +} diff --git a/app-emulation/wine-staging/wine-staging-8.3.ebuild b/app-emulation/wine-staging/wine-staging-8.3.ebuild new file mode 100644 index 0000000..48fe559 --- /dev/null +++ b/app-emulation/wine-staging/wine-staging-8.3.ebuild @@ -0,0 +1,366 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools edo flag-o-matic multilib multilib-build +inherit python-any-r1 toolchain-funcs wrapper + +WINE_GECKO=2.47.3 +WINE_MONO=7.4.0 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git" + WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git" +else + (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 + SRC_URI=" + https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz + https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~amd64 ~x86" +fi +S="${WORKDIR}/wine-${PV}" + +DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" +HOMEPAGE="https://wiki.winehq.org/Wine-Staging" + +LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" +SLOT="${PV}" +IUSE=" + +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos + llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2 + +gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa + pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl + +truetype udev udisks +unwind usb v4l +vulkan +xcomposite xinerama" +REQUIRED_USE=" + X? ( truetype ) + crossdev-mingw? ( mingw )" # bug #551124 for truetype + +# tests are non-trivial to run, can hang easily, don't play well with +# sandbox, and several need real opengl/vulkan or network access +RESTRICT="test" + +# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked +WINE_DLOPEN_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + opengl? ( + media-libs/libglvnd[X,${MULTILIB_USEDEP}] + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + ) + cups? ( net-print/cups[${MULTILIB_USEDEP}] ) + fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +WINE_COMMON_DEPEND=" + ${WINE_DLOPEN_DEPEND} + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) + smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] ) + !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] ) + ) + usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${WINE_COMMON_DEPEND} + app-emulation/wine-desktop-common + dos? ( games-emulation/dosbox ) + gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] ) + gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] ) + mono? ( app-emulation/wine-mono:${WINE_MONO} ) + perl? ( + dev-lang/perl + dev-perl/XML-LibXML + ) + samba? ( net-fs/samba[winbind] ) + selinux? ( sec-policy/selinux-wine ) + udisks? ( sys-fs/udisks:2 )" +DEPEND=" + ${WINE_COMMON_DEPEND} + sys-kernel/linux-headers + X? ( x11-base/xorg-proto )" +# gitapply.sh prefers git but can fallback to patch+extras +BDEPEND=" + ${PYTHON_DEPS} + || ( + dev-vcs/git + ( + sys-apps/gawk + sys-apps/util-linux + ) + ) + dev-lang/perl + sys-devel/binutils + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + ) ) + nls? ( sys-devel/gettext )" +IDEPEND=">=app-eselect/eselect-wine-2" + +QA_CONFIG_IMPL_DECL_SKIP=( + __clear_cache # unused on amd64+x86 (bug #900334) + res_getservers # false positive +) +QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects +QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext + +PATCHES=( + "${FILESDIR}"/${PN}-7.17-noexecstack.patch + "${FILESDIR}"/${PN}-7.20-unwind.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then + local mingw=-w64-mingw32 + for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do + if ! type -P ${mingw}-gcc >/dev/null; then + eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain" + eerror "yourself by installing sys-devel/crossdev then running:" + eerror + eerror " crossdev --target ${mingw}" + eerror + eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw" + die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found" + fi + done + fi +} + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + EGIT_CHECKOUT_DIR=${WORKDIR}/${P} + git-r3_src_unpack + + EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die + EGIT_REPO_URI=${WINE_EGIT_REPO_URI} + EGIT_CHECKOUT_DIR=${S} + einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})" + git-r3_src_unpack + else + default + fi +} + +src_prepare() { + local patchinstallargs=( + --all + --no-autoconf + -W winemenubuilder-Desktop_Icon_Path #652176 + ${MY_WINE_STAGING_CONF} + ) + + edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}" + + # sanity check, bumping these has a history of oversights + local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \ + dlls/appwiz.cpl/addons.c || die) + if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then + local gmfatal= + [[ ${PV} == *9999 ]] && gmfatal=nonfatal + ${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)" + fi + + default + + # ensure .desktop calls this variant + slot + sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die + + # always update for patches (including user's wrt #432348) + eautoreconf + tools/make_requests || die # perl +} + +src_configure() { + WINE_PREFIX=/usr/lib/${P} + WINE_DATADIR=/usr/share/${P} + + local conf=( + --prefix="${EPREFIX}"${WINE_PREFIX} + --datadir="${EPREFIX}"${WINE_DATADIR} + --includedir="${EPREFIX}"/usr/include/${P} + --libdir="${EPREFIX}"${WINE_PREFIX} + --mandir="${EPREFIX}"${WINE_DATADIR}/man + $(use_enable gecko mshtml) + $(use_enable mono mscoree) + --disable-tests + $(use_with X x) + $(use_with alsa) + $(use_with capi) + $(use_with cups) + $(use_with fontconfig) + $(use_with gphoto2 gphoto) + $(use_with gstreamer) + $(use_with kerberos gssapi) + $(use_with kerberos krb5) + $(use_with mingw) + $(use_with netapi) + $(use_with nls gettext) + $(use_with opencl) + $(use_with opengl) + $(use_with osmesa) + --without-oss # media-sound/oss is not packaged (OSSv4) + $(use_with pcap) + $(use_with pulseaudio pulse) + $(use_with scanner sane) + $(use_with sdl) + $(use_with smartcard pcsclite) + $(use_with ssl gnutls) + $(use_with truetype freetype) + $(use_with udev) + $(use_with udisks dbus) # dbus is only used for udisks + $(use_with unwind) + $(use_with usb) + $(use_with v4l v4l2) + $(use_with vulkan) + $(use_with xcomposite) + $(use_with xinerama) + ) + + tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097) + filter-lto # build failure + use mingw || filter-flags -fno-plt # build failure + use custom-cflags || strip-flags # can break in obscure ways at runtime + use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold + # https://github.com/gentoo/gentoo/pull/28355 + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && + append-ldflags -fuse-ld=bfd + + # build using upstream's way (--with-wine64) + # order matters: configure+compile 64->32, install 32->64 + local -i bits + for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do + ( + einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..." + + mkdir ../build${bits} || die + cd ../build${bits} || die + + pe_arch=i386 + if (( bits == 64 )); then + pe_arch=x86_64 + : "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}" + conf+=( --enable-win64 ) + elif use amd64; then + conf+=( + $(usev abi_x86_64 --with-wine64=../build64) + TARGETFLAGS=-m32 # for widl + ) + # _setup is optional, but use over Wine's auto-detect (+#472038) + multilib_toolchain_setup x86 + fi + : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" + + if use mingw; then + # CROSSCC is no longer recognized by Wine, but still use for now + # (future handling for CROSS* variables is subject to changes) + conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" ) + + # use *FLAGS for mingw, but strip unsupported + : "${CROSSCFLAGS:=$( + # >=wine-7.21 configure.ac no longer adds -fno-strict by mistake + append-cflags '-fno-strict-aliasing' + filter-flags '-fstack-clash-protection' #758914 + filter-flags '-fstack-protector*' #870136 + filter-flags '-mfunction-return=thunk*' #878849 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSLDFLAGS:=$( + filter-flags '-fuse-ld=*' + CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" + export CROSS{C,LD}FLAGS + fi + + ECONF_SOURCE=${S} econf "${conf[@]}" + ) + done +} + +src_compile() { + use abi_x86_64 && emake -C ../build64 # do first + use abi_x86_32 && emake -C ../build32 +} + +src_install() { + use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install + use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last + + # symlink for plain 'wine' and install its man pages if 64bit-only #404331 + if use abi_x86_64 && use !abi_x86_32; then + dosym wine64 ${WINE_PREFIX}/bin/wine + dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader + local man + for man in ../build64/loader/wine.*man; do + : "${man##*/wine}" + : "${_%.*}" + insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1 + newins ${man} wine.1 + done + fi + + use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \ + "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die + + # create variant wrappers for eselect-wine + local bin + for bin in "${ED}"${WINE_PREFIX}/bin/*; do + make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}" + done + + # don't let portage try to strip PE files with the wrong + # strip executable and instead handle it here (saves ~120MB) + if use mingw; then + dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows + use debug || + find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die + fi + + dodoc ANNOUNCE AUTHORS README* documentation/README* +} + +pkg_postinst() { + eselect wine update --if-unset || die +} + +pkg_postrm() { + eselect wine update --if-unset || die +} diff --git a/app-emulation/wine-staging/wine-staging-8.4.ebuild b/app-emulation/wine-staging/wine-staging-8.4.ebuild new file mode 100644 index 0000000..5f90e2c --- /dev/null +++ b/app-emulation/wine-staging/wine-staging-8.4.ebuild @@ -0,0 +1,369 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools edo flag-o-matic multilib multilib-build +inherit python-any-r1 toolchain-funcs wrapper + +WINE_GECKO=2.47.3 +WINE_MONO=7.4.0 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git" + WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git" +else + (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 + SRC_URI=" + https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz + https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~amd64 ~x86" +fi +S="${WORKDIR}/wine-${PV}" + +DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" +HOMEPAGE="https://wiki.winehq.org/Wine-Staging" + +LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" +SLOT="${PV}" +IUSE=" + +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos + llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2 + +gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa + pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl + +truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite + xinerama" +REQUIRED_USE=" + X? ( truetype ) + crossdev-mingw? ( mingw )" # bug #551124 for truetype + +# tests are non-trivial to run, can hang easily, don't play well with +# sandbox, and several need real opengl/vulkan or network access +RESTRICT="test" + +# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked +WINE_DLOPEN_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + opengl? ( + media-libs/libglvnd[X,${MULTILIB_USEDEP}] + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + ) + cups? ( net-print/cups[${MULTILIB_USEDEP}] ) + fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +WINE_COMMON_DEPEND=" + ${WINE_DLOPEN_DEPEND} + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) + smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] ) + !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] ) + ) + usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] ) + wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${WINE_COMMON_DEPEND} + app-emulation/wine-desktop-common + dos? ( games-emulation/dosbox ) + gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] ) + gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] ) + mono? ( app-emulation/wine-mono:${WINE_MONO} ) + perl? ( + dev-lang/perl + dev-perl/XML-LibXML + ) + samba? ( net-fs/samba[winbind] ) + selinux? ( sec-policy/selinux-wine ) + udisks? ( sys-fs/udisks:2 )" +DEPEND=" + ${WINE_COMMON_DEPEND} + sys-kernel/linux-headers + X? ( x11-base/xorg-proto )" +# gitapply.sh prefers git but can fallback to patch+extras +BDEPEND=" + ${PYTHON_DEPS} + || ( + dev-vcs/git + ( + sys-apps/gawk + sys-apps/util-linux + ) + ) + dev-lang/perl + sys-devel/binutils + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + ) ) + nls? ( sys-devel/gettext )" +IDEPEND=">=app-eselect/eselect-wine-2" + +QA_CONFIG_IMPL_DECL_SKIP=( + __clear_cache # unused on amd64+x86 (bug #900334) + res_getservers # false positive +) +QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects +QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext + +PATCHES=( + "${FILESDIR}"/${PN}-7.17-noexecstack.patch + "${FILESDIR}"/${PN}-7.20-unwind.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then + local mingw=-w64-mingw32 + for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do + if ! type -P ${mingw}-gcc >/dev/null; then + eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain" + eerror "yourself by installing sys-devel/crossdev then running:" + eerror + eerror " crossdev --target ${mingw}" + eerror + eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw" + die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found" + fi + done + fi +} + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + EGIT_CHECKOUT_DIR=${WORKDIR}/${P} + git-r3_src_unpack + + EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die + EGIT_REPO_URI=${WINE_EGIT_REPO_URI} + EGIT_CHECKOUT_DIR=${S} + einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})" + git-r3_src_unpack + else + default + fi +} + +src_prepare() { + local patchinstallargs=( + --all + --no-autoconf + -W winemenubuilder-Desktop_Icon_Path #652176 + ${MY_WINE_STAGING_CONF} + ) + + edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}" + + # sanity check, bumping these has a history of oversights + local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \ + dlls/appwiz.cpl/addons.c || die) + if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then + local gmfatal= + [[ ${PV} == *9999 ]] && gmfatal=nonfatal + ${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)" + fi + + default + + # ensure .desktop calls this variant + slot + sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die + + # always update for patches (including user's wrt #432348) + eautoreconf + tools/make_requests || die # perl +} + +src_configure() { + WINE_PREFIX=/usr/lib/${P} + WINE_DATADIR=/usr/share/${P} + + local conf=( + --prefix="${EPREFIX}"${WINE_PREFIX} + --datadir="${EPREFIX}"${WINE_DATADIR} + --includedir="${EPREFIX}"/usr/include/${P} + --libdir="${EPREFIX}"${WINE_PREFIX} + --mandir="${EPREFIX}"${WINE_DATADIR}/man + $(use_enable gecko mshtml) + $(use_enable mono mscoree) + --disable-tests + $(use_with X x) + $(use_with alsa) + $(use_with capi) + $(use_with cups) + $(use_with fontconfig) + $(use_with gphoto2 gphoto) + $(use_with gstreamer) + $(use_with kerberos gssapi) + $(use_with kerberos krb5) + $(use_with mingw) + $(use_with netapi) + $(use_with nls gettext) + $(use_with opencl) + $(use_with opengl) + $(use_with osmesa) + --without-oss # media-sound/oss is not packaged (OSSv4) + $(use_with pcap) + $(use_with pulseaudio pulse) + $(use_with scanner sane) + $(use_with sdl) + $(use_with smartcard pcsclite) + $(use_with ssl gnutls) + $(use_with truetype freetype) + $(use_with udev) + $(use_with udisks dbus) # dbus is only used for udisks + $(use_with unwind) + $(use_with usb) + $(use_with v4l v4l2) + $(use_with vulkan) + $(use_with wayland) + $(use_with xcomposite) + $(use_with xinerama) + ) + + tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097) + filter-lto # build failure + use mingw || filter-flags -fno-plt # build failure + use custom-cflags || strip-flags # can break in obscure ways at runtime + use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold + # https://github.com/gentoo/gentoo/pull/28355 + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && + append-ldflags -fuse-ld=bfd + + # build using upstream's way (--with-wine64) + # order matters: configure+compile 64->32, install 32->64 + local -i bits + for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do + ( + einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..." + + mkdir ../build${bits} || die + cd ../build${bits} || die + + pe_arch=i386 + if (( bits == 64 )); then + pe_arch=x86_64 + : "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}" + conf+=( --enable-win64 ) + elif use amd64; then + conf+=( + $(usev abi_x86_64 --with-wine64=../build64) + TARGETFLAGS=-m32 # for widl + ) + # _setup is optional, but use over Wine's auto-detect (+#472038) + multilib_toolchain_setup x86 + fi + : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" + + if use mingw; then + # CROSSCC is no longer recognized by Wine, but still use for now + # (future handling for CROSS* variables is subject to changes) + conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" ) + + # use *FLAGS for mingw, but strip unsupported + : "${CROSSCFLAGS:=$( + # >=wine-7.21 configure.ac no longer adds -fno-strict by mistake + append-cflags '-fno-strict-aliasing' + filter-flags '-fstack-clash-protection' #758914 + filter-flags '-fstack-protector*' #870136 + filter-flags '-mfunction-return=thunk*' #878849 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSLDFLAGS:=$( + filter-flags '-fuse-ld=*' + CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" + export CROSS{C,LD}FLAGS + fi + + ECONF_SOURCE=${S} econf "${conf[@]}" + ) + done +} + +src_compile() { + use abi_x86_64 && emake -C ../build64 # do first + use abi_x86_32 && emake -C ../build32 +} + +src_install() { + use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install + use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last + + # symlink for plain 'wine' and install its man pages if 64bit-only #404331 + if use abi_x86_64 && use !abi_x86_32; then + dosym wine64 ${WINE_PREFIX}/bin/wine + dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader + local man + for man in ../build64/loader/wine.*man; do + : "${man##*/wine}" + : "${_%.*}" + insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1 + newins ${man} wine.1 + done + fi + + use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \ + "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die + + # create variant wrappers for eselect-wine + local bin + for bin in "${ED}"${WINE_PREFIX}/bin/*; do + make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}" + done + + # don't let portage try to strip PE files with the wrong + # strip executable and instead handle it here (saves ~120MB) + if use mingw; then + dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows + use debug || + find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die + fi + + dodoc ANNOUNCE AUTHORS README* documentation/README* +} + +pkg_postinst() { + eselect wine update --if-unset || die +} + +pkg_postrm() { + eselect wine update --if-unset || die +} diff --git a/app-emulation/wine-staging/wine-staging-8.5.ebuild b/app-emulation/wine-staging/wine-staging-8.5.ebuild new file mode 100644 index 0000000..5f90e2c --- /dev/null +++ b/app-emulation/wine-staging/wine-staging-8.5.ebuild @@ -0,0 +1,369 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools edo flag-o-matic multilib multilib-build +inherit python-any-r1 toolchain-funcs wrapper + +WINE_GECKO=2.47.3 +WINE_MONO=7.4.0 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git" + WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git" +else + (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 + SRC_URI=" + https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz + https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~amd64 ~x86" +fi +S="${WORKDIR}/wine-${PV}" + +DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" +HOMEPAGE="https://wiki.winehq.org/Wine-Staging" + +LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" +SLOT="${PV}" +IUSE=" + +X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos + llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2 + +gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa + pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl + +truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite + xinerama" +REQUIRED_USE=" + X? ( truetype ) + crossdev-mingw? ( mingw )" # bug #551124 for truetype + +# tests are non-trivial to run, can hang easily, don't play well with +# sandbox, and several need real opengl/vulkan or network access +RESTRICT="test" + +# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked +WINE_DLOPEN_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + opengl? ( + media-libs/libglvnd[X,${MULTILIB_USEDEP}] + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + ) + cups? ( net-print/cups[${MULTILIB_USEDEP}] ) + fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] ) + kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )" +WINE_COMMON_DEPEND=" + ${WINE_DLOPEN_DEPEND} + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) + smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] ) + !llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] ) + ) + usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] ) + wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${WINE_COMMON_DEPEND} + app-emulation/wine-desktop-common + dos? ( games-emulation/dosbox ) + gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] ) + gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] ) + mono? ( app-emulation/wine-mono:${WINE_MONO} ) + perl? ( + dev-lang/perl + dev-perl/XML-LibXML + ) + samba? ( net-fs/samba[winbind] ) + selinux? ( sec-policy/selinux-wine ) + udisks? ( sys-fs/udisks:2 )" +DEPEND=" + ${WINE_COMMON_DEPEND} + sys-kernel/linux-headers + X? ( x11-base/xorg-proto )" +# gitapply.sh prefers git but can fallback to patch+extras +BDEPEND=" + ${PYTHON_DEPS} + || ( + dev-vcs/git + ( + sys-apps/gawk + sys-apps/util-linux + ) + ) + dev-lang/perl + sys-devel/binutils + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + mingw? ( !crossdev-mingw? ( + >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] + ) ) + nls? ( sys-devel/gettext )" +IDEPEND=">=app-eselect/eselect-wine-2" + +QA_CONFIG_IMPL_DECL_SKIP=( + __clear_cache # unused on amd64+x86 (bug #900334) + res_getservers # false positive +) +QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects +QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext + +PATCHES=( + "${FILESDIR}"/${PN}-7.17-noexecstack.patch + "${FILESDIR}"/${PN}-7.20-unwind.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} == binary ]] && return + + if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then + local mingw=-w64-mingw32 + for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do + if ! type -P ${mingw}-gcc >/dev/null; then + eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain" + eerror "yourself by installing sys-devel/crossdev then running:" + eerror + eerror " crossdev --target ${mingw}" + eerror + eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw" + die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found" + fi + done + fi +} + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + EGIT_CHECKOUT_DIR=${WORKDIR}/${P} + git-r3_src_unpack + + EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die + EGIT_REPO_URI=${WINE_EGIT_REPO_URI} + EGIT_CHECKOUT_DIR=${S} + einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})" + git-r3_src_unpack + else + default + fi +} + +src_prepare() { + local patchinstallargs=( + --all + --no-autoconf + -W winemenubuilder-Desktop_Icon_Path #652176 + ${MY_WINE_STAGING_CONF} + ) + + edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}" + + # sanity check, bumping these has a history of oversights + local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \ + dlls/appwiz.cpl/addons.c || die) + if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then + local gmfatal= + [[ ${PV} == *9999 ]] && gmfatal=nonfatal + ${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)" + fi + + default + + # ensure .desktop calls this variant + slot + sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die + + # always update for patches (including user's wrt #432348) + eautoreconf + tools/make_requests || die # perl +} + +src_configure() { + WINE_PREFIX=/usr/lib/${P} + WINE_DATADIR=/usr/share/${P} + + local conf=( + --prefix="${EPREFIX}"${WINE_PREFIX} + --datadir="${EPREFIX}"${WINE_DATADIR} + --includedir="${EPREFIX}"/usr/include/${P} + --libdir="${EPREFIX}"${WINE_PREFIX} + --mandir="${EPREFIX}"${WINE_DATADIR}/man + $(use_enable gecko mshtml) + $(use_enable mono mscoree) + --disable-tests + $(use_with X x) + $(use_with alsa) + $(use_with capi) + $(use_with cups) + $(use_with fontconfig) + $(use_with gphoto2 gphoto) + $(use_with gstreamer) + $(use_with kerberos gssapi) + $(use_with kerberos krb5) + $(use_with mingw) + $(use_with netapi) + $(use_with nls gettext) + $(use_with opencl) + $(use_with opengl) + $(use_with osmesa) + --without-oss # media-sound/oss is not packaged (OSSv4) + $(use_with pcap) + $(use_with pulseaudio pulse) + $(use_with scanner sane) + $(use_with sdl) + $(use_with smartcard pcsclite) + $(use_with ssl gnutls) + $(use_with truetype freetype) + $(use_with udev) + $(use_with udisks dbus) # dbus is only used for udisks + $(use_with unwind) + $(use_with usb) + $(use_with v4l v4l2) + $(use_with vulkan) + $(use_with wayland) + $(use_with xcomposite) + $(use_with xinerama) + ) + + tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097) + filter-lto # build failure + use mingw || filter-flags -fno-plt # build failure + use custom-cflags || strip-flags # can break in obscure ways at runtime + use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold + # https://github.com/gentoo/gentoo/pull/28355 + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && + append-ldflags -fuse-ld=bfd + + # build using upstream's way (--with-wine64) + # order matters: configure+compile 64->32, install 32->64 + local -i bits + for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do + ( + einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..." + + mkdir ../build${bits} || die + cd ../build${bits} || die + + pe_arch=i386 + if (( bits == 64 )); then + pe_arch=x86_64 + : "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}" + conf+=( --enable-win64 ) + elif use amd64; then + conf+=( + $(usev abi_x86_64 --with-wine64=../build64) + TARGETFLAGS=-m32 # for widl + ) + # _setup is optional, but use over Wine's auto-detect (+#472038) + multilib_toolchain_setup x86 + fi + : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" + + if use mingw; then + # CROSSCC is no longer recognized by Wine, but still use for now + # (future handling for CROSS* variables is subject to changes) + conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" ) + + # use *FLAGS for mingw, but strip unsupported + : "${CROSSCFLAGS:=$( + # >=wine-7.21 configure.ac no longer adds -fno-strict by mistake + append-cflags '-fno-strict-aliasing' + filter-flags '-fstack-clash-protection' #758914 + filter-flags '-fstack-protector*' #870136 + filter-flags '-mfunction-return=thunk*' #878849 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSLDFLAGS:=$( + filter-flags '-fuse-ld=*' + CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" + export CROSS{C,LD}FLAGS + fi + + ECONF_SOURCE=${S} econf "${conf[@]}" + ) + done +} + +src_compile() { + use abi_x86_64 && emake -C ../build64 # do first + use abi_x86_32 && emake -C ../build32 +} + +src_install() { + use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install + use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last + + # symlink for plain 'wine' and install its man pages if 64bit-only #404331 + if use abi_x86_64 && use !abi_x86_32; then + dosym wine64 ${WINE_PREFIX}/bin/wine + dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader + local man + for man in ../build64/loader/wine.*man; do + : "${man##*/wine}" + : "${_%.*}" + insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1 + newins ${man} wine.1 + done + fi + + use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \ + "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die + + # create variant wrappers for eselect-wine + local bin + for bin in "${ED}"${WINE_PREFIX}/bin/*; do + make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}" + done + + # don't let portage try to strip PE files with the wrong + # strip executable and instead handle it here (saves ~120MB) + if use mingw; then + dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows + use debug || + find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die + fi + + dodoc ANNOUNCE AUTHORS README* documentation/README* +} + +pkg_postinst() { + eselect wine update --if-unset || die +} + +pkg_postrm() { + eselect wine update --if-unset || die +} diff --git a/app-misc/clight/Manifest b/app-misc/clight/Manifest new file mode 100644 index 0000000..dac54fd --- /dev/null +++ b/app-misc/clight/Manifest @@ -0,0 +1,5 @@ +AUX clight-gentoo-skip-manpage-compression.patch 561 BLAKE2B f479004ed1c16a12c660b937fc4903f7c3d99c474ccbbc190f6e863aea9326e2f3b12e0d25283bc42d1328f9569c02cf467b55006e5566e9d92a7c8352e40249 SHA512 e8b4d8c3b673c9e9e67e39009c81d0528f5185c1d69a8341d43a04593a620b5924503fd765fcd2f14e151c813141f5873a6c3f44f338c3c49909a8e60f3a308d +DIST clight-4.9.tar.gz 90850 BLAKE2B e914032ab47ec22a527d7cdc6cd2b4506418e267204f44fea6ef0c83f80f635c5f929605d6e59df87eacad595e3db3985ef548d2e41587b779ebece1a099ff66 SHA512 6af176ebf919d6c4ac2769376dd04e13ff2044b768e688620ce1f41cd7a82d146cbe64c5266f318e4b5d2d4a779f515cdefd46ff0cd8d6fc3bb9e4bdfb70b2d5 +EBUILD clight-4.9.ebuild 1129 BLAKE2B 6a435ebae95c9c244e4bea1bbcaa8ee54d4d0a676ea3c25afc51a84dbc96270bf59c4872bc76ee17bd822ba50fa1b80b7ecfa6d7f0af0fb706b4edfeff2062cb SHA512 9baf19aa1cb3b328c7c0afee827553876b667a57e88677f5309a64463ac12366f6d20216e5cce70e909bb45f529f8a38e04610df678f6036bffa51a198a95809 +EBUILD clight-9999.ebuild 1129 BLAKE2B 6a435ebae95c9c244e4bea1bbcaa8ee54d4d0a676ea3c25afc51a84dbc96270bf59c4872bc76ee17bd822ba50fa1b80b7ecfa6d7f0af0fb706b4edfeff2062cb SHA512 9baf19aa1cb3b328c7c0afee827553876b667a57e88677f5309a64463ac12366f6d20216e5cce70e909bb45f529f8a38e04610df678f6036bffa51a198a95809 +MISC metadata.xml 434 BLAKE2B e2ab4eee2375f50ce7c41dd95e37cf906ff17030200cf010fcce73e0bcba07a434ce2979eb4c67e7914590aac941b1572ed419c2fac25d324231eea1c6efcf8c SHA512 4ac727e28d3fd5045a6d81091e27ba08f3fc191cef71f9be171aed649fc81e8ecaecd80672653aa79c7230b8d2f38e7ae39732cbcc75a3e869b32a6089b4d299 diff --git a/app-misc/clight/clight-4.9.ebuild b/app-misc/clight/clight-4.9.ebuild new file mode 100644 index 0000000..66c60df --- /dev/null +++ b/app-misc/clight/clight-4.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN^}" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/FedeDP/${MY_PN}" + EGIT_BRANCH="master" + VCS_ECLASS="git-r3" +else + SRC_URI="https://github.com/FedeDP/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake xdg-utils ${VCS_ECLASS} + +DESCRIPTION="A C daemon that turns your webcam into a light sensor" +HOMEPAGE="https://github.com/FedeDP/Clight" + +LICENSE="GPL-3" +SLOT="0" +IUSE="bash-completion geoclue upower" + +PATCHES=( + "${FILESDIR}/clight-gentoo-skip-manpage-compression.patch" +) + +DEPEND=" + dev-libs/libconfig + dev-libs/popt + sci-libs/gsl + || ( sys-auth/elogind sys-apps/systemd ) +" + +RDEPEND=" + ${DEPEND} + >=app-misc/clightd-5.0 + geoclue? ( app-misc/geoclue:2.0 ) + upower? ( sys-power/upower ) +" + +BDEPEND=" + ${DEPEND} + >=dev-libs/libmodule-5.0.0 + dev-util/cmake + sys-apps/dbus + virtual/pkgconfig + bash-completion? ( app-shells/bash-completion ) +" + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-misc/clight/clight-9999.ebuild b/app-misc/clight/clight-9999.ebuild new file mode 100644 index 0000000..66c60df --- /dev/null +++ b/app-misc/clight/clight-9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN^}" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/FedeDP/${MY_PN}" + EGIT_BRANCH="master" + VCS_ECLASS="git-r3" +else + SRC_URI="https://github.com/FedeDP/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake xdg-utils ${VCS_ECLASS} + +DESCRIPTION="A C daemon that turns your webcam into a light sensor" +HOMEPAGE="https://github.com/FedeDP/Clight" + +LICENSE="GPL-3" +SLOT="0" +IUSE="bash-completion geoclue upower" + +PATCHES=( + "${FILESDIR}/clight-gentoo-skip-manpage-compression.patch" +) + +DEPEND=" + dev-libs/libconfig + dev-libs/popt + sci-libs/gsl + || ( sys-auth/elogind sys-apps/systemd ) +" + +RDEPEND=" + ${DEPEND} + >=app-misc/clightd-5.0 + geoclue? ( app-misc/geoclue:2.0 ) + upower? ( sys-power/upower ) +" + +BDEPEND=" + ${DEPEND} + >=dev-libs/libmodule-5.0.0 + dev-util/cmake + sys-apps/dbus + virtual/pkgconfig + bash-completion? ( app-shells/bash-completion ) +" + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-misc/clight/files/clight-gentoo-skip-manpage-compression.patch b/app-misc/clight/files/clight-gentoo-skip-manpage-compression.patch new file mode 100644 index 0000000..1bfad5c --- /dev/null +++ b/app-misc/clight/files/clight-gentoo-skip-manpage-compression.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e6d8b1a..60b1813 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -125,8 +125,7 @@ endif() + + # Configure, gzip and install man pages + configure_file(${EXTRA_DIR}/man/clight.1 clight.1 @ONLY) +-execute_process(COMMAND gzip clight.1 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/clight.1.gz DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/man/man1) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/clight.1 DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/man/man1) + + # + # Packaging support diff --git a/app-misc/clight/metadata.xml b/app-misc/clight/metadata.xml new file mode 100644 index 0000000..ed647f7 --- /dev/null +++ b/app-misc/clight/metadata.xml @@ -0,0 +1,14 @@ + + + + + erkiferenc@gmail.com + Ferenc Erki + + + FedeDP/Clight + + + Enable geolocation support through app-misc/geoclue + + diff --git a/app-misc/clightd/Manifest b/app-misc/clightd/Manifest new file mode 100644 index 0000000..fa9ab02 --- /dev/null +++ b/app-misc/clightd/Manifest @@ -0,0 +1,4 @@ +DIST clightd-5.7.tar.gz 69412 BLAKE2B 9191c0153b313d47028b0396fb0ab12bf002028ad5bcc254dfef79a57cfff99d078792a7625ec3bbb778ddc7cb4001aaa41d77dd093cd0f4de7b6db8bcab0abb SHA512 f621b5ef904e6851ae1959632fb9a650d9ed7cb881ad4a70e3e7cdc877b74c78daab349c44baecadcebfcce01ac72fea6202858616864aba92a16eebda5deff6 +EBUILD clightd-5.7.ebuild 1411 BLAKE2B 45d449ea8e524349b71e1930f2ee402f124fbd24ebc2e3a007ee822c693bc77293557d64f47118c14d07bb33e7fbb9a71776dba0a3c1c5985ccac72e7ae31dba SHA512 3f9916a060dcc2b0c8dff6137cc9caa52b4f23e5267337617c3e39a0511b27f26514f51c35a030be1171da2aa80b82d6479fbce19305c5e7ffcfee571a327eb7 +EBUILD clightd-9999.ebuild 1411 BLAKE2B 45d449ea8e524349b71e1930f2ee402f124fbd24ebc2e3a007ee822c693bc77293557d64f47118c14d07bb33e7fbb9a71776dba0a3c1c5985ccac72e7ae31dba SHA512 3f9916a060dcc2b0c8dff6137cc9caa52b4f23e5267337617c3e39a0511b27f26514f51c35a030be1171da2aa80b82d6479fbce19305c5e7ffcfee571a327eb7 +MISC metadata.xml 708 BLAKE2B db8f9056a0569b82212e6035f959c24ce9914cb5cc25d184274052a8663cff5c31f31128d1f0e41cb9d5c1f9f38b98833c3e9f0dd31ee5212ce541f3c5356620 SHA512 b071b09ea31b01bf0f87d91da79761fdd374108ba6784b8d0d7a44efdaa20772d4bec8ace4bcc9fdb25f0ab4dbdd925f6c736c17629d29e3b23f26408793feb1 diff --git a/app-misc/clightd/clightd-5.7.ebuild b/app-misc/clightd/clightd-5.7.ebuild new file mode 100644 index 0000000..fccdff0 --- /dev/null +++ b/app-misc/clightd/clightd-5.7.ebuild @@ -0,0 +1,75 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN^}" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/FedeDP/${MY_PN}" + EGIT_BRANCH="master" + VCS_ECLASS="git-r3" +else + SRC_URI="https://github.com/FedeDP/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake ${VCS_ECLASS} + +DESCRIPTION="A linux bus interface for screen settings (brightness, gamma, etc.)" +HOMEPAGE="https://github.com/FedeDP/Clightd" + +LICENSE="GPL-3" +SLOT="0" +IUSE="ddc dpms gamma pipewire screen yoctolight" + +DEPEND=" + >=dev-libs/libmodule-5.0.0 + media-libs/libjpeg-turbo + sys-apps/dbus + sys-auth/polkit + virtual/libudev + || ( sys-auth/elogind sys-apps/systemd ) + ddc? ( + >=app-misc/ddcutil-0.9.5 + ) + dpms? ( + dev-libs/wayland + x11-libs/libdrm + x11-libs/libXext + x11-libs/libX11 + ) + gamma? ( + dev-libs/wayland + x11-libs/libdrm + x11-libs/libXrandr + x11-libs/libX11 + ) + pipewire? ( + media-video/pipewire + ) + screen? ( + x11-libs/libX11 + ) + yoctolight? ( + virtual/libusb:1 + ) +" + +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=() useflag + + for useflag in ddc dpms gamma screen yoctolight; do + mycmakeargs+=( -DENABLE_${useflag^^}=$(usex $useflag) ) + done + + if use ddc; then + mycmakeargs+=( -DMODULE_LOAD_DIR=/etc/modules-load.d ) + fi + + cmake_src_configure +} diff --git a/app-misc/clightd/clightd-9999.ebuild b/app-misc/clightd/clightd-9999.ebuild new file mode 100644 index 0000000..fccdff0 --- /dev/null +++ b/app-misc/clightd/clightd-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN^}" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/FedeDP/${MY_PN}" + EGIT_BRANCH="master" + VCS_ECLASS="git-r3" +else + SRC_URI="https://github.com/FedeDP/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake ${VCS_ECLASS} + +DESCRIPTION="A linux bus interface for screen settings (brightness, gamma, etc.)" +HOMEPAGE="https://github.com/FedeDP/Clightd" + +LICENSE="GPL-3" +SLOT="0" +IUSE="ddc dpms gamma pipewire screen yoctolight" + +DEPEND=" + >=dev-libs/libmodule-5.0.0 + media-libs/libjpeg-turbo + sys-apps/dbus + sys-auth/polkit + virtual/libudev + || ( sys-auth/elogind sys-apps/systemd ) + ddc? ( + >=app-misc/ddcutil-0.9.5 + ) + dpms? ( + dev-libs/wayland + x11-libs/libdrm + x11-libs/libXext + x11-libs/libX11 + ) + gamma? ( + dev-libs/wayland + x11-libs/libdrm + x11-libs/libXrandr + x11-libs/libX11 + ) + pipewire? ( + media-video/pipewire + ) + screen? ( + x11-libs/libX11 + ) + yoctolight? ( + virtual/libusb:1 + ) +" + +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=() useflag + + for useflag in ddc dpms gamma screen yoctolight; do + mycmakeargs+=( -DENABLE_${useflag^^}=$(usex $useflag) ) + done + + if use ddc; then + mycmakeargs+=( -DMODULE_LOAD_DIR=/etc/modules-load.d ) + fi + + cmake_src_configure +} diff --git a/app-misc/clightd/metadata.xml b/app-misc/clightd/metadata.xml new file mode 100644 index 0000000..06e0b9d --- /dev/null +++ b/app-misc/clightd/metadata.xml @@ -0,0 +1,19 @@ + + + + + erkiferenc@gmail.com + Ferenc Erki + + + FedeDP/Clightd + + + Enable ddcutil support + Enable DPMS support + Enable gamma support + Enable screen emitted backlight computation support + Enable pipewire camera sensor support + Enable YoctoLight ALS devices support + + diff --git a/dev-libs/libmodule/Manifest b/dev-libs/libmodule/Manifest new file mode 100644 index 0000000..5a10b2f --- /dev/null +++ b/dev-libs/libmodule/Manifest @@ -0,0 +1,3 @@ +DIST libmodule-5.0.1.tar.gz 51155 BLAKE2B 9f183d9f28d1e7a3a9db95326800565ebd33e82f050d768d0e8c9b6b597ebf9a608a3b574a29a02f80dd6d5bf7a89dbf5999055d3006f939874c8dca12e8403b SHA512 3301d00d078d3c8a257e56576b8264dcd44636f8503e786a1e72dfdd7b9bad2717f76034fc78c756c4d0e3547a823cb1d76259852fff06785789719d19f5e948 +EBUILD libmodule-5.0.1.ebuild 415 BLAKE2B 90a615ec04e7745ba0f16d36098f2228e0d71d6395595f221b17752cbf84921f40e872982f40b36d0937938a2c1ced2e97f8fb3eb32eacefc472bfa8640bb799 SHA512 ffb2fc6e6551394958c91162e9c35d0874767c17bf29fbd323a99061df94227f4d16f2213065e88eb2d777f62abd8ecd7186001015b9eefd2ee54ecb6194f2df +MISC metadata.xml 329 BLAKE2B d8c3cdca78d0318f37d4f11b186fcae4368329a77ea9961d4426075fb23fd8d9cabebb7ea2d375d5b198a91047c62296f62a20e2d3dce5cb5977d53be406b014 SHA512 0bb769c646235931c697cedb1c8c9e76b9e47e3004f60c6b329fb24597587868fa48c6713a37c695b4752c1e3a276b3c8e86d21349e6cd89206db209042ec3b3 diff --git a/dev-libs/libmodule/libmodule-5.0.1.ebuild b/dev-libs/libmodule/libmodule-5.0.1.ebuild new file mode 100644 index 0000000..3cdc160 --- /dev/null +++ b/dev-libs/libmodule/libmodule-5.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="C simple and elegant implementation of an actor library" +HOMEPAGE="https://github.com/FedeDP/libmodule" +SRC_URI="https://github.com/FedeDP/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" diff --git a/dev-libs/libmodule/metadata.xml b/dev-libs/libmodule/metadata.xml new file mode 100644 index 0000000..31f8760 --- /dev/null +++ b/dev-libs/libmodule/metadata.xml @@ -0,0 +1,11 @@ + + + + + erkiferenc@gmail.com + Ferenc Erki + + + FedeDP/libmodule + + diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest new file mode 100644 index 0000000..a49b86e --- /dev/null +++ b/media-libs/mesa/Manifest @@ -0,0 +1,6 @@ +AUX clang_resource_dir.patch 1129 BLAKE2B 40cf2bc3381d5318c95d3fdadef1bdb6bb57f3b04270e07c0a66613b6432ad617be73d34122be3280d861dde0663fc5c96bb37a9312c2e333e39e69287a9e33a SHA512 493585cf0a93fda04d4577095ae04e1c3dc37aa446ea0873e81857cd2f2c6519bbdf34f0d6e6dd47dd1e927cc776f46901ebab14c7040a92688c3868204b3856 +AUX mesa-23.0.2-wayland-crash-warnings-2.patch 1854 BLAKE2B e0aaa149f3a3c45dc4ea57b28146b19774d386bfd070ad22344596caa8fbba1eaed37ce6938792be448bb1adb1a37fc3c004bdca486592db84aea26dacf4d167 SHA512 762f2917aead5ead4586a0875cb79f56c5a1becc80fa37e15e46bfb432a679f8e31025cca55c1d5068efebb60367eb11223e24c729406a9ce56ba536796acb0d +AUX mesa-23.0.2-wayland-crash-warnings.patch 1430 BLAKE2B a7c7ef4a34ac9c76c4c5af783510887705a1d6acbc62978b2cc8a021534e215404de3d5828d9c052dccc85808da5b0553f9172fa8edccb40ed7fdc6bc1df35c3 SHA512 98b8a3de99c96474a07615b225b00773c9988a05e25a70cc6586c60762bea8d1a0bbbb47d45e8a38d780951a83abd2c6bbda19180b2457a686625b140b570014 +AUX mesa-23.1.0-intel-Disable-shader-cache-when-executing-intel_clc-.patch 1072 BLAKE2B e8c221f448ae22ce77694478a5c380fdc01837aa0a4cd0aeab9c3b37d4dfe47a0c9c127a7ed2051ee9b8b8c5a05c12a4127bda285e9d35558a10100994389570 SHA512 608f3f1bdfd2cb7be39ebff2843e64245ee75e1cd2d13cf9e767488b5b8bbeb419966881338334f39bece5f853b066405fc9d17d0d7b2c264f030361e4dcd72e +DIST mesa-23.0.3.tar.xz 17627728 BLAKE2B e716d9ddce3da649239c1bc37ec208b9669f316f6b547ca0c69937043f371f0d59ead34fec427297171916045061ddb8783d126f6dec5ece90a0719003fe2c40 SHA512 52c778de61daa406c6a1e96a657e9b6fdcc71c8cfda80b7f53acc6470556c7d502c057b9481bb0c3d57ef0263263413fd0d25d53ebf5aa0246fbcc3309de64ae +EBUILD mesa-23.0.3-r1.ebuild 12250 BLAKE2B 4e6add8f5a8a6758b12f5c72e42e2b7df839ea793f155b6653b9cd6eed82eccca39768cdc8deb6b718627c4df7b0ad1ddcdf54a4db48eaf4c55fbcf570e7168e SHA512 9f4ca64c734a77f175abbc4037cb4291ab9f9d8f329087aa487fc628926bec163fdf43abef43e75cde6f08327e3b8c04c7c24a36150fb2444de9d7fae3e37c0d diff --git a/media-libs/mesa/files/clang_resource_dir.patch b/media-libs/mesa/files/clang_resource_dir.patch new file mode 100644 index 0000000..6e0c3c7 --- /dev/null +++ b/media-libs/mesa/files/clang_resource_dir.patch @@ -0,0 +1,24 @@ +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19232#note_1776640 +https://gitlab.freedesktop.org/mesa/mesa/-/issues/7717#note_1832122 + +diff --git a/src/compiler/clc/clc_helpers.cpp b/src/compiler/clc/clc_helpers.cpp +index 80bc84831e4..34d156bf227 100644 +--- a/src/compiler/clc/clc_helpers.cpp ++++ b/src/compiler/clc/clc_helpers.cpp +@@ -39,6 +39,7 @@ + #include + #include + ++#include + #include + #include + #include +@@ -866,7 +867,7 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx, + // because we might have linked clang statically. + auto libclang_path = fs::path(LLVM_LIB_DIR) / "libclang.so"; + auto clang_res_path = +- fs::path(clang::driver::Driver::GetResourcesPath(libclang_path.string())) / "include"; ++ fs::path(clang::driver::Driver::GetResourcesPath(libclang_path.string(), CLANG_RESOURCE_DIR)) / "include"; + + c->getHeaderSearchOpts().UseBuiltinIncludes = true; + c->getHeaderSearchOpts().UseStandardSystemIncludes = true; diff --git a/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings-2.patch b/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings-2.patch new file mode 100644 index 0000000..5992583 --- /dev/null +++ b/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings-2.patch @@ -0,0 +1,49 @@ +https://bugs.gentoo.org/904072 +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21647 + +From 689ce66a4332524b4eb98877de6f75d05dd05c60 Mon Sep 17 00:00:00 2001 +From: Alexandros Frantzis +Date: Thu, 2 Mar 2023 10:10:42 +0200 +Subject: [PATCH] vulkan/wsi/wayland: Fix destruction of event queue with + proxies still attached. + +Destroy the surface dmabuf feedback proxy before destroying the event +queue that the proxy is attached to. + +This silences a warning that libwayland 1.22 emits for programs that use +Vulkan/Wayland: + +warning: queue 0x557a4efbcf70 destroyed while proxies still attached: + zwp_linux_dmabuf_feedback_v1@18 still attached + +Signed-off-by: Alexandros Frantzis +Part-of: +--- a/src/vulkan/wsi/wsi_common_wayland.c ++++ b/src/vulkan/wsi/wsi_common_wayland.c +@@ -1157,18 +1157,18 @@ wsi_wl_surface_destroy(VkIcdSurfaceBase *icd_surface, VkInstance _instance, + struct wsi_wl_surface *wsi_wl_surface = + wl_container_of((VkIcdSurfaceWayland *)icd_surface, wsi_wl_surface, base); + +- if (wsi_wl_surface->surface) +- wl_proxy_wrapper_destroy(wsi_wl_surface->surface); +- +- if (wsi_wl_surface->display) +- wsi_wl_display_destroy(wsi_wl_surface->display); +- + if (wsi_wl_surface->wl_dmabuf_feedback) { + zwp_linux_dmabuf_feedback_v1_destroy(wsi_wl_surface->wl_dmabuf_feedback); + dmabuf_feedback_fini(&wsi_wl_surface->dmabuf_feedback); + dmabuf_feedback_fini(&wsi_wl_surface->pending_dmabuf_feedback); + } + ++ if (wsi_wl_surface->surface) ++ wl_proxy_wrapper_destroy(wsi_wl_surface->surface); ++ ++ if (wsi_wl_surface->display) ++ wsi_wl_display_destroy(wsi_wl_surface->display); ++ + vk_free2(&instance->alloc, pAllocator, wsi_wl_surface); + } + +-- +GitLab diff --git a/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings.patch b/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings.patch new file mode 100644 index 0000000..537d070 --- /dev/null +++ b/media-libs/mesa/files/mesa-23.0.2-wayland-crash-warnings.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/904072 +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21646 + +From ee5d2250fd159689aae3f7d632a6226971bea85c Mon Sep 17 00:00:00 2001 +From: Alexandros Frantzis +Date: Thu, 2 Mar 2023 09:35:08 +0200 +Subject: [PATCH] egl/wayland: Fix destruction of event queue with proxies + still attached. + +Destroy the display wrapper proxy before destroying the event queue that +the proxy is attached to. + +This silences a warning that libwayland 1.22 emits for programs that use +EGL/Wayland: + +warning: queue 0x562a5ed2cd20 destroyed while proxies still attached: + wl_display@1 still attached + +Signed-off-by: Alexandros Frantzis +Part-of: +--- a/src/egl/drivers/dri2/platform_wayland.c ++++ b/src/egl/drivers/dri2/platform_wayland.c +@@ -2865,10 +2865,10 @@ dri2_teardown_wayland(struct dri2_egl_display *dri2_dpy) + wl_shm_destroy(dri2_dpy->wl_shm); + if (dri2_dpy->wl_registry) + wl_registry_destroy(dri2_dpy->wl_registry); +- if (dri2_dpy->wl_queue) +- wl_event_queue_destroy(dri2_dpy->wl_queue); + if (dri2_dpy->wl_dpy_wrapper) + wl_proxy_wrapper_destroy(dri2_dpy->wl_dpy_wrapper); ++ if (dri2_dpy->wl_queue) ++ wl_event_queue_destroy(dri2_dpy->wl_queue); + + if (dri2_dpy->own_device) + wl_display_disconnect(dri2_dpy->wl_dpy); +-- +GitLab diff --git a/media-libs/mesa/files/mesa-23.1.0-intel-Disable-shader-cache-when-executing-intel_clc-.patch b/media-libs/mesa/files/mesa-23.1.0-intel-Disable-shader-cache-when-executing-intel_clc-.patch new file mode 100644 index 0000000..511dfed --- /dev/null +++ b/media-libs/mesa/files/mesa-23.1.0-intel-Disable-shader-cache-when-executing-intel_clc-.patch @@ -0,0 +1,30 @@ +From 28efca603bf11f361eb741d23ef181a3b6905f74 Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Thu, 11 May 2023 13:51:25 -0400 +Subject: [PATCH] intel: Disable shader cache when executing intel_clc during + the build + +With the shader cache enabled, intel_clc attempts to write to ~/.cache. +Many distributions' build systems limit file-system access, and will +kill the process thus causing the build to fail. + +Fixes: 639665053fa ("anv/grl: Build OpenCL kernels") +--- + src/intel/vulkan/grl/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/intel/vulkan/grl/meson.build b/src/intel/vulkan/grl/meson.build +index 3d7567cfc13..c0056b3493d 100644 +--- a/src/intel/vulkan/grl/meson.build ++++ b/src/intel/vulkan/grl/meson.build +@@ -142,6 +142,7 @@ foreach t : [['125', 'gfx125', 'dg2']] + # without modifying grl source code, remove + # if fixed there + ], ++ env: ['MESA_SHADER_CACHE_DISABLE=true'], + depends : [prog_intel_clc] + ) + endforeach +-- +2.39.3 + diff --git a/media-libs/mesa/mesa-23.0.3-r1.ebuild b/media-libs/mesa/mesa-23.0.3-r1.ebuild new file mode 100644 index 0000000..7382825 --- /dev/null +++ b/media-libs/mesa/mesa-23.0.3-r1.ebuild @@ -0,0 +1,462 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit llvm meson-multilib python-any-r1 linux-info + +MY_P="${P/_/-}" + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + inherit git-r3 +else + SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +fi + +LICENSE="MIT" +SLOT="0" +RESTRICT="!test? ( test )" + +RADEON_CARDS="r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lima nouveau panfrost v3d vc4 virgl vivante vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm + lm-sensors opencl osmesa +proprietary-codecs selinux + test unwind vaapi valgrind vdpau vulkan + vulkan-overlay wayland +X xa zink +zstd" + +REQUIRED_USE=" + d3d9? ( || ( video_cards_intel video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) + vulkan? ( video_cards_radeonsi? ( llvm ) ) + vulkan-overlay? ( vulkan ) + video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r300? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_radeonsi? ( llvm ) + vdpau? ( X ) + xa? ( X ) + zink? ( vulkan ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110" +RDEPEND=" + >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + video_cards_radeonsi? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_r600? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_radeon? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + ) + lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] ) + opencl? ( + >=virtual/opencl-3[${MULTILIB_USEDEP}] + dev-libs/libclc + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + vaapi? ( + >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] + ) + vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.18.0[${MULTILIB_USEDEP}] ) + ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + ) + zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done +RDEPEND="${RDEPEND} + video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] ) +" + +# Please keep the LLVM dependency block separate. Since LLVM is slotted, +# we need to *really* make sure we're not pulling one than more slot +# simultaneously. +# +# How to use it: +# 1. List all the working slots (with min versions) in ||, newest first. +# 2. Update the := to specify *max* version, e.g. < 10. +# 3. Specify LLVM_MAX_SLOT, e.g. 9. +LLVM_MAX_SLOT="16" +LLVM_DEPSTR=" + || ( + sys-devel/llvm:16[${MULTILIB_USEDEP}] + sys-devel/llvm:15[${MULTILIB_USEDEP}] + ) + =dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + vulkan? ( dev-util/glslang ) + wayland? ( dev-util/wayland-scanner ) +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +QA_WX_LOAD=" +x86? ( + usr/lib*/libglapi.so.0.0.0 + usr/lib*/libGLESv1_CM.so.1.1.0 + usr/lib*/libGLESv2.so.2.0.0 + usr/lib*/libGL.so.1.2.0 + usr/lib*/libOSMesa.so.8.0.0 + usr/lib/libGLX_mesa.so.0.0.0 +)" + +PATCHES=( + "${FILESDIR}"/${PN}-23.0.2-wayland-crash-warnings.patch + "${FILESDIR}"/${PN}-23.0.2-wayland-crash-warnings-2.patch +) + +llvm_check_deps() { + local flags=${MULTILIB_USEDEP} + if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi + then + flags+=",llvm_targets_AMDGPU(-)" + fi + + if use opencl; then + has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1 + fi + has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]" +} + +pkg_pretend() { + if use vulkan; then + if ! use video_cards_d3d12 && + ! use video_cards_freedreno && + ! use video_cards_intel && + ! use video_cards_radeonsi && + ! use video_cards_v3d; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain d3d12, freedreno, intel, radeonsi, or v3d" + fi + fi + + if use opencl; then + if ! use video_cards_r600 && + ! use video_cards_radeonsi; then + ewarn "Ignoring USE=opencl since VIDEO_CARDS does not contain r600 or radeonsi" + fi + fi + + if use vaapi; then + if ! use video_cards_d3d12 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain d3d12, r600, radeonsi, or nouveau" + fi + fi + + if use vdpau; then + if ! use video_cards_d3d12 && + ! use video_cards_r300 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain d3d12, r300, r600, radeonsi, or nouveau" + fi + fi + + if use xa; then + if ! use video_cards_freedreno && + ! use video_cards_nouveau && + ! use video_cards_vmware; then + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware" + fi + fi + + if ! use llvm; then + use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm" + fi + + if use osmesa && ! use llvm; then + ewarn "OSMesa will be slow without enabling USE=llvm" + fi +} + +python_check_deps() { + python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" +} + +pkg_setup() { + # warning message for bug 459306 + if use llvm && has_version sys-devel/llvm[!debug=]; then + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm" + ewarn "detected! This can cause problems. For details, see bug 459306." + fi + + if use video_cards_intel || + use video_cards_radeonsi; then + if kernel_is -ge 5 11 3; then + CONFIG_CHECK="~KCMP" + elif kernel_is -ge 5 11; then + CONFIG_CHECK="~CHECKPOINT_RESTORE" + elif kernel_is -ge 5 10 20; then + CONFIG_CHECK="~KCMP" + else + CONFIG_CHECK="~CHECKPOINT_RESTORE" + fi + linux-info_pkg_setup + fi + + if use llvm; then + llvm_pkg_setup + fi + python-any-r1_pkg_setup +} + +multilib_src_configure() { + local emesonargs=() + + local platforms + use X && platforms+="x11" + use wayland && platforms+=",wayland" + emesonargs+=(-Dplatforms=${platforms#,}) + + if use video_cards_intel || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_use d3d9 gallium-nine)) + else + emesonargs+=(-Dgallium-nine=false) + fi + + if use video_cards_d3d12 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vaapi gallium-va)) + use vaapi && emesonargs+=( -Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers ) + else + emesonargs+=(-Dgallium-va=disabled) + fi + + if use video_cards_d3d12; then + emesonargs+=($(meson_feature vaapi gallium-d3d12-video)) + fi + + if use video_cards_d3d12 || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vdpau gallium-vdpau)) + else + emesonargs+=(-Dgallium-vdpau=disabled) + fi + + if use video_cards_freedreno || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_feature xa gallium-xa)) + else + emesonargs+=(-Dgallium-xa=disabled) + fi + + if use video_cards_freedreno || + use video_cards_lima || + use video_cards_panfrost || + use video_cards_v3d || + use video_cards_vc4 || + use video_cards_vivante; then + gallium_enable -- kmsro + fi + + gallium_enable -- swrast + gallium_enable video_cards_freedreno freedreno + gallium_enable video_cards_intel crocus i915 iris + gallium_enable video_cards_lima lima + gallium_enable video_cards_d3d12 d3d12 + gallium_enable video_cards_nouveau nouveau + gallium_enable video_cards_panfrost panfrost + gallium_enable video_cards_v3d v3d + gallium_enable video_cards_vc4 vc4 + gallium_enable video_cards_virgl virgl + gallium_enable video_cards_vivante etnaviv + gallium_enable video_cards_vmware svga + gallium_enable zink zink + + gallium_enable video_cards_r300 r300 + gallium_enable video_cards_r600 r600 + gallium_enable video_cards_radeonsi radeonsi + if ! use video_cards_r300 && \ + ! use video_cards_r600; then + gallium_enable video_cards_radeon r300 r600 + fi + + # opencl stuff + emesonargs+=( + -Dgallium-opencl="$(usex opencl icd disabled)" + ) + + if use vulkan; then + vulkan_enable video_cards_freedreno freedreno + vulkan_enable video_cards_intel intel intel_hasvk + vulkan_enable video_cards_d3d12 microsoft-experimental + vulkan_enable video_cards_radeonsi amd + vulkan_enable video_cards_v3d broadcom + fi + + driver_list() { + local drivers="$(sort -u <<< "${1// /$'\n'}")" + echo "${drivers//$'\n'/,}" + } + + local vulkan_layers + use vulkan && vulkan_layers+="device-select" + use vulkan-overlay && vulkan_layers+=",overlay" + emesonargs+=(-Dvulkan-layers=${vulkan_layers#,}) + + emesonargs+=( + $(meson_use test build-tests) + -Dglx=$(usex X dri disabled) + -Dshared-glapi=enabled + -Ddri3=enabled + -Degl=enabled + -Dgbm=enabled + -Dglvnd=true + $(meson_feature gles1) + $(meson_feature gles2) + $(meson_feature llvm) + $(meson_feature lm-sensors lmsensors) + $(meson_use osmesa) + $(meson_use selinux) + $(meson_feature unwind libunwind) + $(meson_feature zstd) + $(meson_use cpu_flags_x86_sse2 sse2) + -Dvalgrind=$(usex valgrind auto disabled) + -Dvideo-codecs=$(usex proprietary-codecs "h264dec,h264enc,h265dec,h265enc,vc1dec" "") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure +} + +multilib_src_test() { + meson_src_test -t 100 +} + +# $1 - VIDEO_CARDS flag (check skipped for "--") +# other args - names of DRI drivers to enable +gallium_enable() { + if [[ $1 == -- ]] || use $1; then + shift + GALLIUM_DRIVERS+=("$@") + fi +} + +vulkan_enable() { + if [[ $1 == -- ]] || use $1; then + shift + VULKAN_DRIVERS+=("$@") + fi +} diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest new file mode 100644 index 0000000..60959ab --- /dev/null +++ b/media-sound/mpd/Manifest @@ -0,0 +1,6 @@ +AUX mpd-0.21.1.logrotate 120 BLAKE2B 2111ba897a77a766adf0827c4da7132d5315c7c13ba8e29d582f1030a902492945b0bad6781bbf551e83afd38b957e953215674c669aa2745c1dfa004b20d4b6 SHA512 4a610d4805c32989673d6295fdf4290dc29b11e5b5f3baa2aa957ef9334566f13fa1937e70dc6fe414277e6a026442e4c7e4b406aaf424b96b392da0200ec732 +AUX mpd-0.21.4.init 767 BLAKE2B 74879e5f52365f987ac53a8ee154f29b4d7f5287cb2a965b180b3ed4a17dcdc68acea5dbe0b3adc99869270fb93a3f68e6728fad0776b9ce500efb6206f4db3c SHA512 36f3246835d6476e8f4f26795f8148f46b04015141894cdf849bfdd04b1cf5aa7a3d5960587f00e2c7d0f71568ca20fee619b95415df4cd0e4978ce95ca5f897 +AUX mpd-0.23.11-boost-1.81.patch 971 BLAKE2B 56c0963fb2169a8588f0b3dd3ada14859a1de969f455d537f4ac620269a95df77b7029a665824ae81179b7a7ccdbe1943fc451c90faa8171ce9982f72c52e377 SHA512 d8fe43ebe78cff16e7d773e5687960cd5f5ca65d2094d2d9f09c3bd22614ef3e6ad0982db5f8d0427724a12663afed48f20ab41236d2da58a007749955a6b9aa +DIST mpd-0.23.12.tar.xz 774708 BLAKE2B b218d9f477e92842638e3fba44c84957a3f656adaaf1ece998847db8d64883b8c997703206f74b37043888757f5f628799a3a35b25ea991f9ad00df1c4ad5e71 SHA512 54495b839d86b47ae6e2f6cf4e1baebd0e8eb924742e9db42cc7462ffc4b6f650b83f3eaea291fe905ff5f1975cf875537ffd23a111724013ce58e6df26ce36e +EBUILD mpd-0.23.12.ebuild 6657 BLAKE2B b198c10adb8fc7f0d2bb59c3aa04b6864c814458f82763e61c3ddd2632ae340e68a1107ced06c8414102e61feaee48bdac94f9aaaf4544a24ecf343af8ef3493 SHA512 4a4643acf90d8ceebe884dafe3554e7524de2b1c2af2899268b061e7c7618d722b9b75dc9c69f4d41c7fbb2cefd2050b9503ae7e987cca605f64b75bc017ef4a +MISC metadata.xml 2805 BLAKE2B afe65d7428c79de96b99855e74d8a474df33dbd71fe9f9f65f64270126dea5ca9138a533c9f4f8d422722352574ccbfec2ec64f5e492869e9c97fbc84dd2c1a1 SHA512 74c249f71a819f5747739c6c720d48edf52b62012f9d1fd30bb6027bd3c5794161f7a70b7c87d78a60fa46e37fc94aa449e0b8825bb8d3eea32143bf240e1d92 diff --git a/media-sound/mpd/files/mpd-0.21.1.logrotate b/media-sound/mpd/files/mpd-0.21.1.logrotate new file mode 100644 index 0000000..597c4fb --- /dev/null +++ b/media-sound/mpd/files/mpd-0.21.1.logrotate @@ -0,0 +1,9 @@ +/var/lib/mpd/log { + missingok + weekly + delaycompress + compress + postrotate + /etc/init.d/mpd --quiet reload + endscript +} diff --git a/media-sound/mpd/files/mpd-0.21.4.init b/media-sound/mpd/files/mpd-0.21.4.init new file mode 100644 index 0000000..72fede8 --- /dev/null +++ b/media-sound/mpd/files/mpd-0.21.4.init @@ -0,0 +1,34 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +: CFGFILE=${CFGFILE:=/etc/mpd.conf} + +depend() { + need localmount + use net netmount nfsmount alsasound esound pulseaudio + config ${CFGFILE} +} + +get_config() { + x=$1 + test -e ${CFGFILE} || return 1 + sed -n \ + -e '/^[ \t]*'${x}'/{s:^[ \t]*'${x}'[ \t]\+"\?\([^#"]\+\)[^"]*"\?$:\1: ; p }' \ + ${CFGFILE} +} + +extra_started_commands='reload' +# Required by io_uring +rc_ulimit="-l 65535" +command=/usr/bin/mpd +command_args=${CFGFILE} +required_files=${CFGFILE} +pidfile=$(get_config pid_file) +description="Music Player Daemon" + +reload() { + ebegin "Reloading ${RC_SVCNAME}" + start-stop-daemon --pidfile ${pidfile} --signal HUP + eend $? + } diff --git a/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch b/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch new file mode 100644 index 0000000..cb40b14 --- /dev/null +++ b/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/886521 +https://github.com/MusicPlayerDaemon/MPD/issues/1693 +https://github.com/MusicPlayerDaemon/MPD/commit/e4b055eb6d08c5c8f8d85828ce4005d410e462cb + +From e4b055eb6d08c5c8f8d85828ce4005d410e462cb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= + +Date: Thu, 1 Dec 2022 08:29:23 +0700 +Subject: [PATCH] v0.23.x: RemoteTagCache: add missing include + +Fix build with Boost 1.81.0. `` was included by one of those boost headers, +however, it's no longer included as of Boost 1.81.0. + +`master` doesn't use `std::array` in this file. + +While we're at it, add all necessary inclusion files. +--- a/src/RemoteTagCache.hxx ++++ b/src/RemoteTagCache.hxx +@@ -28,7 +28,11 @@ + #include + #include + ++#include ++#include ++#include + #include ++#include + + class RemoteTagCacheHandler; + diff --git a/media-sound/mpd/metadata.xml b/media-sound/mpd/metadata.xml new file mode 100644 index 0000000..33e244b --- /dev/null +++ b/media-sound/mpd/metadata.xml @@ -0,0 +1,49 @@ + + + + + nex+b-g-o@nexadn.de + Adrian Schollmeyer + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Use libcdio for ISO9660 parsing support + Enable ChromaPrint / AcoustID support + Enable CUE sheet support + Support for web stream listening + Use the eventfd function in MPD's event loop + Use external faad library for AAC decoding + Support writing audio to a FIFO + Enables Fluidsynth MIDI software synthesis (discouraged) + Enables support for media-libs/game-music-emu for playing various video game music formats. + Support for ID3 tags + Use the Linux kernel inotify subsystem to notice changes to mpd music library + Support for MP3 streaming via Icecast2 + Enable support for remote mpd databases + Enable the libsoxr resampler + Enable support for mp3 decoding over media-sound/mpg123 + Enables network streaming support + Enable support for the Network File System + OpenMPT decoder plugin + Support writing audio to a pipe + PipeWire support + Build plugin to access qobuz + Enables output plugin for recording radio streams + Build with SID (Commodore 64 Audio) support + Use the signalfd function in MPD's event loop + Snapcast audio plugin + Enable support for the media-sound/sndio backend + Build plugin to access soundcloud + Enable support for systemd socket activation + Support twolame MPEG-2 encoding + Enable using music from a WebDAV share + Enable MIDI support via wildmidi + + + MusicPlayerDaemon/MPD + https://github.com/MusicPlayerDaemon/MPD/issues + + diff --git a/media-sound/mpd/mpd-0.23.12.ebuild b/media-sound/mpd/mpd-0.23.12.ebuild new file mode 100644 index 0000000..229ac3c --- /dev/null +++ b/media-sound/mpd/mpd-0.23.12.ebuild @@ -0,0 +1,251 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic linux-info meson systemd xdg + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" +SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86" +IUSE="+alsa ao +audiofile bzip2 cdio chromaprint +cue +curl doc +dbus + +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify + jack lame libmpdclient libsamplerate libsoxr +mad mikmod mms + modplug mpg123 musepack +network nfs openal openmpt opus oss pipe pipewire pulseaudio qobuz + recorder samba selinux sid signalfd snapcast sndfile sndio soundcloud sqlite systemd + test twolame udisks vorbis wavpack webdav wildmidi upnp + zeroconf zip zlib" + +OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pipewire pulseaudio snapcast sndio recorder" +DECODER_PLUGINS="audiofile faad ffmpeg flac fluidsynth mad mikmod + modplug mpg123 musepack opus openmpt flac sid vorbis wavpack wildmidi" +ENCODER_PLUGINS="audiofile flac lame twolame vorbis" + +REQUIRED_USE=" + || ( ${OUTPUT_PLUGINS} ) + || ( ${DECODER_PLUGINS} ) + network? ( || ( ${ENCODER_PLUGINS} ) ) + recorder? ( || ( ${ENCODER_PLUGINS} ) ) + qobuz? ( curl soundcloud ) + soundcloud? ( curl qobuz ) + udisks? ( dbus ) + upnp? ( curl expat ) + webdav? ( curl expat ) +" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libfmt:= + dev-libs/libpcre2 + media-libs/libogg + sys-libs/liburing:= + alsa? ( + media-libs/alsa-lib + media-sound/alsa-utils + ) + ao? ( media-libs/libao:=[alsa?,pulseaudio?] ) + audiofile? ( media-libs/audiofile:= ) + bzip2? ( app-arch/bzip2 ) + cdio? ( + dev-libs/libcdio:= + dev-libs/libcdio-paranoia + ) + chromaprint? ( media-libs/chromaprint ) + curl? ( net-misc/curl ) + dbus? ( sys-apps/dbus ) + doc? ( dev-python/sphinx ) + expat? ( dev-libs/expat ) + faad? ( media-libs/faad2 ) + ffmpeg? ( media-video/ffmpeg:= ) + flac? ( media-libs/flac:= ) + fluidsynth? ( media-sound/fluidsynth ) + gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) + icu? ( + dev-libs/icu:= + virtual/libiconv + ) + id3tag? ( media-libs/libid3tag:= ) + jack? ( virtual/jack ) + lame? ( network? ( media-sound/lame ) ) + libmpdclient? ( media-libs/libmpdclient ) + libsamplerate? ( media-libs/libsamplerate ) + libsoxr? ( media-libs/soxr ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod ) + mms? ( media-libs/libmms ) + modplug? ( media-libs/libmodplug ) + mpg123? ( media-sound/mpg123 ) + musepack? ( media-sound/musepack-tools ) + network? ( >=media-libs/libshout-2.4.0 ) + nfs? ( net-fs/libnfs ) + openal? ( media-libs/openal ) + openmpt? ( media-libs/libopenmpt ) + opus? ( media-libs/opus ) + pulseaudio? ( media-sound/pulseaudio ) + pipewire? ( media-video/pipewire:= ) + qobuz? ( dev-libs/libgcrypt:0 ) + samba? ( net-fs/samba ) + selinux? ( sec-policy/selinux-mpd ) + sid? ( || ( + media-libs/libsidplay:2 + media-libs/libsidplayfp + ) ) + snapcast? ( media-sound/snapcast ) + sndfile? ( media-libs/libsndfile ) + sndio? ( media-sound/sndio ) + soundcloud? ( >=dev-libs/yajl-2:= ) + sqlite? ( dev-db/sqlite:3 ) + systemd? ( sys-apps/systemd:= ) + twolame? ( media-sound/twolame ) + udisks? ( sys-fs/udisks:2 ) + upnp? ( net-libs/libupnp:0 ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + wildmidi? ( media-sound/wildmidi ) + zeroconf? ( net-dns/avahi[dbus] ) + zip? ( dev-libs/zziplib:= ) + zlib? ( sys-libs/zlib:= )" + +DEPEND="${RDEPEND} + dev-libs/boost:= + test? ( dev-cpp/gtest )" + +BDEPEND="virtual/pkgconfig" + +pkg_setup() { + if use eventfd; then + CONFIG_CHECK+=" ~EVENTFD" + ERROR_EVENTFD="${P} requires eventfd in-kernel support." + fi + + if use signalfd; then + CONFIG_CHECK+=" ~SIGNALFD" + ERROR_SIGNALFD="${P} requires signalfd in-kernel support." + fi + + if use inotify; then + CONFIG_CHECK+=" ~INOTIFY_USER" + ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." + fi + + if use eventfd || use signalfd || use inotify; then + linux-info_pkg_setup + fi + + elog "If you will be starting mpd via ${EROOT}/etc/init.d/mpd, please make sure that MPD's pid_file is _set_." +} + +src_configure() { + local emesonargs=( + $(meson_feature bzip2) + $(meson_feature cdio cdio_paranoia) + $(meson_feature chromaprint) + $(meson_use cue) + $(meson_feature curl) + $(meson_feature dbus) + $(meson_use eventfd) + $(meson_feature expat) + $(meson_feature icu) + $(meson_feature id3tag) + $(meson_use inotify) + -Dipv6=enabled + $(meson_feature cdio iso9660) + $(meson_feature libmpdclient) + $(meson_feature libsamplerate) + $(meson_feature mms) + $(meson_feature nfs) + $(meson_use signalfd) + $(meson_feature samba smbclient) + $(meson_feature libsoxr soxr) + $(meson_feature sqlite) + $(meson_feature systemd) + $(meson_use test) + $(meson_feature udisks) + -Dupnp=$(usex upnp pupnp disabled) + $(meson_feature webdav) + -Dzeroconf=$(usex zeroconf avahi disabled) + $(meson_feature zlib) + $(meson_feature zip zzip) + ) + + emesonargs+=( + $(meson_feature alsa) + $(meson_feature ao) + $(meson_use fifo) + $(meson_feature jack) + $(meson_feature openal) + $(meson_feature oss) + $(meson_use pipe) + $(meson_feature pipewire) + $(meson_feature pulseaudio pulse) + $(meson_use recorder) + $(meson_use snapcast) + $(meson_feature sndio) + ) + + if use samba || use upnp; then + emesonargs+=( -Dneighbor=true ) + fi + + append-lfs-flags + append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/sidplay/builders" + + if use network; then + emesonargs+=( + -Dshine=disabled + -Dshout=enabled + $(meson_feature vorbis vorbisenc) + -Dhttpd=true + $(meson_feature lame) + $(meson_feature twolame) + $(meson_use audiofile wave_encoder) + ) + fi + + emesonargs+=( + # media-libs/adplug is not packaged anymore + -Dadplug=disabled + $(meson_feature audiofile) + $(meson_feature faad) + $(meson_feature ffmpeg) + $(meson_feature flac) + $(meson_feature fluidsynth) + $(meson_feature gme) + $(meson_feature mad) + $(meson_feature mikmod) + $(meson_feature modplug) + $(meson_feature musepack mpcdec) + $(meson_feature mpg123) + $(meson_feature openmpt) + $(meson_feature opus) + $(meson_feature sid sidplay) + $(meson_feature sndfile) + $(meson_feature vorbis) + $(meson_feature wavpack) + $(meson_feature wildmidi) + $(meson_feature qobuz) + $(meson_feature soundcloud) + + --libdir="/usr/$(get_libdir)" + $(meson_feature doc documentation) + -Dsolaris_output=disabled + + -Ddatabase=true + -Ddsd=true + -Dio_uring=enabled + -Dtcp=true + + -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" + -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" + + $(meson_feature icu iconv) + ) + + meson_src_configure +} + diff --git a/media-sound/pamixer/Manifest b/media-sound/pamixer/Manifest new file mode 100644 index 0000000..a808548 --- /dev/null +++ b/media-sound/pamixer/Manifest @@ -0,0 +1,2 @@ +DIST pamixer-1.4.tar.gz 17614 BLAKE2B afd8b26d987d85c043e88870805b5504ff1f7fb96583b8002dfe106ba4d9a25cf429d7ff81d4ab8a2c75501d5926136089b68fe919c997dd3bb6d4662957c66b SHA512 e3916ed8dc020bb43e57994a9f35a506147a0fde42b88c30c661cbeffa40e0f74cae66cd015394e524684c32f9674de3e3763a1396a3e1b9aecbfdc3ed117fe4 +EBUILD pamixer-1.4.ebuild 599 BLAKE2B bb3950eec8ded3963e38c1f40d6d42a38539dc56503ee77897e58cbfc3e39fbd894cfd12f3879109b3b9bbe294d03960f622094a8ffa8ad6df1332d417d0ec6f SHA512 3810a6ddd8094f3e8a9e9cea70737065f0b7d3e59af1c7b63e1a7d61be13f98f9cc4ca29b9aa47337f61c1276536a8903f1f6fa9d5d0352dfe1fcec264a9bdb8 diff --git a/media-sound/pamixer/pamixer-1.4.ebuild b/media-sound/pamixer/pamixer-1.4.ebuild new file mode 100644 index 0000000..863f6e5 --- /dev/null +++ b/media-sound/pamixer/pamixer-1.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Pulseaudio command line mixer." +HOMEPAGE="https://github.com/cdemoulins/pamixer" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cdemoulins/pamixer" +else + SRC_URI="https://github.com/cdemoulins/pamixer/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +RESTRICT="mirror" +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/boost + media-sound/pulseaudio" + +DEPEND="${RDEPEND}" + +src_install() { + dobin ${PN} + dodoc README.rst +} diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..393f0d5 --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1,2 @@ +masters = gentoo +profile-formats = portage-2 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.15.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.15.ebuild new file mode 100644 index 0000000..f42ba6d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.15.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature xdg + +DESCRIPTION="Official desktop client for Telegram (binary package)" +HOMEPAGE="https://desktop.telegram.org" +SRC_URI=" + https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz + amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + !net-im/telegram-desktop + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/gtk+:3[X,wayland] + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +S="${WORKDIR}/Telegram" + +src_prepare() { + default + + sed -i -e 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die +} + +src_install() { + newbin Telegram telegram-desktop + + insinto /usr/share/TelegramDesktop/externalupdater.d/ + newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" + + local icon_size + for icon_size in 16 32 48 64 128 256 512; do + newicon -s "${icon_size}" \ + "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ + telegram.png + done + + domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop + insinto /usr/share/dbus-1/services + doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} diff --git a/profiles/arch b/profiles/arch new file mode 120000 index 0000000..825dac6 --- /dev/null +++ b/profiles/arch @@ -0,0 +1 @@ +/var/db/repos/gentoo/profiles/arch \ No newline at end of file diff --git a/profiles/base b/profiles/base new file mode 120000 index 0000000..7177227 --- /dev/null +++ b/profiles/base @@ -0,0 +1 @@ +/var/db/repos/gentoo/profiles/base \ No newline at end of file diff --git a/profiles/default/linux/amd64/23.0/desktop/bspwm/eapi b/profiles/default/linux/amd64/23.0/desktop/bspwm/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/bspwm/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/23.0/desktop/bspwm/parent b/profiles/default/linux/amd64/23.0/desktop/bspwm/parent new file mode 100644 index 0000000..3799d59 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/bspwm/parent @@ -0,0 +1,2 @@ +.. +../../../../../../targets/desktop/bspwm diff --git a/profiles/default/linux/amd64/23.0/desktop/eapi b/profiles/default/linux/amd64/23.0/desktop/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/23.0/desktop/parent b/profiles/default/linux/amd64/23.0/desktop/parent new file mode 100644 index 0000000..ad6c5e1 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/desktop diff --git a/profiles/default/linux/amd64/23.0/desktop/plasma/eapi b/profiles/default/linux/amd64/23.0/desktop/plasma/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/plasma/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/23.0/desktop/plasma/parent b/profiles/default/linux/amd64/23.0/desktop/plasma/parent new file mode 100644 index 0000000..ff3a7b1 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/desktop/plasma/parent @@ -0,0 +1,2 @@ +.. +../../../../../../targets/desktop/plasma diff --git a/profiles/default/linux/amd64/23.0/eapi b/profiles/default/linux/amd64/23.0/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/23.0/make.defaults b/profiles/default/linux/amd64/23.0/make.defaults new file mode 100644 index 0000000..fb3acfb --- /dev/null +++ b/profiles/default/linux/amd64/23.0/make.defaults @@ -0,0 +1,8 @@ +# Copyright 2023 Gentoo Authors. +# Distributed under the terms of the GNU General Public License v2 + +LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" + +USE="cet" + +BOOTSTRAP_USE="${BOOTSTRAP_USE} cet" diff --git a/profiles/default/linux/amd64/23.0/no-multilib/eapi b/profiles/default/linux/amd64/23.0/no-multilib/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/no-multilib/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/23.0/no-multilib/parent b/profiles/default/linux/amd64/23.0/no-multilib/parent new file mode 100644 index 0000000..7f1f3bc --- /dev/null +++ b/profiles/default/linux/amd64/23.0/no-multilib/parent @@ -0,0 +1,2 @@ +.. +../../../../../arch/amd64/no-multilib diff --git a/profiles/default/linux/amd64/23.0/parent b/profiles/default/linux/amd64/23.0/parent new file mode 100644 index 0000000..cc2d527 --- /dev/null +++ b/profiles/default/linux/amd64/23.0/parent @@ -0,0 +1,3 @@ +.. +../../../../arch/amd64 +../../../../releases/23.0 diff --git a/profiles/default/linux/amd64/eapi b/profiles/default/linux/amd64/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/amd64/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/amd64/package.use.mask b/profiles/default/linux/amd64/package.use.mask new file mode 100644 index 0000000..adb5f7f --- /dev/null +++ b/profiles/default/linux/amd64/package.use.mask @@ -0,0 +1,10 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Mike Frysinger (2016-05-08) +# This target supports VTV #547040. +>=sys-devel/gcc-4.9 -vtv + +# Mike Frysinger (2014-10-21) +# This target supports ASAN/etc... #504200. +sys-devel/gcc -sanitize diff --git a/profiles/default/linux/amd64/parent b/profiles/default/linux/amd64/parent new file mode 100644 index 0000000..9f9d2cb --- /dev/null +++ b/profiles/default/linux/amd64/parent @@ -0,0 +1,2 @@ +../../../base +.. diff --git a/profiles/default/linux/eapi b/profiles/default/linux/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/default/linux/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults new file mode 100644 index 0000000..12dd86f --- /dev/null +++ b/profiles/default/linux/make.defaults @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# +# System-wide defaults for the Portage system +# See portage(5) manpage +# +# Please avoid enabling things by default in here if possible. Understand any +# implications with core packages. For example, if "java" is in USE and db +# has a conditional dependency on java (which it does,) then a JDK will be +# pulled in during *emerge system*! + + +# Default starting set of USE flags for all default/linux profiles. +USE="crypt ipv6 ncurses nls pam readline ssl zlib" + +# Security ftw. +USE="${USE} seccomp" + +# Ole Markus With (2010-10-21) +# These USE flags were originally inserted here because of PHP +# and were later removed by me. Reinserting the USE flags again because they are +# global USE flags that may be expected to be set by other packages. +# Andreas K. Hüttel (2024-03-22) +# Moving cli to 17.0, so it can be unset in 23.0 and this way overridden by +# use defaults... +USE="${USE} pcre" + +# Luca Barbato (2006-10-28) +# on glibc system you cannot turn it off +USE="${USE} iconv" + +# Matt Turner (2017-01-17) +# Sane defaults for input drivers +INPUT_DEVICES="libinput" + +# Donnie Berkholz (2006-08-18) +# Lowest common denominator defaults for video drivers +VIDEO_CARDS="dummy fbdev" + +# Doug Goldstein (2008-07-09) +# Adding LDFLAGS="-Wl,-O1 for all Linux profiles by default +# after discussion on the gentoo-dev ML. As we bang out a clear +# direction with how LDFLAGS will be set by default, this entry +# may move. +# Samuli Suominen (2010-07-12) +# Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-build +# because of whitespace. +LDFLAGS="-Wl,-O1 -Wl,--as-needed" + +# Mike Gilbert (2021-12-17) +# Prevent automagic use of 64-bit time_t. +# https://bugs.gentoo.org/828001 +enable_year2038="no" + +# Sam James (2024-01-22) +# Workaround for sandbox bug which causes this gnulib configure test to take +# many real hours on slower machines, and certainly a huge amount of CPU hours +# on others. Spoof the same result as configure gets on a modern glibc system +# for now. See bug #447970 and bug #922652. +gl_cv_func_getcwd_path_max="yes" diff --git a/profiles/default/linux/package.mask b/profiles/default/linux/package.mask new file mode 100644 index 0000000..3c9bd77 --- /dev/null +++ b/profiles/default/linux/package.mask @@ -0,0 +1,8 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Sam James (2023-06-06) +# Only available on Linux. +-dev-libs/libaio +-sys-libs/libcap-ng +-sys-libs/libseccomp diff --git a/profiles/default/linux/package.use b/profiles/default/linux/package.use new file mode 100644 index 0000000..ac90b1f --- /dev/null +++ b/profiles/default/linux/package.use @@ -0,0 +1,10 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Mike Gilbert (2017-10-29) +# Override default from make.defaults, bug 635822. +net-libs/mbedtls -zlib + +# Arfrever Frehtes Taifersar Arahesis (2011-02-13) +# Disable deprecated bsddb module of Python 2 by default. +=dev-lang/python-2* -berkdb diff --git a/profiles/default/linux/package.use.mask b/profiles/default/linux/package.use.mask new file mode 100644 index 0000000..e4e8702 --- /dev/null +++ b/profiles/default/linux/package.use.mask @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Matt Turner (2024-01-29) +# Causes various issues. See bugs #919858, #923054 +media-libs/mesa zink + +# Sam James (2023-06-06) +# Needs linux-only dev-libs/libaio. +app-emulation/qemu -aio + +# Peter Levine (2019-10-01) +# Native inotify support is preferred on linux. +# bug #697476 +net-fs/samba fam + +# Patrick McLean (2019-09-17) +# Masked due to upstream build failures (bug #693018) +# One example: https://tracker.ceph.com/issues/41523 +>=sys-cluster/ceph-14.2 dpdk + +# Michael Palimaka (2015-09-03) +# Native inotify support is preferred on linux. +kde-frameworks/kcoreaddons fam + +# Diego Elio Pettenò (2012-08-27) +# The libpci access is only used for linux. +net-analyzer/net-snmp -pci + +# Richard Yao (2012-08-22) +# USE=kernel-builtin is dangerous. Only those that know what they are doing +# should use it until documentation improves. +sys-fs/zfs kernel-builtin + +# Diego Elio Pettenò (2012-08-20) +# The prevent-removal USE flag is only implemented for Linux. +sys-auth/pam_mktemp -prevent-removal + +# Samuli Suominen (2012-01-10) +# Masked in base/package.use.mask as Linux -only feature +app-arch/libarchive -e2fsprogs + +# Diego E. Pettenò (2011-03-27) +# +# Unmask pdnsd's Linux-specific USE flags. +net-dns/pdnsd -urandom + +# Diego E. Pettenò (2009-08-20) +# Mask oss USE flag for PulseAudio; it's present for compatibility +# with FreeBSD and other operating systems that have no better +# interfaces, but people would probably abuse it with Linux as well. +media-sound/pulseaudio-daemon oss diff --git a/profiles/default/linux/packages b/profiles/default/linux/packages new file mode 100644 index 0000000..6d35bf7 --- /dev/null +++ b/profiles/default/linux/packages @@ -0,0 +1,12 @@ +# Copyright 2004-2021 Gentoo Authors. +# Distributed under the terms of the GNU General Public License v2 + +# This file extends the base packages file for the default profile that all +# architectures will enjoy. Please note that default is what most architectures +# will have. Some will have an selinux profile (see ${PORTDIR}/profiles/selinux). +# The idea is to only create a new family of profiles when absolutely necessary. + +*sys-apps/iproute2 +*sys-apps/man-pages +*sys-apps/net-tools +*sys-apps/util-linux diff --git a/profiles/default/linux/packages.build b/profiles/default/linux/packages.build new file mode 100644 index 0000000..c169d2f --- /dev/null +++ b/profiles/default/linux/packages.build @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# This file describes the packages needed to build a stage1 based on this +# profile. Packages in this file are built in order. + +app-admin/eselect +app-arch/bzip2 +app-arch/gzip +app-arch/xz-utils +app-arch/tar +app-shells/bash:0 +dev-build/autoconf +dev-build/automake +dev-build/libtool +dev-build/make +net-misc/rsync +net-misc/wget +sys-apps/baselayout +sys-apps/coreutils +sys-apps/diffutils +sys-apps/file +sys-apps/findutils +sys-apps/gawk +sys-apps/grep +sys-apps/less +sys-apps/net-tools +sys-apps/portage +sys-apps/sed +sys-apps/shadow +sys-devel/binutils +sys-devel/bison +sys-devel/flex +sys-devel/gcc +sys-devel/gettext +sys-devel/gnuconfig +sys-devel/patch +virtual/editor +virtual/libc +virtual/os-headers +virtual/pkgconfig diff --git a/profiles/default/linux/use.mask b/profiles/default/linux/use.mask new file mode 100644 index 0000000..6c42649 --- /dev/null +++ b/profiles/default/linux/use.mask @@ -0,0 +1,15 @@ +# Copyright 1999-2023 Gentoo Authors. +# Distributed under the terms of the GNU General Public License v2 + +# This file masks out USE flags that are simply NOT allowed in the default +# profile for any architecture. This works, for example, if a non-default +# profile (such as the selinux profiles) have a USE flag associated with +# them. + +# Samuli Suominen (2013-04-19) +# Linux specific module loading/unloading support +-kmod + +# Diego Elio Pettenò (2012-08-27) +# netlink is a Linux-specific interface +-netlink diff --git a/profiles/features b/profiles/features new file mode 120000 index 0000000..fce8eca --- /dev/null +++ b/profiles/features @@ -0,0 +1 @@ +/var/db/repos/gentoo/profiles/features \ No newline at end of file diff --git a/profiles/profiles.desc b/profiles/profiles.desc new file mode 100644 index 0000000..f403447 --- /dev/null +++ b/profiles/profiles.desc @@ -0,0 +1,24 @@ +# Copyright 2003-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +############################################# +# This is a list of valid profiles for each architecture. This file is used by +# repoman when doing a repoman scan or repoman full. +# DO NOT ADD PROFILES WITH A "die" or "exit" IN THEM OR IT KILLS REPOMAN +# +#layout: +#arch profile_directory status + +amd64 default/linux/amd64/23.0 stable +amd64 default/linux/amd64/23.0/desktop stable +amd64 default/linux/amd64/23.0/desktop/plasma stable +amd64 default/linux/amd64/23.0/desktop/bspwm stable +amd64 default/linux/amd64/23.0/no-multilib stable + +# vim: set ts=8 noet ft=conf: + +# Local Variables: +# mode: conf-space +# tab-width: 8 +# indent-tabs-mode: t +# End: diff --git a/profiles/releases b/profiles/releases new file mode 120000 index 0000000..5c6f4ab --- /dev/null +++ b/profiles/releases @@ -0,0 +1 @@ +/var/db/repos/gentoo/profiles/releases \ No newline at end of file diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..4083037 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +local diff --git a/profiles/targets/desktop/bspwm/eapi b/profiles/targets/desktop/bspwm/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/targets/desktop/bspwm/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/targets/desktop/bspwm/make.defaults b/profiles/targets/desktop/bspwm/make.defaults new file mode 100644 index 0000000..ad35aec --- /dev/null +++ b/profiles/targets/desktop/bspwm/make.defaults @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +ENABLE="X 52 aac acpi dbus x264 device-mapper fuse cups \ +jpeg pdf png tiff glamor libinput mp3 lame ogg flac plymouth samba \ +lvm elogind vim pulseaudio dbus dri dts opengl mtp udisks gtk3 dist-kernel" +DISABLE="-llvm -mysql -postgres -sendmail -systemd -server -sasl -wayland \ +-vlc -ldap -3dnow -3dnowext -altivec -branding -ipv6 -qt5 -gtk-doc -pipewire \ +-cdda -cdr -dvd -dvdr -ldap -modemmanager -gnome -thin -dhcp -system-mitkrb5 -cryptsetup" +GRAPHICS="X dri opengl vulkan vaapi truetype cleartype corefonts xft colord" + + +INPUT_DEVICES="libinput" +USE="${ENABLE} ${GRAPHICS} ${DISABLE}" +LINGUAS="en ru" +L10N="${LINGUAS}" +AUTOCLEAN="yes" +ACCEPT_LICENSE="*" +PORTAGE_NICENESS="19" +PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}" +EMERGE_DEFAULT_OPTS="-j2 --ask --binpkg-changed-deps=n" +GRUB_PLATFORMS="pc efi-64" +QEMU_USER_TARGETS="arm x86_64" +INSTALL_MASK="/etc/systemd /etc/chromium" diff --git a/profiles/targets/desktop/bspwm/package.accept_keywords/desktop b/profiles/targets/desktop/bspwm/package.accept_keywords/desktop new file mode 100644 index 0000000..8d0ed48 --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.accept_keywords/desktop @@ -0,0 +1,30 @@ +>=x11-libs/gtk+-3.24.37 ~amd64 +app-emulation/wine-staging ~amd64 +x11-wm/i3-rounded ~amd64 +app-misc/clight ~amd64 +app-misc/clightd ~amd64 +dev-libs/libmodule ~amd64 +media-fonts/ubuntumono-nerdfont ~amd64 +media-sound/spotify-adblock ~amd64 +games-util/gamemode ~amd64 +net-misc/connman-ui ~amd64 +x11-misc/picom-jonaburg ** +x11-misc/picom-pijulius ** +x11-misc/picom-dccsillag ** +x11-misc/picom-sdhand ** +x11-misc/picom-zaney ** +#x11-misc/rofi ** +games-util/minigalaxy ~amd64 +media-sound/youtube-music-bin ~amd64 +x11-misc/gpaste ~amd64 +x11-themes/nordic ~amd64 +x11-misc/kbdd ** +app-editors/sublime-merge ~amd64 +x11-misc/pcmanfm ~amd64 +x11-libs/libfm ~amd64 +sys-libs/libudev-compat ~amd64 +games-util/game-device-udev-rules ~amd64 +net-im/telegram-desktop-bin ~amd64 +x11-misc/i3lock-fancy-rapid ~amd64 +app-editors/sublime-text ~amd64 +games-util/steam-launcher ~amd64 diff --git a/profiles/targets/desktop/bspwm/package.accept_keywords/system b/profiles/targets/desktop/bspwm/package.accept_keywords/system new file mode 100644 index 0000000..ef8b026 --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.accept_keywords/system @@ -0,0 +1,10 @@ +sys-firmware/iwl6005-ucode ~amd64 +x11-misc/primus ~amd64 +sys-boot/plymouth-openrc-plugin ~amd64 +dev-util/cargo-ebuild ~amd64 +x11-misc/xidlehook ~amd64 +sys-apps/fstrimDaemon ~amd64 +sys-kernel/zen-sources ~amd64 +x11-apps/igt-gpu-tools ** +x11-drivers/xf86-video-intel ** +app-emulation/nemu ~amd64 diff --git a/profiles/targets/desktop/bspwm/package.mask/desktop b/profiles/targets/desktop/bspwm/package.mask/desktop new file mode 100644 index 0000000..9852d8e --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.mask/desktop @@ -0,0 +1,3 @@ +>media-sound/mpd-0.23.12 +>app-emulation/wine-staging-8.5 +>x11-drivers/nvidia-drivers-390.157 diff --git a/profiles/targets/desktop/bspwm/package.mask/system b/profiles/targets/desktop/bspwm/package.mask/system new file mode 100644 index 0000000..b4a64eb --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.mask/system @@ -0,0 +1,3 @@ +>sys-kernel/linux-headers-sys-6.1 +>sys-kernel/gentoo-kernel-bin-6.1.81 +>virtual/dist-kernel-6.1.81 diff --git a/profiles/targets/desktop/bspwm/package.unmask/system b/profiles/targets/desktop/bspwm/package.unmask/system new file mode 100644 index 0000000..60c0245 --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.unmask/system @@ -0,0 +1,2 @@ +#x11-drivers/nvidia-drivers::local +#sys-firmware/iwl6005-ucode::local diff --git a/profiles/targets/desktop/bspwm/package.use/desktop b/profiles/targets/desktop/bspwm/package.use/desktop new file mode 100644 index 0000000..134ce6c --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.use/desktop @@ -0,0 +1,10 @@ +dev-libs/libdbusmenu gtk3 +x11-misc/polybar ipc network pulseaudio +x11-misc/redshift -gtk +x11-misc/gammastep -gtk +media-libs/mesa vulkan -llvm +media-sound/mpd -alsa +app-emulation/virt-viewer -libvirt -vnc +app-emulation/qemu spice virtfs +net-fs/samba winbind +media-sound/ncmpcpp visualizer diff --git a/profiles/targets/desktop/bspwm/package.use/steam b/profiles/targets/desktop/bspwm/package.use/steam new file mode 100644 index 0000000..1898aec --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.use/steam @@ -0,0 +1,23 @@ +>=x11-libs/libX11-1.8.1 abi_x86_32 +>=x11-libs/libXau-1.0.11 abi_x86_32 +>=x11-libs/libxcb-1.15-r1 abi_x86_32 +>=x11-libs/libXdmcp-1.1.4-r2 abi_x86_32 +>=virtual/opengl-7.0-r2 abi_x86_32 +>=media-libs/mesa-22.2.5 abi_x86_32 +>=dev-libs/expat-2.5.0 abi_x86_32 +>=media-libs/libglvnd-1.6.0 abi_x86_32 +>=sys-libs/zlib-1.2.13-r1 abi_x86_32 +>=dev-libs/wayland-1.21.0-r1 abi_x86_32 +>=x11-libs/libdrm-2.4.114 abi_x86_32 +>=x11-libs/libxshmfence-1.3.2 abi_x86_32 +>=x11-libs/libXext-1.3.5 abi_x86_32 +>=x11-libs/libXxf86vm-1.1.5 abi_x86_32 +>=x11-libs/libXfixes-6.0.0 abi_x86_32 +>=app-arch/zstd-1.5.2-r3 abi_x86_32 +>=x11-libs/libXrandr-1.5.3 abi_x86_32 +>=x11-libs/libXrender-0.9.11 abi_x86_32 +>=x11-libs/libpciaccess-0.17 abi_x86_32 +>=dev-libs/libffi-3.4.4 abi_x86_32 +x11-drivers/nvidia-drivers abi_x86_32 +x11-misc/primus abi_x86_32 +games-util/steam-launcher -desktop-portal diff --git a/profiles/targets/desktop/bspwm/package.use/system b/profiles/targets/desktop/bspwm/package.use/system new file mode 100644 index 0000000..b42feea --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.use/system @@ -0,0 +1,22 @@ +# Enable support for the LVM daemon and related tools +sys-fs/lvm2 lvm +sys-boot/grub:2 device-mapper +media-libs/libsndfile minimal +net-misc/connman -bluetooth wireguard openvpn +media-libs/libsdl2 gles2 +x11-drivers/nvidia-drivers -static-libs +media-sound/pulseaudio native-headset ofono-headset +#net-misc/networkmanager -bluetooth -ppp -wext -gtk-doc +app-text/xmlto -text +#sys-kernel/zen-sources build +sys-libs/zlib minizip +>=media-libs/libva-2.18.0-r1 abi_x86_32 +>=media-plugins/gst-plugins-vaapi-1.20.6 abi_x86_32 +>=app-text/xmlto-0.0.28-r11 text +>=media-sound/mpg123-base-1.32.3 abi_x86_32 +net-fs/cifs-utils -acl -ads +=app-arch/xz-utils-5.4.2 abi_x86_32 +>=x11-libs/xcb-util-keysyms-0.4.1 abi_x86_32 +sys-apps/attr -nls +>=net-fs/cifs-utils-7.0 -acl -ads +sys-libs/libblockdev cryptsetup diff --git a/profiles/targets/desktop/bspwm/package.use/wine b/profiles/targets/desktop/bspwm/package.use/wine new file mode 100644 index 0000000..03d9b4a --- /dev/null +++ b/profiles/targets/desktop/bspwm/package.use/wine @@ -0,0 +1,76 @@ +>=dev-libs/gmp-6.2.1-r5 abi_x86_32 +>=dev-libs/libgcrypt-1.10.1-r3 abi_x86_32 +>=media-libs/freetype-2.12.1-r2 abi_x86_32 +>=media-libs/vulkan-loader-1.3.239 abi_x86_32 +>=x11-libs/libXcursor-1.2.1 abi_x86_32 +>=x11-libs/libXi-1.8 abi_x86_32 +>=media-libs/fontconfig-2.14.2 abi_x86_32 +>=media-libs/libsdl2-2.24.2 haptic abi_x86_32 +>=net-libs/gnutls-3.7.8 abi_x86_32 +>=sys-apps/dbus-1.15.2 abi_x86_32 +>=x11-libs/libXcomposite-0.4.6 abi_x86_32 +>=media-libs/alsa-lib-1.2.8-r1 abi_x86_32 +>=dev-libs/glib-2.74.5 abi_x86_32 +>=media-libs/gst-plugins-base-1.20.4 abi_x86_32 +>=media-libs/gstreamer-1.20.4 abi_x86_32 +>=media-libs/libpulse-16.1-r1 abi_x86_32 +>=sys-libs/libunwind-1.6.2 abi_x86_32 +>=dev-libs/libusb-1.0.26 abi_x86_32 +>=app-emulation/vkd3d-1.6 abi_x86_32 +>=media-plugins/gst-plugins-meta-1.20.4 abi_x86_32 +>=media-libs/gst-plugins-good-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-a52dec-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-faad-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-dts-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-flac-1.20.4-r1 abi_x86_32 +>=media-plugins/gst-plugins-lame-1.20.4 abi_x86_32 +>=media-libs/gst-plugins-ugly-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-mpg123-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-mpeg2dec-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-pulse-1.20.4 abi_x86_32 +>=media-plugins/gst-plugins-x264-1.20.4 abi_x86_32 +>=media-libs/x264-0.0.20220222 abi_x86_32 +>=media-sound/pulseaudio-16.1 abi_x86_32 +>=media-libs/libmpeg2-0.5.1-r3 abi_x86_32 +>=media-sound/mpg123-1.31.2 abi_x86_32 +>=media-sound/lame-3.100-r3 abi_x86_32 +>=media-libs/flac-1.4.2-r1 abi_x86_32 +>=media-libs/libogg-1.3.5-r1 abi_x86_32 +>=media-libs/libdca-0.0.7 abi_x86_32 +>=dev-lang/orc-0.4.33 abi_x86_32 +>=media-libs/gst-plugins-bad-1.20.4-r1 abi_x86_32 +>=app-arch/bzip2-1.0.8-r4 abi_x86_32 +>=media-libs/faad2-2.10.1 abi_x86_32 +>=media-libs/a52dec-0.7.4-r8 abi_x86_32 +>=media-libs/libsndfile-1.2.0 abi_x86_32 +>=net-libs/libasyncns-0.8-r4 abi_x86_32 +>=sys-libs/libcap-2.66 abi_x86_32 +>=sys-libs/pam-1.5.2-r3 abi_x86_32 +>=x11-libs/pango-1.50.12 abi_x86_32 +>=media-libs/libvorbis-1.3.7-r1 abi_x86_32 +>=x11-libs/libXv-1.0.12 abi_x86_32 +>=media-libs/graphene-1.10.8 abi_x86_32 +>=media-libs/libpng-1.6.39 abi_x86_32 +>=media-libs/libjpeg-turbo-2.1.4 abi_x86_32 +>=dev-libs/fribidi-1.0.12 abi_x86_32 +>=media-libs/harfbuzz-6.0.0 abi_x86_32 +>=x11-libs/cairo-1.17.6-r1 abi_x86_32 +>=x11-libs/libXft-2.3.6 abi_x86_32 +>=dev-libs/lzo-2.10 abi_x86_32 +>=x11-libs/pixman-0.42.2 abi_x86_32 +>=media-gfx/graphite2-1.3.14_p20210810-r2 abi_x86_32 +>=dev-libs/icu-72.1 abi_x86_32 +>=dev-libs/libpcre2-10.42-r1 abi_x86_32 +>=sys-apps/util-linux-2.38.1 abi_x86_32 +>=dev-libs/libtasn1-4.19.0 abi_x86_32 +>=dev-libs/libunistring-0.9.10-r1 abi_x86_32 +>=dev-libs/nettle-3.8.1 abi_x86_32 +>=net-dns/libidn2-2.3.4 abi_x86_32 +>=dev-libs/libgpg-error-1.46-r1 abi_x86_32 +>=virtual/libintl-0-r2 abi_x86_32 +>=virtual/glu-9.0-r2 abi_x86_32 +>=virtual/libudev-232-r7 abi_x86_32 +>=media-libs/glu-9.0.2 abi_x86_32 +>=sys-apps/systemd-utils-252.7 abi_x86_32 +>=virtual/libiconv-0-r2 abi_x86_32 +>=net-print/cups-2.4.2-r6 abi_x86_32 diff --git a/profiles/targets/desktop/bspwm/parent b/profiles/targets/desktop/bspwm/parent new file mode 100644 index 0000000..f3229c5 --- /dev/null +++ b/profiles/targets/desktop/bspwm/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/targets/desktop/eapi b/profiles/targets/desktop/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/targets/desktop/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/targets/desktop/make.defaults b/profiles/targets/desktop/make.defaults new file mode 100644 index 0000000..9a9de35 --- /dev/null +++ b/profiles/targets/desktop/make.defaults @@ -0,0 +1,6 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg lcms libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qt5 sdl sound spell startup-notification svg tiff truetype vorbis udev udisks unicode upower usb vulkan wxwidgets X xcb xft x264 xml xv xvid" + +VIDEO_CARDS="intel i965 nvidia" diff --git a/profiles/targets/desktop/package.use b/profiles/targets/desktop/package.use new file mode 100644 index 0000000..e93d482 --- /dev/null +++ b/profiles/targets/desktop/package.use @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Andreas Sturmlechner (2024-03-07) +# Required by kde-frameworks/kio:6 +dev-qt/qtbase libproxy + +# Alfred Wingate (2023-12-25) +# Prefer X over gbm with REQUIRED_USE: ^^ ( gbm wayland X ) +>=media-tv/kodi-20.2 X -gbm + +# Andreas Sturmlechner (2023-11-12) +# NSS: Required by kde-apps/okular[pdf] +# Boost: app-text/poppler[qt5] recommended w/ Boost (bug #795888) +app-text/poppler nss boost + +# Andreas Sturmlechner (2023-11-11) +# egl, libinput required by kde-plasma/kwayland:5 +# accessibility required by kde-plasma/kwin:5 +dev-qt/qtgui:5 accessibility egl libinput + +# Sam James (2023-09-22) +# Most people aren't going to use CMake's GUI. USE=gui is enabled by default +# on desktop profiles and CMake is unavoidable, it feels a shame to drag in +# Qt 6 just for something people are unlikely to want. Plus, it avoids a +# circular dependency out of the box. +dev-build/cmake -gui -qt6 + +# Andreas Sturmlechner (2023-07-29) +# Required by dev-python/PyQt5[multimedia] +dev-qt/qtmultimedia:5 widgets + +# Alexey Sokolov (2022-12-27) +# On desktops it's common to use browser to browse internet, which these +# days is full of emojis, which wouldn't render properly without the fonts. +media-fonts/fonts-meta emoji + +# Andreas K. Hüttel (2022-04-18) +# Avoid a circular dependency, bug 764623 +dev-lang/python -bluetooth + +# Andreas Sturmlechner (2021-12-18) +# Required by media-gfx/digikam, kde-apps/libkexiv2 +media-gfx/exiv2 xmp + +# Lars Wendler (2020-08-06) +# USE="qt5" and USE="libnotify" are mutually exclusive in this package +# Disable libnotify here to have a better user experience +net-misc/dhcpcd-ui -libnotify + +# Andreas Sturmlechner (2020-02-05) +# Required by many packages, most notably Mozilla products +dev-lang/python sqlite + +# Lars Wendler (2019-03-20) +# Enable client by default. Usually desktop users need the client. +net-fs/samba client + +# Andreas Sturmlechner (2018-06-09) +# Required by app-office/libreoffice +dev-libs/xmlsec nss + +# Andreas Sturmlechner (2017-11-30) +# Not required, but makes life easier with Qt; bug #457934 +app-arch/unzip natspec + +# Andreas Sturmlechner (2017-08-04) +# Required by flac and mp3 +kde-apps/k3b taglib +kde-frameworks/kfilemetadata taglib + +# Brian Evans (2017-07-18) +# Don't force users to enable gd on PHP due to desktop defaults +dev-lang/php -exif -truetype + +# Ilya Tumaykin (2017-02-02) +# Override default +sdl from desktop profile and disable sdl outputs. +# These outputs are for systems without a proper audio/video support. +media-video/mpv -sdl + +# Mike Gilbert (2017-01-04) +# Needed by x11-misc/xdg-utils. +app-text/xmlto text + +# Ben de Groot (2015-02-18) +# Enable sensible defaults for desktop users (bug #540046) +dev-python/PyQt5 gui multimedia network printsupport widgets + +# Chí-Thanh Christopher Nguyễn (2014-05-08) +# Enable x11-libs/libxcb[xkb] as it is needed by x11-libs/libxkbcommon[X] +# and the X flag is enabled by default in the desktop profile +x11-libs/libxcb xkb + +# Samuli Suominen (2010-12-19) +# gudev, required by freedesktop.org udev helpers like udisks and upower +# introspection, exception, enabled from here instead of ebuild to skip extra deps for a system package +dev-libs/libgudev introspection + +# Samuli Suominen (2010-12-19) +# Support for desktop file icons +xfce-base/xfdesktop thunar + +# Chris Gianelloni (2008-03-26) +# While we may need LDAP client support, who needs the server on a desktop? +# Did I mention that this also fixes the horrible perl dependency hell, too? +net-nds/openldap minimal + diff --git a/profiles/targets/desktop/package.use.force b/profiles/targets/desktop/package.use.force new file mode 100644 index 0000000..77925d8 --- /dev/null +++ b/profiles/targets/desktop/package.use.force @@ -0,0 +1,13 @@ +# Copyright 1999-2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Andreas Sturmlechner (2024-03-10) +# Ensure that KF5- and Qt5-based applications, of which there are still +# many (even as part of KDE Gear 24.02), will not exhibit bugs and look +# out of place in Plasma 6 sessions. +=kde-plasma/plasma-meta-6.0*:6 qt5 + +# Alexandre Rostovtsev (2014-06-03) +# Ensure shared-mime-info is pulled in by glib, otherwise GNOME, XFCE, and +# numerous gtk-based applications will break, see bug #511894 +dev-libs/glib mime diff --git a/profiles/targets/desktop/plasma/eapi b/profiles/targets/desktop/plasma/eapi new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/profiles/targets/desktop/plasma/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/targets/desktop/plasma/make.defaults b/profiles/targets/desktop/plasma/make.defaults new file mode 100644 index 0000000..62e625b --- /dev/null +++ b/profiles/targets/desktop/plasma/make.defaults @@ -0,0 +1,4 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio qml screencast semantic-desktop wayland widgets" diff --git a/profiles/targets/desktop/plasma/package.use b/profiles/targets/desktop/plasma/package.use new file mode 100644 index 0000000..55e470e --- /dev/null +++ b/profiles/targets/desktop/plasma/package.use @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Alfred Wingate (2023-12-25) +# Prefer wayland over X with REQUIRED_USE: ^^ ( gbm wayland X ) +>=media-tv/kodi-20.2 wayland -X + +# Marek Szuba (2023-11-12) +# FUSE cannot be built with multiple audio drivers, and desktop/gnome +# profiles set both USE=pulseaudio (directly) and USE=alsa (inherited +# from desktop). Default to the latter for now because PulseAudio support +# in FUSE is currently considered experimental. +app-emulation/fuse -pulseaudio + +# Required by sys-apps/fwupd, a dependency of kde-plasma/discover +dev-libs/libjcat gpg pkcs7 + +# Required by www-client/falkon[python] and dev-python/pyside2[location], +# in addition fix REQUIRED_USE conflict caused if "webengine" is enabled. +# qtwebchannel package is fairly small, and python bindings are +# required by some popular desktop packages such as calibre, +# qutebrowser, and freecad (or indirectly through PyQt*WebEngine). +dev-python/PyQt5 webchannel +dev-python/PyQt6 webchannel +dev-python/pyside2 designer location positioning quick +dev-python/pyside2 printsupport webchannel +dev-python/pyside6 webchannel + +# Required by sys-apps/flatpak, a dependency of kde-plasma/discover +dev-util/ostree curl + +# Required by + + + + diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest new file mode 100644 index 0000000..17ae3ba --- /dev/null +++ b/sys-kernel/gentoo-sources/Manifest @@ -0,0 +1,11 @@ +DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 +DIST genpatches-5.15-98.experimental.tar.xz 5424 BLAKE2B 9f5f84ced9f97276f62087cf75eaf40fc1cac8ab74f79d30b405f394acc676b5e53d8b5cdb6f80651488577c8faed67ac1282becff5f2d499c6049864f4b15ad SHA512 b4bc747b4ac9eaf89ca073050ecf6c4d64b67cd59aa178198b187aaeeb475eb4db726399415645e01d6d0f1a7e922933cdf5b1d1b7c5d22e0a8a9a4b59015fbb +DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 +DIST genpatches-6.1-47.base.tar.xz 2915344 BLAKE2B 7fd49099198e9af926911b3a8831208d6c0ecb5047e8bc7563aceb23516328a1829c33b912f52d1175440770ed0394aa6bb3438ad92a9a81ed28ca6fdc6ee928 SHA512 5c0841c92d0f2bcbc81599568d882bef066f132b670334fe7728797b76665aaae170ee2acaf942228d5065fc95493fe33fb2ec2268f9d2bb54739b463b346b33 +DIST genpatches-6.1-47.experimental.tar.xz 83372 BLAKE2B 1a4f13a2911b96f89584b8cd0fdaf0347a519a244a003df21dc0bb066e6fd256034f25889c55cf9908224bd55ea06b56eb50259d5d21cf140f89e590dcfbb63b SHA512 a407d81cd4dbab2cf60ba10ad0576f90950245bb1bd8377c33bc9ccbf1b1ac8cd25a59e26e757cf9ea15d487de55a0deb5a0a3ec5ed98baf17e6a9ae5d1b1bf3 +DIST genpatches-6.1-47.extras.tar.xz 3812 BLAKE2B ea44d25a1637abff3a87ec17e397ef324aa08d7f62865924a61f55cf85df6a1ae5b8a56ac1f33a61955bb3ce71b28d628d34a600a1834583ab94d4111e9f4810 SHA512 9f8c831530609f2379685ec3bbe545f2bdca86f139233dceb0b10d7259b8b1207188a8f95237483b13f40c6639c6f060df4cbc67e09249c24424bc0bc83fe281 +DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a +DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 +EBUILD gentoo-sources-5.15.94.ebuild 742 BLAKE2B ba7248692e7df0bdab0566b0b673146dfcd2109eb024a7cb1baae5e22ac65a5c8e960c6f264c70290c9ad00606396028e27c372ed065e88f12359a660999eb5b SHA512 2c21e3ba35673877a368b43eab390dacb22cdd6201e4347748b91356d9733f1d9c29e2c58e2d6d942d2f6b6567ca035ecb39b082954b7db1e8383c314fbcece1 +EBUILD gentoo-sources-6.1.41.ebuild 740 BLAKE2B 3acf6b8a5566d34de107e9277c6ec40c3c3abf9198a6c7cbd9d3c314aad4dccfa7ff6bcdb1b563315791199a022fe5b1ea9a552f7ce4c42fd56b42e810d0e7b9 SHA512 1abaf66397b102c5029f71697ea5f51b993b8f26c2565b302e4b64d62ff16dbe4ae9a3a531264ee0869a0517db0d2f1399b6bb57d3bb1497e2e06590bb1dd893 +MISC metadata.xml 501 BLAKE2B f5363c8a19540d5bb924b38bdebeb8dbc60c84e58d1d87a9148a3e7abb09b0a1b733c98b130b778b8ab3a88375598444aa9d537d8c5338864a3d4497600d7836 SHA512 bc1ba0d75dbf5b95b3f93e666389c6408f20aebeec99bc8ec00653758b67588e07214285ed106fd9e5aed2c8d57c625d666c797212fda51e1ab98ce1df816467 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.15.94.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.15.94.ebuild new file mode 100644 index 0000000..a1062e8 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-5.15.94.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="98" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +IUSE="experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.1.41.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.1.41.ebuild new file mode 100644 index 0000000..3d7320e --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.1.41.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="47" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +IUSE="experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/metadata.xml b/sys-kernel/gentoo-sources/metadata.xml new file mode 100644 index 0000000..74ee2d6 --- /dev/null +++ b/sys-kernel/gentoo-sources/metadata.xml @@ -0,0 +1,14 @@ + + + + + kernel@gentoo.org + Gentoo Kernel Project + + + Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental". + + + cpe:/o:linux:linux_kernel + + diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest new file mode 100644 index 0000000..db1bb45 --- /dev/null +++ b/sys-kernel/linux-headers/Manifest @@ -0,0 +1,6 @@ +AUX linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch 2197 BLAKE2B 31ef872fd2658c141dda8653a4110003e7809d78dcd485abd15a9467e3090380e7314c7588ac5f8ec466eea7e6bcaf53dd25d4a1c548e199b1b57b06a911fd38 SHA512 1c0d5a46907617c5b6008ba06e726d268d18e2d80b1cc71325847dd9baa3571c237bcab640d4ed4fdf286ba89a9b56a8e415341da37f83f90ab94f2b6abbead3 +AUX linux-headers-5.15-remove-inclusion-sysinfo.h.patch 778 BLAKE2B baf48088843ab6dd42bd4e69cacb39bbf9633e5ff58868606cb553794c42e6ad4b360166b567b4b39bea4c9cc68c299e32156c687db3aeac284bfb4ce3da1b55 SHA512 d5d6c6e6edb3d50b4f3005838625a8a0064ea6f30c0ed98913ef584e973cd7e47b9f0670f932a434d66df16e850b0efb4fb01052d962ca82464af13810054156 +DIST gentoo-headers-5.15-1.tar.xz 1496 BLAKE2B 9d88ecc517e226580ba43cba1b5cc62232690ed219f9c5e2d26047de6dbc4056eaaf04c320b2758acb3cb08b44ec402c7185989e0c5ded40c44f7b4bb1d77328 SHA512 f31d5fb4b5264a8b9c060d4215462796240c2423f0872e55ba4e96904086264f55b54d00342aef625a8f710c2ebc2d731bcf79cd0362b398c84235ff949eb229 +DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a +EBUILD linux-headers-5.15-r3.ebuild 1454 BLAKE2B 6fde074d12041aeed87168073b9516429c00dfb22bcfb9105dd257142f61bab598cc284d1454f430259d0155d14a3fc24570fb3d7d2c42470d924f98b7ef67af SHA512 df16524b36382b9caad1ad078ad82935f50b111877eac8515605c68e9a99bf5b12d27e33cd40fe02dec1475479a10d993b1ce7070d2a7d880cd7b7e35c99729f +MISC metadata.xml 345 BLAKE2B a7d97a94b8b2b72cbd9c7cc730bd66c6e174a2c0bb8bfcff7c279a87000a4435afbb048ca2d9424b391a0b0f992d0afd5efb20c0504062de3dfd49968fec0e74 SHA512 e7a62638f5ba1072ae773781c890f708d90001c4d517e2ecce8fbb791914f2e6769e5a0db63ade82f7d644c1ec3e9b19aae773c496d9059879a4192b7f26ccae diff --git a/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch new file mode 100644 index 0000000..f1ff9b9 --- /dev/null +++ b/sys-kernel/linux-headers/files/linux-headers-5.10-Use-stddefs.h-instead-of-compiler.h.patch @@ -0,0 +1,51 @@ +Needed for musl. + +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/uapi/linux/swab.h?id=defbab270d45e32b068e7e73c3567232d745c60f +https://git.alpinelinux.org/aports/tree/main/linux-headers/include-uapi-linux-swab-Fix-potentially-missing-__always_inline.patch + +From: Matt Redfearn +Date: Wed, 3 Jan 2018 09:57:30 +0000 +Subject: [PATCH] include/uapi/linux/swab: Fix potentially missing + __always_inline +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Commit bc27fb68aaad ("include/uapi/linux/byteorder, swab: force inlining +of some byteswap operations") added __always_inline to swab functions +and commit 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to +userspace headers") added a definition of __always_inline for use in +exported headers when the kernel's compiler.h is not available. + +However, since swab.h does not include stddef.h, if the header soup does +not indirectly include it, the definition of __always_inline is missing, +resulting in a compilation failure, which was observed compiling the +perf tool using exported headers containing this commit: + +In file included from /usr/include/linux/byteorder/little_endian.h:12:0, + from /usr/include/asm/byteorder.h:14, + from tools/include/uapi/linux/perf_event.h:20, + from perf.h:8, + from builtin-bench.c:18: +/usr/include/linux/swab.h:160:8: error: unknown type name ‘__always_inline’ + static __always_inline __u16 __swab16p(const __u16 *p) + +Fix this by replacing the inclusion of linux/compiler.h with +linux/stddef.h to ensure that we pick up that definition if required, +without relying on it's indirect inclusion. compiler.h is then included +indirectly, via stddef.h. + +Fixes: 283d75737837 ("uapi/linux/stddef.h: Provide __always_inline to userspace headers") +Signed-off-by: Matt Redfearn + +--- a/include/uapi/linux/swab.h ++++ b/include/uapi/linux/swab.h +@@ -3,7 +3,7 @@ + #define _UAPI_LINUX_SWAB_H + + #include +-#include ++#include + #include + #include + diff --git a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch new file mode 100644 index 0000000..aa52ff9 --- /dev/null +++ b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch @@ -0,0 +1,25 @@ +https://git.alpinelinux.org/aports/tree/main/linux-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch +https://bugs.gentoo.org/828726 + +[Adapted to drop the const.h change as things may rely on it like btrfs.] + +From: rofl0r +Date: Mon, 20 Jan 2014 21:31:34 +0100 +Subject: [PATCH 3/3] remove inclusion of sysinfo.h in kernel.h + +the declaration of struct sysinfo clashes with userspace. +it's not quite clear why that header was included from kernel.h, +as none of its functionality is needed. + +--- a/include/uapi/linux/kernel.h ++++ b/include/uapi/linux/kernel.h +@@ -2,7 +2,9 @@ + #ifndef _UAPI_LINUX_KERNEL_H + #define _UAPI_LINUX_KERNEL_H + ++#ifdef __GLIBC__ + #include ++#endif + #include + + #endif /* _UAPI_LINUX_KERNEL_H */ diff --git a/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild b/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild new file mode 100644 index 0000000..dae40c5 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_PV=${PV} # to ease testing new versions against not existing patches +PATCH_VER="1" +PATCH_DEV="sam" +SRC_URI="${KERNEL_URI} + ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}" +S="${WORKDIR}/linux-${PV}" + +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + app-arch/xz-utils + dev-lang/perl" + +# bug #816762 +RESTRICT="test" + +[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} ) + +src_unpack() { + # avoid kernel-2_src_unpack + default +} + +src_prepare() { + # TODO: May need forward porting to newer versions + use elibc_musl && PATCHES+=( + "${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch + "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch + ) + + # avoid kernel-2_src_prepare + default +} + +src_test() { + emake headers_check "${KERNEL_MAKEOPTS[@]}" +} + +src_install() { + kernel-2_src_install + + find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die + # delete empty directories + find "${ED}" -empty -type d -delete || die +} diff --git a/sys-kernel/linux-headers/metadata.xml b/sys-kernel/linux-headers/metadata.xml new file mode 100644 index 0000000..a40f7ec --- /dev/null +++ b/sys-kernel/linux-headers/metadata.xml @@ -0,0 +1,11 @@ + + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + + cpe:/o:linux:linux_kernel + + diff --git a/sys-kernel/zen-sources/Manifest b/sys-kernel/zen-sources/Manifest new file mode 100644 index 0000000..2127186 --- /dev/null +++ b/sys-kernel/zen-sources/Manifest @@ -0,0 +1,6 @@ +DIST genpatches-6.3-1.base.tar.xz 4304 BLAKE2B 24ef2e99be1e444526f6786cae000cfb63ea8c0e1107cea066daf2bd7336f1bb968e59395163d3d6a816d92add61b07f58642c3d55ff4b8b341a88a574e57845 SHA512 b20adc8f05814eba47c1a088005e6b04135efd3a388db55693e88f1f039242b60a3749bbac9c5c84f99a1f8a9ac9f7cca0c2f67e9cac465781b43fa1e71db525 +DIST genpatches-6.3-1.extras.tar.xz 3808 BLAKE2B a96621ca57aabd030136a9541ce02b4a656516afbd8a629954b47a068b4f8846d533c95ea5cc95a9f345733fc56037c60f9e58eb6ac892917bed97cc186e68f3 SHA512 e519068234889706a4ae13b663733ec2882000b8c4968b1368280e3037ede75c55ac6b6c643897f4dee6d34901ddc5f7963af5389f6facc6db496e761cca9242 +DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65 +DIST v6.3.9-zen1.patch.xz 864288 BLAKE2B d2ae4c0c24648ed72536f6e8834111ebf65293442d244c234648541921955fc2bb364599478b69ee07c83017adb5868fe1d8feee9db48bebfa84345c345beefe SHA512 c23d2847e53e0f213ddbd70b1733d705401dccc3a12c3b2d728059c3a55c851fcbe4e243e602fa52c66ce7e9c73297385e592b6002cb651116d5b66e31447916 +EBUILD zen-sources-6.3.9.ebuild 1125 BLAKE2B e5aa3a4382c56fffc1b943fc98cd83546d4b0b8faa2de7c80cf2fef63cfba99266adba4f036d623781f2d47c2265f2631b59238566650820ea1b3c771829c8d0 SHA512 87aa724c607fb9ac86156c504d840ff5354fdb64b108d0b32474bf973ff9f223051b5e85737e3b517ff54cedfd68922209dd56feadcc97bec71901f6cc305c5d +MISC metadata.xml 404 BLAKE2B 1836329a9cab0f03e4ee80056d5db141d5721875794ef39844c014c0426fd558b3a2bc6f1a7bbcb72d99ad81f4a071f451da9adc4a6fdb380e8c7bd7bb10ed2d SHA512 2c48e149eb08a53121a799256eec33895daa0dce32ea5325f5f3b055c3a661de8294e21f114f6c7ad609818215261c57c53d124fc0d3679f87168039905a9516 diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml new file mode 100644 index 0000000..506cf6e --- /dev/null +++ b/sys-kernel/zen-sources/metadata.xml @@ -0,0 +1,12 @@ + + + + + anarchy@gentoo.org + Jory A. Pratt + + + cpe:/o:linux:linux_kernel + zen-kernel/zen-kernel + + diff --git a/sys-kernel/zen-sources/zen-sources-6.3.9.ebuild b/sys-kernel/zen-sources/zen-sources-6.3.9.ebuild new file mode 100644 index 0000000..6e8697c --- /dev/null +++ b/sys-kernel/zen-sources/zen-sources-6.3.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="1" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~amd64 ~arm64 ~x86" +HOMEPAGE="https://github.com/zen-kernel" +IUSE="" + +DESCRIPTION="The Zen Kernel Live Sources" + +ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen1/v${PV}-zen1.patch.xz" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}" + +UNIPATCH_LIST="${DISTDIR}/v${PV}-zen1.patch.xz" +UNIPATCH_STRICTORDER="yes" + +K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \ +${HOMEPAGE}, also go to #zen-sources on oftc" + +pkg_setup() { + ewarn + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the zen developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn + kernel-2_pkg_setup +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest new file mode 100644 index 0000000..f853f96 --- /dev/null +++ b/x11-drivers/nvidia-drivers/Manifest @@ -0,0 +1,21 @@ +AUX 95-nvidia-settings-r1 54 BLAKE2B 598067babb48bd0f5680300cf3cbb37ac804edb3131c47510d3350511b918cd47fcf44f1ccd4746e4a41f2f8aa36511f20c2c6f313010e89a79b7869771b9ee6 SHA512 de9edf678c64ca3d10c912397800b2cb651ef9108b33ece97a4cc1e86dad0a9e81986cca6b96cfe80740d9cb433de7ef93f29be45178db714ee408c7f6570ac7 +AUX nvidia-390.conf 797 BLAKE2B 7cb7dc58841d2e7cf28f677939031a20ff820e2d46f799177c6004d94e73c308d2a9ee81fca476ff7ab4846a275cce996f68a53a7a9f819c3d57b5dace1d40e2 SHA512 17cabfcaa4b7323c635d1491e46710624d13396c019591499993662a20df39c8e3fa843387594aeb66d70cf38ab9fde7bee85dd1ab37eaa637a315fd52328222 +AUX nvidia-drivers-390.154-clang15-x86.patch 1085 BLAKE2B 5bb221407b280f2dde69ef2b37317606bec1c108dbc56653898cfa9318de6e47df21e5b38943212caf13bc6412f2427fad7c534491d868d03399091e2146daaa SHA512 1349c1c715b2f09e64a5e91412aceabc80041d070a6bbacfdf7038872f1f4a798bbc63277d47a25d1a5b28b573b3d5bd6295dadbbdbf245f5cfb0241879a3bc4 +AUX nvidia-drivers-390.154-clang15.patch 2915 BLAKE2B e9799aee3c6b814ecdc40e83d2e495acad046f18c88fe8c1b5fead1c9cd0fab3d0a0a2924730dadec5eb8ea1e2d2132c495298d6ab108c015721bab911a4da79 SHA512 6e1c99ae8efb06aa4fc3accb4cee55f43a6498f94fca064fd4b9b007a3555913a5cef042d4e74b6f24a3eb6f14988f810d0c848d34ae81835fbae8ec32cf0cf0 +AUX nvidia-drm-outputclass-390.conf 179 BLAKE2B 2a7d3bb2bb131db6ddf24c9fa157a1044e72a3229088654f4768f76eb871cdaacdee58e82be5504c1c0af928c343448b4d03f23d289a4479b64218d57fbd7a16 SHA512 8e5dfe54b9cf261d28c206ca1594183cba4945ed633a13ab4b1801b2ad4614ca10038ab7f0cf35dbf4eaa7b2de6e747c3be13ecb11d05740b22654626f09d774 +AUX nvidia-modprobe-390.141-uvm-perms.patch 563 BLAKE2B 9befd708ad2193e507583e066f306e11d55e82912f456e738d850b804d35331df2ca5de3a35e8ab551188c1103af762941098639fa9581b4437bc5e68595ddd6 SHA512 0546d51a86554985cd7cc036e7b8f65b457cd1a1c0549ef496422fa422d2757354a47b83247b100597f908c2653314878c721b3918ebc529cae4282824d4eada +AUX nvidia-persistenced.confd 213 BLAKE2B dd57e63944a97a77e83a8373dd34ef2f56824dcfadcfbbb54cdf6eeac17066d78753bd1b21a9bad8f0437c279c95492319205c15b84b7f96e0515415dfddbc26 SHA512 a311b73bb47448538e5261ba658d42e923890c909c335eeac3cc90ad0ffd3fd5fb983df8e91077f3098eaa13b07f27b23dc24a4579b1df411ae272976ef089b3 +AUX nvidia-persistenced.initd 404 BLAKE2B 2115075a9b0c9d0eeee55e2b3c531da82ae6aea5bf25bcedc618b108aeddab95c0ac852d6d9b96bd9bf6dba62a13db487d7c3627b244ef29c047bb7a137f2413 SHA512 34143639ca5456cacfbfcb2bc30e51dce02d9af4784791a84ba93a26f2f7f31f2dc75685bbed52138c35df310cca1c19072a5fab2b067f854550f5ee4d96aa9c +AUX nvidia-settings-390.141-fno-common.patch 478 BLAKE2B 2b222b26049aeb6692350618bd1e4dff3c4f25452c1e18c5789fd3e85ffb3edba4c54c4cdf02aec95f65c7eafb2c01e39a76b888a4f0691de6279d2981ab4f5f SHA512 a6574bc7be6299ab6f7aa3b7872506cc135ffda5591f6d385f6828ca5691e964852b4461fde771130a17b315798f986c2af6e1108e9d2298dcdf3f786e665a93 +AUX nvidia-settings-390.144-desktop.patch 433 BLAKE2B 5f2eacf1cb1d8ad1ba2cd7163f967df3141a75cbeeab967eacd1459f61ac597c5123570d68e8c51fff324b23a81df52386815a7156ec77ae8886e86ac70974ea SHA512 96411bc1a752f10514e81996cfe077e479b19a41ea857b4a3d51a8675ce051bc366fc8b071eaf25f335a45ea2a5eddaa49309a946a70610de871e9ef2ae6cc75 +AUX nvidia-settings-390.144-no-gtk2.patch 367 BLAKE2B 59a60b103df6b187009417dca22caaf45292b94005d92df9e513804e5137959ffeda1d9abd5506cbb5c7be604023d2c59f0841190b03502542ad0c2d3f084a10 SHA512 421558442a2228f6ffdb82b2bd6862cbc286b8ba259c4970f54dcc445a988575864404f2c3933d2436d8d40de1bf0e34ee7ed855742c5d677094c260e32a1e66 +AUX nvidia-settings-390.144-raw-ldflags.patch 468 BLAKE2B bf4c00a76351e6c3d1587b4f71be61fac8cc516fa22da0a47538fede92b619eb77b1cc09222cd403175a2015eb2ca745e8cdca90c9dca1b938ca13a2e59810ba SHA512 1fc568bfd1faba1f7af4f4b07715912b7f1d8103626ec0c9fcbb465ded606059ca264f386fe415105ab9f95c4ab173bf4b784ea7380bf17ab6979f56fbd01757 +DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 435b5e0e60468cc74b41cc5d9b5bb0105d29c11a2d408457835212a96519c9334ecf19278b36749d3ff7f498f5b0ae45a2efae2d428703dac21245c62f1efebe SHA512 dae9ac2c12f9ad90f7441e00e01a984147c577892421911d7f67f6a31e616ac1cb7d434bc9c7f58fbd9b8ae909521b5bece607a63c79588c0bb9d99c6bad5fb0 +DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b SHA512 4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a +DIST nvidia-installer-390.157.tar.bz2 150323 BLAKE2B 8058ca87a6dea956d564af9f7eab9b1fc82b1f2382bd5cb2f6d97cbe2e19292533522d5f8f2eacbeb16520372715fcb72f8f9b0998962af5d4e75522c8d74524 SHA512 93a7ece648602157496c8e27a88864ede341a100f5328a4c1a25faf8f0b94d252060e5e2f71d0c302fd0566c10773c30b76b3b5f431d8039b71c90a7969f7d7e +DIST nvidia-modprobe-390.157.tar.bz2 35306 BLAKE2B 80d202b39c2f95ec0f909712c2e101483af50124092c32efb33bd98ff58ddfb97b737ff07f1ddc941f688c1b4c26a15f392566d522e18506771f10422fcd571c SHA512 109bbe24a3758b568ea65fe1e9d78f69fae6108ec0497b796c885a3912825fe04ffd7389a3e22987f1a10a2926bf6eaa384faabc59478aa3ee244dd3ac91c6d3 +DIST nvidia-persistenced-390.157.tar.bz2 48654 BLAKE2B 2cf6c92da90acff55e8c180a06b0c6a29d48be9fd8ca3c541202fd14f0697220fba6b66452942aa7ae7cc8821f5c5eb9fa8f7a31d2248624e5f9141d83a176b8 SHA512 70f0707ed6f2b877e69ef90cf782f66cbc9d2071db53ca09ceb7b89427b0fe176708517340621fa251539b7d481b238adeeb60261674eed74de1f62db6dbb72e +DIST nvidia-settings-390.157.tar.bz2 1108938 BLAKE2B d9ec1ab5d7f157d74627272adf752a671dd17e2ede02069437b6180b927fe315b15cc6416d584ab2f038b76fe01e5b64514a834f24d88ac16676e55205fdecdd SHA512 b16699009bf56a1ff3b623a528c58061c4f5a2c5c4a373756a07bcd667743a1df7c733a572d2d0baa835a904ac2fda8a5c85890dcc00c3a0f223e0467aea902d +DIST nvidia-xconfig-390.157.tar.bz2 107399 BLAKE2B 0cbb3b1ba508ddc3ba4a161c290b31bf7a67f67880bdbd01171a962c5fa97ca945b1ef17932403f8589309380743f1da632c728d8accb6d4e56dbd895e7486bb SHA512 50b390811c9bf091b14add41f886925b17496b41006b7d3981d2398caa65cf5db8a579c8cebed78278384bf3acc629befb07b54339c61abcc75852c0dcb8b8ca +EBUILD nvidia-drivers-390.157.ebuild 18829 BLAKE2B 90e80f0d997477b9e71946e7776b99aa956f97af9c2204b2f44004e9f02be90deeb9be6e9d16417fee7140b0cde61c15ed24866723a13fb5751c3cadfb60fb46 SHA512 b73e0a7ce3a18f95b6ee26ccbaaa2323f83671533e1fc38fe7a7f682fc250c60c9d3299949213d40bbb99a5ffe4962ce562b1bdfa92607d2192a141b5154fc92 +MISC metadata.xml 1320 BLAKE2B f8aa8f9a39d6da284b60afb50087acf75744057628e79b77a95e6bebb1e386e9d1a819f41e73d3e94b8ab74322ec8e8b077ad6d2af0804a5c6f20b4dd5f2897d SHA512 9fb939f8c8892ce43afc4f577181474c88a0aae3cc58af57987000b82f6c52f3f7b40fc538fa8eae0d5dbaf1fe3734d84f72fda2106853edd945149b3f2d2747 diff --git a/x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1 b/x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1 new file mode 100644 index 0000000..48c41d8 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/95-nvidia-settings-r1 @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/nvidia-settings --load-config-only diff --git a/x11-drivers/nvidia-drivers/files/nvidia-390.conf b/x11-drivers/nvidia-drivers/files/nvidia-390.conf new file mode 100644 index 0000000..c873f00 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-390.conf @@ -0,0 +1,21 @@ +# NVIDIA drivers options +# See /usr/share/doc/nvidia-drivers-*/README.txt* for more information. + +# nvidia-drivers and nouveau cannot be used at same time. +# Comment out the following line if you wish to allow nouveau. +blacklist nouveau + +# !!! Security Warning !!! +# Do not change the DeviceFile options unless you know what you are doing. +# Only add trusted users to the 'video' group, these users may be able to +# crash, compromise, or irreparably damage the machine. +options nvidia \ + NVreg_DeviceFileGID=@VIDEOGID@ \ + NVreg_DeviceFileMode=432 \ + NVreg_DeviceFileUID=0 \ + NVreg_ModifyDeviceFiles=1 + +# Should be no need to touch anything below. +alias char-major-195 nvidia +alias /dev/nvidiactl char-major-195 +remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch new file mode 100644 index 0000000..98eaee9 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch @@ -0,0 +1,29 @@ +Kernel's makefiles pass -Werror=strict-prototypes which +can trigger errors depending on compiler defaults. +https://bugs.gentoo.org/870238 +https://github.com/NVIDIA/open-gpu-kernel-modules/issues/377 +--- a/kernel/nvidia/nvlink_linux.c ++++ b/kernel/nvidia/nvlink_linux.c +@@ -639 +639 @@ +-void * NVLINK_API_CALL nvlink_allocLock() ++void * NVLINK_API_CALL nvlink_allocLock(void) +--- a/kernel/nvidia/os-interface.c ++++ b/kernel/nvidia/os-interface.c +@@ -879 +879 @@ +-NV_STATUS NV_API_CALL os_flush_cpu_cache() ++NV_STATUS NV_API_CALL os_flush_cpu_cache(void) +@@ -886 +886 @@ +-NV_STATUS NV_API_CALL os_flush_cpu_cache_all() ++NV_STATUS NV_API_CALL os_flush_cpu_cache_all(void) +@@ -944 +944 @@ +-void NV_API_CALL os_flush_cpu_write_combine_buffer() ++void NV_API_CALL os_flush_cpu_write_combine_buffer(void) +@@ -1073 +1073 @@ +-NvU32 NV_API_CALL os_get_cpu_number() ++NvU32 NV_API_CALL os_get_cpu_number(void) +@@ -1080 +1080 @@ +-NvU32 NV_API_CALL os_get_cpu_count() ++NvU32 NV_API_CALL os_get_cpu_count(void) +@@ -1155 +1155 @@ +-void NV_API_CALL os_dump_stack() ++void NV_API_CALL os_dump_stack(void) diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch new file mode 100644 index 0000000..b08f358 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch @@ -0,0 +1,84 @@ +Kernel's makefiles pass -Werror=strict-prototypes which +can trigger errors depending on compiler defaults. +https://bugs.gentoo.org/870238 +https://github.com/NVIDIA/open-gpu-kernel-modules/issues/377 +--- a/kernel/nvidia/nvlink_linux.c ++++ b/kernel/nvidia/nvlink_linux.c +@@ -639 +639 @@ +-void * NVLINK_API_CALL nvlink_allocLock() ++void * NVLINK_API_CALL nvlink_allocLock(void) +--- a/kernel/nvidia/os-interface.c ++++ b/kernel/nvidia/os-interface.c +@@ -879 +879 @@ +-NV_STATUS NV_API_CALL os_flush_cpu_cache() ++NV_STATUS NV_API_CALL os_flush_cpu_cache(void) +@@ -886 +886 @@ +-NV_STATUS NV_API_CALL os_flush_cpu_cache_all() ++NV_STATUS NV_API_CALL os_flush_cpu_cache_all(void) +@@ -944 +944 @@ +-void NV_API_CALL os_flush_cpu_write_combine_buffer() ++void NV_API_CALL os_flush_cpu_write_combine_buffer(void) +@@ -1073 +1073 @@ +-NvU32 NV_API_CALL os_get_cpu_number() ++NvU32 NV_API_CALL os_get_cpu_number(void) +@@ -1080 +1080 @@ +-NvU32 NV_API_CALL os_get_cpu_count() ++NvU32 NV_API_CALL os_get_cpu_count(void) +@@ -1155 +1155 @@ +-void NV_API_CALL os_dump_stack() ++void NV_API_CALL os_dump_stack(void) +--- a/kernel/nvidia-uvm/uvm8_lock.c ++++ b/kernel/nvidia-uvm/uvm8_lock.c +@@ -312 +312 @@ +-bool __uvm_thread_check_all_unlocked() ++bool __uvm_thread_check_all_unlocked(void) +--- a/kernel/nvidia-uvm/uvm8_perf_heuristics.c ++++ b/kernel/nvidia-uvm/uvm8_perf_heuristics.c +@@ -29 +29 @@ +-NV_STATUS uvm_perf_heuristics_init() ++NV_STATUS uvm_perf_heuristics_init(void) +@@ -44 +44 @@ +-void uvm_perf_heuristics_exit() ++void uvm_perf_heuristics_exit(void) +--- a/kernel/nvidia-uvm/uvm8_perf_prefetch.c ++++ b/kernel/nvidia-uvm/uvm8_perf_prefetch.c +@@ -462 +462 @@ +-NV_STATUS uvm_perf_prefetch_init() ++NV_STATUS uvm_perf_prefetch_init(void) +@@ -500 +500 @@ +-void uvm_perf_prefetch_exit() ++void uvm_perf_prefetch_exit(void) +--- a/kernel/nvidia-uvm/uvm8_perf_thrashing.c ++++ b/kernel/nvidia-uvm/uvm8_perf_thrashing.c +@@ -1324 +1324 @@ +-NV_STATUS uvm_perf_thrashing_init() ++NV_STATUS uvm_perf_thrashing_init(void) +@@ -1401 +1401 @@ +-void uvm_perf_thrashing_exit() ++void uvm_perf_thrashing_exit(void) +--- a/kernel/nvidia-uvm/uvm8_procfs.c ++++ b/kernel/nvidia-uvm/uvm8_procfs.c +@@ -61 +61 @@ +-NV_STATUS uvm_procfs_init() ++NV_STATUS uvm_procfs_init(void) +@@ -77 +77 @@ +-void uvm_procfs_exit() ++void uvm_procfs_exit(void) +@@ -106 +106 @@ +-struct proc_dir_entry *uvm_procfs_get_gpu_base_dir() ++struct proc_dir_entry *uvm_procfs_get_gpu_base_dir(void) +--- a/kernel/nvidia-uvm/uvm8_push.c ++++ b/kernel/nvidia-uvm/uvm8_push.c +@@ -103 +103 @@ +-bool uvm_push_info_is_tracking_descriptions() ++bool uvm_push_info_is_tracking_descriptions(void) +--- a/kernel/nvidia-uvm/uvm8_tools.c ++++ b/kernel/nvidia-uvm/uvm8_tools.c +@@ -2041 +2041 @@ +-void uvm_tools_flush_events() ++void uvm_tools_flush_events(void) +--- a/kernel/nvidia-uvm/uvm_common.c ++++ b/kernel/nvidia-uvm/uvm_common.c +@@ -63 +63 @@ +-bool uvm_debug_prints_enabled() ++bool uvm_debug_prints_enabled(void) diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass-390.conf b/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass-390.conf new file mode 100644 index 0000000..f459c69 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass-390.conf @@ -0,0 +1,7 @@ +Section "OutputClass" + Identifier "nvidia" + MatchDriver "nvidia-drm" + Driver "nvidia" + Option "AllowEmptyInitialConfiguration" + ModulePath "@LIBDIR@/extensions/nvidia" +EndSection diff --git a/x11-drivers/nvidia-drivers/files/nvidia-modprobe-390.141-uvm-perms.patch b/x11-drivers/nvidia-drivers/files/nvidia-modprobe-390.141-uvm-perms.patch new file mode 100644 index 0000000..6ffd42f --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-modprobe-390.141-uvm-perms.patch @@ -0,0 +1,12 @@ +Create /dev/nvidia-uvm* by respecting nvidia.conf's permissions. +--- a/nvidia-modprobe/modprobe-utils/nvidia-modprobe-utils.c ++++ b/nvidia-modprobe/modprobe-utils/nvidia-modprobe-utils.c +@@ -742,6 +742,6 @@ + } + +- return mknod_helper(major, base_minor, NV_UVM_DEVICE_NAME, NULL) && +- mknod_helper(major, base_minor + 1, NV_UVM_TOOLS_DEVICE_NAME, NULL); ++ return mknod_helper(major, base_minor, NV_UVM_DEVICE_NAME, NV_PROC_REGISTRY_PATH) && ++ mknod_helper(major, base_minor + 1, NV_UVM_TOOLS_DEVICE_NAME, NV_PROC_REGISTRY_PATH); + } + diff --git a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.confd b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.confd new file mode 100644 index 0000000..e06d53c --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.confd @@ -0,0 +1,7 @@ +# configuration file for /etc/init.d/nvidia-persistenced + +# NVPD_USER: user to run as, needs access to /dev/nvidia* (video group) +NVPD_USER="nvpd" + +# ARGS: additional arguments, see nvidia-persistenced(1) +ARGS="" diff --git a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd new file mode 100644 index 0000000..e199efc --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Maintain persistent software state in the NVIDIA driver" +command="nvidia-persistenced" +command_args="${NVPD_USER:+--user ${NVPD_USER}} ${ARGS}" +pidfile="/var/run/nvidia-persistenced/nvidia-persistenced.pid" + +stop_post() { + rmdir "${pidfile%/*}" 2>/dev/null || true +} diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.141-fno-common.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.141-fno-common.patch new file mode 100644 index 0000000..499e969 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.141-fno-common.patch @@ -0,0 +1,16 @@ +Fix compilation with -fno-common or gcc10 +https://bugs.gentoo.org/706742 +--- a/nvidia-settings/src/gtk+-2.x/ctkvdpau.c ++++ b/nvidia-settings/src/gtk+-2.x/ctkvdpau.c +@@ -105,2 +105,4 @@ + ++struct VDPAUDeviceImpl VDPAUDeviceFunctions; ++ + static int queryOutputSurface(CtkVDPAU *ctk_vdpau, VdpDevice device, +--- a/nvidia-settings/src/gtk+-2.x/ctkvdpau.h ++++ b/nvidia-settings/src/gtk+-2.x/ctkvdpau.h +@@ -48,3 +48,3 @@ + +-struct VDPAUDeviceImpl { ++extern struct VDPAUDeviceImpl { + diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch new file mode 100644 index 0000000..a00545a --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch @@ -0,0 +1,12 @@ +For icon: https://github.com/NVIDIA/nvidia-settings/pull/56 +--- a/nvidia-settings/doc/nvidia-settings.desktop ++++ b/nvidia-settings/doc/nvidia-settings.desktop +@@ -5,5 +5,5 @@ + Comment=Configure NVIDIA X Server Settings +-Exec=__UTILS_PATH__/nvidia-settings +-Icon=__PIXMAP_PATH__/nvidia-settings.png +-Categories=__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__ ++Exec=nvidia-settings ++Icon=nvidia-settings ++Categories=System;HardwareSettings; + diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch new file mode 100644 index 0000000..d1689ee --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch @@ -0,0 +1,11 @@ +--- a/nvidia-settings/src/Makefile ++++ b/nvidia-settings/src/Makefile +@@ -132,3 +132,2 @@ + GTK2LIB_DIR = $(OUTPUTDIR)/gtk2 +-GTK2LIB = $(OUTPUTDIR)/$(GTK2LIB_NAME) + GTK2LIB_SONAME = $(GTK2LIB_NAME).$(NVIDIA_SETTINGS_VERSION) +@@ -276,4 +275,2 @@ + $(MKDIR) $(LIBDIR) +- $(INSTALL) $(INSTALL_LIB_ARGS) $(GTK2LIB) \ +- $(LIBDIR)/$(GTK2LIB_SONAME) + ifdef BUILD_GTK3LIB diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch new file mode 100644 index 0000000..f815dad --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch @@ -0,0 +1,9 @@ +Currently need to pass ABI flags if LD is ld.lld for USE=tools +ld.lld: error: target emulation unknown: -m or at least one .o file required +--- a/nvidia-settings/utils.mk ++++ b/nvidia-settings/utils.mk +@@ -477,3 +477,3 @@ + $(at_if_quiet)cd $$(dir $(1)); \ +- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \ ++ $$(call quiet_cmd_no_at,LD) $$(RAW_LDFLAGS) -r -z noexecstack --format=binary \ + $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@) diff --git a/x11-drivers/nvidia-drivers/metadata.xml b/x11-drivers/nvidia-drivers/metadata.xml new file mode 100644 index 0000000..f25db49 --- /dev/null +++ b/x11-drivers/nvidia-drivers/metadata.xml @@ -0,0 +1,28 @@ + + + + + ionen@gentoo.org + Ionen Wolkens + + + soap@gentoo.org + David Seifert + + + Install kernel driver modules + Use the open source variant of drivers (Turing/Ampere+ GPUs only, aka GTX 1650+, very experimental) + Install the persistence daemon for keeping devices state when unused + Install the XNVCtrl static library for accessing sensors and other features + Install additional tools such as nvidia-settings + + + cpe:/a:nvidia:gpu_driver + NVIDIA/nvidia-installer + NVIDIA/nvidia-modprobe + NVIDIA/nvidia-persistenced + NVIDIA/nvidia-settings + NVIDIA/nvidia-xconfig + NVIDIA/open-gpu-kernel-modules + + diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild new file mode 100644 index 0000000..c0c1fe8 --- /dev/null +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild @@ -0,0 +1,551 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_USE="driver" +inherit desktop flag-o-matic linux-mod multilib readme.gentoo-r1 \ + systemd toolchain-funcs unpacker user-info + +NV_KERNEL_MAX="6.1" +NV_URI="https://download.nvidia.com/XFree86/" + +DESCRIPTION="NVIDIA Accelerated Graphics Driver" +HOMEPAGE="https://www.nvidia.com/download/index.aspx" +SRC_URI=" + amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run ) + x86? ( ${NV_URI}Linux-x86/${PV}/NVIDIA-Linux-x86-${PV}.run ) + $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \ + nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})" +# nvidia-installer is unused but here for GPL-2's "distribute sources" +S="${WORKDIR}" + +LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT" +SLOT="0/${PV%%.*}" +KEYWORDS="-* amd64 x86" +IUSE="+X abi_x86_32 abi_x86_64 +driver persistenced +static-libs +tools" + +COMMON_DEPEND=" + acct-group/video + sys-libs/glibc + persistenced? ( + acct-user/nvpd + net-libs/libtirpc:= + ) + tools? ( + >=app-accessibility/at-spi2-core-2.46:2 + dev-libs/glib:2 + dev-libs/jansson:= + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-libs/pango + )" +RDEPEND=" + ${COMMON_DEPEND} + X? ( + media-libs/libglvnd[X,abi_x86_32(-)?] + x11-libs/libX11[abi_x86_32(-)?] + x11-libs/libXext[abi_x86_32(-)?] + )" +DEPEND=" + ${COMMON_DEPEND} + static-libs? ( + x11-libs/libX11 + x11-libs/libXext + ) + tools? ( + media-libs/libglvnd + sys-apps/dbus + x11-base/xorg-proto + x11-libs/libXrandr + x11-libs/libXv + x11-libs/libvdpau + )" +BDEPEND=" + sys-devel/m4 + virtual/pkgconfig" + +QA_PREBUILT="opt/bin/* usr/lib*" + +PATCHES=( + "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch + "${FILESDIR}"/nvidia-settings-390.141-fno-common.patch + "${FILESDIR}"/nvidia-settings-390.144-desktop.patch + "${FILESDIR}"/nvidia-settings-390.144-no-gtk2.patch + "${FILESDIR}"/nvidia-settings-390.144-raw-ldflags.patch +) + +pkg_setup() { + use driver || return + + local CONFIG_CHECK=" + PROC_FS + ~DRM_KMS_HELPER + ~SYSVIPC + ~!AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT + ~!LOCKDEP + ~!X86_KERNEL_IBT + !DEBUG_MUTEXES" + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection + of drivers (no custom config), and optional nvidia-drm.modeset=1. + With 390.xx drivers, also used by a GLX workaround needed for OpenGL. + Cannot be directly selected in the kernel's menuconfig, and may need + selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in." + local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned the modules may not load. + If run into problems, either unset or try to pass ibt=off to the kernel." + + kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 + + MODULE_NAMES=" + nvidia(video:kernel) + nvidia-drm(video:kernel) + nvidia-modeset(video:kernel) + $(usev !x86 "nvidia-uvm(video:kernel)")" + + linux-mod_pkg_setup + + [[ ${MERGE_TYPE} == binary ]] && return + + # do some extra checks manually as it gets messy to handle builtin-only + # and some other conditional checks through CONFIG_CHECK + # TODO?: maybe move other custom checks here for uniformity + local warn=() + + if linux_chkconfig_builtin DRM_NOUVEAU; then + # suggest =m given keeps KMS_HELPER enabled and can serve as fallback + warn+=( + " CONFIG_DRM_NOUVEAU: is builtin (=y), and will prevent loading NVIDIA" + " modules (can be safely kept as a module (=m) instead)." + ) + fi + + if linux_chkconfig_builtin DRM_SIMPLEDRM; then + # wrt prebuilts, Fedora is pushing =y and gentoo-kernel-bin uses its + # configs (bug #840439), but without Fedora's kernel patch to + # workaround this issue (which is unlikely to work for us anyway) + # https://github.com/NVIDIA/open-gpu-kernel-modules/issues/228 + warn+=( + " CONFIG_DRM_SIMPLEDRM: is builtin (=y), and may conflict with NVIDIA" + " (i.e. blanks when X/wayland starts, and tty loses display)." + " For prebuilt kernels, unfortunately no known good workarounds." + ) + fi + + if ! linux_chkconfig_present FB_EFI && + ! linux_chkconfig_present FB_SIMPLE && + ! linux_chkconfig_present FB_VESA + then + # nvidia-drivers does not handle the tty (beside mode restoration) but, + # given few options are viable, try to warn if all missing + warn+=( + " CONFIG_FB_(EFI|SIMPLE|VESA): none set, but note at least one is normally" + " needed to get a display for the tty console. In most cases, it is" + " recommended to enable FB_EFI=y and disable FB_SIMPLE (can be quirky)." + " Non-EFI systems are likely to want FB_VESA=y. Users with multiple GPUs" + " or not using the tty may be able to safely ignore this warning." + ) + fi + + if kernel_is -ge 5 18 13; then + if linux_chkconfig_present FB_SIMPLE; then + warn+=( + " CONFIG_FB_SIMPLE: is set, recommended to disable and switch to FB_EFI or" + " FB_VESA as it currently may be broken with >=kernel-5.18.13 + NVIDIA:" + " https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341" + " (feel free to ignore this if it works for you)" + ) + fi + + if linux_chkconfig_present SYSFB_SIMPLEFB && + { linux_chkconfig_present FB_EFI || linux_chkconfig_present FB_VESA; } + then + warn+=( + " CONFIG_SYSFB_SIMPLEFB: is set, this may prevent FB_EFI or FB_VESA" + " from providing a working tty console display (ignore if unused)." + ) + fi + fi + + (( ${#warn[@]} )) && + ewarn "Detected potential configuration issues with used kernel:${warn[*]/#/$'\n'}" + + BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"' + use x86 && BUILD_PARAMS+=' ARCH=i386' + BUILD_TARGETS="modules" + + # Try to match toolchain with kernel only for modules + # (experimental, ideally this should be handled in linux-mod.eclass) + nvidia-tc-set() { + local -n var=KERNEL_${1} + if [[ ! -v var ]]; then + read -r var < <(type -P "${@:2}") || + die "failed to find in PATH at least one of: ${*:2}" + einfo "Forcing '${var}' for modules (set ${!var} to override)" + fi + } + + local tool switch + if linux_chkconfig_present CC_IS_GCC; then + if ! tc-is-gcc; then + switch= + nvidia-tc-set CC {${CHOST}-,}gcc + fi + elif linux_chkconfig_present CC_IS_CLANG; then + ewarn "Warning: using ${PN} with a clang-built kernel is largely untested" + if ! tc-is-clang; then + switch=llvm- + nvidia-tc-set CC {${CHOST}-,}clang + fi + fi + + if linux_chkconfig_present LD_IS_BFD; then + # tc-ld-is-bfd needs https://github.com/gentoo/gentoo/pull/28355 + [[ $(LC_ALL=C $(tc-getLD) --version 2>/dev/null) == "GNU ld"* ]] || + nvidia-tc-set LD {${CHOST}-,}{ld.bfd,ld} + elif linux_chkconfig_present LD_IS_LLD; then + tc-ld-is-lld || nvidia-tc-set LD {${CHOST}-,}{ld.lld,lld} + fi + + if [[ -v switch ]]; then + # only need llvm-nm for lto, but use complete set to be safe + for tool in AR NM OBJCOPY OBJDUMP READELF STRIP; do + case $(LC_ALL=C $(tc-get${tool}) --version 2>/dev/null) in + LLVM*|llvm*) [[ ! ${switch} ]];; + *) [[ ${switch} ]];; + esac && nvidia-tc-set ${tool} {${CHOST}-,}${switch}${tool,,} + done + fi + + # pass unconditionally given exports are semi-ignored except CC/LD + for tool in CC LD AR NM OBJCOPY OBJDUMP READELF STRIP; do + BUILD_PARAMS+=" ${tool}=\"\${KERNEL_${tool}:-\$(tc-get${tool})}\"" + done + + if linux_chkconfig_present LTO_CLANG_THIN; then + # kernel enables cache by default leading to sandbox violations + BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir=' + fi + + if kernel_is -gt ${NV_KERNEL_MAX/./ }; then + ewarn "Kernel ${KV_MAJOR}.${KV_MINOR} is known to break this version ${PN}" + ewarn "It is recommended to use one of:" + ewarn " <=sys-kernel/gentoo-kernel-${NV_KERNEL_MAX}.x" + ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}.x" + ewarn "You are free to try or use /etc/portage/patches, but support will" + ewarn "not be given (Gentoo will not accept patches for this). When no" + ewarn "supported kernel are usable anymore, end-of-life 390.xx will be" + ewarn "removed -- 6.1.x LTS will be supported until at least December 2026." + ewarn + ewarn "Do _not_ file a bug report if run into issues." + ewarn + fi +} + +src_prepare() { + # make patches usable across versions + rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die + rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die + rm nvidia-settings && mv nvidia-settings{-${PV},} || die + rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die + + eapply "${FILESDIR}"/nvidia-drivers-390.154-clang15$(usev {,-}x86).patch + + default + + # prevent detection of incomplete kernel DRM support (bug #603818) + sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \ + -i kernel/conftest.sh || die + + sed 's/__USER__/nvpd/' \ + nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \ + > "${T}"/nvidia-persistenced.service || die + + sed 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' \ + nvidia_icd.json.template > nvidia_icd.json || die + + # 390 has legacy glx needing a modified .conf (bug #713546) + # directory is not quite right, but kept for any existing custom xorg.conf + sed "s|@LIBDIR@|${EPREFIX}/usr/$(get_libdir)|" \ + "${FILESDIR}"/nvidia-drm-outputclass-390.conf > nvidia-drm-outputclass.conf || die +} + +src_compile() { + tc-export AR CC CXX LD OBJCOPY OBJDUMP + local -x RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)" # raw-ldflags.patch + + NV_ARGS=( + PREFIX="${EPREFIX}"/usr + HOST_CC="$(tc-getBUILD_CC)" + HOST_LD="$(tc-getBUILD_LD)" + NV_USE_BUNDLED_LIBJANSSON=0 + NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out + ) + + if use driver; then + if linux_chkconfig_present GCC_PLUGINS; then + mkdir "${T}"/plugin-test || die + echo "obj-m += test.o" > "${T}"/plugin-test/Kbuild || die + :> "${T}"/plugin-test/test.c || die + if [[ $(LC_ALL=C make -C "${KV_OUT_DIR}" ARCH="$(tc-arch-kernel)" \ + HOSTCC="$(tc-getBUILD_CC)" CC="${CC}" M="${T}"/plugin-test 2>&1) \ + =~ "error: incompatible gcc/plugin version" ]] + then + eerror "Detected kernel was built with a different gcc/plugin version," + eerror "Please 'make clean' and rebuild your kernel with the current" + eerror "gcc (or re-emerge for distribution kernels, including kernel-bin)." + die "kernel ${KV_FULL} needs to be rebuilt" + fi + fi + + linux-mod_src_compile + fi + + if use persistenced; then + # 390.xx persistenced does not auto-detect libtirpc + LIBS=$($(tc-getPKG_CONFIG) --libs libtirpc || die) \ + common_cflags=$($(tc-getPKG_CONFIG) --cflags libtirpc || die) \ + emake "${NV_ARGS[@]}" -C nvidia-persistenced + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig + + if use tools; then + # cflags: avoid noisy logs, only use here and set first to let override + CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \ + emake "${NV_ARGS[@]}" -C nvidia-settings + elif use static-libs; then + emake "${NV_ARGS[@]}" -C nvidia-settings/src build-xnvctrl + fi +} + +src_install() { + local libdir=$(get_libdir) libdir32=$(ABI=x86 get_libdir) + + NV_ARGS+=( DESTDIR="${D}" LIBDIR="${ED}"/usr/${libdir} ) + + local -A paths=( + [APPLICATION_PROFILE]=/usr/share/nvidia + [CUDA_ICD]=/etc/OpenCL/vendors + [EGL_EXTERNAL_PLATFORM_JSON]=/usr/share/egl/egl_external_platform.d + [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d + [VULKAN_ICD_JSON]=/usr/share/vulkan/icd.d + [XORG_OUTPUTCLASS_CONFIG]=/etc/bumblebee/xorg.conf.d + + [GLX_MODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules/extensions + [GLX_MODULE_SYMLINK]=/usr/${libdir}/extensions/nvidia + [XMODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules + [XMODULE_SYMLINK]=/usr/${libdir}/xorg/modules + ) + + local skip_files=( + # nvidia_icd(vulkan): skip with -X too as it uses libGLX_nvidia + $(usev !X " + libGLX_nvidia libglx + libnvidia-ifr + nvidia_icd.json") + libGLX_indirect # non-glvnd unused fallback + libnvidia-gtk nvidia-{settings,xconfig} # built from source + libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland + ) + local skip_modules=( + $(usev !X "nvfbc vdpau xdriver") + installer nvpd # handled separately / built from source + ) + local skip_types=( + GLVND_LIB GLVND_SYMLINK EGL_CLIENT.\* GLX_CLIENT.\* # media-libs/libglvnd + OPENCL_WRAPPER.\* # virtual/opencl + DOCUMENTATION DOT_DESKTOP # handled separately + XMODULE_NEWSYM # use xorg's libwfb.so, nvidia also keeps it if it exists + .\*_SRC DKMS_CONF LIBGL_LA OPENGL_HEADER # unused + ) + + local DOCS=( + README.txt NVIDIA_Changelog + nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt + ) + local HTML_DOCS=( html/. ) + einstalldocs + + local DISABLE_AUTOFORMATTING=yes + local DOC_CONTENTS="\ +Trusted users should be in the 'video' group to use NVIDIA devices. +You can add yourself by using: gpasswd -a my-user video\ +$(usev driver " + +Like all out-of-tree kernel modules, it is necessary to rebuild +${PN} after upgrading or rebuilding the Linux kernel +by for example running \`emerge @module-rebuild\`. Alternatively, +if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}), +this can be automated by setting USE=dist-kernel globally. + +Loaded kernel modules also must not mismatch with the installed +${PN} version (excluding -r revision), meaning should +ensure \`eselect kernel list\` points to the kernel that will be +booted before building and preferably reboot after upgrading +${PN} (the ebuild will emit a warning if mismatching). + +See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.")\ +$(use amd64 && usev !abi_x86_32 " + +Note that without USE=abi_x86_32 on ${PN}, 32bit applications +(typically using wine / steam) will not be able to use GPU acceleration.")\ +$(usev X " + +390.xx libglvnd support is partial and requires different Xorg modules +for working OpenGL/GLX. If using the default Xorg configuration these +should be used automatically, otherwise manually add the ModulePath +from: '${EPREFIX}/${paths[XORG_OUTPUTCLASS_CONFIG]#/}/nvidia-drm-outputclass.conf'")\ +$(usev x86 " + +Note that NVIDIA is no longer offering support for the unified memory +module (nvidia-uvm) on x86 (32bit), as such the module is missing. +This means OpenCL/CUDA (and related, like nvenc) cannot be used. +Other functions, like OpenGL, will continue to work.") + +Support from NVIDIA for 390.xx will end in December 2022, how long +Gentoo will be able to reasonably support it beyond that is unknown. +If wish to continue using this hardware, should consider switching +to the Nouveau open source driver. +https://nvidia.custhelp.com/app/answers/detail/a_id/3142/ + +For general information on using ${PN}, please see: +https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers" + readme.gentoo_create_doc + + if use driver; then + linux-mod_src_install + + insinto /etc/modprobe.d + newins "${FILESDIR}"/nvidia-390.conf nvidia.conf + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe install + fowners :video /usr/bin/nvidia-modprobe #505092 + fperms 4710 /usr/bin/nvidia-modprobe + + if use persistenced; then + emake "${NV_ARGS[@]}" -C nvidia-persistenced install + newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced + newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced + systemd_dounit "${T}"/nvidia-persistenced.service + fi + + if use tools; then + emake "${NV_ARGS[@]}" -C nvidia-settings install + + doicon nvidia-settings/doc/nvidia-settings.png + domenu nvidia-settings/doc/nvidia-settings.desktop + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings + fi + + if use static-libs; then + dolib.a nvidia-settings/src/libXNVCtrl/libXNVCtrl.a + + insinto /usr/include/NVCtrl + doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h + fi + + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig install + + # mimic nvidia-installer by reading .manifest to install files + # 0:file 1:perms 2:type 3+:subtype/arguments -:module + local m into + while IFS=' ' read -ra m; do + ! [[ ${#m[@]} -ge 2 && ${m[-1]} =~ MODULE: ]] || + [[ " ${m[0]##*/}" =~ ^(\ ${skip_files[*]/%/.*|\\} )$ ]] || + [[ " ${m[2]}" =~ ^(\ ${skip_types[*]/%/|\\} )$ ]] || + has ${m[-1]#MODULE:} "${skip_modules[@]}" && continue + + case ${m[2]} in + MANPAGE) + gzip -dc ${m[0]} | newman - ${m[0]%.gz}; assert + continue + ;; + GLX_MODULE_SYMLINK|XMODULE_NEWSYM) + # messy symlinks for non-glvnd xorg modules overrides put + # in a different directory to avoid collisions (390-only) + m[4]=../../xorg/modules/${m[3]#/}${m[4]} + m[3]=/ + ;; + TLS_LIB) [[ ${m[4]} == CLASSIC ]] && continue;; # segfaults (bug #785289) + VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/ + VULKAN_ICD_JSON) m[0]=${m[0]%.template};; + esac + + if [[ -v paths[${m[2]}] ]]; then + into=${paths[${m[2]}]} + elif [[ ${m[2]} =~ _BINARY$ ]]; then + into=/opt/bin + elif [[ ${m[3]} == COMPAT32 ]]; then + use abi_x86_32 || continue + into=/usr/${libdir32} + elif [[ ${m[2]} =~ _LIB$|_SYMLINK$ ]]; then + into=/usr/${libdir} + else + die "No known installation path for ${m[0]}" + fi + [[ ${m[3]: -2} == ?/ ]] && into+=/${m[3]%/} + [[ ${m[4]: -2} == ?/ ]] && into+=/${m[4]%/} + + if [[ ${m[2]} =~ _SYMLINK$|_NEWSYM$ ]]; then + [[ ${m[4]: -1} == / ]] && m[4]=${m[5]} + dosym ${m[4]} ${into}/${m[0]} + continue + fi + + printf -v m[1] %o $((m[1] | 0200)) # 444->644 + insopts -m${m[1]} + insinto ${into} + doins ${m[0]} + done < .manifest || die + + # MODULE:installer non-skipped extras + dolib.so libnvidia-cfg.so.${PV} + dosym libnvidia-cfg.so.${PV} /usr/${libdir}/libnvidia-cfg.so.1 + dosym libnvidia-cfg.so.${PV} /usr/${libdir}/libnvidia-cfg.so + + dobin nvidia-bug-report.sh + + # symlink non-versioned so nvidia-settings can use it even if misdetected + dosym nvidia-application-profiles-${PV}-key-documentation \ + ${paths[APPLICATION_PROFILE]}/nvidia-application-profiles-key-documentation +} + +pkg_preinst() { + use driver || return + linux-mod_pkg_preinst + + # set video group id based on live system (bug #491414) + local g=$(egetent group video | cut -d: -f3) + [[ ${g} =~ ^[0-9]+$ ]] || die "Failed to determine video group id (got '${g}')" + sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die +} + +pkg_postinst() { + linux-mod_pkg_postinst + + readme.gentoo_print_elog + + if [[ -r /proc/driver/nvidia/version && + $( + + + + contact@thamognya.com + Thamognya Kodi + Primary maintainer + + + This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. + + + jonaburg/picom + + + Enable config file support + Build documentation and man pages (requires app-text/asciidoc) + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + diff --git a/x11-misc/picom-dccsillag/picom-dccsillag-9999.ebuild b/x11-misc/picom-dccsillag/picom-dccsillag-9999.ebuild new file mode 100644 index 0000000..8e461c0 --- /dev/null +++ b/x11-misc/picom-dccsillag/picom-dccsillag-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 ) +inherit git-r3 meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/dccsillag/picom" +EGIT_REPO_URI="https://github.com/dccsillag/picom.git" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +} diff --git a/x11-misc/picom-pijulius/Manifest b/x11-misc/picom-pijulius/Manifest new file mode 100644 index 0000000..7a1f0fa --- /dev/null +++ b/x11-misc/picom-pijulius/Manifest @@ -0,0 +1,2 @@ +EBUILD picom-pijulius-9999.ebuild 1754 BLAKE2B 0d33dfbfbbfb1b9498166be47db30604a1d1b496e32d51a6129c3df89295c3a7300d2ad24609033bca211c620b783dff855ab837c8b1aa8476b117d3c6fb43d3 SHA512 7d0153746e67bfed41ce9bb3ce1d00642575748dc2b14d52af86b34d7ee4d7de1a8d7c974a231ff4047433e760358f353d343db56e3b2e867ca58622786d21d3 +MISC metadata.xml 1020 BLAKE2B 3fa5da4d582dfe078b906afd50c618d83f0e7b8c3cdcea79988ce9df27db859f5a139777dabd4d5a3ea862d1eca33696f1c0cf964d10c18570fe4b66ea371e1d SHA512 1d405d4af3d5d831bec9d4d33de1e0d169a9fbef35a1d86f08a703ec42943a4e11025e9cfa70d767e9f9d749453f78162974def2256e101fa18867cc2f4758e8 diff --git a/x11-misc/picom-pijulius/metadata.xml b/x11-misc/picom-pijulius/metadata.xml new file mode 100644 index 0000000..a8bc90f --- /dev/null +++ b/x11-misc/picom-pijulius/metadata.xml @@ -0,0 +1,21 @@ + + + + + contact@thamognya.com + Thamognya Kodi + Primary maintainer + + + This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. + + + jonaburg/picom + + + Enable config file support + Build documentation and man pages (requires app-text/asciidoc) + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + diff --git a/x11-misc/picom-pijulius/picom-pijulius-9999.ebuild b/x11-misc/picom-pijulius/picom-pijulius-9999.ebuild new file mode 100644 index 0000000..64cafaf --- /dev/null +++ b/x11-misc/picom-pijulius/picom-pijulius-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 ) +inherit git-r3 meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/pijulius/picom" +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/pijulius/picom.git" +else + COMMIT="e3c19cd7d1108d114552267f302548c113278d45" + VERSION_REV="e3c19cd" + SRC_URI="https://github.com/jonaburg/picom/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64" +fi + +LICENSE="MPL-2.0 MIT" +SLOT="0" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +} diff --git a/x11-misc/picom-sdhand/Manifest b/x11-misc/picom-sdhand/Manifest new file mode 100644 index 0000000..d1d4ea2 --- /dev/null +++ b/x11-misc/picom-sdhand/Manifest @@ -0,0 +1,2 @@ +EBUILD picom-sdhand-9999.ebuild 1498 BLAKE2B 76b413e7f536ca20a4bf95853d922eb96e830e2018c96f6bca4a9a8d5cfc6665402f46d0fa6b936392f4d363406cd5df2b7feb4c0d06666707da4a5d7b4eab4c SHA512 a8818a15f1629139691b13c811bb6fb90d4fff891c5f23d05787bb9b186cd3e20182d1f5930d9c9d66af7e36cbb3b6861a86d0eea3c4285c25f700292ebfd249 +MISC metadata.xml 1020 BLAKE2B 3fa5da4d582dfe078b906afd50c618d83f0e7b8c3cdcea79988ce9df27db859f5a139777dabd4d5a3ea862d1eca33696f1c0cf964d10c18570fe4b66ea371e1d SHA512 1d405d4af3d5d831bec9d4d33de1e0d169a9fbef35a1d86f08a703ec42943a4e11025e9cfa70d767e9f9d749453f78162974def2256e101fa18867cc2f4758e8 diff --git a/x11-misc/picom-sdhand/metadata.xml b/x11-misc/picom-sdhand/metadata.xml new file mode 100644 index 0000000..a8bc90f --- /dev/null +++ b/x11-misc/picom-sdhand/metadata.xml @@ -0,0 +1,21 @@ + + + + + contact@thamognya.com + Thamognya Kodi + Primary maintainer + + + This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. + + + jonaburg/picom + + + Enable config file support + Build documentation and man pages (requires app-text/asciidoc) + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + diff --git a/x11-misc/picom-sdhand/picom-sdhand-9999.ebuild b/x11-misc/picom-sdhand/picom-sdhand-9999.ebuild new file mode 100644 index 0000000..3ecf252 --- /dev/null +++ b/x11-misc/picom-sdhand/picom-sdhand-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 ) +inherit git-r3 meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/dccsillag/picom" +EGIT_REPO_URI="https://github.com/sdhand/picom.git" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +} diff --git a/x11-misc/picom-zaney/Manifest b/x11-misc/picom-zaney/Manifest new file mode 100644 index 0000000..507f5a2 --- /dev/null +++ b/x11-misc/picom-zaney/Manifest @@ -0,0 +1,2 @@ +EBUILD picom-zaney-9999.ebuild 1499 BLAKE2B 266bba1be3129e9c228b49c64deca1b67430a0804870c51d079fdc9153fb8f5daba899ff385bd4e9a8ca1c5233363a67a43509cbca801e8247cbf8c554074c97 SHA512 06d5506c4055567dcf7efdb32897ec471b884b43cbefd802eb69420a395ab1faafe5017091d3a98e40d6102a56bdc551ba49dc235534cc445b8af78951a425e9 +MISC metadata.xml 1020 BLAKE2B 3fa5da4d582dfe078b906afd50c618d83f0e7b8c3cdcea79988ce9df27db859f5a139777dabd4d5a3ea862d1eca33696f1c0cf964d10c18570fe4b66ea371e1d SHA512 1d405d4af3d5d831bec9d4d33de1e0d169a9fbef35a1d86f08a703ec42943a4e11025e9cfa70d767e9f9d749453f78162974def2256e101fa18867cc2f4758e8 diff --git a/x11-misc/picom-zaney/metadata.xml b/x11-misc/picom-zaney/metadata.xml new file mode 100644 index 0000000..a8bc90f --- /dev/null +++ b/x11-misc/picom-zaney/metadata.xml @@ -0,0 +1,21 @@ + + + + + contact@thamognya.com + Thamognya Kodi + Primary maintainer + + + This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. + + + jonaburg/picom + + + Enable config file support + Build documentation and man pages (requires app-text/asciidoc) + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + diff --git a/x11-misc/picom-zaney/picom-zaney-9999.ebuild b/x11-misc/picom-zaney/picom-zaney-9999.ebuild new file mode 100644 index 0000000..7d27f89 --- /dev/null +++ b/x11-misc/picom-zaney/picom-zaney-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 ) +inherit git-r3 meson python-any-r1 virtualx xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/dccsillag/picom" +EGIT_REPO_URI="https://github.com/FT-Labs/picom.git" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +IUSE="+config-file dbus +doc +drm opengl pcre test" + +REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!" +RESTRICT="test" # but tests require dbus_next + +RDEPEND="dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig:= + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" + +DOCS=( README.md picom.sample.conf ) + +python_check_deps() { + has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure +} + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +} diff --git a/x11-misc/xidlehook/Manifest b/x11-misc/xidlehook/Manifest new file mode 100644 index 0000000..1845fff --- /dev/null +++ b/x11-misc/xidlehook/Manifest @@ -0,0 +1,126 @@ +DIST aho-corasick-0.7.15.crate 113071 BLAKE2B a22743be74f873b9545648db6a994250e3e39b92ac99601580e3b02194d205e921bff0b1952a4cca3399a3a7828555a1abfb0c1466f3930811c6b95c1a07ec5e SHA512 e67816efa7305937a7cbbb0079b91b8afa3fdab52cfb8eeddeee156f18bbeed26f941cd4cb18ab2bdc1da5a9ff1dcbe9d2090deec68c00287bd99ace18ee8b24 +DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa +DIST async-channel-1.6.1.crate 12574 BLAKE2B 5c5c8f1cf1458d952637a439a1534e68bcb4a1cf478cec6b6d224387f56c59dc6cffd2e3621dc24e03e20df3fdbda5b8855fccfbbc26a2aa03656aff3a17d02f SHA512 797b1f5b4c07853f78670e62b67fb787c329ffa2c89475a3767a963d524a69dce082cc7f3a2878d9c990f00ae2d9cd7e0d21743fc4186769c238467bdb20c65e +DIST async-executor-1.4.0.crate 15661 BLAKE2B 38a4ddab0856a8e08e631e87eb979ad2f68ba84df9ca43b8caa6ee6d06c62e1999543fda3f660083e163f849e5151e2163380be7cad2e131854e1723f5586fa8 SHA512 f02507a288a484a8f2605d613e425e9a75cda989a4140bf1b5dd2a1b344fbf8723bd526f6fae1eaaf2e879efb9a67d62648b58a65211ebb51e3a4cbb3ac64701 +DIST async-global-executor-2.0.2.crate 11665 BLAKE2B 7cbe0c3b4193061ab5e36a9679d09e9046eb11cf8cfcddebfe6d86f6a9a09b6af9aac0bd3d673db1fef278542be2b417316147bad395ca7cd0ccc6ae43b87408 SHA512 13d2d0b400832b1965cba680505fd65b87a45a4ab69c110a4a67394e726d340331fe292f6b1079de277d447688a1b97c15c095d106e132d02628892b825a3612 +DIST async-io-1.3.1.crate 31300 BLAKE2B 7f64e1d62c46ba38bfcc39922477419ac3419ce6880225f75b6a396b8e2363c00bb94080fa07c310a20d7b78f72d80c5102da8e95bf41791c0797592c4d338a7 SHA512 eb5c82de79d8be448b978832500d07bb3e85c3d322187a4f00551d95034f4c4cf4520c3b37059b5cef098d2b06062a2afcb24e7c4ad7228b3c1f2a3eb28f3d88 +DIST async-lock-2.3.0.crate 15977 BLAKE2B 486d0b7a7c3620b3bc2ec5f6a4589c237c79e1c61908c157ddc8f127b2cf00edfca4efdb543c92680ac243d07b4f3a71f175bbfafa77c39c7bfb003da2deb1cc SHA512 c1faed2bc9a590184cdd0628ba9a1692fd860646c06221c0ffd40bbd3f4a330067b20f4aa90cb9696759e99f8cd5dc66d2f39083293e04894ca017be43325f55 +DIST async-mutex-1.4.0.crate 10223 BLAKE2B ce1a32be713c33680081ef5d14ae159fa3ad6ff569430d8336268898a7adddad86472865afccb4c2b7c37dc50cfd8501239828f263e952b88bad23c0a795af42 SHA512 5957912e28f9e5a09cf85a0f0ee44e9396161469cedf343bb37dbeddc1dd1bfcfdf4f162fae6e2543edce3e148fb34bf80864e2f35f18e6d4f6fc9190b1179bd +DIST async-std-1.9.0.crate 222169 BLAKE2B f8c1360d515d151b5534ac46d38088b77dba7cfbb0228a03973d9907aa8666ba973279261b3cfd88b5503c8a5e014f4d95b5f26d9aab82b381a1c111c62ae9ab SHA512 1f0a156e1f020d07218a151d4860ca0ff5d9b84a6f33afa5da8e4b05f266d458187a703a75d1db19dc4d2a6df70ffd51148017d9f95963efea10675f87ce4b56 +DIST async-task-4.0.3.crate 28770 BLAKE2B 66186991db90632ffb43c1e6a46a3a6c44fbee1e021b9af7999fe6400477e482d00e79bc8e299e4ed0b05d8d70ebe9a2b824c081e90a79544c53cdcc423527ec SHA512 cbd625c6bb72cb9af3b4a7ba168130125ec180952a55828fff2998b40d341ee1b1b5a0eae07944e9dbaa6a4acb19a1f96200721b6abd61594ffd88c6e4e1a904 +DIST atomic-waker-1.0.0.crate 11771 BLAKE2B 4e94bf07e1df3b605bd0f8e8f8750323a5fa7a4d9c703b2183323aea8293021ac3028c6b03482941330c598db78aca0af4df06d346dbf581f617c2c333a997cd SHA512 cbc3e12c10f20e1b6d9a03097159a098c5e3a50a941b742891bd39bf0f7310986bda3e1e4c2ea0dfc82a70d9d57342889c46c11fe0d328372a6b3abecf7fa9a6 +DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 +DIST autocfg-1.0.1.crate 12908 BLAKE2B 40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a SHA512 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b +DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b +DIST blocking-1.0.2.crate 18571 BLAKE2B 30e69dce433ba3c0d153275b5a56407237de93a50d7a3f9b97505b17899400f8cc8c3dede3f63fca26d5d49e88c3c9ee7ba91401061dedc41358efe24a9bf2b9 SHA512 f9048544161cb3098ec7362487c8df4ece972445dfc94196cc2cbe7faa2b6f3f3e5abe56310675c798636148b0b709d864fb94959d36976043886feb149adb66 +DIST bumpalo-3.6.1.crate 133836 BLAKE2B d67f19bd68e87c1c1360c77df2cd9b11e66f4db3ed5468463d266d2ce187006f2b2117f647a9c331838b8ce6c50519db2f9645fbce190ade2c10a0284b29fa06 SHA512 0d923bda2c98bae60d8ca09d63dc12b67c8fb5addd4a675e27b619bb41b36d3dfc0742696fb53e5fa538790814cf2401d15b110216daf49e5a2ce046bd540866 +DIST bytes-0.5.6.crate 46291 BLAKE2B 6d33ab47d04f2e469db2add31db118f95cad53002be7969738923d62a4fe3605ccbe9fbcae6d8741310c543625e80d9adac7d9e9fed01b71cb3943ddd015d920 SHA512 a1caa1f58754f4d2e54b8df8d0ca0083ee5282f5e4d3bb5b1735022933dd2e66fb3f39c7a82216bf7a7e29591695c2e10c8b7144c83ac598e34193f2425a32cc +DIST cache-padded-1.1.1.crate 8798 BLAKE2B 3f2b16f0fefcc5acf692684329e38ff59492d4c299413d25e1634ab27a59512b7453cad28b26f34f2b66db3d3c0b4b26f41df042305b7db2b8ca79d36704e8a4 SHA512 72c36ef2f66a097cf2fcbc06b82fa3d5451ecf2de1ee1513fbeb34c6752436109f9e453bec3aab7e1f89723c24f7c230cf4bff6caa09855402c8f92c1ccf49b5 +DIST cc-1.0.67.crate 53486 BLAKE2B 42fd02a5886df50857075c909819c8afcf091cee6b7bc517848786f287f4559e70a07f0a0f42a742baa2665465dfdb2139ecac7e93f1a41b16eab30556eb0259 SHA512 f1ad4abdaad2667b190d1f8df8515f603107be1f69bdbdc02b5159764a6ed18b3f672d6b06af50c7f2fd3e6e3dad5df0fcd0dda762d909ba0922c769f1efbe05 +DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25 SHA512 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf +DIST concurrent-queue-1.2.2.crate 15859 BLAKE2B 97eb49d7f6270999f24d37e7a3967c0abcbf584637388c4507f89fd5284120759c9845219c463cf066f6568191b874fefddd7edee9292ed02183123161074514 SHA512 84e348dc3d40c73c11c54ecd0f1e6cf7fd6c7033f4723a428ed1c09bc9548cf317a0d8182144b689cb9781190b9c8ce4374717012eccee54a11ed0869dee10fc +DIST crossbeam-utils-0.8.3.crate 37268 BLAKE2B e9a77f143afab79fc1984902ea756a15e43bbd6c8251b5a2f9fd574522539814098b17da03ac5222177332042303f129e0c2729db6bc80e8f76bf4b097d973d4 SHA512 2e89ceea586873e957a31b510f8e8cb0c6675def32ea6b9a9483166b47f69c1ad448a79d897796883b696bf77cb0fcb1d0ac28ee779146f6500ca9a54aa7b4fb +DIST ctor-0.1.19.crate 9307 BLAKE2B e1f4a431956afab00475f42c59a05a0004a87440ff6f97713c8ae3af99b621124f47447d0c9504eb7f69a60ea056b5ee449ec331609a6fa6e278b9eab799b953 SHA512 3e0cae34b23bea47935ce5a2df3004c0e77eb08e94978cf23586e6cb839168c67a4ba1d732bf0ecab8264dad60829886ae0946fd3b8355cf03a4b7462f7dc76d +DIST env_logger-0.7.1.crate 32281 BLAKE2B 6f1894c64f301ca4b687270c911dbe230f674662aa0561b97c4d2537886e404664b5773d4e223e2018047c222a951232c3cb52ec5bddbfb6665e34c3e7ea52f5 SHA512 604060d2ee83ab337a2d20d6784d1b7541534d2fd9e1662fc5c709fa681672a9db5e34d00face864b56ae321962e644ebe29fbb6d68a0d556419cf5d71c6149f +DIST event-listener-2.5.1.crate 16237 BLAKE2B e1b2c4415cc155aec0ee2187250820d98640d4b4966b8703366bf98d3652d03faf627f0d20adf2feed946d68ef273cc12a87a7ea0fdb9bd8075123c52896b343 SHA512 c7762f9b7814d6172940310cc2a52567741affa34b894877ac0577c902057f26f228c185a66a31bd6fc0b2f0d50b2c8cddaa2748c8983ebfb59aaf23324811a2 +DIST fastrand-1.4.0.crate 11181 BLAKE2B b16fa04e0fbace49a1b139b15a42708a2d305241d83a84fa99a97e4259f35f6e63caf10fba4cb3c9b491a0e7b71de825399d2d1530ebb34c5605ff29a5e3e53c SHA512 e98834a5db29408a44c63144d9be6d1fc5509331dc9917a4a2858a90b5a9038e979803373c3f9b3460c3e5fd41c592087533e25f016004fd74cf9605413a6974 +DIST fnv-1.0.7.crate 11266 BLAKE2B 81da85889c91b6567e0f555e37dd915f1bd919719d1ca10c31a6861d7aec29a49ae9c1e8bc500791bf9d6b8dbb318c096d04872c5872a4b1f7d45fbd8e12842d SHA512 2195a4b34a78e2dd9838caf0ee556bf87cbb4a8ef5505aac663b614eb59dcfc0c40f432463ede41ecca57bfe7711f72673d39a85fe03d426f1324097d5628334 +DIST fuchsia-zircon-0.3.3.crate 22565 BLAKE2B a4dac3457036efab8f79fe5d5b4545e4091e994d3dc63188f71fafbcc28bf98ef359dcd20add30ac1d990ab2e66159723302fb66697349c65fab0aa58d54535e SHA512 a43ee59452d49742111e506d6bdd8b8399a3a646e08648e25292864d7f71460c1dd1f2d77b8efa8ed09ac21fa4ff0442a2709f16d8833a3849bde0c388d83a93 +DIST fuchsia-zircon-sys-0.3.3.crate 7191 BLAKE2B 530bb5d475ac828843af248c6bbd24ca3b5dd8118c8884ccc6d7261818cff1c79038077114ffa04bc73a078177527824c4d9d20a9b022e4057afee3330258cff SHA512 978b7e8795a5877a68409ed3a1d7b4246263f8e7e7ce9ba8a022643be98f58f329cc1c234717df80a509db849da4394f39e90a8e2a6f56f8fa8dd3c07e7d4386 +DIST futures-0.3.13.crate 46969 BLAKE2B a7536b7b472f20c0d8a96de4fe7e0295fc04db5050d3c789ed1bbb8c4acf3ab0ba461fc958141a23b08116ed9180c82b99c297be7e106642fc0a62e7f8933c89 SHA512 51a576148bf707e8b0b0848ff0999ca52c694cff80752b7fbd1b685bec725de17c406f026bb804acca065c21d5707d0968650aecce92dbc6daac53fd798403d4 +DIST futures-channel-0.3.13.crate 31089 BLAKE2B 051e50bffb13b5bf13b7d972aded2530db0dfe0769b1d59719d3d02ff2e0fecd4cf4d76db5ddf67eb0f71c43c64e9abb4a82e0556e9b88d463e8f5c157fbdede SHA512 e2ba7d3ad3963d2d6aa86f1a74e2fd6f12e339dd42c56df187b2c8dadaf85c2282056925b5fbfbd08429979f3bd017efd9f71d6962a3577bf8d8633b089cf855 +DIST futures-core-0.3.13.crate 13835 BLAKE2B aabbbd83d26ebe974d31d4cf0a8db3faee7a902b05cbad2cf85907528d70d5d9a0c57ba006b243357dd45a0c7b053ca7608224550da3dc5cb9b86cca1efac13c SHA512 f5a424fbf6984633740a05fe6f9ea0741d7433e9a34f2e360377391d1921f8a4ade756b543bcf165f8cc45e286b59c0d2e8242f86809926898fe4390895ed37f +DIST futures-executor-0.3.13.crate 17112 BLAKE2B a40884bfda2a6e168f447dfc25b69a0d7329d2bf07aac1b66498e5812c8038c994b4555d50f52f3a977993c3d43893d042b5baee74c89b3ce98decdd3ed2685c SHA512 4e8a31ad24c791a627ba9d328ff002ac520c88f28a266145166def5dbb6ee852b4d65e9394d51ee8b0409f9e1b616a15e320a43c05223357004c82e092676cf5 +DIST futures-io-0.3.13.crate 9059 BLAKE2B f2e6586b50827b12e27a181d6e8acd501dfa587facc37e31dabd015fb70fbdac0a959ef2802e15a5a223179daaec050b45c6c87408c93b5e2f6aa956d27f4c06 SHA512 56353b9f5a6ee5d3f6a5edc0f031248b41280d60ca9108d196e106aade750c8acaf864cce6b4490faada917f2fc6eea919a49ad68a6bef039a88ef88a381a4b8 +DIST futures-lite-1.11.3.crate 36241 BLAKE2B 5f8d3eb8de85807b5882ac011ea3d07cc719bc5705503aff4d5147362a3b5526d53e29c118ae74300aece105841630933814573d72c9ed721e7e7f1a238e80be SHA512 ea314fe3b3d1022df46fe83e2ea1101774d0f37dabb1f9f24403dbc0bfe1aa7ca59a0cb70463a4fd6eb5eaadc74f70a843d8c128bcc13a909d6f85617fad6522 +DIST futures-macro-0.3.13.crate 9683 BLAKE2B e96b0c047dce0a7123c19d85fbb6e5a073ef8c547ecce48aea5ece04b96d597ea84bf5109c173f3d28802187e3124441b2ec2264c5103706f51a6d634cfc8906 SHA512 11b39bc563bac0cb993a35909270b1c3d62daba1ee5876d2cf8259d1dbc7f26147c399a0dabaad50c7f0a6d0e4ca50d456684ade64cedd009c093c9cf9fe2b38 +DIST futures-sink-0.3.13.crate 7660 BLAKE2B 59877d01be11bcc51b2df4560643287edafa8b319468d42fa1968e8ad42e65017a4884443058e3d6a8ada7e4e7f205f0a522d27ccc0fc36779d17dacf499bc89 SHA512 befc8b6979dc36419fb1c41bde0d8e7cdc66100b14cce54b1ca3d2a676a595d2c2b856448110f1b3e64b2a043b17a5c2304cedc650b41d1d807b9cbaa2380cea +DIST futures-task-0.3.13.crate 11118 BLAKE2B 84986a8a9c4ffae6b65821d35e63c1574e87410710e8255766c46a6f8f58b5c3d7853d6eb6103f5932b9108c6d4e00c1429a0e469b26371c7e524ff7d14d3814 SHA512 2989781a67a5fad9b7e9320155d01829fe5f2b04f2a2958ba20eb2ba51734b5d1ead3d3abd7ed5051478aefd3938c682e30d87a16a108546a812950ae50363bb +DIST futures-util-0.3.13.crate 138948 BLAKE2B bc19faa2167da4cc2612cece11a99352111d8b74eba9c3701b5e5c6a2c2c9e6f61a3707a58132836d7f55cc7e98ae8ecca84220c2d7421d3254772fe6438e98e SHA512 75db6170eef5ed4f29a0512053ac01baa6aa30dd9f5b6152cd27150cf47eb83f7fa3e4a737b91864460e3d90b1b2ab36895dcb1802b2806252483f4f58a8cfca +DIST gloo-timers-0.2.1.crate 5832 BLAKE2B 961384f97970b0ad543d9f38f48735909c4fab6b89a7490eeaf365e9fa94263d45e359444b5149804a515162b507184c59f91d4341643532e9f58b387036145e SHA512 c05881434f81aca49e7bccfcf0d1122f0320a59332d610c6891b452a521b7a66f3a98e59605a62e9145535e78df37e268b581a54b223a7ed3d3f79d6df82309d +DIST heck-0.3.2.crate 54718 BLAKE2B 6514f604361932e0a8e1a86786d3ec7218d95f8b3b3bcfc9e21c5fddc58ebe28bc0781e2ad24de4dd4296da85e97c742d8473370c99a593e7e5fc7df00fc9b4c SHA512 cbc72c3473ab14fe445491b1d9586d50de9a462af344638b871f7309fa805069a1405bcb1e0859b561f48583fc71045f38d03b92332d35131c67e140ccd241ad +DIST hermit-abi-0.1.18.crate 9936 BLAKE2B a5a1d1c9bdf83fdca8edc392f8fa7d9b9b248ac8d716e009300220befa5d8d80601643e768037be89bbbe6e21adbe6349c94c595cee3837c4b92b5f98ba838ad SHA512 54f060c6c1c80d41f40cec7102345147efb535aff9fa5cc0ed4ccd7f010bfdb6daaf40626fd5069af60ceb42058452803b59d4bbcfbed4c5546c79b57ae0f914 +DIST humantime-1.3.0.crate 17020 BLAKE2B 37efaacedac293197ff7acc8b0446a73243a2d90ed8dbdcecd9cb0af6e901f135e1d92aa1a642460f531a6811a5f08075f8aabaa9941e96eddef301e205fdbe1 SHA512 2589bfdac96108951882b7ee497528b9084ddd344a67914810ea9961a1e319167d5cab959c66cbb26e398e75ca50d488a251694fff35f3c2f69a88b6f22844da +DIST instant-0.1.9.crate 5213 BLAKE2B fe208faa09852079c603930e88b7d0392a89a55d3b934ad45ffb0c9e44df5ef7e8189ba2fa12452f1c8a6416d6f7c0655365ba959bedf2b78228613944be8278 SHA512 3915f67c3629ec93296d56c4cda0cf97b29b1a70930a9d546abb9518139d4c2f35062563a5094e84841ddb1f00b0f3df9dc00801d96c01994765221edf03ef7c +DIST iovec-0.1.4.crate 8720 BLAKE2B aa1b4cd98ebe47901c0959cf1d8eb2586a803d0453e2a8bdd5c63442b32886dbcb37650aa218c748fd45c9fe3a7fdf20569eae5b19716487b139caae1526da4c SHA512 e23fcaac239807daea20ddcf2cdd4fb858ba1aa970ce6248f70f0fba5bff7ebdb27247c0997ac0ff2791178f86ff9657e473d8f64b86c644763e5b3474edd158 +DIST itoa-0.4.7.crate 12099 BLAKE2B 0e4ffbaad504565056f74c3ef560a87eff321a0da6d7a2c8fa35813c207713c22d77080c3b830fefbb21370dd29cfbc6a2807044485b38ac1e0c9c1de3ccebc5 SHA512 c61eb50aa00591af28698b45c528c36bd92088f7cd2f453cf686a1824f4656292638bebc468cf67f903473a5045f22777af623cc0515ef3bf25146b89a7c454f +DIST js-sys-0.3.48.crate 67010 BLAKE2B 8429e077997c953cd0fab9f40e3f02feb59b19e46e909bd25640c8e35c07f5c2bfcdff6387dd18ba797b94d691e94ff79942caba7471842a9d948d30600ca5aa SHA512 4ace82697ff6f4239c96c532a1f86a5ed74783fb19579eb266940c101c74ce434e7e1127a3d8d3a045bd37036998ccb5f4f01f201431f84f5c02d05104076f69 +DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b +DIST kv-log-macro-1.0.7.crate 16842 BLAKE2B ad3c028863d78730e4b2bb2e8cb980581b13d741b5dd2b76435ae91f5a7498a1e9f99178a0c9370b693a3af6a95c0682ff0d63e81a2515a267c6564d50ec3683 SHA512 aa7d79ae599930dcbca06f77590d9623dce461b118435dae1a4128fa8f38149a820109fe4bd1f19944b67285cf1b41bbf78e94b47e561dff1af683953c55a697 +DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 +DIST libc-0.2.87.crate 513713 BLAKE2B 74cea8602341052de9da7f3549586f1c449181d30a8f3b475c3522263d69ff1a00a85e2d53c82faec00b69c1c99b78a6a59e1c0ae96d776ca2a347bbb5a0c0dd SHA512 ef47c623637c0eec351bbf2725d016dd9f1e0acd4c86bf9facabe957460aff278e6c915084bda9eaea4bd1f3fbd5648cef87eb8a8958a50d1c1d6164ef90df09 +DIST libpulse-binding-2.23.0.crate 128294 BLAKE2B 582acd3dee4e3fed82fb9937ea6bec3893485ed16c55b3804eb70a67b02aad648d94da6abd47dd208bf75da2a1aef51e82a3c51b80e641ee413fe46e18932f60 SHA512 9901d441f67a4087c83789c7ff90ebebd38a53674d5aa106e1e480e02a9a61e594bb1e8087c777f875d05080fedba15b672ef2963f3dfdb4a8d1f680bcd926ed +DIST libpulse-sys-1.18.0.crate 34587 BLAKE2B 220ec3d5b5acb64dbcc3fb42437d4d30cacdc03a238141dab761ea0578534274e6c09d01662e4302e68b284e761fc1d191611dd115223f16a03fd5d0e2ac1487 SHA512 8e96333912fa74524872236647bb835679939e4e6e19b7802afbc2cec49ece3139979bfa6bde81ef9e3f93f73a009b6cc57e1e45e25ddd0300f637fbf46eaa4b +DIST log-0.4.14.crate 34582 BLAKE2B ddfba35947ae1f5905cd9ecb9eb862a78af6f00ee8b8fe6258b369b140928fe677a02b1b3ca5bdec36ff2b16abd85a9f49688fd5f3d1ba2b2905e7f96b8a84c1 SHA512 796100167663d85a7bc4244cd305e9b3f0a1b1520764b63464698eb136318d0928c40c16f5d19d9f602a5bf769851275bbd48d66b088b0c37be7a6fb62def7cc +DIST memchr-2.3.4.crate 23077 BLAKE2B 5ddcc5fba109030040dd0c394344860ac0cb96679948b364c3333eddd29992c335c2a46a6f496c2fe085981ecb6e5386f7d44c1d489cabba180c037f1a872013 SHA512 24cde03e6f7cbee1c1d12dcc691190c7e3dc72f468cf41e2397560961d62685976fe47de51119c04c473cccf75b38311bd887fd9db93e92563aebac8f9184df6 +DIST mio-0.6.23.crate 103554 BLAKE2B 1286ea6deb7579964a5c15926509d438c5454d4f56e936753c76927826fbc5444dbe33b7465a15d0ae6c122bcc98899959391a5418bff31c176d51d7b2f33077 SHA512 ea95d15072fe36524a85b50108415a809d7ea3744deee45e4b6a1b763a11c88cda6dbabe4f8d01945a5edeb52296a74fcf457c85be3032c1311a35025860d05c +DIST mio-uds-0.6.8.crate 11496 BLAKE2B e52d131f292c7c09fa116ec5c760d50e8389c27fd7b79a4418f0222ae124fba0e5943b5494866e9db75407ab9f6b1a9c7aa7fdf2c4d601e8c785dacd8166f6da SHA512 b6c752ae9f25c37fc7e23e06a8843089c5291d60e53a6e9093eed1d8baf64c9e0ff14bb2ea1c0c8815b00026b28fefab2aa34104bdbce7e99549786d0f507a73 +DIST miow-0.2.2.crate 22044 BLAKE2B bec3bbd899a080e5c97a8c1dd9dead16a57aa44cf2bcd97be03155c28345c45fb731650eabffd2fe18a633ff947e63561327cfc86560ee86c3fa71ad4d2a3b62 SHA512 e42012f67e1c5a475d1c9790bc731add53f7a3838d36f8a701f69974c3ff33d31364006220e69c8f37bae2eb31055ee704c42b64241d13be528c768ca5c3d6ba +DIST nb-connect-1.0.3.crate 7981 BLAKE2B 856ac5731fdb7775fb429677e2da5797f075a4d792d0027fe90d258e4f5c3518776450682e0be9924e20de88f6ef62eb84ac4d593fa7f653fd94a5d51b7c523c SHA512 4e1fc94e962f5c9ae137a4153f5b556ca270668991d7e1ce49d61f8cfd5a154e84081f6f0d2abe38686aee6a77675c51571535199940f64ba9aec3a86b9d008e +DIST net2-0.2.37.crate 21311 BLAKE2B 21cef5df92d5d51c8e23c57ad2225e3311c13083fb86830bcb313965eb5ad0170519bed9a47cefb2305d3614ce55e11896a06437cf9ca50c79b7843ea633e99f SHA512 9ae70c655468c3e35ce05988626e0398a3cdf7b7343c08aaecf1267bb958329e608b814cc7be252fe085de3cf6913a1c72aad206c677459469ba4886c20206ec +DIST nix-0.15.0.crate 188640 BLAKE2B e217fc7329cbf49e53f1770da4e4eb15fa84718c265e323cd43b5744aaec2686d3ab93fc8cd52a585341588ee1c76f3d3bf7e25b0a8cb0e876111d12fee3a3c8 SHA512 1b65fcf1701939b85a95dec1483c3ee3e86bcd3ee65b175cd9ba0fc951220594ed9368dca082ef0da566463143d7234a275c15d6b66a724beab128b287c26b3b +DIST num-derive-0.3.3.crate 14545 BLAKE2B 3af73d35ced61f8e4fa2f2bef695f72a3cf1f1a67c77982d3518d9383331f34c1222dd7d72802cec22baa108ae08a87805a11942132c565ab8439c4983e99871 SHA512 e0f4d06fff26c2d2b140ff5ec1ba655a46c8d8fda484f03a8ad4910e8cf1392f0130d5c0bfbbe3bfb95da1f93e964f73364de6551fddd81e6fc27bfa35c15053 +DIST num-traits-0.2.14.crate 45476 BLAKE2B ae310d9d5640acc3e45e1e5d1d2f519539795922c0058ee940c94c94b6654b39358b7c18dd23a276f2c1b16a30dd4de4cbc8575bcda6a5c11e70665d670e6439 SHA512 c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e +DIST num_cpus-1.13.0.crate 14704 BLAKE2B e7a26e597ad5e45309393a9500b031ba64a77831320cbb96d7861139a2f7a453b7ba06a3255439b43ac1e2e36269b0a350d514020d3cd82c2513b57934b3ebbc SHA512 e75ec298fa682be84bf4efb6cf40126da9233ef25f07e887c2fa7421ee78790204564e6406c8219466651f47421e27f69eca690bb9cdfc982b644d78cc10de3f +DIST once_cell-1.7.2.crate 28250 BLAKE2B a30a55f6d6e820c691928173a9ce70a60486b28e3e79e8a01a08d87ca0bfb1725b967cc9e070cf53e71b924f73fc2eec2cf67190fc743361b60d82290762725d SHA512 30cf51249bb73e9881cfbc6a54ead7a3db709d560da8d420fd85cf248e66c727b92e8351b7c0c682913cff12b3f984684a272a69c965c56f8343948eb5a194d6 +DIST parking-2.0.0.crate 9714 BLAKE2B e3ecd48e90289fe173b1419ad3f68350dd05359461c5842e52304e20fef9b5e089803e0c0a8e85b249a546f61cf8624367e6ec164ef7638850b451d325851075 SHA512 21c5723dc0281ade1c2cd6a1c2215ba70eb47a721a4a594ef1e54061bc79579ffe9c31f06e534fd847f936ed265cd65a59dfa9e38880f8bd42c6e8ac70a13f93 +DIST pin-project-lite-0.1.12.crate 16854 BLAKE2B 48ecd648fd7a7694a48144e9e3f05a3e2878e52a5e5ecf2c6cc2cdc556957282bbaa3bb04f6418cbcfb254cceab5a0bca92173cf293db5cfc9c9589ec1597543 SHA512 4285eb45548b1827b54890162c68698e50d3747eba7b4c1c75a8104124846bc745a40d9acce18115bd06993d7d8f11232168e5e6f4159d3d273ff800706e5bc4 +DIST pin-project-lite-0.2.5.crate 25532 BLAKE2B 9a70d924bed6151aa5e258e3670e94c355e0cd19d103b732c89c2241cc5cebd0136400505134fa6f6199aa4a9e716b0e9ef11491f74b5c0898b22a21839d89ea SHA512 c745fb3f0073ffde1176b57f1a7ddd0c420ba0b18a198898e58f3acbf5563050f6413c720ef37d25482b69d2c46fc86a7d84bfd56d16420dc14d0a23ff27a0c0 +DIST pin-utils-0.1.0.crate 7580 BLAKE2B 457e1287202f16d1873b24bf4f1de1828300128c4ba3131758e64f9784d36d47365f22d85493c3a85d854f0d8dbb4c6cef3a0f5b064014dc03943e58b7ba9178 SHA512 828422b8440cc82ac6b0743e0112fa7540d437aed457564999092b1462cd7672cd6b1f0201b67075431aeedd3d9c5127468a3dd028744109944f7f023c82fd70 +DIST pkg-config-0.3.19.crate 15451 BLAKE2B dc23b5ef12719b4b3d2fc5c93c087399ba954a5e127be91b26619466d5d7422e71684d02905304dca65273d69b66338d94c0642e3810a14df845ef507ddc0bfb SHA512 42bc13c4e39c8f71690db527d815884acdfd2ccf5fbfea700c6ed60257e852cdcb1c443e7774409e51da53612b0ff0aa165554b99fd0cba973f94a8df52982d9 +DIST polling-2.0.2.crate 17809 BLAKE2B f5de469abcf43275c2cda5fcbec64c63071edad973cb67a662abe0a675cd48ee38e88f14845f8e07ccc198773587e5b92eb3bc78e6900293aa6377dd84e1f537 SHA512 a5c61bebe926181731681322a37dbd2ca5b03a56a7e72690cc577cd1eb0b1e26513e89ff4c57a2053764f0897f0ab2a4125af37de0acb600a7d50570f9dad6c9 +DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db +DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495 +DIST proc-macro-hack-0.5.19.crate 15556 BLAKE2B 98c22fc3e5f5fa8b6f44d15de42b6ffcc82ba3f98a07ffa48bcbc5d3abcfca6af136c5d0d8c7f1ca34261ed8f8c9c17a394231f97a4c342c81aa7f8b9e74b203 SHA512 9e4cbec41056438287f5b23086264c86e2f0cdc193064006556736377b2954229de13a585149b9995002c9aee3334ee2a80ae4afdcc96cabe7ed2bf718476952 +DIST proc-macro-nested-0.1.7.crate 6495 BLAKE2B c27ad92b57837ab1ce220958846253ed29de12ee1ed849948e5202913371d877bb648e6880ac3e6619b8d48342e1fe105df56a0abda1b13bd62262bea4c85fff SHA512 dc5d898c6d5588d279aa0852193105bbb3824798a05875e2181c66da8c3849fcb32189d9b213cad09054242aa4ae9cb602f9c2d1b5e7302963bac244bbaa27c2 +DIST proc-macro2-1.0.24.crate 37716 BLAKE2B e2bdbc7cc9ea254529e322f6a2eb44002b4994fc4a00df32012f66740e8e73ae70820dd40b7fcfcf024f3c7784ab9add5cc1db37f4c72d5af5c8f00164ebc145 SHA512 c3d23a5136c55d734084ce1d76d54f237fc1003074af102c2ad96d851ac496ffc7513ddc505a68af4051c9d6de09725a0ecb6e76ebcdd77a1c056f8f9242c9be +DIST quick-error-1.2.3.crate 15066 BLAKE2B 1c61525d383f3588c1c5017f016f60b484bbf2035e7f63c553bd9a49b638ab0c6106ac3676a41072b24da4e13dde78706e0f99fd1ec9ee329d5be81d45a85866 SHA512 f8aaf9024d20ccd42b706c756eed8320aee339f8776392b47a41cc82ca06b03df1a5b1f00854cea96689c5af261b4d8c5d2b1a242d10f2755e7e33dc41be35b9 +DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8 +DIST regex-1.4.3.crate 237273 BLAKE2B e13e1b5106123a728b6b02a81c3223d17620fc0c1e9e72f3472a0c7844aedf0f178be3d3f70bb15c054554c925e270bdf112e41f855f1bdf9183f42913ae21b2 SHA512 bc0dbde01a79e7863997194b894c0e76e01ed209d56225bd611dcbccbbe997abd48bdc4640cbf349c5f16d96ec613f5b31740e81fc7da82082a4ed48fa06deac +DIST regex-syntax-0.6.22.crate 293187 BLAKE2B 6dfa3502133e4f654ea3533c6e9eda7674b0628f8b0bc44f8b3cccd740a5cfa8016acb5f4f3be4a54d18a46bb1f950ab75a39ace69b5606667a371f714206b8b SHA512 f83a72e46da02800ee545d6ea3c5eaab48706a9c63a03bb73363f597173ed205b3e7c86bd80d909478787e68f49fe07aa52c29a83c381e3c4863e5d856bbfb6e +DIST ryu-1.0.5.crate 49570 BLAKE2B 3bfba4a5f290a429de7ac3b86823b2a973f40eb6f48c15329173d95964d31ada36f2618be4b36774a03f97f2ce61364900c6a3ad5465a294e2df311a1f4104ed SHA512 d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c +DIST serde-1.0.123.crate 74379 BLAKE2B c6d1a0d833b50d1ec65f7c2439388eac08db6231e5f8d719582d545948b5f36f2a429338e12e33e4bdbaf439cdf25840e37f37470d993f6e80d8e5746e5c7564 SHA512 73d584193f1885561063d15c0124f0611f59ba60b14eb5df3fdfe9545e9e31a1a2afdb22b2a7dd4176ea0856a24352ca6d822e0bc779f0fbcfc41e545e27e823 +DIST serde_derive-1.0.123.crate 54122 BLAKE2B 9663f89cc23966d338ed1f952629276b4dd6a4c7edb8a3d9cc888e135752a7d5b748d55428566ce5ef98c11593dd45116f7aae0278bebd41b5e818928a414579 SHA512 ec80de18fcee0c50a4297272fddb54e111b580012ec79b7827ad8a4b9c02a621b07aa02070480cf89d6eafc1ed7a577d763c2657938f14c5b546d98e0df83227 +DIST serde_json-1.0.64.crate 115138 BLAKE2B c61a404db9800cfb4e2ac29d4e287a7c8f388b62407d5e25e07514e2840fdf9c127476db35cb556b56143755c64c26be1c6b1facc7529067b06946ac8f54a573 SHA512 55a45dd4c60fd93d2d9331f6a8eac39fdfece9ddc1aae45ea27e3dfa81352f08c71bf03906ba99d0feb5df8d847b68547ecaa8eb5a2c76011ebbe8d4cd5bfc2d +DIST signal-hook-registry-1.3.0.crate 17786 BLAKE2B fbd4284bc1020145b92557a99628b985860bd5020cc870ceb6067933c8e58be11d7bdb3c1f715231ca2f0ec2930487ceb88a82d9b9d1c0a31bfcf4a581a002f4 SHA512 2576d474c490deb6cbd759985f55340bb4e4ae0abac3ee02055bc30fa4008fc96ebf4d96f0a85c634b4f04d57b00243625194b333cf330f59fc82286bbeb30a9 +DIST slab-0.4.2.crate 10136 BLAKE2B e30cad459bbbb69c4b56a573c47f4188714e0da298d87015c35a86c9315dc2d4308f27d7758846069b0cf94c93f10c44b0f8895427cdf1c93ae20adbb21b5977 SHA512 f9fd70d0cc5180393cebbe87fe984de0c103db1c2c2648fb7a0ee22cdabf37a7338fd511538f00e9a5564365cce2879afe19bf77c435870197bd6cafef5d6661 +DIST socket2-0.3.19.crate 33782 BLAKE2B 1ab3c61a439c1594e19c4a14958d0a85b54666532d16eaa9a1e40e586b7707b1c7b5a751fb373f16bcc26510abc25e0321808e721c0b33b7b04416b9f6cbc5bb SHA512 113d902ca0b966bc0bcad71e3b7d715c79cd075d9dd7fc4140a042bac91b3ce692fb0f1fd0216fa3f6286920b4a92e1a4c342d7ae8d1d98ded36e7480ddafec9 +DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34 +DIST structopt-0.3.21.crate 50761 BLAKE2B e48bbec27a34ef80f28e21d42b5acc8b2cf012e1944a6b7f6395f4bd420281e18767dacabed0ca37d94ad26e73ed201c9df06d5cd781a4c107b5741eb0880e53 SHA512 df8592f10456a5b1a7bc7b290357c069ce4eba14d2558ecd6face231e49c748a8892c31ffad000b426e8180d3e4dd607329db91f4b5617e971b2edda5bab42f1 +DIST structopt-derive-0.4.14.crate 20116 BLAKE2B cfeb48f5e4906ca24b61afc085a5dc41edc6f69c6060a1cd7e01b844b076928111e4be2f24b3cb28e7704c09bdbbb3c3a1b2f9012ae9e23cc5f795af91fb1245 SHA512 bc20dd9d10c6dc1f5975b074a63eb84b49385ad272b62d8526962e88b28cada3998c3944dedaf8560d6577871747b875cd399dfe06851472c0a1c81fced429a0 +DIST syn-1.0.60.crate 231087 BLAKE2B c37be0cac1d9a5bdb7622fcf716cf2d7f3bbc1594f978ed98c84dcefce618c87bc8709ee491c0b9d01feba37d6db641eadf60d814df22cf80adc33279ce1ec94 SHA512 8474c40ce4257e3ee7eacd6f993745237181f2463067a9227bb62851d4a542657cd3811fd925c4e06c25909a5f69d9d8865a34fa479cbf3d5efabb1818e64d24 +DIST termcolor-1.1.2.crate 17287 BLAKE2B 5ff748064c9fb6663befce2fd299edf6a6deb06ea72d21a62d6e77642934cca0933e10340fa84f636631cc08c76ba83ef2284b2212759129d54248e5fccb4c49 SHA512 f37b034345382cd621b1344a3fb301ca3d4d9db8b5858ac1ea82372c983229fce3c0ea8213d6b7e91291b6034affe11e2c3e593dbd95256294ce5c584b33e14c +DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a +DIST thread_local-1.1.3.crate 13111 BLAKE2B 1ac2d9f6b9d5f685857cec0377f41faa2941614c9a0642b8c8d209590ce72c0dcf16f89b5da58d016b26a41e6103407811658a81217716cde0b0c69bc3939877 SHA512 89fe00c005b2bcbb77f2286475dc04f1400b3cd3bc165162f70c1a91f7fe98132f5d0a65e5f1bb36fd8c33617e6d548f3a68df7a2302ea3a177717c71fc112b6 +DIST tokio-0.2.25.crate 413390 BLAKE2B 3fc36579030bac46a733bbb061088eee56e9a172241f74d744de972065507db14202a0533a5d231bbba495404c16b5d6bec0d11ebb11e258ff0273b47b2f7d90 SHA512 19b8d46a81230be0a06d6354c2775b20fe0c108b4c504f5fe798952bf84f8ecfd9fd149ba899ee67a1158e1b0ea9eab49f6249a655eb0ab1cf418c0097b30705 +DIST tokio-macros-0.2.6.crate 6460 BLAKE2B 239493963b5fb28eb9ea7dd568576db4d38c7e6b8ead4d072862891ca5aa096a8ae61481f3cc256d1bba2a2ae9a62660a8a0ac3a1b0408cf33f4b204a252d095 SHA512 1e3f7f42dcece16d8785e500816768ecdef944b0297bea9ca215c15aadf1dc89030061cd4ac01fc9d3c32ee83c6471dccbf7e99ff8f2385853e831e08954a51f +DIST unicode-segmentation-1.7.1.crate 93066 BLAKE2B 80058a79c64972dfff897b08a24e9f18ae0fa312a50f86fc321961eeab83c5546bdbc30534315870d891e648bde1d7d77f459ec9744455bdebb94bf6e326f2ef SHA512 183ca68d456a8d53e6f255129e8fd07b87d8da23b8f18187231d6fa70dac80e4069eb6c501d45155d9f0050b6bd713964e55f0e4b25a40546c4d245a17fc8dc6 +DIST unicode-width-0.1.8.crate 16732 BLAKE2B 5aa7b87eef1322e4151a3fcf981ade311b8fa030527d7561815950e58d3f15156163dfe34da6a708c37dccc3f7652bf7fc2cd899fe8bb0118b67c4113ff3a2d2 SHA512 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0 +DIST unicode-xid-0.2.1.crate 14392 BLAKE2B 7f8f91b9c4df55f2137b754208d4f2997a290acfc9393ee2dcda8195eda25cb342e56ad123f56bb298d93db5248a749c18a982423c9a0e85ce93f7a1eb55d289 SHA512 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2 +DIST value-bag-1.0.0-alpha.6.crate 25273 BLAKE2B a52f1b75f7974c453ca110e3fab94abb6ed7ec0a1736dc3f22b7d871699fb1ff8e9f0e91b71372935ad10afcdc94f1772106a606fb5dc328950f612f4e17b4aa SHA512 1723a8e7698b832b288845b466ae7efb5ee1cf90d7510ece286774fc71e8f322596c05e03732d9e51af2db460b689b3e473cc11a94f97c9015972d6db3c6ba80 +DIST vec-arena-1.0.0.crate 12620 BLAKE2B ca5ec7f755bb68d259caac60842ba15d39c34a468d87e11dcc891f7e3b9755c6f02e667fbd9ed45770c3c6c805aef3682b88261c25766c6d34ff91478a87f53e SHA512 a3b650b24974a7fbec148259f3fba05a4f9183d74389c9870a851b5f40f6042582395bb0e1173c9e94a555849dedfef5c6e42a6287f6b74b94dd2e1a66c0f67f +DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc8e1ef4e847648e2de08dece8c4debe92889edeccb8d393645fd0b62436b49d236ded7ad181c4a51239a9539 SHA512 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9 +DIST version_check-0.9.2.crate 11979 BLAKE2B 6568f8d4652fb470162bb2251be2260a6bf83e107a4f957ed91117938d5da48c42bedfb5e6622bcd6c37950805666b78984577bd8dae687dbb39e452078bd97c SHA512 b88a9d545ef103fe6d0eebe7ddcf328fc21fcb02c60828b347cfc35afd957669e652a94d880ef992450c167df3505838bc649e0d83896542fa13a149875acf26 +DIST void-1.0.2.crate 2356 BLAKE2B 41578fb5507f94e7d135f9595cec107ed00a926f4968df8b59792d1676ba5b6980cd67310f820fc37a9c14ebe43a171833fa8dfc09eac5dd42f2ebe808632a83 SHA512 1cc7d282600dc0164d7e410aa895d5dc99de1174991549c6733c94cc2027026517f66797751d737869eae58c560fa26edbf43f36b3015eb2fd99828fe40e0aa1 +DIST waker-fn-1.1.0.crate 7114 BLAKE2B e510eec0490f0caca3930000cecccde209ad387d1657c380f95122c68ccc15fcbe0684315d0aea28f094f2c65f7b7b08ae62f6ec95e0d67fc47e6af0ba4589e9 SHA512 80f612597534d9f8bdcd5e6bdff740805efe28242822bc6db360e114a23cb47ff88c74b8ab855bc764f0a73545e85a69d76bce1441e5899a36e41ca270695dc5 +DIST wasm-bindgen-0.2.71.crate 159260 BLAKE2B 9b58bce9adf9f9d0aad7f36558125acdf474c5dab2d049f7535d91f94fe7fe2e1c3d7dba7fed9880a621c923bbb351598afabd8db5705d1d87a389987aa9e9bd SHA512 a1e20ad8f239ae6180bdefb0d48914c4b3bd3c8830e110a9037c001dee2d6345d0a8525ec68f9107029a989e659278011f8ab4a13c32bdf36b82a6429c75c639 +DIST wasm-bindgen-backend-0.2.71.crate 25432 BLAKE2B 939d5791d320b0a46781fb2e660b271cce17b1876ed1ac2efb0533cdfa7fb24b5a2b9a28451ba03d87cea0195f2aa7a864dfeb52e9d5e3518453cdcc5c06eeb0 SHA512 40e1c7e63c51ef149065f3c35ce0e735f4a221e3de3e5f0004f9e597ed29812bba690cb069314d97c3843474aa611ebc05664be4f97dfbf5d240515e3a3463cc +DIST wasm-bindgen-futures-0.4.21.crate 14763 BLAKE2B e929134764ba7d263b0f133455162a22c99737867b568c476af6e7e3ff0adbd559b4126378df90749e232da073c9d58fc70f7ddeccb397038c7627b52b0cdced SHA512 9a8d15be4daee4dc345b2880dcc28f2f7f8d9cf41b622139ca5e2d7c1ccb905761f51f78080130ee796ab85aaf486730c818f68b0e6ab248d078c9c5ca9a6f43 +DIST wasm-bindgen-macro-0.2.71.crate 11548 BLAKE2B 61f29f066c91ea85274c3155f07c4c2087297515c93037d9ea791c0d2bd9b0b2287721b7937b2edb1c61bb270caa57ce8a282c29c9cef64c2d753ca171aefba8 SHA512 7f5086af3e43f37d46e2a1f18a44f2af69e8483f6cbcce85dd9b84a3ee6ec4323e2904974b55987dd026073466a21241d13207664ec4771a1fcc9db3e55ad7d0 +DIST wasm-bindgen-macro-support-0.2.71.crate 17855 BLAKE2B 5f24ff07d1bdc58e2becba42506a347432b369932df9cac68ddb3536fc5331a38f6b0b501866d6a44077f4094a5b3cc11af607e7c9eb1f92ba30460b5329b514 SHA512 eae16c62999d0cd66fd64b1dcbb90a5b572bcec6ac3f2c2f06ce8a499dd282cd13e3535bffd0fdddac65bf33bc4338422c805e7f2989c5336a3dccd6a2e69609 +DIST wasm-bindgen-shared-0.2.71.crate 6693 BLAKE2B 4b494abcd8c548d635ed953eef9dc8d2972355c63ccca991fc3f740f3dfbd4d26a4c1ebb9e45fc740489055299fa48b72965600906a804186cf0bf6c562e062e SHA512 458b140966f52be47a0f4c68cfa1b46cb39a4fd6742bbe34c892255b42e7605f2ec3cc9cb9d31e3c1000eb5048a8dbb608e42261e30e90308a9db33b14385d40 +DIST web-sys-0.3.48.crate 648255 BLAKE2B 15d4530f6d2fb61431e4949d2dcc4ab2386df2d86a22004f6c78f33646314a634c92f582fd56e8bb038ee3f6af6fbe7fc4491c9ae0329bffcf249e9d230bfd52 SHA512 3b0a6227cbfcd2829bd2d44f1bc5d600fb05ed28222babd23b41308e3e79350b8724efc8716a060ecb70b4100613a41aaca0b6080a2f23b223c453ec60a7174a +DIST wepoll-sys-3.0.1.crate 25807 BLAKE2B c6078643e6d3e47dc1028008a12eefca1c238e6057c3b8699f2a70ac2609973d9c4f76baa81f9b6e566228b0820172a132e7f9f438aadd0066d6067040fcff23 SHA512 f1a5e91ac284d9542cbdc891000309d67d9651058db3a7307e4a2378178920ae7e04525ae625d18e45c54c269b320061120c459b046a5f3f0373c1d15fc8d239 +DIST winapi-0.2.8.crate 455145 BLAKE2B 50f3c2a0cf4eeedd6891b11392e520c1cca139a71f8f736eabaf43aa7e4b1b5d57697918978220459572d373940edf971eb8302f292cbff832283e905076319a SHA512 115e6f027cdd4a56f77ca24f4ab249d2a6cac1e1f955c826a9b6ee05db4861790a533f5e674aebbb540370fff52ed41618c2cd7c906e73200e92df213109cebe +DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 +DIST winapi-build-0.1.1.crate 669 BLAKE2B 6c8d8e0f81574c086f06fb3f234b0e6759d293d1d254857c3d491e4d43279e5c2f57f2fcfdc9d5d7b083280f4cc2a75a6ee9bc1541ec6ce8f8d904ded0567faf SHA512 8b0a239e205a5368892f41c870a8a7ea16e3468c364b03382bef7fa3a2e7159b09c07661e95b1227578f6d72c14879daa4444b28c51ae20ef15d985d59ca5a77 +DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 +DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd +DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 +DIST ws2_32-sys-0.2.1.crate 4697 BLAKE2B 52a7a3f57bcd73156730ada4d78fe12a54a498c9064e0928e09de13a95bd9237f884538e5f9368b47a7ac3c425f0f798c26bad85f20bed4ea26c2fa16c779b97 SHA512 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f +DIST x11-2.18.2.crate 63683 BLAKE2B 2ea3b1ca42924a160cf054ec8abc75af031c154f1289614a1f82a68f75d3aa8a7ca4929f53dc5a5fe8177efebb4002710eb5be082d2f588ccdfef6e7acf685b9 SHA512 fecaff0e52e4b106ebd74aa60356547d582d42d7505a9ceda44c827e19478f02f2b4a832b4a8e82af2a005da4e83c4ca018346d2b3a370ed3ca1e6ea280a6824 +DIST xcb-0.9.0.crate 129744 BLAKE2B 5854662e87fc75e07ea707263808c8a5c6fd53a65e4f5034413227e1150a9110075449b17318861828667f47fbee0f673920cf9c6197ef15fdf0dd592dd3b1c4 SHA512 183d59745daa048335e7081add8ca1ea6db3fa77903bffa8bf34de538efc4618755fda1344cd36bc1175600d3df341ac1bde45706d3809a266a25eaf7c253dac +DIST xidlehook-0.10.0.tar.gz 47465 BLAKE2B 5887d89c0c8c80391921fad6ea613a65b1227897a39741bb4a4c76fa70ac3a6a80302c888753683acca01a9025b70230dad70b3357bd7e62f297e72c0efa6a47 SHA512 8d08a2e8edb262b3cfe3c77365589594e65bb33ae2b01a4a7f0d4103fa5331017c504877533b219e9e7f5bea1229b2aba947b227628d6bbc0731b79013c254d7 +EBUILD xidlehook-0.10.0.ebuild 3377 BLAKE2B 33f50435c53bb909b68fb277cc6ea4d129ebec7afe427a892e37f3ae864a86668ab4fc188332eeea329226c2832569156a7f871f3b8197987c56fa73a5c55962 SHA512 5ab745bd2ea512fb43401fda7636c69dc81995d73359cc8d92bfae4d5eb3ca1a813014904be37ea11b5bddac6826e3511910749d1b6329836b4571fda918a1c8 diff --git a/x11-misc/xidlehook/xidlehook-0.10.0.ebuild b/x11-misc/xidlehook/xidlehook-0.10.0.ebuild new file mode 100644 index 0000000..8a13715 --- /dev/null +++ b/x11-misc/xidlehook/xidlehook-0.10.0.ebuild @@ -0,0 +1,167 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.5.4 + +EAPI=8 + +CRATES=" + aho-corasick-0.7.15 + ansi_term-0.11.0 + async-channel-1.6.1 + async-executor-1.4.0 + async-global-executor-2.0.2 + async-io-1.3.1 + async-lock-2.3.0 + async-mutex-1.4.0 + async-std-1.9.0 + async-task-4.0.3 + atomic-waker-1.0.0 + atty-0.2.14 + autocfg-1.0.1 + bitflags-1.2.1 + blocking-1.0.2 + bumpalo-3.6.1 + bytes-0.5.6 + cache-padded-1.1.1 + cc-1.0.67 + cfg-if-0.1.10 + cfg-if-1.0.0 + clap-2.33.3 + concurrent-queue-1.2.2 + crossbeam-utils-0.8.3 + ctor-0.1.19 + env_logger-0.7.1 + event-listener-2.5.1 + fastrand-1.4.0 + fnv-1.0.7 + fuchsia-zircon-0.3.3 + fuchsia-zircon-sys-0.3.3 + futures-0.3.13 + futures-channel-0.3.13 + futures-core-0.3.13 + futures-executor-0.3.13 + futures-io-0.3.13 + futures-lite-1.11.3 + futures-macro-0.3.13 + futures-sink-0.3.13 + futures-task-0.3.13 + futures-util-0.3.13 + gloo-timers-0.2.1 + heck-0.3.2 + hermit-abi-0.1.18 + humantime-1.3.0 + instant-0.1.9 + iovec-0.1.4 + itoa-0.4.7 + js-sys-0.3.48 + kernel32-sys-0.2.2 + kv-log-macro-1.0.7 + lazy_static-1.4.0 + libc-0.2.87 + libpulse-binding-2.23.0 + libpulse-sys-1.18.0 + log-0.4.14 + memchr-2.3.4 + mio-0.6.23 + mio-uds-0.6.8 + miow-0.2.2 + nb-connect-1.0.3 + net2-0.2.37 + nix-0.15.0 + num-derive-0.3.3 + num-traits-0.2.14 + num_cpus-1.13.0 + once_cell-1.7.2 + parking-2.0.0 + pin-project-lite-0.1.12 + pin-project-lite-0.2.5 + pin-utils-0.1.0 + pkg-config-0.3.19 + polling-2.0.2 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro-hack-0.5.19 + proc-macro-nested-0.1.7 + proc-macro2-1.0.24 + quick-error-1.2.3 + quote-1.0.9 + regex-1.4.3 + regex-syntax-0.6.22 + ryu-1.0.5 + serde-1.0.123 + serde_derive-1.0.123 + serde_json-1.0.64 + signal-hook-registry-1.3.0 + slab-0.4.2 + socket2-0.3.19 + strsim-0.8.0 + structopt-0.3.21 + structopt-derive-0.4.14 + syn-1.0.60 + termcolor-1.1.2 + textwrap-0.11.0 + thread_local-1.1.3 + tokio-0.2.25 + tokio-macros-0.2.6 + unicode-segmentation-1.7.1 + unicode-width-0.1.8 + unicode-xid-0.2.1 + value-bag-1.0.0-alpha.6 + vec-arena-1.0.0 + vec_map-0.8.2 + version_check-0.9.2 + void-1.0.2 + waker-fn-1.1.0 + wasm-bindgen-0.2.71 + wasm-bindgen-backend-0.2.71 + wasm-bindgen-futures-0.4.21 + wasm-bindgen-macro-0.2.71 + wasm-bindgen-macro-support-0.2.71 + wasm-bindgen-shared-0.2.71 + web-sys-0.3.48 + wepoll-sys-3.0.1 + winapi-0.2.8 + winapi-0.3.9 + winapi-build-0.1.1 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + ws2_32-sys-0.2.1 + x11-2.18.2 + xcb-0.9.0 +" + +inherit cargo + +DESCRIPTION="xautolock rewrite in Rust, with a few extra features" +# Double check the homepage as the cargo_metadata crate +# does not provide this value so instead repository is used +HOMEPAGE="https://gitlab.com/jD91mZM2/xidlehook" +SRC_URI=" https://gitlab.com/jD91mZM2/xidlehook/-/archive/0.10.0/${PN}-0.10.0.tar.gz + $(cargo_crate_uris)" + +# License set may be more restrictive as OR is not respected +# use cargo-license for a more accurate license picture +LICENSE="Apache-2.0 BSD Boost-1.0 MIT MPL-2.0 Unlicense" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" +virtual/rust +media-libs/libpulse +" +RDEPEND="${DEPEND}" +BDEPEND="" + +# rust does not use *FLAGS from make.conf, silence portage warning +# update with proper path to binaries this crate installs, omit leading / +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_configure() { + cargo_src_configure +} + +src_install() { + cargo_src_install +}