Compare commits

..

2 Commits

Author SHA1 Message Date
projectmoon 3ab04ef6c4 librem ec 2021-07-09 21:26:53 +00:00
projectmoon 49f7baa08f librem ec 2021-07-09 20:29:43 +00:00
52 changed files with 58 additions and 1616 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
metadata/md5-cache
profile/use.local.desc

View File

@ -1,87 +0,0 @@
Personal Gentoo overlay, focusing mostly on needed tools and
compatibility for a libre version of Gentoo on the Librem 14 computer. A
handful of other pacakages are also provided.
Linux-libre and Librem-related packages:
- **sys-kernel/libre-kernel**: A dist-kernel built from the [Linux-libre
sources][linux-libre].
- **media-fonts/fonts-meta**: Modified version to remove non-Free
fonts from the dependencies.
- **sys-kernel/librem-ec-acpi**: An ebuild packaging the [Librem 14
EC ACPI kernel module][ec-acpi], necessary for proper functioning
of the laptop's battery charging and function keys.
* **sys-power/librem-control**: A GTK application to control
parameters of the Librem EC (battery charge levels, etc).
* **sys-apps/purism_ectool**: Tool for querying and flashing
Purism EC firmware images on certain Librem laptops.v
## How to Add This Repository
Using eselect-repository:
```
# eselect repository add projectmoon git https://git.agnos.is/projectmoon/projectmoon-overlay
```
It usually a best practice to mask packages from overlays, except the ones you want:
In `/etc/portage/package.mask`:
```
*/*::projectmoon
```
Individual packages can be unmasked (and added to
`package.accept_keywords` if necessary). For instructions on unmasking
individual packages, see the relevant documentation below.
## The Linux-libre dist-kernel
*See [docs/Libre-Kernel.md](docs/Libre-Kernel.md).*
This overlay provides a dist-kernel (based on
`sys-kernel/vanilla-kernel`) using the Linux-libre kernel sources, and
an accompanying updated version of `virtual/dist-kernel`. It is
maintained and tested for my personal use on amd64. The Linux-libre
kernel removes the ability for the Linux kernel to load firmware that is
not [Free Software][free-software]. The ebuild roughly follows the
current stable gentoo-kernel for amd64.
## Purism Librem Computer Packages
*See [docs/Librem.md](docs/Librem.md).*
This overlay contains packages for Purism's Librem computers, focusing
mostly on the Librem 14.
## Input Leap
*See [docs/Input-Leap.md](docs/Input-Leap.md)*
This overlay contains a working, updated ebuild for Input Leap, a fork
of Barrier (itself a fork of Synergy), which is a "virtual KVM switch",
allowing you to share a keyboard and mouse between several computers
over the network.
The most important things about Input Leap:
- It is Maintained.
- It supports Wayland.
## Other Packages
*More documentation coming soon.*
Packages must be unmasked and added to `package.accept_keywords` as
necessary.
# Disclaimer
The ebuilds in this overlay are really only tested for my specific
use-case. I do not test every combination of USE flags, for example.
So there may be issues with non-Free dependencies etc in some cases.
[linux-libre]: https://www.fsfla.org/ikiwiki/selibre/linux-libre/
[free-software]: https://www.gnu.org/philosophy/free-sw.en.html#fs-definition
[ec-acpi]: https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms
[ec-instructions]: https://puri.sm/projects/librem-ec/
[ff-pwas]: https://github.com/filips123/PWAsForFirefox

View File

@ -1,2 +0,0 @@
DIST rust-analyzer-2022-12-12.gz 12848044 BLAKE2B b3c6e1b192d8db6518997b93b12551c1f43e70ca74a306395b764a73982b329712931f34932dd98f866d3e6850bd59dd533edaca8f06ca9f7b41ac6526552388 SHA512 b9d787307021a3753df7a2ef05e52aaf8b0389000770dadd326d5476ac20ef6b328741412601fb5dc467e0511911065f59bd86b5b96f5da265658c0579e54a72
DIST rust-analyzer-x86_64-unknown-linux-gnu.gz 11550409 BLAKE2B 6d1dc7dd15375016f153d53c408f882f219778dfbeaa98e15fcb51a5f6704b29a73205c1c2ed1162ad2794387d9abc3fc569a19d243135428fc4ab6b46b9bcac SHA512 c23b2e9d645863b84e0961429c654365887f265faf883f94b62bedc4a9b8de25c00cc3e1653d614f485bebb9cbe4abb241072955d8d46bdc082795d597285422

View File

@ -1,31 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
HOMEPAGE="https://rust-analyzer.github.io"
KEYWORDS="~amd64"
# rust-analyzer makes date-based releases at the moment.
DATE=${PV:3:8}
YEAR=${DATE:0:4}
MONTH=${DATE:4:2}
DAY=${DATE:6:2}
VERSION="${YEAR}-${MONTH}-${DAY}"
SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/${VERSION}/rust-analyzer-x86_64-unknown-linux-gnu.gz"
LICENSE="Apache-2.0 MIT-with-advertising"
SLOT="0"
PROPERTIES="live"
S=${WORKDIR}
src_install() {
newbin rust-analyzer-x86_64-unknown-linux-gnu rust-analyzer
}
pkg_postinst() {
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}

View File

@ -1,30 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
HOMEPAGE="https://rust-analyzer.github.io"
KEYWORDS="~amd64"
# rust-analyzer makes date-based releases at the moment.
DATE=${PV:3:8}
YEAR=${DATE:0:4}
MONTH=${DATE:4:2}
DAY=${DATE:6:2}
VERSION="${YEAR}-${MONTH}-${DAY}"
SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/${VERSION}/rust-analyzer-x86_64-unknown-linux-gnu.gz"
LICENSE="Apache-2.0 MIT-with-advertising"
SLOT="0"
PROPERTIES="live"
S=${WORKDIR}
src_install() {
newbin rust-analyzer-x86_64-unknown-linux-gnu rust-analyzer
}
pkg_postinst() {
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}

View File

@ -1,30 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
HOMEPAGE="https://rust-analyzer.github.io"
KEYWORDS="~amd64"
# rust-analyzer makes date-based releases at the moment.
DATE=${PV:3:8}
YEAR=${DATE:0:4}
MONTH=${DATE:4:2}
DAY=${DATE:6:2}
VERSION="${YEAR}-${MONTH}-${DAY}"
SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/${VERSION}/rust-analyzer-x86_64-unknown-linux-gnu.gz"
LICENSE="Apache-2.0 MIT-with-advertising"
SLOT="0"
PROPERTIES="live"
S=${WORKDIR}
src_install() {
newbin rust-analyzer-x86_64-unknown-linux-gnu rust-analyzer
}
pkg_postinst() {
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}

View File

@ -1,30 +0,0 @@
# Copyright 2021-2022 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
HOMEPAGE="https://rust-analyzer.github.io"
KEYWORDS="~amd64"
# rust-analyzer makes date-based releases at the moment.
DATE=${PV:3:8}
YEAR=${DATE:0:4}
MONTH=${DATE:4:2}
DAY=${DATE:6:2}
VERSION="${YEAR}-${MONTH}-${DAY}"
SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/${VERSION}/rust-analyzer-x86_64-unknown-linux-gnu.gz -> rust-analyzer-${VERSION}.gz"
LICENSE="Apache-2.0 MIT-with-advertising"
SLOT="0"
PROPERTIES="live"
S=${WORKDIR}
src_install() {
newbin "rust-analyzer-${VERSION}" rust-analyzer
}
pkg_postinst() {
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}

View File

