Compare commits

..

No commits in common. "4216878ce8a4c579ab5b0b7a80e74ad8e6ffc721" and "7339610402337c00e1ad74c8041ba706b27bdf67" have entirely different histories.

31 changed files with 2031 additions and 199 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -10,10 +10,10 @@ HOMEPAGE="https://github.com/katajakasa/SDL_kitchensink"
SRC_URI="https://github.com/katajakasa/SDL_kitchensink/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/SDL_kitchensink-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
IUSE="doc examples"
# no tests

View File

@ -1,2 +1,3 @@
DIST ipscan-bin-3.7.3.jar 1809216 BLAKE2B 7278eb933f0a451f188bea802ac378a786647de257c92d52098becf9108efb57ae26d49262c2e0a06706e7a2d456a9386b5bc078356d13353c4da59ef6c39d9d SHA512 4c1d2a97ce6745693756089c10d9002875073107dd46218a88070ee568dda2a29d2379fdd0c846756648ca21af845fa60931edb4d1597c735c12fe550b6845fd
DIST ipscan-bin-3.7.4.jar 1817456 BLAKE2B f3e4fb09f8a32b8088a8050d2350314b41c40d639a183dcf83874f45a764c9bdb82c8a92a5a3c289d3437be9f5157732f26a00783551dbbd7120e87b5a5eb300 SHA512 8eaf89343de6c6345a8a7189bc8b8f98576e472c5cbee43c5643e8a5bdd7ba376329ab39d1b26a2707914973b7f2b71934c7ff97a76083779510c10d6ab6c5e4
DIST ipscan-bin-3.7.5.jar 1777291 BLAKE2B b7f571e268b4aa366e673415e633c94b75ba786c900e21f80ea2d424d92981030b9cf0a8059eeecc016e160dcfa3b076a8015982b40640e53a88e605766b0eba SHA512 fd8af5cc590167a5b24f537755d21758e9d1adbfd3c074592e05acfcf6cceee97198cc940e923aad6ebe4f86cd251ce8731ef4bd0893647e3c507f6143448f01
DIST ipscan_3.9.1_amd64.deb 1721080 BLAKE2B 56dedb44a44d2043f040f2ee488cb4ba36a93056faff7ca1b6f9122016a21edff529538ef428601483fd0b54aecf2edf1db6f52015a5def13afcb2a4af477b7f SHA512 a8ed9aa92e280c53f4ffe1a9d5821ecaacf4367930df235a08ab948243ee52c2f014e616044ebea692262d8c1b6323615b077ab482529a4de927e9c8652a0aaa

View File

@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/-bin/}"
inherit wrapper desktop xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="https://github.com/angryip/${MY_PN}/releases/download/${PV}/${MY_PN}-linux64-${PV}.jar -> ${P}.jar"
RESTRICT="bindist mirror strip test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
>=virtual/jre-1.7:*
x11-libs/gtk+:3
"
S="${DISTDIR}"
src_unpack() {
# Don't unpack; instead:
if ! use amd64
then
die "Unsupported architecture"
fi
}
src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"
make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# TODO: icon is ipscan (we relay on 3rd party icons)
make_desktop_entry "${PN}" "${PN}" "${MY_PN}" "Network;"
}

View File