@ -1,143 +0,0 @@
# The Linux-libre dist-kernel
This overlay provides a dist-kernel (based on
`sys-kernel/vanilla-kernel`) using the Linux-libre kernel sources, and
an accompanying updated version of `virtual/dist-kernel`. It is
maintained and tested for my personal use on amd64. The Linux-libre
kernel removes the ability for the Linux kernel to load firmware that
is not [Free Software][free-software]. The ebuild roughly follows the
current stable 5.15.x gentoo-kernel for amd64.
The libre kernel can be installed alongside other dist-kernels, and
works with the `dist-kernel` and `initramfs` USE flags. The ebuild
does NOT fail if non-free firmware (i.e. `sys-kernel/linux-firmware`
with `redistributable` USE flag set) is installed, but it will warn
you if this is the case. It will also warn you if the `linux-firmware`
package is not found at all, like normal dist-kernel ebuilds.
The kernel installed by this ebuild has the version suffix
`-gnu-dist`, making it easy to determine which kernel it is.
## Quick Setup
This is a quick guide for setting up the system to properly install the
Linux-libre Kernel. It assumes you have set up the overlay as described
in the README.
In `/etc/portage/package.use`:
```
# Install only libre firmware
sys-kernel/linux-firmware -redistributable -unknown-license
# libre kernel with gentoo kernel patches applied
sys-kernel/libre-kernel verify-sig
# or, if you do not want gentoo patches applied
sys-kernel/libre-kernel verify-sig -gentoo
```
In `/etc/portage/package.unmask`:
```
sys-kernel/libre-kernel::projectmoon
virtual/dist-kernel::projectmoon
virtual/linux-sources::projectmoon
sec-keys/openpgp-keys-linux-libre::projectmoon
```
In `/etc/portage/package.accept_keywords`:
```
sys-kernel/librem-ec-acpi::projectmoon
sys-kernel/libre-kernel::projectmoon ~amd64
virtual/dist-kernel::projectmoon
virtual/linux-sources::projectmoon
```
In `/etc/portage/package.mask`:
```
# stay on libre kernel
sys-kernel/gentoo-kernel
sys-kernel/gentoo-kernel-bin
sys-kernel/vanilla-kernel
virtual/linux-sources::gentoo
```
## Detailed Instructions
The rest of this documentation covers the quick steps above in detail,
and extra information about the Linux firmware package, the Librem EC
ACPI module, etc.
### Signature Verification
It is recommended to enable GPG signature verification of
`sys-kenrel/libre-kernel` by adding the USE flag to
o`/etc/portage/package.use`:
```
sys-kernel/libre-kernel verify-sig
```
### Keeping the Linux-libre Kernel Installed
Portage will sometimes try to install `sys-kernel/gentoo-kernel` or
another dist-kernel if there is a newer stable version than
`sys-kernel/libre-kernel`. This happens because of a version bump to
`virtual/dist-kernel` before this overlay has updated its own copy of
`virtual/dist-kernel`.
To prevent portage from attempting to install another dist-kernel
instead of the Linux-libre kernel, you should mask other dist-kernels in
`/etc/portage/package.mask`:
```
# stay on libre kernel
sys-kernel/gentoo-kernel
sys-kernel/gentoo-kernel-bin
sys-kernel/vanilla-kernel
```
### Linux Firmware
*Note: If you are running the Linux-libre kernel, it is unlikely (though
not impossible) that you need to install `sys-kernel/linux-firmware`.*
To install only the Linux firmware that meets the [Free Software
Definition][free-software], configure `/etc/portage/package.use`
accordingly:
```
# Install only libre firmware
sys-kernel/linux-firmware -redistributable -unknown-license
```
You can also edit `/etc/portage/profile/package.use.mask` to prevent
the linux-firmware package from ever installing the closed-source
firmware by adding this line:
```
# forcibly stop non-free firmware installation
sys-kernel/linux-firmware redistributable unknown-license
```
### Using the Librem EC ACPI kernel module
The Librem EC ACPI kernel module should install and be automatically
available (via modprobe) after installation, using `emerge
sys-kernel/librem-ec-acpi`. The module is currently installed to
`/lib/modules/<kernel>/librem/`.
This ebuild supports the `dist-kernel` USE flag, and the module will
automatically be rebuilt when installing a new dist-kernel if that
flag is enabled.
If you are not using a dist-kernel, you will need to do `emerge
@modules-rebuild` to install the module after you upgrade or install a
new kernel.
[free-software]: https://www.gnu.org/philosophy/free-sw.en.html#fs-definition
[linux-libre]: https://www.fsfla.org/ikiwiki/selibre/linux-libre/
[free-software]: https://www.gnu.org/philosophy/free-sw.en.html#fs-definition

View File

@ -1,58 +0,0 @@
# Packages for Purism Librem Computers
This overlay provides a handful of ebuilds for Purism Librem computers (particularly, the Librem 14):
- **sys-kernel/librem-ec-acpi**: An ebuild packaging the [Librem 14
EC ACPI kernel module][ec-acpi], necessary for proper functioning
of the laptop's battery charging and function keys.
* **sys-power/librem-control**: A GTK application to control
parameters of the Librem EC (battery charge levels, etc).
* **sys-apps/purism_ectool**: Tool for querying and flashing
Purism EC firmware images on certain Librem laptops.
## Quick Setup
This is a quick guide for setting up the system to properly install
Librem-related packages. It assumes you have set up the overlay as
described in the README.
In `/etc/portage/package.unmask`:
```
sys-kernel/librem-ec-acpi::projectmoone
sys-apps/purism_ectool::projectmoon
sys-power/librem-control::projectmoon
```
In `/etc/portage/package.accept_keywords`:
```
sys-kernel/librem-ec-acpi::projectmoon
sys-apps/purism_ectool::projectmoon
sys-power/librem-control::projectmoon **
```
## The Librem EC ACPI kernel module
The Librem EC ACPI kernel module should install and be automatically
available (via modprobe) after installation, using `emerge
sys-kernel/librem-ec-acpi`. The module is currently installed to
`/lib/modules/<kernel>/librem/`.
This ebuild supports the `dist-kernel` USE flag, and the module will
automatically be rebuilt when installing a new dist-kernel if that
flag is enabled.
If you are not using a dist-kernel, you will need to do `emerge
@modules-rebuild` to install the module after you upgrade or install a
new kernel.
### Librem Control and the Purism EC Tool
These two appliations can be used to manipulate device-specific
features of the Librem 14, including the flashing of firmware images.
It is not recommended to use the EC tool from this overlay for
flashing a firmware image. Instead, follow the official [firmware
flashing instrutions][ec-instructions].
[ec-acpi]: https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms
[ec-instructions]: https://puri.sm/projects/librem-ec/

View File

@ -1,14 +0,0 @@
How to create new version of the Firefox PWA Connector:
- Check Firefox PWA repo for new version.
- Pull latest changes of repo and check out proper tag.
- Run `cargo vendor` in the repo, under the `native/` directory.
- Create tarball of vendored cargo deps: `tar -czvf vendor-X.Y.Z.tar.gz vendor/`.
- Move vendor tarball to the overlay files repo under `www-plugins/firefox-pwa-connector`.
- Push vendored tarball for new version.
- Copy over ebuild to new version.
- Check the Cargo.toml of the connector for any new git deps, and add to
the git crates if necessary. Cargo.lock can be checked to find the
proper commit hashes.
- Check repo Makefile.toml for any new installation instructions for the
Linux target. Replicate in `src_install` phase.

View File

@ -1,26 +0,0 @@
How to update the Linux-libre Kernel ebuild for a new version
---
1. Check for new stable version of `gentoo-kernel` on packages.gentoo.org.
2. If so, version bump `libre-kernel` ebuild to match new
`gentoo-kernel` version.
3. Check the `gentoo-kernel` ebuild for changes to the Gentoo config and
patches versions.
4. If the Gentoo patchset version has changed:
1. Make sure the patch version offset thingy matches gentoo-kernel.
2. Make sure config version is the same.
3. Make sure the config hash is the same.
4. Make sure ebuild applies config changes with `ebuild
libre-kernel-X.Y.Z.ebuild clean prepare`.
5. Run `pkgdev manifest` to have portage download the libre kernel files
and update the manifest.
5. Attempt to build the kernel using `ebuild libre-kernel-X.Y.Z.ebuild
clean merge`. You might need to use `sudo` or `doas` for this.
6. Update `virtual/dist-kernel` package to new version, by copying the
proper dist-kernel ebuild from the gentoo repo, and adding
`sys-kernel/libre-kernel` to its list of possible deps.
7. Make sure `virtual/linux-sources` is up to date. This package rarely
changes, but updating it follows the same procedure as
`virtual/dist-kernel`.
If the build succeeds, the new ebuilds can be pushed to the repository.

View File

@ -1,110 +0,0 @@
# Copyright 1999-2022 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Meta package for fonts to cover most needs"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
LICENSE="metapackage"
SLOT="0"
KEYWORDS="amd64 ~loong ~riscv x86"
IUSE="cjk emoji +latin ms"
LANGS="as bn bo brx doi dz gu hi km kn kok ks mai ml mr ne or pa ru sa sat sd si syc ta te th"
for lang in ${LANGS}; do
IUSE+=" l10n_${lang}"
done
unset lang LANGS
RDEPEND="media-fonts/cantarell
media-fonts/droid
media-fonts/noto
media-fonts/oldstandard
media-fonts/powerline-symbols
media-fonts/ubuntu-font-family
media-libs/fontconfig
|| (
media-fonts/source-code-pro
media-fonts/anonymous-pro
media-fonts/cascadia-code
media-fonts/fantasque-sans-mono
media-fonts/fira-code
media-fonts/fira-mono
media-fonts/hack
media-fonts/hermit
media-fonts/ibm-plex
media-fonts/inconsolata
media-fonts/iosevka
media-fonts/jetbrains-mono
media-fonts/montecarlo
media-fonts/roboto
media-fonts/terminus-font
)
cjk? (
media-fonts/noto-cjk
)
emoji? (
|| (
media-fonts/noto-emoji
media-fonts/joypixels
)
)
l10n_as? ( media-fonts/lohit-assamese )
l10n_bn? ( media-fonts/lohit-bengali )
l10n_bo? ( media-fonts/tibetan-machine-font )
l10n_brx? ( media-fonts/lohit-devanagari )
l10n_doi? ( media-fonts/lohit-devanagari )
l10n_dz? ( media-fonts/dzongkha-fonts )
l10n_gu? ( media-fonts/lohit-gujarati )
l10n_hi? ( media-fonts/lohit-devanagari )
l10n_km? ( media-fonts/khmer )
l10n_kn? ( media-fonts/lohit-kannada )
l10n_kok? ( media-fonts/lohit-devanagari )
l10n_ks? ( media-fonts/lohit-devanagari )
l10n_mai? ( media-fonts/lohit-devanagari )
l10n_ml? ( media-fonts/lohit-malayalam )
l10n_mr? (
media-fonts/lohit-devanagari
media-fonts/lohit-marathi
)
l10n_ne? (
media-fonts/lohit-devanagari
media-fonts/lohit-nepali
)
l10n_or? ( media-fonts/lohit-odia )
l10n_pa? ( media-fonts/lohit-gurmukhi )
l10n_ru? (
media-fonts/font-misc-cyrillic
media-fonts/paratype
media-fonts/paratype-astra
)
l10n_sa? ( media-fonts/lohit-devanagari )
l10n_sat? ( media-fonts/lohit-devanagari )
l10n_sd? ( media-fonts/lohit-devanagari )
l10n_si? ( media-fonts/lklug )
l10n_syc? ( media-fonts/font-misc-meltho )
l10n_ta? (
media-fonts/lohit-tamil
media-fonts/lohit-tamil-classical
)
l10n_te? ( media-fonts/lohit-telugu )
l10n_th? ( media-fonts/thaifonts-scalable )
latin? (
media-fonts/courier-prime
media-fonts/dejavu
media-fonts/font-cursor-misc
media-fonts/liberation-fonts
media-fonts/open-sans
media-fonts/quivira
media-fonts/signika
media-fonts/tex-gyre
media-fonts/ttf-bitstream-vera
media-fonts/urw-fonts
)
ms? (
media-fonts/corefonts
media-fonts/croscorefonts
media-fonts/crosextrafonts-caladea
media-fonts/crosextrafonts-carlito
)"

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>alexey+gentoo@asokolov.org</email>
<name>Alexey Sokolov</name>
</maintainer>
<maintainer type="person" proxied="proxy">
<email>juippis@gentoo.org</email>
<name>Joonas Niilola</name>
</maintainer>
<maintainer type="project">
<email>fonts@gentoo.org</email>
<name>Fonts</name>
</maintainer>
<use>
<flag name="emoji">Install a font supporting emojis</flag>
<flag name="latin">Install additional latin fonts</flag>
<flag name="ms">Install (free) fonts for the "ms" preset</flag>
</use>
<stabilize-allarches/>
</pkgmetadata>

View File

@ -1,27 +0,0 @@
Title: Libre Kernel Gentoo USE Flag and Fixes
Author: Yuan Liao <liaoyuan@gmail.com>
Posted: 2023-03-01
Revision: 1
News-Item-Format: 2.0
The latest libre-kernel ebuild (6.1.2) has been revised to support a new
gentoo USE flag, as well as fixes to the kernel configuration version.
The new USE flag applies a subset of the Gentoo kernel patchset (from
the gentoo-kernel package) to the Linux-libre kernel source. Most of the
patches apply, but the larger patchsets for the kernel do not, in many
cases because it seems like those patches have already been applied to
the upstream source.
Applying of the Gentoo kernel patchset is controlled by the new local
USE flag gentoo. It is enabled by default. The USE flag can be disabled
by turning it off in /etc/portage/package.use:
sys-kernel/libre-kernel -gentoo
Note: whether or not the USE flag is enabled, the patch for the default
Gentoo kernel configuration will always be applied.
Additionally, the Gentoo kernel config version has been fixed in the r1
ebuild. The kernel configuration applied was being used from a 5.x
build. In the future, the correct kernel config version will follow the
gentoo-kernel package.

View File

@ -1,27 +0,0 @@
Title: Libre Kernel Gentoo USE Flag and Fixes
Author: projectmoon <projectmoon@agnos.is>
Posted: 2023-03-01
Revision: 1
News-Item-Format: 2.0
The latest libre-kernel ebuild (6.1.2) has been revised to support a new
gentoo USE flag, as well as fixes to the kernel configuration version.
The new USE flag applies a subset of the Gentoo kernel patchset (from
the gentoo-kernel package) to the Linux-libre kernel source. Most of the
patches apply, but the larger patchsets for the kernel do not, in many
cases because it seems like those patches have already been applied to
the upstream source.
Applying of the Gentoo kernel patchset is controlled by the new local
USE flag gentoo. It is enabled by default. The USE flag can be disabled
by turning it off in /etc/portage/package.use:
sys-kernel/libre-kernel -gentoo
Note: whether or not the USE flag is enabled, the patch for the default
Gentoo kernel configuration will always be applied.
Additionally, the Gentoo kernel config version has been fixed in the r1
ebuild. The kernel configuration applied was being used from a 5.x
build. In the future, the correct kernel config version will follow the
gentoo-kernel package.

View File

@ -1,13 +0,0 @@
Title: Libre Kernel Gentoo USE Flag and Fixes
Author: projectmoon <projectmoon@agnos.is>
Posted: 2023-03-29
Revision: 1
News-Item-Format: 2.0
The libre-kernel ebuilds now have the main Linux-libre release URLs as
fallback SRC_URIs, in case the mirror hosting the files is down. The
mirrors exist because sometimes the Linux-libre project removes releases
if they discover that the release violates the Free Software
Distribution guidelines. While good for freedom purity, this can make
upgrades difficult. Thus, the files are mirrored on an external for the
libre-kernel ebuilds.

View File

@ -1,13 +0,0 @@
Title: Libre Kernel Gentoo USE Flag and Fixes
Author: projectmoon <projectmoon@agnos.is>
Posted: 2023-03-29
Revision: 1
News-Item-Format: 2.0
The libre-kernel ebuilds now have the main Linux-libre release URLs as
fallback SRC_URIs, in case the mirror hosting the files is down. The
mirrors exist because sometimes the Linux-libre project removes releases
if they discover that the release violates the Free Software
Distribution guidelines. While good for freedom purity, this can make
upgrades difficult. Thus, the files are mirrored on an external for the
libre-kernel ebuilds.

View File

@ -1,15 +0,0 @@
Title: virtual/linux-sources unmask required
Author: projectmoon <projectmoon@agnos.is>
Posted: 2023-04-14
Revision: 1
News-Item-Format: 2.0
Changes to the linux-sources virtual have required that this overlay
patches that ebuild when using the libre-kernel. If you have set up this
overlay to only unmask specific packages, you should also add the
linux-sources package to your package.unmask file:
virtual/linux-sources::projectmoon
This will prevent portage from also installing linux sources package
like gentoo-sources when you already have the libre-kernel installed.