@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/-bin/}"
inherit wrapper desktop xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="https://github.com/angryip/${MY_PN}/releases/download/${PV}/${MY_PN}-linux64-${PV}.jar -> ${P}.jar"
RESTRICT="bindist mirror strip test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
>=virtual/jre-1.7:*
x11-libs/gtk+:3
"
S="${DISTDIR}"
src_unpack() {
# Don't unpack; instead:
if ! use amd64
then
die "Unsupported architecture"
fi
}
src_install() {
insinto "/opt/${PN}"
newins "${P}.jar" "${PN}.jar"
make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
# TODO: icon is ipscan (we relay on 3rd party icons)
make_desktop_entry "${PN}" "${PN}" "${MY_PN}" "Network;"
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -10,19 +10,19 @@ inherit wrapper desktop xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="https://github.com/angryip/${MY_PN}/releases/download/${PV}/${MY_PN}-linux64-${PV}.jar -> ${P}.jar"
S="${DISTDIR}"
RESTRICT="bindist mirror strip test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip test"
RDEPEND="
>=virtual/jre-1.7:*
x11-libs/gtk+:3
"
S="${DISTDIR}"
src_unpack() {
# Don't unpack; instead:
if ! use amd64

View File

@ -1,55 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
inherit unpacker xdg
DESCRIPTION="Angry IP Scanner - fast and friendly network scanner"
HOMEPAGE="https://angryip.org/"
SRC_URI="
amd64? ( https://github.com/angryip/ipscan/releases/download/${PV}/ipscan_${PV}_amd64.deb )
"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror test"
RDEPEND="
!net-analyzer/ipscan
>=virtual/jre-11:*
x11-libs/gtk+:3
"
QA_PREBUILT="*"
DESTDIR="/opt/ipscan"
src_prepare() {
default
# Install jar into opt instead
sed -i -e 's|/usr/lib\*|/opt|' usr/bin/ipscan || die
# 1. deprecated
# 2. unregistered
sed -i \
-e '/Categories/ s/Application;//' \
-e '/Categories/ s/Internet;//' \
usr/share/applications/ipscan.desktop || die
}
src_install() {
dobin usr/bin/ipscan
insinto ${DESTDIR}
doins usr/lib/ipscan/*
insinto /usr/share
doins -r usr/share/{applications,metainfo,pixmaps}
}

View File

@ -1,8 +1,3 @@
# Alfred Wingate <parona@protonmail.com> (2024-02-12)
# Not maintained actively in this repository.
# Use ::guru instead.
app-admin/grub-customizer
# Alfred Wingate <parona@protonmail.com> (2024-01-21)
# Requires dependencies which are in still in staging in the kde overlay.
media-gfx/koko

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -10,14 +10,12 @@ inherit unpacker xdg-utils
DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
HOMEPAGE="https://etcher.io"
SRC_URI="https://github.com/balena-io/etcher/releases/download/v${PV}/balena-etcher_${PV}_amd64.deb"
S="${WORKDIR}"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
RDEPEND="
app-arch/lzma
dev-libs/expat
@ -47,6 +45,8 @@ QA_PREBUILT="
opt/balenaEtcher/*
"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}

View File

@ -1,13 +1,22 @@
DIST genpatches-6.1-85.base.tar.xz 4505468 BLAKE2B cb674a16ea9f1729844507b358684b655e68c3b701ee470be8ae9314b8cd4b7edfa6b4e79381faf2b0a1af0f3ee6a703f204b54e239d98bb5e8eb1c4c3c3325c SHA512 148a3fcc14c225f95b111d7c4e0f79e3a20dfe51556cbf24428d40e5082e1d5056a6bb93cffc78daa4a8c9d126030982370e85b8768b0c1f3487064a1d6519cb
DIST genpatches-6.1-85.extras.tar.xz 3812 BLAKE2B 9b51a2d050fd8dece5f64d5d9c82ebd9231c702e93aed6374fbc4a13138fc1c3b67fd516bfa50b234e9e0aeabb582e7e3939f0464f0188d352b311997b131413 SHA512 4fc490e4ad0e2c652f5542c7c4b043d68999b6eecbe48ab7f6168ae202de7a0f0bd7f24af1535b0f588bca84e35aaf2f574241543067ddd96224b85387ff8de3
DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187ccb149c5e14dd2d171e451d85559b68ac0a4e8a80a3b13332bc2c8b58d8be182b12853b9e784adb307987faaac5d2ef43ebf3 SHA512 7d28fedd6a157a680de9c69d11f5d243c02b5714e0570bbac9d429ed1e5937bf7250cf5825d6365debb0b0621301cd4999dafd0680e4815e47ea1452ace3e406
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
DIST genpatches-6.6-19.base.tar.xz 1118896 BLAKE2B 2d94ffca6b8788df6fb9d8037ec7db0e2ae3b2b433e73e112e679a0a542d5f94afbcbb982d2279caeb20670ce03b5662cb9ab7108bfc5e470880db3a5f3c1306 SHA512 8795565efaf77d5cf9dba42e6aea216138192f0868d764e19f230e052ec656027d220b19a4c5d37814eb3c380c60358b529d0f40b40fab129bdb27318b86745e
DIST genpatches-6.6-19.extras.tar.xz 3700 BLAKE2B 88f3547af7522a28595c04006e01b5ba658bd7c0e89700fb4c6b0d76a39139cc4d97be10624038847f2de1d1c8e200455fe9b5bb18830da1354d8e4d4956b644 SHA512 a83e157d10149824632da6d3047aeccddff117de2aacbfd035547166fe549f8036087f1965c0bae723ecb4a1f6e665a34b7069636b4e2a3ecbc91405284781af
DIST genpatches-6.7-6.base.tar.xz 325824 BLAKE2B f95dbe909af13e4da2edbd37d320f077b4229fb16d5e63c7e81f8bb5ac0e7fc78740dc94071a86e9ceacc12833b78ac0809c112609843551960db0dafe14ecef SHA512 307a2dc54dd4a176effc8f942a60d7a5516b8402a1255fb4e9d2ac34f2316f813741ce3c3fafe3900244504323aada4fe22a3980205c062e3235dd623305be66
DIST genpatches-6.7-6.extras.tar.xz 3704 BLAKE2B 1e9669edb016fcf24960bd678171eb5ad3f8ef6c3477d1f3a2ae4a1f3e0cfe1a9ed14e54d2316858c64c1f52702659e6c3ba2bfd5ce079f2bb04f1cfec01f329 SHA512 fb786fa90d0d979d867a7c5fa9c24f81d3c019403d8dc8bbaf5c72c105703ee5fdb5305974062d274cbd86b712f62b053b82fa34f4b8096247da944b5ae2cf58
DIST genpatches-6.7-8.base.tar.xz 460076 BLAKE2B 367e038c6a8a02d8157b947f28c6b88b3053c2a491a0933f000f0e30af41bddc50b760b5918ccf1152de4d2e4a551983435f68c421d0cce6dc352c900bdf5d48 SHA512 d946201fb054810bc54bf73e4904df6deaa1b539623c5c77002fa95b49ce5d9e38fb3ac94e74a7b9d5ca57d7b21ea0dcf7785437fb216599202fff0d8d012b92
DIST genpatches-6.7-8.extras.tar.xz 3704 BLAKE2B 98589d74cef3e628d7a693a46f1f87845ca98faf8093c9e120320e107d8c1e76d82441ec6b1a3f12c9c5fc5d20cea2cab4d6cd5dda99b318bf31ec5ab7c8447e SHA512 3e9a993586516e45d2fca24690b7ce001922732c20c5f52a7d954e5bdd1f8d7e91d4074b5128c085caeee49539dcb1a5a505424225c0100b8741f54d6ac3d095
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST patch-6.1.76-xanmod1.xz 3529932 BLAKE2B bccbcc7753d91255f9d5f110328cedb194f14db8923192dc060daff83119f26bfe2d3e1354a75a31ba7742802ec392da7934d127e1e19589649df51014d41113 SHA512 5117bf0060a8b3d30d56c49fa875f42e0605e106ec50100d024629b9eed63abd51ece987800d2fa56002fc6a7520913af0348433c76db9fa5e72f3551216aec7
DIST patch-6.1.77-xanmod1.xz 3590152 BLAKE2B fcd519de0fe30402ceaf2a96e6e2460c1fed3e45f23d9851180db127754c510632747eb56da13439c704d9f62887d8138976dcfdee5dbf3185d010a9a93843b1 SHA512 279e74750e5016912e80bd0940957ba45253aaddc0a3e0bfcede9ccb1e353d7ad52300a9edf02478a28c9feaecabd4017b3a5e6ecac1cba5900827ecd5d9ca43
DIST patch-6.6.15-xanmod1.xz 1098896 BLAKE2B a13dc488caba314f02121e12939b2c36e69bf58792ee4c7e1db0b6a8bba9b5c929df21a00066af15b2535e43b9414d5f2e6ae239099bad9090f873c7abca629f SHA512 9f4d347b324560fe0b26e17baa29494161fd653a3f7331caa7233de036c0b77ab92af45766c43421b6c2c6ccbf90558ea44fd54ae332add086eaef408604bec4
DIST patch-6.6.16-xanmod1.xz 1201568 BLAKE2B 12d5ac9dd3bbc1b977192decad414432e9888dd1b45687ef25015b254604f8b9ca26396e381fd929264c6b4c9f0c04e37542a8b48cfe941f38f3ec018b410533 SHA512 da95d1ac05068292533bf40111fc6af4ce44c8f6b254051ddb6e12d4f4b4d9fb8c0bababa22fd1412947a274310a49dd9ddb6fb0cb27ef501dd6883dcff0e1db
DIST patch-6.7.3-xanmod1.xz 449316 BLAKE2B f96390b29d32b16681cdcd5c452001ef3a2add80422b36404e67f73582908f56a7e857b5b0a12a51f665d3655a098c585b6be99fae07ff239479d27bfe7ccb3d SHA512 258718918cfa5f046871e5f207ef82da55059d2bf4fc98a04f06097fcf35cf1eaecec45227875dcbe192ca32a773bd186fef663cd695d62fff1b3bee6cf2e1d1
DIST patch-6.7.4-xanmod1.xz 576596 BLAKE2B f2dfe1f53761673cf61443d282519a552da14125221ffba7fc1ec5faed87502337723122bb0251653355c68d08b702c2a3371cda7f978b6df1cfcc71fba32f60 SHA512 561884de1c4dd5f7eabaad382d4e9f0b12bfc41d554353aca5b649ff9b696f8ccf8f4635418f89a425b907c8b1ca4cf7722d2b613e62077de207e7ed930c61e6

View File

@ -0,0 +1,84 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
GENTOO_CONFIG_VER=g11
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-kernel-bin:${SLOT}
"
BDEPEND="
debug? ( dev-util/pahole )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
"
src_prepare() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod1-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
"${FILESDIR}"/no-debug-extra.config
)
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,84 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
GENTOO_CONFIG_VER=g11
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-kernel-bin:${SLOT}
"
BDEPEND="
debug? ( dev-util/pahole )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
"
src_prepare() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod1-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
"${FILESDIR}"/no-debug-extra.config
)
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,84 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
GENTOO_CONFIG_VER=g11
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-kernel-bin:${SLOT}
"
BDEPEND="
debug? ( dev-util/pahole )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
"
src_prepare() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod1-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
"${FILESDIR}"/no-debug-extra.config
)
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -1,5 +1,8 @@
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST patch-6.6.14-rt21-xanmod1.xz 1073556 BLAKE2B 4cd1b997848b728b91713c7611fe070f8303a8cc6b0692529905aac0a9c6e050720d1a97b4fd7dffc4009d8282210d8d041c60b341d8e9e35d51531c7df81369 SHA512 541480801fb919f1cc01a3ba72c116be0d59dbc44e0b1a9cfcd4e443864ad1ae915cde192e1a23f10057d64af3cb6404132d9120e7e431f64cdb2cb5b69da6b4
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a

View File

@ -0,0 +1,109 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
MY_PV="${PV%_p*}"
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 3 ))
GENTOO_CONFIG_VER=g11
RT_PATCHSET="${PV/*_p}"
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${MY_PV}-rt${RT_PATCHSET}-xanmod1.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
SLOT="${MY_PV}"
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-kernel-bin:${SLOT}
"
BDEPEND="
debug? ( dev-util/pahole )
"
PDEPEND="
>=virtual/dist-kernel-${MY_PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
"
src_prepare() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${MY_PV}-rt${RT_PATCHSET}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}"/localversion* || die
local myversion="-rt${RT_PATCHSET}-xanmod1-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
"${FILESDIR}"/no-debug-extra.config
)
kernel-build_merge_configs "${merge_configs[@]}"
}
# lazy workaround
kernel-install_pkg_preinst() {
debug-print-function ${FUNCNAME} "${@}"
local dir_ver=${PV}${KV_LOCALVERSION}
local kernel_dir=${ED}/usr/src/linux-${dir_ver}
local relfile=${kernel_dir}/include/config/kernel.release
[[ ! -d ${kernel_dir} ]] &&
die "Kernel directory ${kernel_dir} not installed!"
[[ ! -f ${relfile} ]] &&
die "Release file ${relfile} not installed!"
local release
release="$(<"${relfile}")" || die
if [[ -L ${EROOT}/lib && ${EROOT}/lib -ef ${EROOT}/usr/lib ]]; then
# Adjust symlinks for merged-usr.
rm "${ED}/lib/modules/${release}"/{build,source} || die
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/build"
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/source"
fi
}

View File

@ -1,4 +1,7 @@
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST patch-6.6.14-rt21-xanmod1.xz 1073556 BLAKE2B 4cd1b997848b728b91713c7611fe070f8303a8cc6b0692529905aac0a9c6e050720d1a97b4fd7dffc4009d8282210d8d041c60b341d8e9e35d51531c7df81369 SHA512 541480801fb919f1cc01a3ba72c116be0d59dbc44e0b1a9cfcd4e443864ad1ae915cde192e1a23f10057d64af3cb6404132d9120e7e431f64cdb2cb5b69da6b4
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a

View File

@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
XANMOD_VERSION=1
RT_PATCHSET="${PV/*_p}"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="17"
ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and including the Gentoo patchset"
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
mirror://sourceforge/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz
${GENPATCHES_URI}
"
KEYWORDS="~amd64"
src_unpack() {
UNIPATCH_STRICTORDER=1
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz "
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
kernel-2_src_unpack
}
src_prepare() {
default
# 627796
sed \
"s/default PREEMPT_NONE/default PREEMPT_RT/g" \
-i "${S}/kernel/Kconfig.preempt" || die "sed failed"
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

View File

@ -1,12 +1,21 @@
DIST genpatches-6.1-85.base.tar.xz 4505468 BLAKE2B cb674a16ea9f1729844507b358684b655e68c3b701ee470be8ae9314b8cd4b7edfa6b4e79381faf2b0a1af0f3ee6a703f204b54e239d98bb5e8eb1c4c3c3325c SHA512 148a3fcc14c225f95b111d7c4e0f79e3a20dfe51556cbf24428d40e5082e1d5056a6bb93cffc78daa4a8c9d126030982370e85b8768b0c1f3487064a1d6519cb
DIST genpatches-6.1-85.extras.tar.xz 3812 BLAKE2B 9b51a2d050fd8dece5f64d5d9c82ebd9231c702e93aed6374fbc4a13138fc1c3b67fd516bfa50b234e9e0aeabb582e7e3939f0464f0188d352b311997b131413 SHA512 4fc490e4ad0e2c652f5542c7c4b043d68999b6eecbe48ab7f6168ae202de7a0f0bd7f24af1535b0f588bca84e35aaf2f574241543067ddd96224b85387ff8de3
DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187ccb149c5e14dd2d171e451d85559b68ac0a4e8a80a3b13332bc2c8b58d8be182b12853b9e784adb307987faaac5d2ef43ebf3 SHA512 7d28fedd6a157a680de9c69d11f5d243c02b5714e0570bbac9d429ed1e5937bf7250cf5825d6365debb0b0621301cd4999dafd0680e4815e47ea1452ace3e406
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
DIST genpatches-6.6-19.base.tar.xz 1118896 BLAKE2B 2d94ffca6b8788df6fb9d8037ec7db0e2ae3b2b433e73e112e679a0a542d5f94afbcbb982d2279caeb20670ce03b5662cb9ab7108bfc5e470880db3a5f3c1306 SHA512 8795565efaf77d5cf9dba42e6aea216138192f0868d764e19f230e052ec656027d220b19a4c5d37814eb3c380c60358b529d0f40b40fab129bdb27318b86745e
DIST genpatches-6.6-19.extras.tar.xz 3700 BLAKE2B 88f3547af7522a28595c04006e01b5ba658bd7c0e89700fb4c6b0d76a39139cc4d97be10624038847f2de1d1c8e200455fe9b5bb18830da1354d8e4d4956b644 SHA512 a83e157d10149824632da6d3047aeccddff117de2aacbfd035547166fe549f8036087f1965c0bae723ecb4a1f6e665a34b7069636b4e2a3ecbc91405284781af
DIST genpatches-6.7-6.base.tar.xz 325824 BLAKE2B f95dbe909af13e4da2edbd37d320f077b4229fb16d5e63c7e81f8bb5ac0e7fc78740dc94071a86e9ceacc12833b78ac0809c112609843551960db0dafe14ecef SHA512 307a2dc54dd4a176effc8f942a60d7a5516b8402a1255fb4e9d2ac34f2316f813741ce3c3fafe3900244504323aada4fe22a3980205c062e3235dd623305be66
DIST genpatches-6.7-6.extras.tar.xz 3704 BLAKE2B 1e9669edb016fcf24960bd678171eb5ad3f8ef6c3477d1f3a2ae4a1f3e0cfe1a9ed14e54d2316858c64c1f52702659e6c3ba2bfd5ce079f2bb04f1cfec01f329 SHA512 fb786fa90d0d979d867a7c5fa9c24f81d3c019403d8dc8bbaf5c72c105703ee5fdb5305974062d274cbd86b712f62b053b82fa34f4b8096247da944b5ae2cf58
DIST genpatches-6.7-8.base.tar.xz 460076 BLAKE2B 367e038c6a8a02d8157b947f28c6b88b3053c2a491a0933f000f0e30af41bddc50b760b5918ccf1152de4d2e4a551983435f68c421d0cce6dc352c900bdf5d48 SHA512 d946201fb054810bc54bf73e4904df6deaa1b539623c5c77002fa95b49ce5d9e38fb3ac94e74a7b9d5ca57d7b21ea0dcf7785437fb216599202fff0d8d012b92
DIST genpatches-6.7-8.extras.tar.xz 3704 BLAKE2B 98589d74cef3e628d7a693a46f1f87845ca98faf8093c9e120320e107d8c1e76d82441ec6b1a3f12c9c5fc5d20cea2cab4d6cd5dda99b318bf31ec5ab7c8447e SHA512 3e9a993586516e45d2fca24690b7ce001922732c20c5f52a7d954e5bdd1f8d7e91d4074b5128c085caeee49539dcb1a5a505424225c0100b8741f54d6ac3d095
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST patch-6.1.76-xanmod1.xz 3529932 BLAKE2B bccbcc7753d91255f9d5f110328cedb194f14db8923192dc060daff83119f26bfe2d3e1354a75a31ba7742802ec392da7934d127e1e19589649df51014d41113 SHA512 5117bf0060a8b3d30d56c49fa875f42e0605e106ec50100d024629b9eed63abd51ece987800d2fa56002fc6a7520913af0348433c76db9fa5e72f3551216aec7
DIST patch-6.1.77-xanmod1.xz 3590152 BLAKE2B fcd519de0fe30402ceaf2a96e6e2460c1fed3e45f23d9851180db127754c510632747eb56da13439c704d9f62887d8138976dcfdee5dbf3185d010a9a93843b1 SHA512 279e74750e5016912e80bd0940957ba45253aaddc0a3e0bfcede9ccb1e353d7ad52300a9edf02478a28c9feaecabd4017b3a5e6ecac1cba5900827ecd5d9ca43
DIST patch-6.6.15-xanmod1.xz 1098896 BLAKE2B a13dc488caba314f02121e12939b2c36e69bf58792ee4c7e1db0b6a8bba9b5c929df21a00066af15b2535e43b9414d5f2e6ae239099bad9090f873c7abca629f SHA512 9f4d347b324560fe0b26e17baa29494161fd653a3f7331caa7233de036c0b77ab92af45766c43421b6c2c6ccbf90558ea44fd54ae332add086eaef408604bec4
DIST patch-6.6.16-xanmod1.xz 1201568 BLAKE2B 12d5ac9dd3bbc1b977192decad414432e9888dd1b45687ef25015b254604f8b9ca26396e381fd929264c6b4c9f0c04e37542a8b48cfe941f38f3ec018b410533 SHA512 da95d1ac05068292533bf40111fc6af4ce44c8f6b254051ddb6e12d4f4b4d9fb8c0bababa22fd1412947a274310a49dd9ddb6fb0cb27ef501dd6883dcff0e1db
DIST patch-6.7.3-xanmod1.xz 449316 BLAKE2B f96390b29d32b16681cdcd5c452001ef3a2add80422b36404e67f73582908f56a7e857b5b0a12a51f665d3655a098c585b6be99fae07ff239479d27bfe7ccb3d SHA512 258718918cfa5f046871e5f207ef82da55059d2bf4fc98a04f06097fcf35cf1eaecec45227875dcbe192ca32a773bd186fef663cd695d62fff1b3bee6cf2e1d1
DIST patch-6.7.4-xanmod1.xz 576596 BLAKE2B f2dfe1f53761673cf61443d282519a552da14125221ffba7fc1ec5faed87502337723122bb0251653355c68d08b702c2a3371cda7f978b6df1cfcc71fba32f60 SHA512 561884de1c4dd5f7eabaad382d4e9f0b12bfc41d554353aca5b649ff9b696f8ccf8f4635418f89a425b907c8b1ca4cf7722d2b613e62077de207e7ed930c61e6

View File

@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
XANMOD_VERSION=1
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="85"
ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full XanMod sources including the Gentoo patchset"
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
mirror://sourceforge/xanmod/patch-${OKV}-xanmod${XANMOD_VERSION}.xz
${GENPATCHES_URI}
"
KEYWORDS="~amd64"
src_unpack() {
UNIPATCH_STRICTORDER=1
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
kernel-2_src_unpack
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

View File

@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
XANMOD_VERSION=1
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="18"
ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full XanMod sources including the Gentoo patchset "
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
mirror://sourceforge/xanmod/patch-${OKV}-xanmod${XANMOD_VERSION}.xz
${GENPATCHES_URI}
"
KEYWORDS="~amd64"
src_unpack() {
UNIPATCH_STRICTORDER=1
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
kernel-2_src_unpack
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

View File

@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
XANMOD_VERSION=1
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="6"
ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full XanMod sources including the Gentoo patchset "
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
mirror://sourceforge/xanmod/patch-${OKV}-xanmod${XANMOD_VERSION}.xz
${GENPATCHES_URI}
"
KEYWORDS="~amd64"
src_unpack() {
UNIPATCH_STRICTORDER=1
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
kernel-2_src_unpack
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

View File

@ -0,0 +1,19 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
sys-kernel/xanmod-kernel:${PV}
sys-kernel/xanmod-kernel-bin:${PV}
sys-kernel/xanmod-rt-kernel:${PV}
)
"

View File

@ -0,0 +1,19 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
sys-kernel/xanmod-kernel:${PV}
sys-kernel/xanmod-kernel-bin:${PV}
sys-kernel/xanmod-rt-kernel:${PV}
)
"

View File

@ -1,2 +1,3 @@
DIST firefox-115esr-patches-08.tar.xz 15912 BLAKE2B 3f94deb17920672ad2184e813bd38e390ecaa50bfc6e00973db717bc56a5adb4f096224cc366da525db25aaa3d198d57716bcb765ddc906783532864e23dd8d4 SHA512 4474fbed14b2c4fac03d82f4b37849a69dbdd61fc15f01cefa373eb8a64a692f5a584247acdf7c349ab6965225c3cd47be3fc4523f93db5299680e2a22e94d94
DIST icecat-115.6.0-gnu1.tar.bz2 682569214 BLAKE2B adb5af09d2aa5bdd246c198cbe2b27ac1a540abfd1a9ff2df7ec07f8209d2f14987bcab7deb56618ff1c45a922fef1442261f6aeda4ad414c367e68bae5fedf8 SHA512 2eeb7f751d63497a400a106df04a556e3036b8a0463ae8292dce574119b39bc39515bb8b74c39eb515c36bb83049f03b811114af6c0b846f52591a060f5362d6
DIST icecat-115.7.0-gnu1.tar.bz2 682448965 BLAKE2B 0996b0d26109d21e3c1b0584e54c608166198775331f406140153b45e9003a2bcd70db71c793b79a95d95ad134526ddcf6b70f77296fc13601d172b99e97f900 SHA512 dd9f1499d4c63ea510abd2faee918728b706893e91a901743f1ba3a440b97ae4f89852c1850553801f6d70c925261ca2edb9c445bd8c9486bdad86daf8795a43

File diff suppressed because it is too large Load Diff

View File

@ -20,23 +20,21 @@ VIRTUALX_REQUIRED="manual"
inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm multiprocessing \
optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GNU IceCat Web Browser"
HOMEPAGE="https://www.gnu.org/software/gnuzilla/"
PATCH_URIS=(
https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
)
SRC_URI="
https://gitlab.com/api/v4/projects/37881342/packages/generic/${PN}/${PV}/${P}-gnu1.tar.bz2
${PATCH_URIS[@]}
"
S="${WORKDIR}/${PN}-${PV%_*}"
SRC_URI="https://gitlab.com/api/v4/projects/37881342/packages/generic/${PN}/${PV}/${P}-gnu1.tar.bz2
${PATCH_URIS[@]}"
DESCRIPTION="GNU IceCat Web Browser"
HOMEPAGE="https://www.gnu.org/software/gnuzilla/"
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
IUSE="+clang cpu_flags_arm_neon dbus debug hardened hwaccel"
IUSE+=" jack libproxy lto openh264 pgo pulseaudio sndio selinux"
IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
@ -189,6 +187,8 @@ DEPEND="${COMMON_DEPEND}
x11-libs/libSM
)"
S="${WORKDIR}/${PN}-${PV%_*}"
llvm_check_deps() {
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -19,11 +19,11 @@ else
S="${WORKDIR}/${P^}"
fi
RESTRICT="!test? ( test )"
LICENSE="GPL-3+"
SLOT="0"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -19,11 +19,11 @@ else
S="${WORKDIR}/${P^}"
fi
RESTRICT="!test? ( test )"
LICENSE="GPL-3+"
SLOT="0"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}

View File

@ -1,2 +1 @@
DIST pscircle-1.3.1.tar.gz 6376531 BLAKE2B 27ab445eaacf5811bdb3eecb5ac24434f60a2e92acc5e267e0b4c19b0518276ba1c220d02bba0304b85b0426a7bf044145029c992092944481e73de6937e7e3d SHA512 cfb0345b6402c14d5a49913c9e7078dc75bd5fedd203d7d1228b0ac523addffbc8ccae670dcb724f6b9e9c7ffdd8cf84b795f74fe4a6885cb0b084432b910608
DIST pscircle-1.4.0.tar.bz2 6231292 BLAKE2B cf59e66eaa87ef5b2feed7dfec9f28fc888b06484d0c75c6a7898e8044f59e562eaeec3bb803074edefaf97619d08b014e5304d5897bf093c59af4e7955b8b6b SHA512 26d493856cdf894d79af8df819ad700943fd3fea4be21270c58279af98adf906a5c7d783879155a03628346bef07dd5703f0cee543f5bb742f164e0d01147b64

View File

@ -1,43 +0,0 @@
From efdaf6cf070a8a57e116b42e87a6fe50b4614026 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Tue, 13 Feb 2024 15:40:52 +0200
Subject: [PATCH] Enable tests with option
Signed-off-by: Alfred Wingate <parona@protonmail.com>
--- a/meson.build
+++ b/meson.build
@@ -118,6 +118,6 @@ executable(
install: true
)
-if get_option('buildtype').startswith('debug')
+if get_option('enable-tests')
subdir('tests')
endif
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,4 +4,10 @@ option(
value: true,
description : 'Use X11 for displaying image'
)
+option(
+ 'enable-tests',
+ type: 'boolean',
+ value: false,
+ description: 'Build tests'
+)
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -12,7 +12,7 @@ tests = [
add_languages('cpp')
-gtest_dep = dependency('gtest', main : true, required : false)
+gtest_dep = dependency('gtest', main : true)
if gtest_dep.found()
deps += gtest_dep
--
2.43.0

View File

@ -1,69 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic meson savedconfig systemd
DESCRIPTION="Visualizes Linux processes in a radial tree"
HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git"
else
SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-v${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="test X"
RESTRICT="!test? ( test )"
CDEPEND="
x11-libs/cairo[X?]
X? ( x11-libs/libX11 )
"
DEPEND="
${CDEPEND}
media-libs/libpng
test? (
dev-cpp/gtest
)
"
RDEPEND="
${CDEPEND}
"
PATCHES=(
"${FILESDIR}/pscircle-1.4.0-enable-tests-with-option.patch"
)
src_prepare() {
default
restore_config config.h.meson
}
src_configure() {
# Leads to test failures in argparser
filter-lto
local emesonargs=(
$(meson_use test enable-tests)
$(meson_use X enable-x11)
)
meson_src_configure
}
src_install() {
meson_src_install
einstalldocs
systemd_douserunit examples/pscircle.service
save_config config.h.meson
}

View File

@ -0,0 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="Visualizes Linux processes in a radial tree"
HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git"
else
SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-v${PV}"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
DEPEND="
x11-libs/cairo
"
RDEPEND="
${DEPEND}
media-libs/libpng
x11-libs/libX11
"