View File

@ -1,15 +0,0 @@
Title: virtual/linux-sources unmask required
Author: projectmoon <projectmoon@agnos.is>
Posted: 2023-04-14
Revision: 1
News-Item-Format: 2.0
Changes to the linux-sources virtual have required that this overlay
patches that ebuild when using the libre-kernel. If you have set up this
overlay to only unmask specific packages, you should also add the
linux-sources package to your package.unmask file:
virtual/linux-sources::projectmoon
This will prevent portage from also installing linux sources package
like gentoo-sources when you already have the libre-kernel installed.

View File

@ -1,9 +0,0 @@
Title: Libre Kernel 6.x
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-08-22
Revision: 1
News-Item-Format: 2.0
From this point, I will now be following the stable 6.x releases of
gentoo-kernel for the libre-kernel package. The last available 5.15.x
version will remain 5.15.163, for the time being.

View File

@ -1,9 +0,0 @@
Title: Libre Kernel 6.x
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-08-22
Revision: 1
News-Item-Format: 2.0
From this point, I will now be following the stable 6.x releases of
gentoo-kernel for the libre-kernel package. The last available 5.15.x
version will remain 5.15.163, for the time being.

View File

@ -1,13 +0,0 @@
Title: Input Leap 3.0.0
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-10-04
Revision: 1
News-Item-Format: 2.0
Input Leap 3.0 is available. The ebuild is a 9999 version, so in order
to install it, you will need to rebuild input leap manually, e.g. emerge
-1 x11-misc/input-leap. The Gentoo ebuild repository still has not
updated to libportal 0.8 at time of writing, so the custom version of
libportal from this overlay is still required. When they do update, the
ebuild of input-leap will be adjusted to require libportal >= 0.8, and
properly versioned.

View File

@ -1,13 +0,0 @@
Title: Input Leap 3.0.0
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-10-04
Revision: 1
News-Item-Format: 2.0
Input Leap 3.0 is available. The ebuild is a 9999 version, so in order
to install it, you will need to rebuild input leap manually, e.g. emerge
-1 x11-misc/input-leap. The Gentoo ebuild repository still has not
updated to libportal 0.8 at time of writing, so the custom version of
libportal from this overlay is still required. When they do update, the
ebuild of input-leap will be adjusted to require libportal >= 0.8, and
properly versioned.

View File

@ -1,12 +0,0 @@
Title: Input Leap Latest Builds Broken
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-08-22
Revision: 1
News-Item-Format: 2.0
The latest commits to input-leap have broken the git build. The last
known working build of a stable release is v3.0.1. To force this, create
an env configuration for input-leap:
MYCMAKEARGS="-DQT_DEFAULT_MAJOR_VERSION=5"
EGIT_OVERRIDE_COMMIT_INPUT_LEAP_INPUT_LEAP="v3.0.1"

View File

@ -1,12 +0,0 @@
Title: Input Leap Latest Builds Broken
Author: projectmoon <projectmoon@agnos.is>
Posted: 2024-08-22
Revision: 1
News-Item-Format: 2.0
The latest commits to input-leap have broken the git build. The last
known working build of a stable release is v3.0.1. To force this, create
an env configuration for input-leap:
MYCMAKEARGS="-DQT_DEFAULT_MAJOR_VERSION=5"
EGIT_OVERRIDE_COMMIT_INPUT_LEAP_INPUT_LEAP="v3.0.1"

View File

@ -1,9 +0,0 @@
Title: Input Leap Removal
Author: projectmoon <projectmoon@agnos.is>
Posted: 2025-04-17
Revision: 1
News-Item-Format: 2.0
Input Leap has been removed from the overlay, because the Gentoo portage
tree has an updated version of libportal, and the guru ebuild works with
wayland. Please migrate to x11-misc/input-leap::guru.

View File

@ -1,9 +0,0 @@
Title: Input Leap Removal
Author: projectmoon <projectmoon@agnos.is>
Posted: 2025-04-17
Revision: 1
News-Item-Format: 2.0
Input Leap has been removed from the overlay, because the Gentoo portage
tree has an updated version of libportal, and the guru ebuild works with
wayland. Please migrate to x11-misc/input-leap::guru.

View File

@ -1,3 +0,0 @@
move sys-kernel/librem-ec-acpi sys-apps/librem-ec-acpi
move sys-firmware/purism_ectool sys-apps/purism_ectool
move sys-apps/librem-ec-acpi sys-kernel/librem-ec-acpi

View File

@ -1 +0,0 @@
DIST BCB7CF877E7D47A7.asc 1213 BLAKE2B 5c7cd96062200e3419915a95977e3201299b52f35886de504cc669b5b5192519805f53301f7d70c4f0ac5a261733eb169a1372c1da1a48b0cd86a42ecbfbccae SHA512 1cc1b5bc86cf5b853e1b03f8d06e2080aadefb4b6b8af55f23a7b44afb57face718227c8401162fed2cbc394cf6fddcc65d121e313905b1acd16a4cf63d21e4b

View File

@ -1,20 +0,0 @@
# Copyright 2022 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="OpenPGP keys used to sign Linux-libre-related packages"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
SRC_URI="https://linux-libre.fsfla.org/pub/linux-libre/SIGNING-KEY -> BCB7CF877E7D47A7.asc"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
S="${WORKDIR}"
src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - linux-libre.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}

View File

@ -1,19 +0,0 @@
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
DIST cc-1.0.67.crate 53486 BLAKE2B 42fd02a5886df50857075c909819c8afcf091cee6b7bc517848786f287f4559e70a07f0a0f42a742baa2665465dfdb2139ecac7e93f1a41b16eab30556eb0259 SHA512 f1ad4abdaad2667b190d1f8df8515f603107be1f69bdbdc02b5159764a6ed18b3f672d6b06af50c7f2fd3e6e3dad5df0fcd0dda762d909ba0922c769f1efbe05
DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25 SHA512 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
DIST downcast-rs-1.2.0.crate 11670 BLAKE2B 7d44d708c1ac068a02ea5d72dd3caa8a7f6d18b7ee653d520600acc9c52365824f5b8d3c68143d1d13aa438a18b16ff9975e15131cac7ec48b2d995184673d37 SHA512 b80b72f30b42c5e6b2bd33287f2dd22be5673b2fa5c1a8c75c5de224fc7eca46a55f2fce63c02d225dfbc94ac3462b4b2fec53d63331c70da6307ebcdcc6cb14
DIST hermit-abi-0.1.18.crate 9936 BLAKE2B a5a1d1c9bdf83fdca8edc392f8fa7d9b9b248ac8d716e009300220befa5d8d80601643e768037be89bbbe6e21adbe6349c94c595cee3837c4b92b5f98ba838ad SHA512 54f060c6c1c80d41f40cec7102345147efb535aff9fa5cc0ed4ccd7f010bfdb6daaf40626fd5069af60ceb42058452803b59d4bbcfbed4c5546c79b57ae0f914
DIST hidapi-1.2.5.crate 130695 BLAKE2B cbc920845e1ce108741925c7c8dbc15bfa864b251abd5659acdad9b7ac60a598c16a4b822bb29bfb9b0bdb2d1f68b745398c73d74155ceea03b1319a065f95b8 SHA512 38783fcba1b3d08b86ab2a2f03a8a955de82f60111f6014b1d143d09728f95d5ef825ec4b73fd04700e6170c2634e07b50310e9745ce3259019590248c2c27b0
DIST libc-0.2.89.crate 515952 BLAKE2B f8af6016b2613ef21f83bbb47b4f2a04939ab6f2d4d525959aa90c6874348327319c7a44084f27ca52d01cca37e95e2b1c5c809e4a82fd5fcfc670d445f23ee8 SHA512 da6668611b87837532de9844bb3db18d992ebfe7e0c064646f0d24014730c9451fe74c6d9374191172c2dd091e8b9ce83a7cf56fc0644088190c8963221f5b9a
DIST pkg-config-0.3.19.crate 15451 BLAKE2B dc23b5ef12719b4b3d2fc5c93c087399ba954a5e127be91b26619466d5d7422e71684d02905304dca65273d69b66338d94c0642e3810a14df845ef507ddc0bfb SHA512 42bc13c4e39c8f71690db527d815884acdfd2ccf5fbfea700c6ed60257e852cdcb1c443e7774409e51da53612b0ff0aa165554b99fd0cba973f94a8df52982d9
DIST purism_ectool-9999.tar.gz 232692 BLAKE2B 8025dde406aa718336ece55430151ec30acf7b29bb9f50581abfe70d469a4780e87356bf2ea3dac601277bb117b1684876debeacff23ff3961e1cf939316a1dc SHA512 edbb688535084c8d6ebe7de9d2448248c575d7448afec6078ea90f09150079a33c96ea3b18b38b62005626db9e0c1bc201e5300954380e4dd0aa14b60ea9fd97
DIST redox_hwio-0.1.3.crate 3264 BLAKE2B e4a1f50d8f45ce3ab7a9760f070f9882930f3b0be7754854577d483e6bbd797f1f5e5ca16dc3677351572882368597ceeaad9ff7cdcc0f91195634524245c96e SHA512 d3cc726435da87dbb10adc7ce65257e0a3e9f9668b28fd4667027c9bbcad4ec9659c3fc7c91e94aac24cd8d6439036546d13e2134eaea7209c6265b3fa67bb66
DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
DIST unicode-width-0.1.8.crate 16732 BLAKE2B 5aa7b87eef1322e4151a3fcf981ade311b8fa030527d7561815950e58d3f15156163dfe34da6a708c37dccc3f7652bf7fc2cd899fe8bb0118b67c4113ff3a2d2 SHA512 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc8e1ef4e847648e2de08dece8c4debe92889edeccb8d393645fd0b62436b49d236ded7ad181c4a51239a9539 SHA512 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513

View File

@ -1,44 +0,0 @@
# Copyright 2017-2024 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4-r1
EAPI=8
CRATES="
ansi_term@0.11.0
atty@0.2.14
bitflags@1.2.1
cc@1.0.67
clap@2.33.3
downcast-rs@1.2.0
hermit-abi@0.1.18
hidapi@1.2.5
libc@0.2.89
pkg-config@0.3.19
redox_hwio@0.1.3
strsim@0.8.0
textwrap@0.11.0
unicode-width@0.1.8
vec_map@0.8.2
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
"
inherit cargo
EC_VERSION="l14-freeze-202404-test-20240425"
DESCRIPTION="Purism Librem EC tool"
HOMEPAGE="https://source.puri.sm/firmware/librem-ec//-/tree//tool"
SRC_URI="
$(cargo_crate_uris ${CRATES})
https://source.puri.sm/firmware/librem-ec/-/archive/${EC_VERSION}/librem-ec-${EC_VERSION}.tar.gz -> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/librem-ec-${EC_VERSION}/tool"
RESTRICT="mirror"

View File

@ -1,36 +0,0 @@
{%- block header -%}
# Copyright 2017-{{ this_year }} Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild {{ cargo_ebuild_ver }}
{% endblock %}
EAPI={%- block eapi -%}7{%- endblock %}
{% block crates -%}
CRATES="
{% for crate in crates -%}
{{ crate }}
{%- endfor -%}"
{%- endblock %}
inherit {% block inherit -%}cargo{%- endblock %}
EC_VERSION="l14-shutoff-202403"
DESCRIPTION={%- block description -%}"{{ description | trim }}"{%- endblock %}
HOMEPAGE="https://source.puri.sm/firmware/librem-ec//-/tree//tool"
SRC_URI={%- block src_uri -%}{% raw -%}"
$(cargo_crate_uris ${CRATES})
https://source.puri.sm/firmware/librem-ec/-/archive/${EC_VERSION}/librem-ec-${EC_VERSION}.tar.gz -> ${P}.tar.gz
"{%- endraw %}{%- endblock %}
LICENSE="MIT"
SLOT={%- block slot -%}"0"{%- endblock %}
KEYWORDS={%- block keyword -%}"~amd64"{%- endblock %}
{% block variables -%}
S="${WORKDIR}/librem-ec-${EC_VERSION}/tool"
RESTRICT="mirror"
{%- endblock %}
{%- block phases -%}
{%- endblock -%}

View File

@ -1,16 +0,0 @@
DIST genpatches-5.15-175.base.tar.xz 7264676 BLAKE2B 6911fc0fcef31daa55ddeb93e121acf4a95d130866f37ac0113a8697df1996c13bbf65e14f4a5703f7bb3f4dd3ebfb29e258ca358d191c0580a7f8e61fbf7c0c SHA512 3fc49566b23ef50590a3b9f90eb99558c9e37847259e0defdfb0ca036c37b7f45c4989d58787b8488c67ea031114173319346c1c17799680ebfdc581ae7e4588
DIST genpatches-5.15-175.extras.tar.xz 4060 BLAKE2B 1ff5b5e69f9cb0e243d03d761c430bcb04ef698199c6a68e15c9535cf58b8fc0b12703fced2fd1e884c7c7d7b948b778f633d2a5de619de9a0acee60ef7c20a7 SHA512 8925f59f2d30f07838ca111c45496d7fa0229362065fbe6643dcf6dd0998ee747a8d8ed217a63b6e77b28d8b0775872408fdf8260e6c737db3a4aade0f299041
DIST genpatches-6.12-25.base.tar.xz 1528212 BLAKE2B 818643d9f5ec5f4edc3cf2360f75bcf213ca99846e2bb96721933fa1785624aef8ae5c3ecd3af4f2e13e0cc44fed86e2d1cad8b53ed45acddcb9d91fc483c20b SHA512 746f4b5523fc3ebb3c59211c7fb4a80714e6068ab769a001c044ad300621b5a4a7a0b0b06c5a689bbf382cb27098f36725962bafb4d6e4489ab44cdb19b6ed1d
DIST genpatches-6.12-25.extras.tar.xz 4056 BLAKE2B 2244be3d7b4121232106ee8110cb12ab75c8ae1a15377dc87598e25a287b8ce48577945a1677b944ff5fb5ce31e7309121181effe3814d2a522250fdaf8bcaa1 SHA512 d4fffa688883298c41f0c0ceae9ebdc234ec615945165fd74f67d31ececb23a2c905c106aa63ff16ce28bab31b1e08660002b68df0e27e0b54682b2a4981bb92
DIST genpatches-6.12-29.base.tar.xz 1803156 BLAKE2B 5db87d06800e230ab09e6f085126163fb4c3ad98b4261c988563436c9e5ab9c3783152c135ddec11012c3e6f1f9922782e9355416424af47074af5b352e3463e SHA512 4a98527730e096a1eea0d16faf88604d0db359b1ded00cab1417e4b6e2ba4f2fd9ef1a1739480895720ef63d80b753dd8752cc81592949d24e3dc678e4b6ea95
DIST genpatches-6.12-29.extras.tar.xz 4052 BLAKE2B f65d1d41d35679a525c1b92f26194c48dc757abb18b37793b69d5b5a49f312be091682f19ade2215319f4f45e46517e2e1fd54090df5c405f962d8cb228aa689 SHA512 7f81c3da7d277c141b00a0e39840dbfaa6348ce45d87cf35ec94997958fa2cc0b8341352b90cb7accd2b3b216e85b8d756f7c13471686afca6acc7d12a5164e2
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
DIST gentoo-kernel-config-g15.tar.gz 5746 BLAKE2B 2baef40e18cbf3bb975362d71ad674604ad80338d1e6914ffa2fc03af26f1b9c9cec66d39a56077693a7327060bc29bd5eb5787549857dd3779e841192cb2016 SHA512 45d609ee25a529988868b8c99c808f4e6abbde34ae501bf35523431ee85c9f3657663d6f938f2036a5f012a55a68965b32fd41fc44d8f6ca606a6fd38f952445
DIST kernel-x86_64-fedora.config.6.1.102-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c
DIST kernel-x86_64-fedora.config.6.12.8-gentoo 256210 BLAKE2B f14f7de8ae573561824df47cf94c3c0ce52a820456ebd0e618e4c1e7f5454b7d3f6f86c559a3cd98dd94c55aaeed397f3d0cee6b0e37cf6b47d3aedd920a9dea SHA512 ea87b4b45c78888e02d0288dd5844cf2d97a14e251b565c7d6451a0e62fbe0dbef38f46715467af2f869995d6bbc8be61d5b70476a86d607a5bfa27fbaf36e92
DIST linux-libre-5.15.165-gnu.tar.xz 119931308 BLAKE2B 312d6a2091f48fe013d9207c749ff6fd850565e1a77b8bd437167fe8b7863f2b4c39b4ee43bd00614c3b8229a6de2ae671863e1a258e8248d8dc19e5333e309d SHA512 475063e224e3fc3c9bcc64b79dc5d3e41159bbf144c7cd1dd7b024c90996d788718b1ebceb19412b357cb6b8976f7135ad202a2b36197dbb7a311c4b1be9997b
DIST linux-libre-5.15.165-gnu.tar.xz.sign 195 BLAKE2B 69c860aeb656c3207d31209ff71c8d75aab95842611500aec2c59ab222ff7e2c27535cbe952da02edfa425afb6c18cd4a29668e0a46a40ee295bfad856e26287 SHA512 7418b5312cf8a2c5f0ab00f1a3906858256a1d172adfc493d95f7e1f06ece7efa00c9bc71b9cccf447bbb6b76c42ee8201044d46fa028b49be47edcc05983c77
DIST linux-libre-6.12.21-gnu.tar.xz 138909484 BLAKE2B 536116f350e38f7395611726be26fae285009c60b318a53b58c5cd6970f7f0bfb4378a79a14865f7f6341cdc0b772b4440fde8de720a6660388ec9c437dd633a SHA512 2576d77c994f826c12fc77052ff09765bcb3f386b2aa6ceb86a902afde3dd632e9714b09255b4e75e7de9e2ba83175153c26b71447f7027f4deeec19747554f9
DIST linux-libre-6.12.21-gnu.tar.xz.sign 195 BLAKE2B 3d0272aace3d09aee0fb0b53a6d3aadb68fbcbb299933436d4aa92d3c0c3695394a8051f78ad713a9ce543126ed774ed14f20202507586bedfa3d8d0c2e246c3 SHA512 bfe25fd7ea89ff1c449902c4fb86fcf76e4cfb591604fb2ed8e629227fb851f93eaeebe58b277a69c757ed5ee5afca708d0c6a713b80289ea9fa81a3104808e7
DIST linux-libre-6.12.25-gnu.tar.xz 138947080 BLAKE2B 4909489eff6369bc8612f49b4b2d2cc424ebc334ed4681744a4c70a8e9d3c0a1768d7a6cb3c42771479626e6212fbd7c68c58cf86b0ebf6e9c7d439d981c1ec6 SHA512 432f75816b34658be382ed97b965d5c92431a4bcef0d6277bf2d28121573fa0928be84a14bda7406275b2932191d8af47bcbf45c05a9c557dbed743420a14492
DIST linux-libre-6.12.25-gnu.tar.xz.sign 195 BLAKE2B aba8b693d05f0107906364f1b315e49eebd5e701343ac8f8efb824bc82f941c2bb2128d90581e0f9867591463cd8de6db5a78bf3b2560951704b2246098f02c7 SHA512 ea24affe5855bd113164a628447b929effd2b10de4b244393cd764992a5b7bb9464fc5f598d3dcdf5978703b6fe132bc77a669db600b708ce9e56027dcf0806f

View File

@ -1,148 +0,0 @@
# Copyright 2020-2024 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build verify-sig
BASE_VER="$(ver_cut 1).$(ver_cut 2).$(ver_cut 3)"
RESTRICT="mirror"
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 10 ))
CONFIG_VER=6.1.102-gentoo
#CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
GENTOO_CONFIG_VER=g13
DESCRIPTION="GNU Linux-libre kernel built from upstream sources"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
SRC_URI+="
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
verify-sig? (
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz.sign
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.xz.sign
)
amd64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
"
# Workdir is named linux-PV.
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="amd64"
IUSE="debug +gentoo"
BDEPEND="
debug? ( dev-util/pahole )
verify-sig? ( sec-keys/openpgp-keys-linux-libre )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linux-libre.asc
pkg_pretend() {
if has_version -d sys-kernel/linux-firmware[redistributable]; then
ewarn "sys-kernel/linux-firmware was found installed on your system,"
ewarn "but it is configured to install non-Free firmware files."
ewarn "The non-Free firmware files may be required for some hardware"
ewarn "work. The Linux-libre kernel cannot load non-Free firmware."
ewarn "To install only the Free firmware, set the -redistributable"
ewarn "USE flag on sys-kernel/linux-firmware."
if use initramfs; then
elog
elog "If you decide to change or remove linux-firmware later, you"
elog "can rebuild the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
else
if ! has_version -d sys-kernel/linux-firmware; then
ewarn "sys-kernel/linux-firmware[-redistributable] not found installed"
ewarn "on your system. This package provides various firmware files that"
ewarn "may be needed for your hardware to work. If in doubt, it is recommended"
ewarn "to pause or abort the build process and install it before"
ewarn "resuming."
if use initramfs; then
elog
elog "If you decide to install linux-firmware later, you can rebuild"
elog "the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
fi
fi
}
src_unpack() {
if use verify-sig; then
FILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz
SIGFILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz.sign
verify-sig_verify_detached $FILE $SIGFILE
fi
default
}
src_prepare() {
local PATCHES
if use gentoo; then
# Fiters out the kernel incremental version upgrade patches,
# leaving only the Gentoo bug fix/functionality changes. The
# regex removes any patches starting with 10XX to 14XX.
MY_PATCHES=$(find "${WORKDIR}"/*.patch -printf "%f\n" | grep -v -E -e '^1[01234][[:digit:]][[:digit:]]_.+.patch')
PATCHES=$(echo "$MY_PATCHES" | sed 's|^|'"${WORKDIR}/"'|g')
else
# If no patches are to be applied, apply only the config changes
# for a Gentoo installation, as this does not change any actual
# Kernel functionality.
PATCHES="${WORKDIR}/4567_distro-Gentoo-Kconfig.patch"
fi
default
local biendian=false
# prepare the default config
case ${ARCH} in
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
sed -i 's/EXTRAVERSION = -gnu/EXTRAVERSION = /' "${S}"/Makefile || \
die 'could not remove EXTRAVERSION'
local myversion="-gnu-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
)
# this covers ppc64 and aarch64_be only for now
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
merge_configs+=( "${dist_conf_path}/big-endian.config" )
fi
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -1,159 +0,0 @@
# Copyright 2020-2025 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build verify-sig
BASE_VER="$(ver_cut 1).$(ver_cut 2).$(ver_cut 3)"
RESTRICT="mirror"
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
CONFIG_VER=6.12.8-gentoo
GENTOO_CONFIG_VER=g15
DESCRIPTION="GNU Linux-libre kernel built from upstream sources"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
SRC_URI+="
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
verify-sig? (
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz.sign
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.xz.sign
)
amd64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
"
# Workdir is named linux-PV.
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="amd64"
IUSE="debug +gentoo"
BDEPEND="
debug? ( dev-util/pahole )
verify-sig? ( sec-keys/openpgp-keys-linux-libre )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linux-libre.asc
KBUILD_CFLAGS="${KBUILD_CFLAGS} -Wno-error=format-extra-args"
KBUILD_CPPFLAGS="${KBUILD_CPPFLAGS} -Wno-error=format-extra-args"
pkg_pretend() {
if has_version -d sys-kernel/linux-firmware[redistributable]; then
ewarn "sys-kernel/linux-firmware was found installed on your system,"
ewarn "but it is configured to install non-Free firmware files."
ewarn "The non-Free firmware files may be required for some hardware"
ewarn "work. The Linux-libre kernel cannot load non-Free firmware."
ewarn "To install only the Free firmware, set the -redistributable"
ewarn "USE flag on sys-kernel/linux-firmware."
if use initramfs; then
elog
elog "If you decide to change or remove linux-firmware later, you"
elog "can rebuild the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
else
if ! has_version -d sys-kernel/linux-firmware; then
ewarn "sys-kernel/linux-firmware[-redistributable] not found installed"
ewarn "on your system. This package provides various firmware files that"
ewarn "may be needed for your hardware to work. If in doubt, it is recommended"
ewarn "to pause or abort the build process and install it before"
ewarn "resuming."
if use initramfs; then
elog
elog "If you decide to install linux-firmware later, you can rebuild"
elog "the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
fi
fi
}
src_unpack() {
if use verify-sig; then
FILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz
SIGFILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz.sign
verify-sig_verify_detached $FILE $SIGFILE
fi
default
}
src_prepare() {
local PATCHES
if use gentoo; then
# Fiters out the kernel incremental version upgrade patches,
# leaving only the Gentoo bug fix/functionality changes. The
# regex removes any patches starting with 10XX to 14XX.
MY_PATCHES=$(find "${WORKDIR}"/*.patch -printf "%f\n" | grep -v -E -e '^1[01234][[:digit:]][[:digit:]]_.+.patch')
# Filter out additional patches that do not apply cleanly.
# MY_PATCHES=$(echo "$MY_PATCHES" | grep -v '2710_drm-amdgpu-resume-handling-rework.patch')
# Final assignment.
PATCHES=$(echo "$MY_PATCHES" | sed 's|^|'"${WORKDIR}/"'|g')
else
# If no patches are to be applied, apply only the config changes
# for a Gentoo installation, as this does not change any actual
# Kernel functionality.
PATCHES="${WORKDIR}/4567_distro-Gentoo-Kconfig.patch"
fi
default
local biendian=false
# prepare the default config
case ${ARCH} in
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
sed -i 's/EXTRAVERSION = -gnu/EXTRAVERSION = /' "${S}"/Makefile || \
die 'could not remove EXTRAVERSION'
local myversion="-gnu-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
# Required to suppress errors from deblobbing in the DRM module,
# that only started showing up in kernel 6.12+.
echo "CONFIG_DRM_WERROR=n" >> "${T}/no-warnings.config" || die
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
"${T}"/no-warnings.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
)
# this covers ppc64 and aarch64_be only for now
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
merge_configs+=( "${dist_conf_path}/big-endian.config" )
fi
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -1,159 +0,0 @@
# Copyright 2020-2025 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build verify-sig
BASE_VER="$(ver_cut 1).$(ver_cut 2).$(ver_cut 3)"
RESTRICT="mirror"
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
CONFIG_VER=6.12.8-gentoo
GENTOO_CONFIG_VER=g15
DESCRIPTION="GNU Linux-libre kernel built from upstream sources"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
SRC_URI+="
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
verify-sig? (
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz.sign
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.xz.sign
)
amd64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
"
# Workdir is named linux-PV.
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="amd64"
IUSE="debug +gentoo"
BDEPEND="
debug? ( dev-util/pahole )
verify-sig? ( sec-keys/openpgp-keys-linux-libre )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linux-libre.asc
KBUILD_CFLAGS="${KBUILD_CFLAGS} -Wno-error=format-extra-args"
KBUILD_CPPFLAGS="${KBUILD_CPPFLAGS} -Wno-error=format-extra-args"
pkg_pretend() {
if has_version -d sys-kernel/linux-firmware[redistributable]; then
ewarn "sys-kernel/linux-firmware was found installed on your system,"
ewarn "but it is configured to install non-Free firmware files."
ewarn "The non-Free firmware files may be required for some hardware"
ewarn "work. The Linux-libre kernel cannot load non-Free firmware."
ewarn "To install only the Free firmware, set the -redistributable"
ewarn "USE flag on sys-kernel/linux-firmware."
if use initramfs; then
elog
elog "If you decide to change or remove linux-firmware later, you"
elog "can rebuild the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
else
if ! has_version -d sys-kernel/linux-firmware; then
ewarn "sys-kernel/linux-firmware[-redistributable] not found installed"
ewarn "on your system. This package provides various firmware files that"
ewarn "may be needed for your hardware to work. If in doubt, it is recommended"
ewarn "to pause or abort the build process and install it before"
ewarn "resuming."
if use initramfs; then
elog
elog "If you decide to install linux-firmware later, you can rebuild"
elog "the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
fi
fi
}
src_unpack() {
if use verify-sig; then
FILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz
SIGFILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz.sign
verify-sig_verify_detached $FILE $SIGFILE
fi
default
}
src_prepare() {
local PATCHES
if use gentoo; then
# Fiters out the kernel incremental version upgrade patches,
# leaving only the Gentoo bug fix/functionality changes. The
# regex removes any patches starting with 10XX to 14XX.
MY_PATCHES=$(find "${WORKDIR}"/*.patch -printf "%f\n" | grep -v -E -e '^1[01234][[:digit:]][[:digit:]]_.+.patch')
# Filter out additional patches that do not apply cleanly.
# MY_PATCHES=$(echo "$MY_PATCHES" | grep -v '2710_drm-amdgpu-resume-handling-rework.patch')
# Final assignment.
PATCHES=$(echo "$MY_PATCHES" | sed 's|^|'"${WORKDIR}/"'|g')
else
# If no patches are to be applied, apply only the config changes
# for a Gentoo installation, as this does not change any actual
# Kernel functionality.
PATCHES="${WORKDIR}/4567_distro-Gentoo-Kconfig.patch"
fi
default
local biendian=false
# prepare the default config
case ${ARCH} in
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
sed -i 's/EXTRAVERSION = -gnu/EXTRAVERSION = /' "${S}"/Makefile || \
die 'could not remove EXTRAVERSION'
local myversion="-gnu-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
# Required to suppress errors from deblobbing in the DRM module,
# that only started showing up in kernel 6.12+.
echo "CONFIG_DRM_WERROR=n" >> "${T}/no-warnings.config" || die
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
"${T}"/no-warnings.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
)
# this covers ppc64 and aarch64_be only for now
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
merge_configs+=( "${dist_conf_path}/big-endian.config" )
fi
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>projectmoon@agnos.is</email>
<name>projectmoon</name>
</maintainer>
<use>
<flag name="initramfs">Build initramfs along with the kernel.</flag>
<flag name="gentoo">Apply selected patches from the Gentoo kernel patchset.</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST linux-5.10.tar.xz 114230900 BLAKE2B 86103699a6bc906e85429430df098b0ddb7cfc8c887f98b37f994498388d634554e119eadb1b15f591bdf4f463e7efb7420e3e370af0029b7ed9e988a5f26b01 SHA512 ccc52db049a66ff146d9fc84fb00e783f2d04211156233a382f87589fec7631b8fbb3e76bfd94279607b883d25f9745e6c7d2bd62b13311dc6b425002bd42ec0
DIST patch-5.10-gnu-5.10.47-gnu.xz 1542276 BLAKE2B 88c69d768103da84571bc3ec3a819dd41cd543411a191f25a8f8e8f3c5472c9f78a364845203b090e911e8dcc13d20cfddbfc533adef052652d95d97c6c7bf61 SHA512 deb1ea9b54af09c3ea48ee066a8a315da0d82459c3e46cbcff71d69de5a6549ebe75fb9ce94da89164338dc2680f312f8ff8ef7ac35d40ce404b1bbb679661cf
DIST patch-5.10-gnu-5.10.48-gnu.xz 1542880 BLAKE2B 26dd0d4b9a60c315aa9ebf376ab29c6a93d75a7be554af75df4e0d6a81252ae8d72b5d26daab9ac6e0010cb024f36b681da6610fae91d1423abee5a76eecc54a SHA512 60751c93cb5f8fbe65ea8709f5dd35783840c2e912010ac87101882035540cc7983a6d92720647cbaa2f054492a3ad1f0e6118354e632c5e9abbaa4151278649

View File

@ -0,0 +1,26 @@
EAPI="6"
K_SECURITY_UNSUPPORTED="1"
K_PREDEBLOBBED="1"
ETYPE="sources"
inherit kernel-2
detect_version
DESCRIPTION="Full sources for the Linux Libre kernel"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
BASE_URI="http://linux-libre.fsfla.org/pub/linux-libre/releases/${KV_MAJOR}.${KV_MINOR}-gnu/linux-libre-${KV_MAJOR}.${KV_MINOR}-gnu.tar.xz -> linux-${KV_MAJOR}.${KV_MINOR}.tar.xz"
PATCH_URI="http://linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-gnu/patch-${KV_MAJOR}.${KV_MINOR}-gnu-${PV}-gnu.xz"
SRC_URI="${BASE_URI} ${PATCH_URI}"
RESTRICT="mirror"
KEYWORDS="~amd64"
UNIPATCH_LIST_DEFAULT=""
UNIPATCH_LIST="${DISTDIR}/patch-5.10-gnu-5.10.47-gnu.xz"
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
}

View File

@ -0,0 +1,26 @@
EAPI="6"
K_SECURITY_UNSUPPORTED="1"
K_PREDEBLOBBED="1"
ETYPE="sources"
inherit kernel-2
detect_version
DESCRIPTION="Full sources for the Linux Libre kernel"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
BASE_URI="http://linux-libre.fsfla.org/pub/linux-libre/releases/${KV_MAJOR}.${KV_MINOR}-gnu/linux-libre-${KV_MAJOR}.${KV_MINOR}-gnu.tar.xz -> linux-${KV_MAJOR}.${KV_MINOR}.tar.xz"
PATCH_URI="http://linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-gnu/patch-${KV_MAJOR}.${KV_MINOR}-gnu-${PV}-gnu.xz"
SRC_URI="${BASE_URI} ${PATCH_URI}"
RESTRICT="mirror"
KEYWORDS="~amd64"
UNIPATCH_LIST_DEFAULT=""
UNIPATCH_LIST="${DISTDIR}/patch-5.10-gnu-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-gnu.xz"
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
}

View File

@ -1 +1 @@
DIST librem-ec-acpi-dkms-v0.9.2.tar.gz 13093 BLAKE2B 0c29aeec2f4804be98f628b16c2219acf805d3659d8dd4797db2cdcc94316bfb5ab5c396d2b3584de12b573907e671b0422e89c0a774516e4b1e573032fd5843 SHA512 b5d10fcf34a8b424138f9db1b06e916d809462ea55c7ca2565f13154da4fa49736ac95fb1b131c27ee49aa5f170f3e8a1a9c9a61c69e0364bcee37669759e8f6
DIST librem-ec-acpi-dkms-v0.9.1.tar.gz 13003 BLAKE2B 87d7988be2de75d491eaaa49918db354d426deefd57b4afa72b1447e5993d9b5b06b6964092c050ef039d7d9faa33e55137c1879a1b959e6f4f3ce877137e6db SHA512 93ee26917eddbef9aa9c0eb83007452ebf57c279f41c3061ee52756bb1f748c72935067b19c3417ed7b8a9795990b0f060241c0b7f2348d7f8ec01e9f88dcd3c

View File

@ -1,26 +0,0 @@
From 13fc2a3949c30cfd8624acdbc97c7942aee588f8 Mon Sep 17 00:00:00 2001
From: primalmotion <primalmotion@pm.me>
Date: Tue, 6 Aug 2024 18:14:10 +0200
Subject: [PATCH] fixed: build on linux 6.10.3
---
librem_ec_acpi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/librem_ec_acpi.c b/librem_ec_acpi.c
index 4e8ebf3..d53f580 100644
--- a/librem_ec_acpi.c
+++ b/librem_ec_acpi.c
@@ -779,7 +779,9 @@ static SIMPLE_DEV_PM_OPS(librem_ec_pm, librem_ec_suspend, librem_ec_resume);
static struct acpi_driver librem_ec_driver = {
.name = "Librem EC ACPI Driver",
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 3)
.owner = THIS_MODULE,
+#endif
.class = "hotkey",
.ids = device_ids,
// .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS,
--
GitLab

View File

@ -1,4 +1,4 @@
# Copyright 2021-2023 projectmoon
# Copyright 2021 projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -13,31 +13,13 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dist-kernel"
RDEPEND="dist-kernel? ( virtual/dist-kernel:= )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/librem-ec-acpi-dkms-v${PV}/"
MODULE_NAMES="librem_ec_acpi(librem:${S}:${S})"
BUILD_TARGETS="clean all"
src_prepare() {
default
# Makefile hardcoded to point at running kernel
# but we want the user-chosen kernel.
linux-info_get_any_version
sed -i "s/\$(shell uname -r)/${KV_FULL}/" Makefile \
|| die "could not set kernel version in makefile"
}
pkg_setup() {
if ! use kernel_linux ; then
die "Unable to install"
fi
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
linux-mod_pkg_setup
BUILD_PARAMS="KERNELDIR=${KV_DIR}"
}
src_install() {

View File

@ -1,50 +0,0 @@
# Copyright 2021-2023 projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-info linux-mod
DESCRIPTION="Librem EC ACPI Driver"
HOMEPAGE="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms"
SRC_URI="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms/-/archive/v${PV}/librem-ec-acpi-dkms-v${PV}.tar.gz"
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dist-kernel"
RDEPEND="dist-kernel? ( virtual/dist-kernel:= )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/librem-ec-acpi-dkms-v${PV}/"
MODULE_NAMES="librem_ec_acpi(librem:${S}:${S})"
BUILD_TARGETS="clean all"
src_prepare() {
default
# Makefile hardcoded to point at running kernel
# but we want the user-chosen kernel.
linux-info_get_any_version
sed -i "s/\$(shell uname -r)/${KV_FULL}/" Makefile \
|| die "could not set kernel version in makefile"
# Apply patch to fix compilation issue on newer Linux kernels.
eapply "${FILESDIR}"/0001-kernel-6-10-3.patch
}
pkg_setup() {
if ! use kernel_linux ; then
die "Unable to install"
fi
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
linux-mod_pkg_setup
}
src_install() {
linux-mod_src_install
einstalldocs
}

View File

@ -1 +0,0 @@
DIST librem-control-9999.tar.gz 19126 BLAKE2B e5721e04c8a7996e35aa51f40e4d56acb9f59880a8266b0d6e5c515b2a6367d628973113c9776ef7d79070d7dfeda09704686340843c835e685a93922756f841 SHA512 0d3bd3d38bc0c3f476d96214e68883a2f6ad270842b4b4922ea0f4706aaf14f188ebf08f0a23fd5524c9f8e3360aa70288b0c730d56df69b0c0f137d2694e8e7

View File

@ -1,24 +0,0 @@
# Copyright 1999-2022 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org xdg
MY_COMMIT="a19bfbf4f6bd1d2b0d2d6abf02252e1e0cbc2d61"
RESTRICT="mirror"
DESCRIPTION="App to control some system settings of Librem devices."
HOMEPAGE="https://source.puri.sm/nicole.faerber/librem-control"
SRC_URI="https://source.puri.sm/nicole.faerber/librem-control/-/archive/${MY_COMMIT}/${PN}-${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE="GPL-2"
SLOT="0"
DEPEND="
>=sys-kernel/librem-ec-acpi-0.9.1-r1
>=gui-libs/gtk-4.6:4
>=sys-auth/polkit-121
"
RDEPEND="${DEPEND}"

View File

@ -1,17 +0,0 @@
# Copyright 2021-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/${PVR}"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/libre-kernel-${PV}
)
"

View File

@ -1,17 +0,0 @@
# Copyright 2021-2025 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/${PVR}"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/libre-kernel-${PV}
)
"

View File

@ -1,17 +0,0 @@
# Copyright 2021-2025 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/${PVR}"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/libre-kernel-${PV}
)
"

View File

@ -1,17 +0,0 @@
# Copyright 2021-2025 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/${PVR}"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/libre-kernel-${PV}
)
"

View File

@ -1,28 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Virtual for Linux kernel sources"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="firmware"
RDEPEND="
firmware? ( sys-kernel/linux-firmware )
|| (
sys-kernel/gentoo-sources
sys-kernel/vanilla-sources
sys-kernel/git-sources
sys-kernel/mips-sources
sys-kernel/pf-sources
sys-kernel/rt-sources
sys-kernel/zen-sources
sys-kernel/raspberrypi-sources
sys-kernel/gentoo-kernel
sys-kernel/gentoo-kernel-bin
sys-kernel/vanilla-kernel
sys-kernel/linux-next
sys-kernel/asahi-sources
sys-kernel/libre-kernel
)"