Merge branch 'master' into next
This commit is contained in:
commit
e4d0b7acf7
185 changed files with 3843 additions and 917 deletions
73
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
73
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
|
@ -0,0 +1,73 @@
|
|||
name: Bug Report
|
||||
description: File a bug report
|
||||
labels: ["bug", "needs-testing"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >
|
||||
#### Don't request an update of a package,
|
||||
[We have a script for that](https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt).
|
||||
However, a quality pull request may help.
|
||||
- id: verified
|
||||
type: dropdown
|
||||
attributes:
|
||||
label: Is this a new report?
|
||||
description: I verified that there isn't already an open issue for this bug
|
||||
options:
|
||||
- "Yes"
|
||||
- "No"
|
||||
validations:
|
||||
required: true
|
||||
- id: xuname
|
||||
type: input
|
||||
attributes:
|
||||
label: System Info
|
||||
description: Output of `xuname` (part of [`xtools`](https://man.voidlinux.org/xtools.1))
|
||||
placeholder: Void 5.x.y_z x86_64-musl ...
|
||||
validations:
|
||||
required: true
|
||||
- id: packages
|
||||
type: input
|
||||
attributes:
|
||||
label: Package(s) Affected
|
||||
description: Affected package(s) including version (this can be found with `xbps-query -p pkgver foo`)
|
||||
placeholder: foo-1.0.2_5, bar-5.6.7_1, baz-0.0.3_5, ...
|
||||
validations:
|
||||
required: true
|
||||
- id: upstream
|
||||
type: textarea
|
||||
attributes:
|
||||
label: Does a report exist for this bug with the project's home (upstream) and/or another distro?
|
||||
description: If so, link it here (It's fine if there's none)
|
||||
placeholder: |
|
||||
For example:
|
||||
https://bugs.kde.org/show_bug.cgi?id=432975
|
||||
https://bugs.gentoo.org/767478
|
||||
- id: expected
|
||||
type: textarea
|
||||
attributes:
|
||||
label: Expected behaviour
|
||||
description: A clear and concise description of what you expected to happen
|
||||
placeholder: The package is supposed to do this thing.
|
||||
validations:
|
||||
required: true
|
||||
- id: description
|
||||
type: textarea
|
||||
attributes:
|
||||
label: Actual behaviour
|
||||
description: A clear and concise description of what the bug is
|
||||
placeholder: There was a crash when...
|
||||
validations:
|
||||
required: true
|
||||
- id: steps
|
||||
type: textarea
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: Clear steps to reproduce the bug
|
||||
placeholder: |
|
||||
1. Do the thing
|
||||
2. Do the other thing
|
||||
3. ???
|
||||
4. Crash :(
|
||||
validations:
|
||||
required: true
|
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Other kind of issue
|
||||
url: https://github.com/void-linux/void-packages/issues/new
|
||||
about: For RFCs, tracking issues, etc (freeform text)
|
59
.github/ISSUE_TEMPLATE/pkg-request.yml
vendored
Normal file
59
.github/ISSUE_TEMPLATE/pkg-request.yml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
name: Package Request
|
||||
title: "Package request: "
|
||||
description: Request the addition of a package
|
||||
labels: ["request"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >
|
||||
#### Don't request an update of a package,
|
||||
[We have a script for that](https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt).
|
||||
However, a quality pull request may help.
|
||||
- id: name
|
||||
type: input
|
||||
attributes:
|
||||
label: Package name
|
||||
placeholder: foobar9k
|
||||
validations:
|
||||
required: true
|
||||
- id: homepage
|
||||
type: input
|
||||
attributes:
|
||||
label: Package homepage
|
||||
placeholder: https://example.com/foobar9k
|
||||
validations:
|
||||
required: true
|
||||
- id: description
|
||||
type: textarea
|
||||
attributes:
|
||||
label: Description
|
||||
description: What does the package do?
|
||||
placeholder: >
|
||||
Foobar9k is a music player that turns your music up to 11.
|
||||
It provides features X, Y, and Z, which other music players in Void don't.
|
||||
validations:
|
||||
required: true
|
||||
- id: quality
|
||||
type: dropdown
|
||||
attributes:
|
||||
label: Does the requested package meet the package requirements?
|
||||
description: |
|
||||
See [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements) for details
|
||||
multiple: true
|
||||
options:
|
||||
- System
|
||||
- Compiled
|
||||
- Required
|
||||
validations:
|
||||
required: true
|
||||
- id: released
|
||||
type: dropdown
|
||||
attributes:
|
||||
label: Is the requested package released?
|
||||
description: |
|
||||
See [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements) for details
|
||||
options:
|
||||
- "Yes"
|
||||
- "No"
|
||||
validations:
|
||||
required: true
|
20
.github/issue_template.md
vendored
20
.github/issue_template.md
vendored
|
@ -1,14 +1,8 @@
|
|||
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
|
||||
### System
|
||||
|
||||
* xuname:
|
||||
*output of ``xuname`` (part of xtools)*
|
||||
* package:
|
||||
*affected package(s) including the version*: ``xbps-query -p pkgver <pkgname>``
|
||||
|
||||
### Expected behavior
|
||||
|
||||
### Actual behavior
|
||||
|
||||
### Steps to reproduce the behavior
|
||||
<!--
|
||||
if you are creating a bug report or package request, please fill out one of the forms here:
|
||||
https://github.com/void-linux/void-packages/issues/new/choose
|
||||
|
||||
Don't request an update of a package, We have a script for that:
|
||||
https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt
|
||||
However, a quality pull request may help.
|
||||
-->
|
||||
|
|
4
.github/pull_request_template.md
vendored
4
.github/pull_request_template.md
vendored
|
@ -5,7 +5,7 @@
|
|||
|
||||
<!--
|
||||
#### New package
|
||||
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
|
||||
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
|
||||
-->
|
||||
|
||||
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
|
||||
|
@ -13,7 +13,7 @@ https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuo
|
|||
and test at least one native build and, if supported, at least one cross build.
|
||||
Ignore this section if this PR is not skipping CI.
|
||||
-->
|
||||
<!--
|
||||
<!--
|
||||
#### Local build testing
|
||||
- I built this PR locally for my native architecture, (ARCH-LIBC)
|
||||
- I built this PR locally for these architectures (if supported. mark crossbuilds):
|
||||
|
|
37
.github/workflows/build.yaml
vendored
37
.github/workflows/build.yaml
vendored
|
@ -2,18 +2,26 @@ name: Check build
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'srcpkgs/**'
|
||||
push:
|
||||
branches:
|
||||
- 'ci-**'
|
||||
paths:
|
||||
- 'srcpkgs/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
# Lint changed templates.
|
||||
xlint:
|
||||
name: Lint templates
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
|
||||
PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
|
||||
XLINT: '1'
|
||||
LICENSE_LIST: common/travis/license.lst
|
||||
|
||||
|
@ -30,13 +38,13 @@ jobs:
|
|||
# Build changed packages.
|
||||
build:
|
||||
name: Build packages
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
|
||||
|
||||
container:
|
||||
image: 'ghcr.io/void-linux/xbps-src-masterdir:20210313rc01-${{ matrix.config.bootstrap }}'
|
||||
image: 'ghcr.io/void-linux/xbps-src-masterdir:20220527RC01-${{ matrix.config.bootstrap }}'
|
||||
env:
|
||||
PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
|
||||
PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
|
||||
ARCH: '${{ matrix.config.arch }}'
|
||||
BOOTSTRAP: '${{ matrix.config.bootstrap }}'
|
||||
TEST: '${{ matrix.config.test }}'
|
||||
|
@ -57,6 +65,9 @@ jobs:
|
|||
steps:
|
||||
- name: Prepare container
|
||||
run: |
|
||||
# switch to repo-ci mirror
|
||||
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
|
||||
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
|
||||
# Sync and upgrade once, assume error comes from xbps update
|
||||
xbps-install -Syu || xbps-install -yu xbps
|
||||
# Upgrade again (in case there was a xbps update)
|
||||
|
@ -90,6 +101,22 @@ jobs:
|
|||
"$here/common/travis/show_files.sh" "$BOOTSTRAP" "$ARCH"
|
||||
)
|
||||
|
||||
- name: Compare to previous
|
||||
run: |
|
||||
(
|
||||
here="$(pwd)"
|
||||
cd /
|
||||
"$here/common/travis/xpkgdiff.sh" "$BOOTSTRAP" "$ARCH"
|
||||
)
|
||||
|
||||
- name: Check file conflicts
|
||||
if: matrix.config.arch == 'x86_64' # the arch indexed in xlocate
|
||||
run: |
|
||||
if [ -s /tmp/templates ]; then
|
||||
xlocate -S &&
|
||||
common/scripts/lint-conflicts $HOME/hostdir/binpkgs
|
||||
fi
|
||||
|
||||
- name: Verify repository state
|
||||
run: |
|
||||
(
|
||||
|
|
10
.github/workflows/cycles.yml
vendored
10
.github/workflows/cycles.yml
vendored
|
@ -7,11 +7,16 @@ on:
|
|||
jobs:
|
||||
cycles:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
container:
|
||||
image: 'ghcr.io/void-linux/xbps-src-masterdir:20210313rc01-x86_64-musl'
|
||||
image: 'ghcr.io/void-linux/xbps-src-masterdir:20220527RC01-x86_64-musl'
|
||||
steps:
|
||||
- name: Prepare container
|
||||
run: |
|
||||
# switch to repo-ci mirror
|
||||
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
|
||||
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
|
||||
# Sync and upgrade once, assume error comes from xbps update
|
||||
xbps-install -Syu || xbps-install -yu xbps
|
||||
# Upgrade again (in case there was a xbps update)
|
||||
|
@ -28,6 +33,9 @@ jobs:
|
|||
common/travis/prepare.sh
|
||||
- name: Find cycles and open issues
|
||||
run: |
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
# required by git 2.35.2+
|
||||
git config --global --add safe.directory "$PWD"
|
||||
common/scripts/xbps-cycles.py | tee cycles
|
||||
grep 'Cycle:' cycles | while read -r line; do
|
||||
if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then
|
||||
|
|
46
.github/workflows/manual_check_cycles.yml
vendored
Normal file
46
.github/workflows/manual_check_cycles.yml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
name: 'Cycle Check'
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
cycles:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
container:
|
||||
image: 'ghcr.io/void-linux/xbps-src-masterdir:20220527RC01-x86_64-musl'
|
||||
steps:
|
||||
- name: Prepare container
|
||||
run: |
|
||||
# switch to repo-ci mirror
|
||||
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
|
||||
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
|
||||
# Sync and upgrade once, assume error comes from xbps update
|
||||
xbps-install -Syu || xbps-install -yu xbps
|
||||
# Upgrade again (in case there was a xbps update)
|
||||
xbps-install -yu
|
||||
# Install script dependencies
|
||||
xbps-install -y python3-networkx github-cli
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Create hostrepo and prepare masterdir
|
||||
run: |
|
||||
ln -s "$(pwd)" /hostrepo &&
|
||||
common/travis/set_mirror.sh &&
|
||||
common/travis/prepare.sh
|
||||
- name: Find cycles and open issues
|
||||
run: |
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
# required by git 2.35.2+
|
||||
git config --global --add safe.directory "$PWD"
|
||||
common/scripts/xbps-cycles.py | tee cycles
|
||||
grep 'Cycle:' cycles | while read -r line; do
|
||||
if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then
|
||||
printf "Issue on '%s' already exists.\n" "$line"
|
||||
else
|
||||
gh issue create -R "$GITHUB_REPOSITORY" -b '' -t "$line"
|
||||
fi
|
||||
done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}
|
18
.github/workflows/notify-telegram.yml
vendored
Normal file
18
.github/workflows/notify-telegram.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Telegram notification
|
||||
on: [push]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Notify to internal Telegram group on push
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TG_INTERNAL_GROUP_ID }}
|
||||
token: ${{ secrets.TG_INTERNAL_BOT_TOKEN }}
|
||||
format: markdown
|
||||
message: |
|
||||
[New commit](https://github.com/${{ github.repository }}/commit/${{github.sha}}) to [${{ github.repository }}](https://github.com/${{ github.repository }}):
|
||||
|
||||
*${{ github.event.commits[0].message }}* by [${{ github.actor }}](https://github.com/${{ github.actor }}).
|
16
.github/workflows/stale.yml
vendored
16
.github/workflows/stale.yml
vendored
|
@ -9,13 +9,17 @@ on:
|
|||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v4
|
||||
- uses: actions/stale@v6
|
||||
with:
|
||||
stale-issue-message: 'Issues become stale 90 days after last activity and are closed 7 days after that. If this issue is still relevant bump it or assign it.'
|
||||
stale-pr-message: 'Pull Requests become stale 90 days after last activity and are closed 7 days after that. If this pull request is still relevant bump it or assign it.'
|
||||
stale-issue-message: 'Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.'
|
||||
stale-pr-message: 'Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.'
|
||||
days-before-stale: 90
|
||||
days-before-close: 7
|
||||
debug-only: true
|
||||
days-before-close: 14
|
||||
exempt-all-assignees: true
|
||||
operations-per-run: 1000
|
||||
ascending: true
|
||||
operations-per-run: 250
|
||||
exempt-issue-labels: 'request,bug,tracking'
|
||||
|
|
|
@ -746,7 +746,9 @@ libgarcon-1.so.0 garcon-0.1.12_1
|
|||
libgarcon-gtk2-1.so.0 garcon-0.4.0_1
|
||||
libgarcon-gtk3-1.so.0 garcon-0.6.1_1
|
||||
libxfce4ui-2.so.0 libxfce4ui-4.18.0_1
|
||||
libxfce4ui-2.so.0 libxfce4ui-nocsd-4.17.0_1
|
||||
libxfce4kbd-private-3.so.0 libxfce4ui-4.18.0_1
|
||||
libxfce4kbd-private-3.so.0 libxfce4ui-nocsd-4.17.0_1
|
||||
libxml++-2.6.so.2 libxml++-2.32.0_1
|
||||
libxml++-3.0.so.1 libxml++3.0-3.0.1_1
|
||||
libftgl.so.2 ftgl-2.1.2_1
|
||||
|
@ -3565,6 +3567,7 @@ libcpptest.so.1 cpptest-2.0.0_1
|
|||
libhandy-0.0.so.0 libhandy-0.0.3_1
|
||||
libhandy-1.so.0 libhandy1-0.90.0_1
|
||||
libadwaita-1.so.0 libadwaita-1.0.0alpha2_1
|
||||
libadwaita-1.so.0 libadwaita-without-libadwaita-1.3.1_1
|
||||
libswitchboard-2.0.so.0 switchboard-2.3.2_1
|
||||
libcodecore.so.0 libio.elementary.code-3.0_1
|
||||
libpantheon-files-core.so.6 libio.elementary.files-6.0.0_1
|
||||
|
@ -4305,9 +4308,12 @@ libiga64.so.1 intel-graphics-compiler-1.0.11485_1
|
|||
libze_loader.so.1 level-zero-1.8.8_1
|
||||
libze_validation_layer.so.1 level-zero-1.8.8_1
|
||||
libze_tracing_layer.so.1 level-zero-1.8.8_1
|
||||
libmetee.so.3.1.3 intel-metee-3.1.3_1
|
||||
libmetee.so.3.1.5 intel-metee-3.1.5_1
|
||||
libigsc.so.0 igsc-0.8.4_1
|
||||
libiga32.so.1 intel-graphics-compiler-32bit
|
||||
libigdgmm.so.12 intel-gmmlib-22.2.0_1
|
||||
libigdrcl.so intel-compute-runtime-bin-devel-22.43.24558_1
|
||||
libocloc.so intel-compute-runtime-bin-devel-22.43.24558_1
|
||||
libxplayer-plparser.so.18 xplayer-plparser-1.0.3_1
|
||||
libtouche.so.0 touche-2.0.9_1
|
||||
libtouche.so touche-devel-2.0.9_1
|
||||
|
|
|
@ -8,22 +8,22 @@ install_base_chroot() {
|
|||
XBPS_TARGET_PKG="$1"
|
||||
fi
|
||||
# binary bootstrap
|
||||
msg_normal "xbps-src: installing base-chroot...\n"
|
||||
msg_normal "xbps-src: installing base-chroot-cereus...\n"
|
||||
# XBPS_TARGET_PKG == arch
|
||||
if [ "$XBPS_TARGET_PKG" ]; then
|
||||
_bootstrap_arch="env XBPS_TARGET_ARCH=$XBPS_TARGET_PKG"
|
||||
fi
|
||||
(export XBPS_MACHINE=$XBPS_TARGET_PKG XBPS_ARCH=$XBPS_TARGET_PKG; chroot_sync_repodata)
|
||||
${_bootstrap_arch} $XBPS_INSTALL_CMD ${XBPS_INSTALL_ARGS} -y base-chroot
|
||||
${_bootstrap_arch} $XBPS_INSTALL_CMD ${XBPS_INSTALL_ARGS} -y base-chroot-cereus
|
||||
if [ $? -ne 0 ]; then
|
||||
msg_error "xbps-src: failed to install base-chroot!\n"
|
||||
msg_error "xbps-src: failed to install base-chroot-cereus!\n"
|
||||
fi
|
||||
# Reconfigure base-files to create dirs/symlinks.
|
||||
if xbps-query -r $XBPS_MASTERDIR base-files &>/dev/null; then
|
||||
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
|
||||
fi
|
||||
|
||||
msg_normal "xbps-src: installed base-chroot successfully!\n"
|
||||
msg_normal "xbps-src: installed base-chroot-cereus successfully!\n"
|
||||
chroot_prepare $XBPS_TARGET_PKG || msg_error "xbps-src: failed to initialize chroot!\n"
|
||||
chroot_check
|
||||
chroot_handler clean
|
||||
|
@ -34,7 +34,7 @@ reconfigure_base_chroot() {
|
|||
local pkgs="glibc-locales ca-certificates"
|
||||
[ -z "$IN_CHROOT" -o -e $statefile ] && return 0
|
||||
# Reconfigure ca-certificates.
|
||||
msg_normal "xbps-src: reconfiguring base-chroot...\n"
|
||||
msg_normal "xbps-src: reconfiguring base-chroot-cereus...\n"
|
||||
for f in ${pkgs}; do
|
||||
if xbps-query -r $XBPS_MASTERDIR $f &>/dev/null; then
|
||||
xbps-reconfigure -r $XBPS_MASTERDIR -f $f
|
||||
|
@ -51,7 +51,7 @@ update_base_chroot() {
|
|||
if $(${XBPS_INSTALL_CMD} ${XBPS_INSTALL_ARGS} -nu|grep -q xbps); then
|
||||
${XBPS_INSTALL_CMD} ${XBPS_INSTALL_ARGS} -yu xbps || msg_error "xbps-src: failed to update xbps!\n"
|
||||
fi
|
||||
${XBPS_INSTALL_CMD} ${XBPS_INSTALL_ARGS} -yu || msg_error "xbps-src: failed to update base-chroot!\n"
|
||||
${XBPS_INSTALL_CMD} ${XBPS_INSTALL_ARGS} -yu || msg_error "xbps-src: failed to update base-chroot-cereus!\n"
|
||||
msg_normal "xbps-src: cleaning up $XBPS_MASTERDIR masterdir...\n"
|
||||
[ -z "$XBPS_KEEP_ALL" -a -z "$XBPS_SKIP_DEPS" ] && remove_pkg_autodeps
|
||||
[ -z "$XBPS_KEEP_ALL" -a -z "$keep_all_force" ] && rm -rf $XBPS_MASTERDIR/builddir $XBPS_MASTERDIR/destdir
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# voidlinux remote repositories (musl)
|
||||
repository=https://repo-default.voidlinux.org/current/musl/bootstrap
|
||||
repository=https://repo-default.voidlinux.org/current/musl
|
||||
repository=https://repo-default.voidlinux.org/current/musl/bootstrap
|
||||
repository=https://repo-default.voidlinux.org/current/musl/nonfree
|
||||
repository=https://repo-default.voidlinux.org/current/musl/debug
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# voidlinux remote repositories (glibc)
|
||||
repository=https://repo-default.voidlinux.org/current/bootstrap
|
||||
repository=https://repo-default.voidlinux.org/current
|
||||
repository=https://repo-default.voidlinux.org/current/nonfree
|
||||
repository=https://repo-default.voidlinux.org/current/debug
|
||||
repository=https://repo-default.voidlinux.org/current/bootstrap
|
||||
|
||||
# Cereus Linux remote repositories (glibc)
|
||||
repository=https://sourceforge.net/projects/cereus-linux/files/repos/cereus-core/x86_64
|
||||
|
|
83
pkglist
83
pkglist
|
@ -1,83 +0,0 @@
|
|||
These are the packages we are maintaining in both Core and Extra repositories.
|
||||
The rest of them are from Void team.
|
||||
|
||||
Graphite-color-schemes
|
||||
Graphite-color-schemes-black
|
||||
Graphite-color-schemes-dark
|
||||
Graphite-color-schemes-light
|
||||
Graphite-color-schemes-nord-dark
|
||||
Graphite-color-schemes-nord-light
|
||||
Graphite-gtk-theme
|
||||
Graphite-gtk-theme-black
|
||||
Graphite-gtk-theme-black-compact
|
||||
Graphite-gtk-theme-compact
|
||||
Graphite-gtk-theme-dark
|
||||
Graphite-gtk-theme-dark-compact
|
||||
Graphite-gtk-theme-light
|
||||
Graphite-gtk-theme-light-compact
|
||||
Graphite-gtk-theme-nord-dark
|
||||
Graphite-gtk-theme-nord-dark-compact
|
||||
Graphite-gtk-theme-nord-light
|
||||
Graphite-gtk-theme-nord-light-compact
|
||||
Graphite-kvantum-theme
|
||||
Graphite-kvantum-theme-Nord-dark
|
||||
Graphite-kvantum-theme-Nord-light
|
||||
Graphite-kvantum-theme-black
|
||||
Graphite-kvantum-theme-dark
|
||||
Graphite-kvantum-theme-light
|
||||
Mint-Ice-Y-Dark
|
||||
Sierra-Dark-Fluxbox
|
||||
base-cereus
|
||||
base-chroot-cereus
|
||||
base-files-cereus
|
||||
blesh
|
||||
blesh-git
|
||||
brave-bin
|
||||
budgie-extras
|
||||
calamares
|
||||
calamares-cereus
|
||||
calamares-modules-cereus
|
||||
calmsky-icon-theme
|
||||
cereus-neofetch
|
||||
cereus-repo-core
|
||||
cereus-repo-extra
|
||||
cereus-wallpapers
|
||||
flat-remix-icewm-theme
|
||||
flat-remix-icon-theme-black
|
||||
flat-remix-icon-theme-blue
|
||||
flat-remix-icon-theme-brown
|
||||
flat-remix-icon-theme-cyan
|
||||
flat-remix-icon-theme-green
|
||||
flat-remix-icon-theme-grey
|
||||
flat-remix-icon-theme-magenta
|
||||
flat-remix-icon-theme-orange
|
||||
flat-remix-icon-theme-red
|
||||
flat-remix-icon-theme-teal
|
||||
flat-remix-icon-theme-violet
|
||||
flat-remix-icon-theme-yellow
|
||||
graphite-kvantum-theme
|
||||
jetbrains-mono-font
|
||||
librewolf-bin
|
||||
musl-locales
|
||||
nerd-fonts-symbols
|
||||
octoxbps-git
|
||||
picom-ibhagwan
|
||||
picom-jonaburg
|
||||
pixelitos-icon-theme
|
||||
plasma-fluxbox
|
||||
plasma-i3
|
||||
runit-cereus
|
||||
runit-cereus-apparmor
|
||||
vibrancy-icon-theme
|
||||
vibrancy-icon-theme-colors
|
||||
vibrancy-icon-theme-dark
|
||||
vibrancy-icon-theme-full-dark
|
||||
vibrancy-icon-theme-light
|
||||
vibrancy-icon-theme-nonmono-dark
|
||||
vibrancy-icon-theme-nonmono-light
|
||||
whatsdesk-bin
|
||||
whatsdesk-bin-i686
|
||||
whatsdesk-git
|
||||
xed-xapps
|
||||
xed-xapps-devel
|
||||
xidlehook
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'Graphite-color-schemes'
|
||||
pkgname=Graphite-color-schemes
|
||||
version=2022.02.21
|
||||
version=2023.01.16
|
||||
revision=1
|
||||
build_style=meta
|
||||
nostrip=yes
|
||||
|
@ -16,8 +16,6 @@ short_desc="Custom additional color schemes of Graphite theme for KDE Plasma des
|
|||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://github.com/KF-Art/Graphite-color-schemes"
|
||||
# distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
# checksum=
|
||||
|
||||
do_fetch() {
|
||||
git clone https://github.com/KF-Art/Graphite-color-schemes ${wrksrc}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Graphite-gtk-theme
|
35
srcpkgs/Graphite-gtk-theme/patches/xfce4-docklike-fix.patch
Normal file
35
srcpkgs/Graphite-gtk-theme/patches/xfce4-docklike-fix.patch
Normal file
|
@ -0,0 +1,35 @@
|
|||
diff --git a/src/sass/gtk/apps/_xfce.scss b/src/sass/gtk/apps/_xfce.scss
|
||||
index f2f219f..91b2c2f 100644
|
||||
--- a/src/sass/gtk/apps/_xfce.scss
|
||||
+++ b/src/sass/gtk/apps/_xfce.scss
|
||||
@@ -18,15 +18,21 @@
|
||||
color: on($panel, secondary);
|
||||
font-weight: 500;
|
||||
|
||||
- button {
|
||||
- @extend %button-flat;
|
||||
- @extend %button-on-dark;
|
||||
-
|
||||
- min-height: 16px;
|
||||
- min-width: 16px;
|
||||
- padding: 0;
|
||||
- border-radius: 0;
|
||||
- }
|
||||
+.xfce4-panel button {
|
||||
+ border: 0;
|
||||
+ border-radius: 0;
|
||||
+ box-shadow: none;
|
||||
+ text-shadow: none;
|
||||
+ background: transparent;
|
||||
+ color: white;
|
||||
+ -gtk-icon-shadow: none; }
|
||||
+
|
||||
+ button:not(#whiskermenu-button):active {
|
||||
+ box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.2);;
|
||||
+ background: rgba(0, 0, 0, 0.2);
|
||||
+ color: white; }
|
||||
+ .xfce4-panel.vertical button:not(#whiskermenu-button):checked, .xfce4-panel.vertical button:not(#whiskermenu-button):active {
|
||||
+ box-shadow: inset 4px 0 0 rgba(0, 0, 0, 0.2);; }
|
||||
|
||||
.tasklist button {
|
||||
border-image: image(transparent) 0 0 2 / 0 0 2px;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'Graphite-gtk-theme'
|
||||
pkgname=Graphite-gtk-theme
|
||||
version=2022.09.02
|
||||
date=2022-09-02
|
||||
version=2023.05.17
|
||||
date=${version//./-}
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
wrksrc=Graphite-gtk-theme-${date}
|
||||
|
@ -25,11 +25,11 @@ ${pkgname}-nord-light
|
|||
${pkgname}-nord-light-compact"
|
||||
|
||||
short_desc="Material design inspired GTK theme with light and dark variants"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://github.com/vinceliuice/Graphite-gtk-theme"
|
||||
distfiles="${homepage}/archive/refs/tags/${date}.tar.gz"
|
||||
checksum=af03e9e5ae29a5b8ee4b10a8e2ca95396bc300e35e939f21dedbc9568aefcd60
|
||||
checksum=aa212d71ba70cfbc3038fc0f850b1265a9d85a3a87ae1a9da024127e25f53903
|
||||
|
||||
Graphite-gtk-theme-black_package() {
|
||||
nostrip=yes
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'Graphite-kvantum-theme'
|
||||
pkgname=Graphite-kvantum-theme
|
||||
version=1.0
|
||||
revision=4
|
||||
version=1.1.1
|
||||
revision=1
|
||||
build_style=meta
|
||||
repository=cereus-extra
|
||||
depends="${pkgname}-black \
|
||||
${pkgname}-Nord-dark \
|
||||
${pkgname}-Nord-light \
|
||||
${pkgname}-dark \
|
||||
depends="${pkgname}-black
|
||||
${pkgname}-Nord-dark
|
||||
${pkgname}-Nord-light
|
||||
${pkgname}-dark
|
||||
${pkgname}-light"
|
||||
nostrip=yes
|
||||
wrksrc=Graphite-kvantum-colors-${version}
|
||||
short_desc="Material design inspired Kvantum theme"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://github.com/KF-Art/Graphite-kvantum-colors"
|
||||
changelog="${homepage}/releases/tag/${version}"
|
||||
distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=01be2c306de4e4b3ca6788d02e49206688aae207ccf0252957bece02eb1b1e1c
|
||||
checksum=af603cbd5b1e323ca775a8a724e94bddf9534a0961db6d5a4771bcb6d9a02fbc
|
||||
|
||||
Graphite-kvantum-theme-black_package() {
|
||||
color=black
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'Tela-icon-theme'
|
||||
pkgname=Tela-icon-theme
|
||||
date=2022-08-28
|
||||
version=2022.08.28
|
||||
version=2023.02.03
|
||||
date=${version//./-}
|
||||
revision=1
|
||||
build_style=meta
|
||||
repository=cereus-extra
|
||||
|
@ -16,10 +16,8 @@ depends="${pkgname}-standard \
|
|||
${pkgname}-red \
|
||||
${pkgname}-yellow \
|
||||
${pkgname}-manjaro
|
||||
${pkgname}-ubuntu"
|
||||
|
||||
# Keep nord variant until it integrates to future release (currently is only in git branch)
|
||||
# ${pkgname}-nord"
|
||||
${pkgname}-ubuntu
|
||||
${pkgname}-nord"
|
||||
|
||||
nostrip=yes
|
||||
icondir=usr/share/icons
|
||||
|
@ -30,7 +28,7 @@ maintainer="Kevin F. <https://github.com/KF-Art>"
|
|||
license="GPL-3.0"
|
||||
homepage="https://github.com/vinceliuice/Tela-icon-theme"
|
||||
distfiles="${homepage}/archive/refs/tags/${date}.tar.gz"
|
||||
checksum=09be82313a0ccfab4e3390de6dd1bd0ace115ba5990aae42e327777642ee7ff4
|
||||
checksum=ab6bf283875a8d777d1a3c8b5969c78a0d329409a4561f4c0f22d36d69171e5d
|
||||
|
||||
Tela-icon-theme-standard_package() {
|
||||
color=standard
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'alttab-git'
|
||||
pkgname=alttab-git
|
||||
version=2022.05.28
|
||||
revision=2
|
||||
version=2023.03.19
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config git"
|
||||
repository="cereus-extra"
|
||||
|
@ -9,7 +9,7 @@ makedepends="libX11-devel libXft-devel libXmu-devel libXrandr-devel
|
|||
libXrender-devel libpng-devel libXpm-devel uthash automake"
|
||||
checkdepends="procps-ng xvfb-run xeyes xprop"
|
||||
short_desc="Task switcher for minimalistic window managers - git branch"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/sagb/alttab"
|
||||
changelog="https://github.com/sagb/alttab/raw/master/ChangeLog"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'base-cereus'
|
||||
pkgname=base-cereus
|
||||
version=0.114
|
||||
revision=4
|
||||
version=2023.02.14
|
||||
revision=1
|
||||
build_style=meta
|
||||
repository=cereus-core
|
||||
short_desc="Cereus Linux base system meta package"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="Public Domain"
|
||||
conflicts="base-system"
|
||||
homepage="https://cereuslinuxproject.github.io"
|
||||
|
@ -16,7 +16,8 @@ depends="
|
|||
mdocml>=1.13.3 shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools
|
||||
procps-ng tzdata pciutils usbutils iana-etc openssh dhcpcd cereus-repo-core
|
||||
cereus-repo-extra kbd iproute2 iputils iw wpa_supplicant xbps nvi wifi-firmware
|
||||
cereus-artwork traceroute ethtool kmod acpid eudev runit-cereus removed-packages"
|
||||
cereus-artwork traceroute ethtool kmod acpid eudev runit-cereus removed-packages
|
||||
xrankmirrors"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) depends+=" musl musl-locales";;
|
||||
|
@ -24,5 +25,5 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*|ppc*) depends+=" linux-base linux5.15 linux5.15-headers";;
|
||||
i686*|x86_64*|ppc*) depends+=" linux-default-cereus";;
|
||||
esac
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
version="1.0"
|
||||
distributor_id="Cereus"
|
||||
description="Cereus Linux"
|
||||
release="Rolling"
|
||||
release="Beta"
|
||||
codename="cereus"
|
||||
options=""
|
||||
short=0
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=2022.07.03
|
||||
revision=11
|
||||
version=2023.01.30
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
repository=cereus-core
|
||||
depends="xbps-triggers"
|
||||
short_desc="Cereus Linux base system files"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="Public Domain"
|
||||
homepage="https://cereus-linux.sourceforge.io"
|
||||
conflicts="base-files>=0.77"
|
||||
|
|
20
srcpkgs/betterlockscreen-gui/template
Normal file
20
srcpkgs/betterlockscreen-gui/template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'betterlockscreen-gui'
|
||||
pkgname=betterlockscreen-gui
|
||||
version=2023.01.28
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
hostmakedepends="git"
|
||||
depends="python3-psutil betterlockscreen python3-gobject pygtk resolution-hooks bc"
|
||||
short_desc="Betterlockscreen GUI configuration tool"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/betterlockscreen-gui"
|
||||
changelog="${homepage}/commits/master"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vcopy usr ./
|
||||
}
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'blesh-git'
|
||||
pkgname=blesh-git
|
||||
version=2022.11.12
|
||||
version=2023.04.18
|
||||
revision=1
|
||||
makedepends="gawk git"
|
||||
depends="bash git"
|
||||
build_style="gnu-makefile"
|
||||
repository=cereus-extra
|
||||
short_desc="A replacement for bash's line editor with advanced features"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
short_desc="A replacement for bash's line editor with advanced features - git nightly branch"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="BSD-3-Clause"
|
||||
conflicts="blesh"
|
||||
homepage="https://github.com/akinomyoga/ble.sh"
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'blesh'
|
||||
pkgname=blesh
|
||||
version=0.3.3
|
||||
revision=4
|
||||
version=0.3.4
|
||||
revision=1
|
||||
depends="bash"
|
||||
repository=cereus-extra
|
||||
wrksrc="ble-${version}"
|
||||
short_desc="A replacement for bash's line editor with advanced features"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="BSD-3-Clause"
|
||||
conflicts="blesh-git"
|
||||
homepage="https://github.com/akinomyoga/ble.sh"
|
||||
distfiles="${homepage}/releases/download/v0.3.3/ble-${version}.tar.xz"
|
||||
checksum=a7e66383bd828584e82133ee08ab0bd8074ef0a739eacb835ff0970c3853f33a
|
||||
distfiles="${homepage}/releases/download/v${version}/ble-${version}.tar.xz"
|
||||
checksum=e543a43d211fef8f52b96b2e7935e892581421f759cda4ae87563854ebc60573
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/blesh
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'brave-bin'
|
||||
pkgname=brave-bin
|
||||
version=1.45.125
|
||||
version=1.50.121
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
repository="cereus-extra"
|
||||
short_desc="Secure, fast and private web browser with ad blocker"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
hostmakedepends="tar xz awk"
|
||||
license="Mozilla Public License Version 2.0"
|
||||
license="MPL-2.0"
|
||||
homepage="https://brave.com"
|
||||
distfiles="https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"
|
||||
checksum=8cef0647d7bd726b347ed27a6efac847d1fb620023a211e090035f9db94febe9
|
||||
checksum=b15edc10d04240bb3c569253d7507bd488ee18e95ec5de66fd696fffdbeab561
|
||||
|
||||
do_extract() {
|
||||
mkdir -p ${DESTDIR}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
# Template file for 'budgie-extras'
|
||||
pkgname=budgie-extras
|
||||
version=1.5.0
|
||||
version=1.6.0
|
||||
revision=1
|
||||
repository=cereus-extra
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config glib"
|
||||
hostmakedepends="pkg-config glib awk"
|
||||
makedepends="budgie-desktop-devel pam-devel pkg-config glib-devel glib cmake libgee08-devel intltool granite-devel libsoup-devel AppStream-devel zeitgeist-devel libhandy-devel libkeybinder3-devel libnma-devel"
|
||||
short_desc="Additional Budgie desktop applets to enhance user experience"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
license="GPL-3.0"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/UbuntuBudgie/budgie-extras"
|
||||
changelog="${homepage}/releases/tag/v${version}"
|
||||
distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||
checksum=10d14a1f6c90d5fa8106077094f83030a5ac26cf81e9820e9c34566b182a844a
|
||||
checksum=450e801a187290a00b7fb3e7922ea91159d7ecc8ae6592f375ca7a0874a0f674
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'calamares-branding'
|
||||
pkgname=calamares-branding
|
||||
version=2022.06.09
|
||||
revision=1
|
||||
version=2023.01.30
|
||||
revision=2
|
||||
hostmakedepends="git"
|
||||
_brandingdir="etc/calamares/branding/cereus"
|
||||
repository="cereus-core"
|
||||
short_desc="Calamares branding for Cereus Linux"
|
||||
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="CC-BY-SA-4.0"
|
||||
homepage="https://github.com/CereusLinuxProject/Cereus-Artwork/tree/main/calamares-branding"
|
||||
|
||||
|
@ -17,8 +17,9 @@ do_fetch() {
|
|||
do_install() {
|
||||
vmkdir ${_brandingdir}
|
||||
vcopy ${pkgname}/*.png ${_brandingdir}
|
||||
cp branding/cereus-logo-512x512.png branding/logo.png
|
||||
vinstall branding/logo.png 0644 ${_brandingdir}
|
||||
vinstall ${pkgname}/show.qml 0644 ${_brandingdir}
|
||||
cp Branding/cereus-logo-512x512.png Branding/logo.png
|
||||
vinstall Branding/logo.png 0644 ${_brandingdir}
|
||||
vinstall ${pkgname}/branding.desc 0644 ${_brandingdir}
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
|
@ -1,339 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
|
@ -1,107 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
#
|
||||
# Copyright 2014 - 2019, Philip Müller <philm@manjaro.org>
|
||||
# Copyright 2016, Artoo <artoo@manjaro.org>
|
||||
#
|
||||
# Calamares is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Calamares is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import libcalamares
|
||||
import subprocess
|
||||
|
||||
from shutil import copy2
|
||||
from distutils.dir_util import copy_tree
|
||||
from os.path import join, exists
|
||||
from libcalamares.utils import target_env_call
|
||||
|
||||
|
||||
class ConfigController:
|
||||
def __init__(self):
|
||||
self.__root = libcalamares.globalstorage.value("rootMountPoint")
|
||||
|
||||
@property
|
||||
def root(self):
|
||||
return self.__root
|
||||
|
||||
def terminate(self, proc):
|
||||
target_env_call(['killall', '-9', proc])
|
||||
|
||||
def copy_file(self, file):
|
||||
if exists("/" + file):
|
||||
copy2("/" + file, join(self.root, file))
|
||||
|
||||
def copy_folder(self, source, target):
|
||||
if exists("/" + source):
|
||||
copy_tree("/" + source, join(self.root, target))
|
||||
|
||||
def remove_pkg(self, pkg):
|
||||
target_env_call(['xbps-remove', '-Ry', pkg])
|
||||
|
||||
def umount(self, mp):
|
||||
subprocess.call(["umount", "-l", join(self.root, mp)])
|
||||
|
||||
def mount(self, mp):
|
||||
subprocess.call(["mount", "-B", "/" + mp, join(self.root, mp)])
|
||||
|
||||
def rmdir(self, dir):
|
||||
subprocess.call(["rm", "-Rf", join(self.root, dir)])
|
||||
|
||||
def mkdir(self, dir):
|
||||
subprocess.call(["mkdir", "-p", join(self.root, dir)])
|
||||
|
||||
def run(self):
|
||||
if exists(join(self.root, "usr/sbin/void-installer")):
|
||||
target_env_call(["rm", "-f", "usr/sbin/void-installer"])
|
||||
|
||||
if exists(join(self.root, "usr/sbin/cereus-installer")):
|
||||
target_env_call(["rm", "-f", "usr/sbin/cereus-installer"])
|
||||
|
||||
# Initialize package manager databases
|
||||
if libcalamares.globalstorage.value("hasInternet"):
|
||||
target_env_call(["xbps-install", "-Syy"])
|
||||
|
||||
# Remove calamares
|
||||
self.remove_pkg("calamares-cereus")
|
||||
if exists(join(self.root, "usr/share/applications/calamares.desktop")):
|
||||
target_env_call(["rm", "-f", "usr/share/applications/calamares.desktop"])
|
||||
|
||||
# Copy skel to root
|
||||
self.copy_folder('etc/skel', 'root')
|
||||
|
||||
# Update grub.cfg
|
||||
if exists(join(self.root, "usr/bin/update-grub")):
|
||||
target_env_call(["update-grub"])
|
||||
|
||||
# Enable 'menu_auto_hide' when supported in grubenv
|
||||
if exists(join(self.root, "usr/bin/grub-set-bootflag")):
|
||||
target_env_call(["grub-editenv", "-", "set", "menu_auto_hide=1", "boot_success=1"])
|
||||
|
||||
# Enable plymouth
|
||||
target_env_call(["plymouth-set-default-theme", "-R", "cereus_simply"])
|
||||
|
||||
# Replace /etc/issue msg from live
|
||||
if exists(join(self.root, "etc/issue.new")):
|
||||
target_env_call(["mv", "etc/issue.new", "etc/issue"])
|
||||
|
||||
# Reconfigure all target packages to ensure everything is ok
|
||||
target_env_call(["xbps-reconfigure", "-fa"])
|
||||
|
||||
def run():
|
||||
""" Misc postinstall configurations """
|
||||
|
||||
config = ConfigController()
|
||||
|
||||
return config.run()
|
|
@ -1,6 +0,0 @@
|
|||
# Syntax is YAML 1.2
|
||||
---
|
||||
type: "job"
|
||||
name: "postcfg"
|
||||
interface: "python"
|
||||
script: "main.py" #assumed relative to the current directory
|
|
@ -1,16 +1,21 @@
|
|||
# Template file for 'calamares-modules-cereus'
|
||||
pkgname=calamares-modules-cereus
|
||||
version=2022.09.22
|
||||
revision=1
|
||||
modules_dir="usr/lib/calamares/modules/"
|
||||
version=2023.02.14
|
||||
revision=2
|
||||
hostmakedepends="git"
|
||||
_modules_dir="usr/lib/calamares/modules/"
|
||||
repository="cereus-core"
|
||||
short_desc="Additional Cereus modules for Calamares installer"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://cereuslinuxproject.github.io"
|
||||
short_desc="Additional Cereus Linux modules for Calamares installer"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-2.0"
|
||||
homepage="https://github.com/CereusLinuxProject/calamares-modules"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir ${modules_dir}
|
||||
vcopy ${FILESDIR}/modules/* ${modules_dir}
|
||||
vlicense ${FILESDIR}/LICENSE
|
||||
vmkdir ${_modules_dir}
|
||||
vcopy modules/* ${_modules_dir}
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'calamares'
|
||||
pkgname=calamares
|
||||
version=3.2.61
|
||||
revision=2
|
||||
version=3.2.62
|
||||
revision=1
|
||||
build_style=cmake
|
||||
repository=cereus-extra
|
||||
configure_args="-DCMAKE_BUILD_TYPE=Release
|
||||
|
@ -13,19 +13,19 @@ configure_args="-DCMAKE_BUILD_TYPE=Release
|
|||
-DBoost_NO_BOOST_CMAKE=ON
|
||||
-DSKIP_MODULES='webview;interactiveterminal;services-systemd;dummyprocess;dummypython;dummycpp;dummypythonqt'"
|
||||
hostmakedepends="git extra-cmake-modules pkg-config gettext
|
||||
ckbcomp kcoreaddons kdelibs4support python3-yaml awk"
|
||||
ckbcomp kcoreaddons kdelibs4support python3-yaml awk clang"
|
||||
makedepends="python3-devel python3-jsonschema yaml-cpp-devel boost-devel qt5-devel python3-devel kpmcore-devel
|
||||
qt5-tools qt5-translations boost boost-python3-1.80 python3-QtPy qt5-svg-devel
|
||||
qt5-tools qt5-translations boost boost-python3 python3-QtPy qt5-svg-devel
|
||||
libpwquality AppStream-qt plasma-framework-devel qt5-webengine"
|
||||
depends="kconfig kcoreaddons kiconthemes ki18n kio ksolid yaml-cpp kpmcore boost ckbcomp
|
||||
hardinfo qt5-svg polkit-qt5 gtk-update-icon-cache plasma-framework qt5-xmlpatterns
|
||||
squashfs-tools libpwquality AppStream-qt icu"
|
||||
short_desc="Distribution-independent installer framework"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL"
|
||||
homepage="https://calamares.io"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=7591b9b60738bdba7b9de2b8da5462ab21006db06a006f0dd21ac5b832711dd2
|
||||
checksum=a0fbcec2a438693753fc174220356119ad7adb8a2b19c317518aa1cb025d6dd0
|
||||
|
||||
case ${XBPS_TARGET_MACHINE} in
|
||||
*-musl)
|
||||
|
@ -45,4 +45,6 @@ post_install() {
|
|||
for license in BSD-2-Clause CC-BY-4.0 CC0-1.0 GPL-3.0-or-later LGPL-2.0-only LGPL-2.1-only LGPL-3.0-or-later MIT; do
|
||||
vlicense LICENSES/${license}.txt
|
||||
done
|
||||
|
||||
vbin build/loadmodule
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cereus-artwork'
|
||||
pkgname=cereus-artwork
|
||||
version=2022.06.14
|
||||
version=2023.01.30
|
||||
revision=1
|
||||
hostmakedepends="git"
|
||||
_wallpaperdir="usr/share/backgrounds"
|
||||
|
@ -17,7 +17,7 @@ do_fetch() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
# Create directories in fake root
|
||||
# Create directories in targetdir
|
||||
for dir in ${_wallpaperdir} ${_icondir} ${_logodir}
|
||||
do vmkdir ${dir}
|
||||
done
|
||||
|
@ -41,16 +41,29 @@ do_install() {
|
|||
|
||||
|
||||
# Install icons
|
||||
vinstall branding/cereus-logo-512x512.svg 0644 \
|
||||
${_icondir}/scalable/apps cereus-logo.svg
|
||||
|
||||
for logo in cereus-logo{,-dark,-light}; do
|
||||
vinstall Branding/${logo}-512x512.svg 0644 \
|
||||
${_icondir}/scalable/apps ${logo}.svg
|
||||
done
|
||||
|
||||
for res in 16 22 32 48 64 128 256 512
|
||||
do vinstall branding/cereus-logo-${res}x${res}.png 0644 \
|
||||
do vinstall Branding/cereus-logo-${res}x${res}.png 0644 \
|
||||
${_icondir}/${res}x${res}/apps/ cereus-logo.png
|
||||
done
|
||||
|
||||
for res in 16 22 32 48 64 128 256 512
|
||||
do vinstall Branding/cereus-logo-light-${res}x${res}.png 0644 \
|
||||
${_icondir}/${res}x${res}/apps/ cereus-logo-light.png
|
||||
done
|
||||
|
||||
for res in 16 22 32 48 64 128 256 512
|
||||
do vinstall Branding/cereus-logo-dark-${res}x${res}.png 0644 \
|
||||
${_icondir}/${res}x${res}/apps/ cereus-logo-dark.png
|
||||
done
|
||||
|
||||
# Install logos
|
||||
vcopy branding/* ${_logodir}
|
||||
vcopy Branding/* ${_logodir}
|
||||
|
||||
# Install license
|
||||
vlicense LICENSE
|
||||
|
|
5
srcpkgs/cereus-global-presets/INSTALL
Normal file
5
srcpkgs/cereus-global-presets/INSTALL
Normal file
|
@ -0,0 +1,5 @@
|
|||
# INSTALL
|
||||
case "$ACTION" in
|
||||
post)
|
||||
plymouth-set-default-theme -R cereus_simply ;;
|
||||
esac
|
36
srcpkgs/cereus-global-presets/template
Normal file
36
srcpkgs/cereus-global-presets/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'cereus-global-presets'
|
||||
pkgname=cereus-global-presets
|
||||
version=2023.01.28
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/pipewire/pipewire.conf
|
||||
/etc/skel/.profile
|
||||
/etc/xdg/autostart/*.desktop
|
||||
/etc/bash/bashrc.d/*.sh"
|
||||
hostmakedepends="git"
|
||||
depends="cereus-themes-presets bluez gst-libav libva-utils gst-plugins-base1 gst-plugins-good1 libcups-filters python3-cups python3-cupshelpers system-config-printer system-config-printer-udev vpm vsv numlockx xdg-user-dirs octoxbps-git touchegg plymouth cereus-plymouth-theme sof-firmware libspa-bluetooth NetworkManager chrony elogind alsa-pipewire pipewire gstreamer1-pipewire wireplumber pulseaudio-utils"
|
||||
short_desc="Cereus Linux global default configurations"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/presets"
|
||||
changelog="${homepage}/commits/main/global"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd global/etc
|
||||
vinstall pipewire/pipewire.conf 0644 /etc/pipewire/
|
||||
|
||||
vinstall skel/.profile 0644 /etc/skel/
|
||||
for f in octoxbps-notifier pipewire touchegg; do
|
||||
vinstall xdg/autostart/${f}.desktop 0644 /etc/xdg/autostart/
|
||||
done
|
||||
|
||||
cd bash/bashrc.d
|
||||
for f in 99-ble 10-cereus-prompt; do
|
||||
vinstall ${f}.sh 0644 /etc/bash/bashrc.d/
|
||||
done
|
||||
}
|
22
srcpkgs/cereus-lightdm-presets/template
Normal file
22
srcpkgs/cereus-lightdm-presets/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'cereus-lightdm-presets'
|
||||
pkgname=cereus-lightdm-presets
|
||||
version=2023.01.20
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/lightdm/lightdm.conf.d/*.conf"
|
||||
hostmakedepends="git"
|
||||
short_desc="Cereus Linux default configurations for LightDM"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/presets"
|
||||
changelog="${homepage}/commits/main/global/etc/lightdm"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd global/etc/lightdm/lightdm.conf.d
|
||||
vinstall 10-numlock.conf 0644 etc/lightdm/lightdm.conf.d/
|
||||
}
|
33
srcpkgs/cereus-lxqt-presets/template
Normal file
33
srcpkgs/cereus-lxqt-presets/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'cereus-lxqt-presets'
|
||||
pkgname=cereus-lxqt-presets
|
||||
version=2023.02.10
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/lxqt/*.conf
|
||||
/etc/pcmanfm-qt/*/*.conf
|
||||
/etc/qterminal.org/qterminal.ini
|
||||
/etc/xdg/featherpad/*.conf
|
||||
/etc/skel/.config/kdeglobals
|
||||
/etc/skel/.config/lockscreen-bg.conf
|
||||
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
||||
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
|
||||
/etc/skel/.config/featherpad/*.conf
|
||||
/etc/xdg/autostart/ksuperkey.desktop"
|
||||
hostmakedepends="git"
|
||||
depends="lxqt-cereus cereus-global-presets cereus-lightdm-presets udisks2 gvfs-afc gvfs-mtp
|
||||
gvfs-smb blueman flameshot pasystray-git ksuperkey network-manager-applet pavucontrol-qt"
|
||||
short_desc="Cereus Linux default configurations for LXQt edition"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/presets"
|
||||
changelog="${homepage}/commits/main/lxqt"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vcopy lxqt/* ./
|
||||
vinstall global/etc/skel/.config/lockscreen-bg.conf 0644 etc/skel/.config/
|
||||
}
|
18
srcpkgs/cereus-lxqt-themes/template
Normal file
18
srcpkgs/cereus-lxqt-themes/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'cereus-lxqt-themes'
|
||||
pkgname=cereus-lxqt-themes
|
||||
version=2023.01.30
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
_theme_dir="usr/share/lxqt/themes"
|
||||
short_desc="Cereus Linux custom themes for LXQt desktop"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/cereus-lxqt-themes"
|
||||
changelog="${homepage}/commits/main"
|
||||
distfiles="${homepage}/archive/refs/heads/main.zip"
|
||||
checksum=73f325b870b2e39b8b15d61faf18a73c84e641dc8710f6d42ad8161e6db2673d
|
||||
|
||||
do_install() {
|
||||
vmkdir ${_theme_dir}
|
||||
vcopy Cereus* ${_theme_dir}/
|
||||
}
|
|
@ -50,14 +50,12 @@ read -rd '' config <<'EOF'
|
|||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
prin "System Info"
|
||||
prin "System Info"
|
||||
info underline
|
||||
|
||||
prin " ~ Hardware ~"
|
||||
|
||||
info "Host " model
|
||||
info "Kernel " kernel
|
||||
#prin "Init " Runit
|
||||
info "Host " model
|
||||
info "Uptime " uptime
|
||||
info "CPU " cpu
|
||||
info "GPU " gpu
|
||||
|
@ -66,16 +64,18 @@ print_info() {
|
|||
|
||||
prin " ~ Software ~"
|
||||
|
||||
info "OS " "Cereus Linux" distro
|
||||
info "OS " distro
|
||||
info "Kernel " kernel
|
||||
prin "Init " Runit
|
||||
info "Packages " packages
|
||||
info "WM " wm
|
||||
info "DE " de
|
||||
info "DE " de
|
||||
info "WM " wm
|
||||
info "Shell " shell
|
||||
info "Resolution " resolution
|
||||
|
||||
prin " ~ Customization ~"
|
||||
|
||||
info "WM Theme " wm_theme
|
||||
info "WM Theme " wm_theme
|
||||
info "Theme " theme
|
||||
info "Icons " icons
|
||||
info "Font " font
|
||||
|
@ -5297,108 +5297,63 @@ get_distro_ascii() {
|
|||
#
|
||||
# $ascii_distro is the same as $distro.
|
||||
case $(trim "$ascii_distro") in
|
||||
"Cereus"*)
|
||||
set_colors 7 2
|
||||
"AIX"*)
|
||||
set_colors 2 7
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} .......
|
||||
.°*ooOOOOOOooOooo*°.
|
||||
. °*OO#####OOo*****oO###OO*° °
|
||||
* .*O###OOOOOO* ${c2} ***${c1} *oOOOO###O*. °
|
||||
.oO#OOOOooOOOO* ${c2}*****${c1} *OOOOOOOO##o.
|
||||
° *##O********oO* ${c2}****** ${c1}*oOOOOOOOOO##* .
|
||||
. .o#OOO*${c2} ***** ${c2}******* ${c1}*oOo***ooOOOO#O. .
|
||||
. .O#OOOO${c2} ******* ${c2} ******* ${c1}${c2}**°°*°${c1} *oOOOO#O. .
|
||||
o#OOOO*${c2} *******. ${c2} ******* ${c1}${c2}****°*°${c1} oOOOOO#O
|
||||
*#OOOOOO*${c2} ******* ${c2}******* ${c1}${c2}******°${c1} *oOOOOO#*
|
||||
O#OOOOOO*${c2} *°***** ${c2}******* ${c1}${c2}*******°${c1} *oOOOOOOO
|
||||
.OOOOOOOOO*${c2} *****. ${c2} ******* ${c1}${c2}*******°${c1} oOOOOOO#.
|
||||
°#OOOOOOOOo${c2} ****** ${c2} ******* ${c1}${c2}*******°${c1} oOOOOOO#°
|
||||
.OOOOOOOOo*${c2} ****** ${c2} ******* ${c1}${c2}******°${c1} *oOOOOOO#°
|
||||
O#OOOOOOOo* ${c2}***************°°°*****${c1} *OOOOOOOO
|
||||
*#OOOOOOOOo* ${c2}********************* ${c1}*oOOOOOO#*
|
||||
O#OOOOOOOOOOo* ${c2}**°************* ${c1}*OOOOOOOOO#O .
|
||||
. .O#OOOOOOOOOOOOOO* ${c2}********** ${c1}*OOOOOOOOOO#O. .
|
||||
. .O#OOOOOOOOOOOOO* ${c2}******** ${c1}*OOOOOOOOOOO#O. .
|
||||
° *##OOOOOOOOOOO* ${c2}****** ${c1}oOOOOOOOOOO##* .
|
||||
.o##OOOOOOOOO* ${c2}****** ${c1}OOOOOOOOO##o.
|
||||
° .*O###OOOOO* ${c2}****** ${c1}oOOOOO###Oo. .
|
||||
° °oOO####O* ${c2}**** ${c1}OoO####Oo°. .
|
||||
.°*ooOO******oooo*°.
|
||||
........
|
||||
${c1} `:+ssssossossss+-`
|
||||
.oys///oyhddddhyo///sy+.
|
||||
/yo:+hNNNNNNNNNNNNNNNNh+:oy/
|
||||
:h/:yNNNNNNNNNNNNNNNNNNNNNNy-+h:
|
||||
`ys.yNNNNNNNNNNNNNNNNNNNNNNNNNNy.ys
|
||||
`h+-mNNNNNNNNNNNNNNNNNNNNNNNNNNNNm-oh
|
||||
h+-NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.oy
|
||||
/d`mNNNNNNN/::mNNNd::m+:/dNNNo::dNNNd`m:
|
||||
h//NNNNNNN: . .NNNh mNo od. -dNNNNN:+y
|
||||
N.sNNNNNN+ -N/ -NNh mNNd. sNNNNNNNo-m
|
||||
N.sNNNNNs +oo /Nh mNNs` ` /mNNNNNNo-m
|
||||
h//NNNNh ossss` +h md- .hm/ `sNNNNN:+y
|
||||
:d`mNNN+/yNNNNNd//y//h//oNNNNy//sNNNd`m-
|
||||
yo-NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNm.ss
|
||||
`h+-mNNNNNNNNNNNNNNNNNNNNNNNNNNNNm-oy
|
||||
sy.yNNNNNNNNNNNNNNNNNNNNNNNNNNs.yo
|
||||
:h+-yNNNNNNNNNNNNNNNNNNNNNNs-oh-
|
||||
:ys:/yNNNNNNNNNNNNNNNmy/:sy:
|
||||
.+ys///osyhhhhys+///sy+.
|
||||
-/osssossossso/-
|
||||
EOF
|
||||
;;
|
||||
|
||||
"Void"*)
|
||||
set_colors 7 2
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} .......
|
||||
.°*ooOOOOOOooOooo*°.
|
||||
. °*OO#####OOo*****oO###OO*° °
|
||||
* .*O###OOOOOO* ${c2} ***${c1} *oOOOO###O*. °
|
||||
.oO#OOOOooOOOO* ${c2}*****${c1} *OOOOOOOO##o.
|
||||
° *##O********oO* ${c2}****** ${c1}*oOOOOOOOOO##* .
|
||||
. .o#OOO*${c2} ***** ${c2}******* ${c1}*oOo***ooOOOO#O. .
|
||||
. .O#OOOO${c2} ******* ${c2} ******* ${c1}${c2}**°°*°${c1} *oOOOO#O. .
|
||||
o#OOOO*${c2} *******. ${c2} ******* ${c1}${c2}****°*°${c1} oOOOOO#O
|
||||
*#OOOOOO*${c2} ******* ${c2}******* ${c1}${c2}******°${c1} *oOOOOO#*
|
||||
O#OOOOOO*${c2} *°***** ${c2}******* ${c1}${c2}*******°${c1} *oOOOOOOO
|
||||
.OOOOOOOOO*${c2} *****. ${c2} ******* ${c1}${c2}*******°${c1} oOOOOOO#.
|
||||
°#OOOOOOOOo${c2} ****** ${c2} ******* ${c1}${c2}*******°${c1} oOOOOOO#°
|
||||
.OOOOOOOOo*${c2} ****** ${c2} ******* ${c1}${c2}******°${c1} *oOOOOOO#°
|
||||
O#OOOOOOOo* ${c2}***************°°°*****${c1} *OOOOOOOO
|
||||
*#OOOOOOOOo* ${c2}********************* ${c1}*oOOOOOO#*
|
||||
O#OOOOOOOOOOo* ${c2}**°************* ${c1}*OOOOOOOOO#O .
|
||||
. .O#OOOOOOOOOOOOOO* ${c2}********** ${c1}*OOOOOOOOOO#O. .
|
||||
. .O#OOOOOOOOOOOOO* ${c2}******** ${c1}*OOOOOOOOOOO#O. .
|
||||
° *##OOOOOOOOOOO* ${c2}****** ${c1}oOOOOOOOOOO##* .
|
||||
.o##OOOOOOOOO* ${c2}****** ${c1}OOOOOOOOO##o.
|
||||
° .*O###OOOOO* ${c2}****** ${c1}oOOOOO###Oo. .
|
||||
° °oOO####O* ${c2}**** ${c1}OoO####Oo°. .
|
||||
.°*ooOO******oooo*°.
|
||||
........
|
||||
EOF
|
||||
;;
|
||||
|
||||
"Linux")
|
||||
set_colors fg 8 3
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c2} #####
|
||||
${c2} #######
|
||||
${c2} ##${c1}O${c2}#${c1}O${c2}##
|
||||
${c2} #${c3}#####${c2}#
|
||||
${c2} ##${c1}##${c3}###${c1}##${c2}##
|
||||
${c2} #${c1}##########${c2}##
|
||||
${c2} #${c1}############${c2}##
|
||||
${c2} #${c1}############${c2}###
|
||||
${c3} ##${c2}#${c1}###########${c2}##${c3}#
|
||||
${c3}######${c2}#${c1}#######${c2}#${c3}######
|
||||
${c3}#######${c2}#${c1}#####${c2}#${c3}#######
|
||||
${c3} #####${c2}#######${c3}#####
|
||||
EOF
|
||||
;;
|
||||
"Profelis SambaBOX"* | "SambaBOX"*)
|
||||
set_colors 3 6
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1}
|
||||
#
|
||||
*////#####
|
||||
/////////#########(
|
||||
.((((((///// ,####(#(((((
|
||||
/#######(((* (#(((((((((.
|
||||
//((#(#(#, ((##( ,((((((//
|
||||
////// #(##########( //////
|
||||
////// ((#(#(#(#(##########(/////////
|
||||
/////( (((((((#########(##((((((/////
|
||||
/(((#( ((((/
|
||||
####(# ((###
|
||||
#########(((/////////(((((((((, (#(#(
|
||||
########( /////////(((((((* #####
|
||||
####///, *////((( (((((((
|
||||
./////////// .//(((((((((
|
||||
///////////, *(/////((((*
|
||||
,/(((((((((##########/.
|
||||
.((((((#######
|
||||
((##*
|
||||
"Cereus"*) #R #RR #BR #LR #DR
|
||||
set_colors 173 108 71 151 72 ##~ItzSelenux
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} ..
|
||||
'::,.....
|
||||
.,;:llll;. ${c4} ...
|
||||
${c2}...... ${c1}''''.${c4} ':::;.
|
||||
${c2} ..,::lll::;,..${c4} ::::;.
|
||||
${c2} ':llllllllllll:' ${c4} ;:::;
|
||||
${c2} .;llllllllllllllll' ${c4} ;::;.
|
||||
${c3} .... ${c2} .;lllllllllllllllll:. ${c4} ;::;.
|
||||
${c3} .;::::, ${c2} ,lllllllllllllllllll. ${c4} .
|
||||
${c3} .::::::.${c2} .lllllllllllllllllll:.
|
||||
${c3} .::::::. ${c2} ,lllllllllllllllllll:.${c3} ......
|
||||
${c3} .;:::::'${c2} .;lllllllllllllllllll,${c3} .,::::::,.
|
||||
${c3} .;::::;.${c2}.:lllllllllllllllllll.${c3} .,::::::::;.
|
||||
${c3} .,;::;${c2};lllllllllllllllllll;${c3} .:::::::::;.
|
||||
${c3} ...${c2},lllllllllllllllllll.${c3} ':::::::::,.
|
||||
${c2} .:lllllllllllllllll, ${c3} .;::::::::;.
|
||||
${c2} .:llllllllllllllll:.${c3} .;::::::::,.
|
||||
${c2} ,llllllllllllllll'${c3} .';:::::::;.
|
||||
${c5} ... ${c2} .llllllllllllllll;${c3},,,,;:::::::;,.
|
||||
${c5}.:l:. ${c2} ,llllllllllllll;${c3},,:::::::;,'..
|
||||
${c5}.;::, ${c2} .;lllllllllllll,${c3} '''''''''''
|
||||
${c5} .:::. ${c2} ':lllllllllll:.
|
||||
${c5} .;::' ${c2} .,:llllllllll,
|
||||
${c5} .,::;. ${c2} .';lllllllll'
|
||||
${c5} .,::;'.. ${c2} .';lllllll,.
|
||||
${c5} ..,;::;,. ${c2} ...,;lll:.
|
||||
${c5} ...''. ${c2} ..',;'.
|
||||
|
||||
EOF
|
||||
;;
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'cereus-neofetch'
|
||||
pkgname=cereus-neofetch
|
||||
version=7.1.0
|
||||
revision=4
|
||||
revision=6
|
||||
repository=cereus-core
|
||||
wrksrc=neofetch-${version}
|
||||
build_style=gnu-makefile
|
||||
depends="bash"
|
||||
short_desc="Simple system information script - Cereus patched edition"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
depends="bash nerd-fonts-symbols"
|
||||
short_desc="Simple system information script (Cereus patched edition)"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/dylanaraps/neofetch"
|
||||
changelog="https://github.com/dylanaraps/neofetch/releases/tag/${version}"
|
||||
|
@ -18,5 +18,5 @@ replaces="neofetch"
|
|||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
vinstall ${FILESDIR}/neofetch 755 usr/bin/
|
||||
vbin ${FILESDIR}/neofetch
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cereus-plymouth-theme'
|
||||
pkgname=cereus-plymouth-theme
|
||||
version=2022.08.14
|
||||
version=2023.01.29
|
||||
revision=1
|
||||
hostmakedepends="git"
|
||||
depends="plymouth"
|
||||
|
|
27
srcpkgs/cereus-themes-presets/template
Normal file
27
srcpkgs/cereus-themes-presets/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'cereus-themes-presets'
|
||||
pkgname=cereus-themes-presets
|
||||
version=2023.01.19
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/gtk-3.0/settings.ini
|
||||
/etc/Kvantum/kvantum.kvconfig
|
||||
/etc/skel/.gtkrc-2.0"
|
||||
hostmakedepends="git"
|
||||
depends="kvantum Graphite-kvantum-theme-black Graphite-gtk-theme-black Tela-icon-theme-green Graphite-color-schemes-black Graphite-cursors jetbrains-mono-font fonts-roboto-ttf"
|
||||
short_desc="Cereus Linux default theme configurations"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/presets"
|
||||
changelog="${homepage}/commits/main/global"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd global/etc
|
||||
vinstall gtk-3.0/settings.ini 0644 /etc/gtk-3.0/
|
||||
vinstall Kvantum/kvantum.kvconfig 0644 /etc/Kvantum/
|
||||
vinstall skel/.gtkrc-2.0 0644 /etc/skel/
|
||||
}
|
30
srcpkgs/cereus-xfce-presets/template
Normal file
30
srcpkgs/cereus-xfce-presets/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'cereus-xfce-presets'
|
||||
pkgname=cereus-xfce-presets
|
||||
version=2023.02.08
|
||||
revision=2
|
||||
repository="cereus-core"
|
||||
conf_files="
|
||||
/etc/skel/.config/Thunar/*
|
||||
/etc/skel/.config/xfce4/helpers.rc
|
||||
/etc/skel/.config/xfce4/panel/*.rc
|
||||
/etc/skel/.config/xfce4/panel/launcher-*/*.desktop
|
||||
/etc/skel/.config/xfce4/terminal/terminalrc
|
||||
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml
|
||||
/etc/skel/.local/share/xfce4/helpers/custom-WebBrowser.desktop
|
||||
/etc/xdg/autostart/ksuperkey.desktop"
|
||||
hostmakedepends="git"
|
||||
depends="cereus-global-presets cereus-themes-presets xfce4 gnome-keyring gvfs-afc gvfs-mtp gvfs-smb udisks2 xfce4-whiskermenu-plugin xfce4-pulseaudio-plugin xfce4-clipman-plugin thunar-archive-plugin thunar-archive-plugin blueman rhythmbox xfce4-screenshooter xfce4-plugins material-black-cereus-xfwm qt5ct xfce4-docklike-plugin mugshot qt5ct pavucontrol network-manager-applet"
|
||||
short_desc="Cereus Linux default configurations for XFCE edition"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/CereusLinuxProject/presets"
|
||||
changelog="${homepage}/commits/main/xfce"
|
||||
|
||||
do_fetch() {
|
||||
git clone ${homepage} ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vcopy xfce/* ./
|
||||
vinstall global/etc/qt5ct/qt5ct.conf 0644 etc/qt5ct/
|
||||
}
|
21
srcpkgs/dockbarx/template
Normal file
21
srcpkgs/dockbarx/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'dockbarx'
|
||||
pkgname=dockbarx
|
||||
version=1.0.beta2
|
||||
_pkgrel=${version//.b/-b}
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-polib"
|
||||
makedepends="awk"
|
||||
depends="libkeybinder3 python3-cairo python3-dbus python3-gobject python3-Pillow
|
||||
python3-xlib python3-xdg"
|
||||
short_desc="TaskBar with groupping and group manipulation"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/xuzhen/dockbarx"
|
||||
distfiles="${homepage}/archive/refs/tags/${_pkgrel}.tar.gz"
|
||||
checksum=418101acb09a4fd4fd94280fa5a313a4fab103fd105ca267ea72fc609f5bb865
|
||||
|
||||
post_install() {
|
||||
vinstall icons/hicolor/128x128/apps/dockbarx.png 644 usr/share/pixmaps/dockbarx.png
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'flat-remix-icon-theme'
|
||||
pkgname=flat-remix-icon-theme
|
||||
version=2022.05.25
|
||||
_datever=20220525
|
||||
_datever=${version//./}
|
||||
revision=1
|
||||
build_style=meta
|
||||
repository=cereus-extra
|
||||
|
|
1
srcpkgs/flat-remix-icon-theme/update
Normal file
1
srcpkgs/flat-remix-icon-theme/update
Normal file
|
@ -0,0 +1 @@
|
|||
version=${version//./}
|
1
srcpkgs/grub-cereus-arm64-efi
Symbolic link
1
srcpkgs/grub-cereus-arm64-efi
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-i386-coreboot
Symbolic link
1
srcpkgs/grub-cereus-i386-coreboot
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-i386-efi
Symbolic link
1
srcpkgs/grub-cereus-i386-efi
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-powerpc-ieee1275
Symbolic link
1
srcpkgs/grub-cereus-powerpc-ieee1275
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-utils
Symbolic link
1
srcpkgs/grub-cereus-utils
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-x86_64-efi
Symbolic link
1
srcpkgs/grub-cereus-x86_64-efi
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
1
srcpkgs/grub-cereus-xen
Symbolic link
1
srcpkgs/grub-cereus-xen
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub-cereus
|
24
srcpkgs/grub-cereus/files/grub.default
Normal file
24
srcpkgs/grub-cereus/files/grub.default
Normal file
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# Configuration file for GRUB.
|
||||
#
|
||||
GRUB_DEFAULT=0
|
||||
#GRUB_HIDDEN_TIMEOUT=0
|
||||
#GRUB_HIDDEN_TIMEOUT_QUIET=false
|
||||
GRUB_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR="Cereus"
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4"
|
||||
# Uncomment to use basic console
|
||||
#GRUB_TERMINAL_INPUT="console"
|
||||
# Uncomment to disable graphical terminal
|
||||
#GRUB_TERMINAL_OUTPUT=console
|
||||
GRUB_BACKGROUND=/usr/share/backgrounds/grub-img.png
|
||||
#GRUB_GFXMODE=1920x1080x32
|
||||
#GRUB_DISABLE_LINUX_UUID=true
|
||||
#GRUB_DISABLE_RECOVERY=true
|
||||
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||
# modes only. Entries specified as foreground/background.
|
||||
#GRUB_COLOR_NORMAL="light-blue/black"
|
||||
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||
|
||||
# Enable os-prober support by default
|
||||
GRUB_DISABLE_OS_PROBER=false
|
19
srcpkgs/grub-cereus/files/kernel.d/grub.post
Normal file
19
srcpkgs/grub-cereus/files/kernel.d/grub.post
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Kernel hook for GRUB 2.
|
||||
#
|
||||
# Arguments passed to this script: $1 pkgname, $2 version.
|
||||
#
|
||||
PKGNAME="$1"
|
||||
VERSION="$2"
|
||||
|
||||
export ZPOOL_VDEV_NAME_PATH=YES
|
||||
|
||||
if command -v grub-mkconfig >/dev/null 2>&1; then
|
||||
if [ -d $ROOTDIR/boot/grub ]; then
|
||||
grub-mkconfig -o $ROOTDIR/boot/grub/grub.cfg
|
||||
exit $?
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,32 @@
|
|||
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
|
||||
index f8cbb8d..f271608 100644
|
||||
--- a/util/grub-mkconfig.in
|
||||
+++ b/util/grub-mkconfig.in
|
||||
@@ -246,6 +246,8 @@ export GRUB_DEFAULT \
|
||||
GRUB_BACKGROUND \
|
||||
GRUB_THEME \
|
||||
GRUB_GFXPAYLOAD_LINUX \
|
||||
+ GRUB_COLOR_NORMAL \
|
||||
+ GRUB_COLOR_HIGHLIGHT \
|
||||
GRUB_INIT_TUNE \
|
||||
GRUB_SAVEDEFAULT \
|
||||
GRUB_ENABLE_CRYPTODISK \
|
||||
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
|
||||
index d2e7252..8259f45 100644
|
||||
--- a/util/grub.d/00_header.in
|
||||
+++ b/util/grub.d/00_header.in
|
||||
@@ -125,6 +125,14 @@ cat <<EOF
|
||||
|
||||
EOF
|
||||
|
||||
+if [ x$GRUB_COLOR_NORMAL != x ] && [ x$GRUB_COLOR_HIGHLIGHT != x ] ; then
|
||||
+ cat << EOF
|
||||
+set menu_color_normal=$GRUB_COLOR_NORMAL
|
||||
+set menu_color_highlight=$GRUB_COLOR_HIGHLIGHT
|
||||
+
|
||||
+EOF
|
||||
+fi
|
||||
+
|
||||
serial=0;
|
||||
gfxterm=0;
|
||||
for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
|
15
srcpkgs/grub-cereus/patches/cereus-correct-name.patch
Normal file
15
srcpkgs/grub-cereus/patches/cereus-correct-name.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff -ruN a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
|
||||
--- a/util/grub.d/10_linux.in 2020-12-22 17:24:17.000000000 -0600
|
||||
+++ b/util/grub.d/10_linux.in 2023-01-18 13:20:46.609566912 -0600
|
||||
@@ -30,6 +30,11 @@
|
||||
|
||||
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
|
||||
OS=GNU/Linux
|
||||
+# We're 'Cereus Linux' not 'Cereus GNU/Linux'
|
||||
+elif [ "$(echo "$GRUB_DISTRIBUTOR" | sed 's|cereus.*|Cereus|i')" = "Cereus" ]; then
|
||||
+ OS="Cereus Linux"
|
||||
+ GRUB_DISTRIBUTOR="Cereus Linux"
|
||||
+ CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
|
||||
else
|
||||
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
|
||||
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
|
96
srcpkgs/grub-cereus/patches/fix-compat-binutils-2.36.patch
Normal file
96
srcpkgs/grub-cereus/patches/fix-compat-binutils-2.36.patch
Normal file
|
@ -0,0 +1,96 @@
|
|||
From b98275138bf4fc250a1c362dfd2c8b1cf2421701 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Chang <mchang@suse.com>
|
||||
Date: Tue, 28 Sep 2021 13:50:47 +0800
|
||||
Subject: build: Fix build error with binutils 2.36
|
||||
|
||||
The following procedure to build xen/pvgrub is broken.
|
||||
|
||||
git clone https://git.savannah.gnu.org/git/grub.git
|
||||
cd grub
|
||||
./bootstrap
|
||||
mkdir build-xen
|
||||
cd build-xen
|
||||
../configure --with-platform=xen
|
||||
make
|
||||
|
||||
It fails with the message:
|
||||
|
||||
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
|
||||
section .note.gnu.property VMA [0000000000400158,0000000000400187]
|
||||
overlaps section .bss VMA [000000000000f000,000000000041e1af]
|
||||
|
||||
The most significant factor is that new assembler (GNU as) generates the
|
||||
.note.gnu.property section as default. This note section overlaps with
|
||||
.bss because it doesn't reposition with -Wl,-Ttext,0 with which the base
|
||||
address of .text section is set, rather the address of .note.gnu.property
|
||||
is calculated for some reason from 0x400000 where the ELF executable
|
||||
defaults to start.
|
||||
|
||||
Using -Ttext-segment doesn't help either, though it is said to set the
|
||||
address of the first byte of the text segment according to "man ld".
|
||||
What it actually does is to override the default 0x400000, aka the image
|
||||
base address, to something else. The entire process can be observed in
|
||||
the default linker script used by gcc [1]. Therefore we can't expect it
|
||||
to achieve the same thing as -Ttext given that the first segment where
|
||||
.text resides is offset by SIZEOF_HEADERS plus some sections may be
|
||||
preceding it within the first segment. The end result is .text always
|
||||
has to start with non-zero address with -Wl,-Ttext-segment,0 if using
|
||||
default linker script.
|
||||
|
||||
It is also worth mentioning that binutils upstream apparently doesn't
|
||||
seem to consider this as a bug [2] and proposed to use -Wl,-Ttext-segment,0
|
||||
which is not fruitful as what has been tested by Gentoo [3].
|
||||
|
||||
As long as GRUB didn't use ISA information encoded in .note.gnu.property,
|
||||
we can safely drop it via -Wa,-mx86-used-note=no assembler option to
|
||||
fix the linker error above.
|
||||
|
||||
This is considered a better approach than using custom linker script to
|
||||
drop the .note.gnu.property section because object file manipulation can
|
||||
also be hampered one way or the other in that linker script may not be
|
||||
helpful. See also this commit removing the section in the process of objcopy.
|
||||
|
||||
6643507ce build: Fix GRUB i386-pc build with Ubuntu gcc
|
||||
|
||||
[1] In /usr/lib64/ldscripts/elf_x86_64.x or use 'gcc -Wl,--verbose ...'
|
||||
PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000));
|
||||
. = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS;
|
||||
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=27377
|
||||
[3] https://bugs.gentoo.org/787221
|
||||
|
||||
Signed-off-by: Michael Chang <mchang@suse.com>
|
||||
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
|
||||
---
|
||||
configure.ac | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
(limited to 'configure.ac')
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index eeb5d22..8d1c81a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -840,6 +840,20 @@ if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$p
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow"
|
||||
fi
|
||||
|
||||
+if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ); then
|
||||
+ AC_CACHE_CHECK([whether -Wa,-mx86-used-note works], [grub_cv_cc_mx86_used_note], [
|
||||
+ CFLAGS="$TARGET_CFLAGS -Wa,-mx86-used-note=no -Werror"
|
||||
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||
+ [grub_cv_cc_mx86_used_note=yes],
|
||||
+ [grub_cv_cc_mx86_used_note=no])
|
||||
+ ])
|
||||
+
|
||||
+ if test "x$grub_cv_cc_mx86_used_note" = xyes; then
|
||||
+ TARGET_CFLAGS="$TARGET_CFLAGS -Wa,-mx86-used-note=no"
|
||||
+ TARGET_CCASFLAGS="$TARGET_CCASFLAGS -Wa,-mx86-used-note=no"
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
# GRUB doesn't use float or doubles at all. Yet some toolchains may decide
|
||||
# that floats are a good fit to run instead of what's written in the code.
|
||||
# Given that floating point unit is disabled (if present to begin with)
|
||||
--
|
||||
cgit v1.1
|
||||
|
71
srcpkgs/grub-cereus/patches/grub-install-pvxen-paths.patch
Normal file
71
srcpkgs/grub-cereus/patches/grub-install-pvxen-paths.patch
Normal file
|
@ -0,0 +1,71 @@
|
|||
From 04aa0aa735f4bfa2d7a4f6593745fbe1d7fa0d0a Mon Sep 17 00:00:00 2001
|
||||
From: Ian Campbell <ijc@hellion.org.uk>
|
||||
Date: Sat, 6 Sep 2014 12:20:12 +0100
|
||||
Subject: grub-install: Install PV Xen binaries into the upstream specified
|
||||
path
|
||||
|
||||
Upstream have defined a specification for where guests ought to place their
|
||||
xenpv grub binaries in order to facilitate chainloading from a stage 1 grub
|
||||
loaded from dom0.
|
||||
|
||||
http://xenbits.xen.org/docs/unstable-staging/misc/x86-xenpv-bootloader.html
|
||||
|
||||
The spec calls for installation into /boot/xen/pvboot-i386.elf or
|
||||
/boot/xen/pvboot-x86_64.elf.
|
||||
|
||||
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/762307
|
||||
Forwarded: http://lists.gnu.org/archive/html/grub-devel/2014-10/msg00041.html
|
||||
Last-Update: 2014-10-24
|
||||
|
||||
Patch-Name: grub-install-pvxen-paths.patch
|
||||
|
||||
---
|
||||
v2: Respect bootdir, create /boot/xen as needed.
|
||||
---
|
||||
util/grub-install.c | 24 ++++++++++++++++++++++--
|
||||
1 file changed, 22 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/util/grub-install.c b/util/grub-install.c
|
||||
index b82c14d41..caadada98 100644
|
||||
--- a/util/grub-install.c
|
||||
+++ b/util/grub-install.c
|
||||
@@ -1962,6 +1962,28 @@ main (int argc, char *argv[])
|
||||
}
|
||||
break;
|
||||
|
||||
+ case GRUB_INSTALL_PLATFORM_I386_XEN:
|
||||
+ {
|
||||
+ char *path = grub_util_path_concat (2, bootdir, "xen");
|
||||
+ char *dst = grub_util_path_concat (2, path, "pvboot-i386.elf");
|
||||
+ grub_install_mkdir_p (path);
|
||||
+ grub_install_copy_file (imgfile, dst, 1);
|
||||
+ free (dst);
|
||||
+ free (path);
|
||||
+ }
|
||||
+ break;
|
||||
+
|
||||
+ case GRUB_INSTALL_PLATFORM_X86_64_XEN:
|
||||
+ {
|
||||
+ char *path = grub_util_path_concat (2, bootdir, "xen");
|
||||
+ char *dst = grub_util_path_concat (2, path, "pvboot-x86_64.elf");
|
||||
+ grub_install_mkdir_p (path);
|
||||
+ grub_install_copy_file (imgfile, dst, 1);
|
||||
+ free (dst);
|
||||
+ free (path);
|
||||
+ }
|
||||
+ break;
|
||||
+
|
||||
case GRUB_INSTALL_PLATFORM_MIPSEL_LOONGSON:
|
||||
case GRUB_INSTALL_PLATFORM_MIPSEL_QEMU_MIPS:
|
||||
case GRUB_INSTALL_PLATFORM_MIPS_QEMU_MIPS:
|
||||
@@ -1971,8 +1971,6 @@ main (int argc, char *argv[])
|
||||
case GRUB_INSTALL_PLATFORM_MIPSEL_ARC:
|
||||
case GRUB_INSTALL_PLATFORM_ARM_UBOOT:
|
||||
case GRUB_INSTALL_PLATFORM_I386_QEMU:
|
||||
- case GRUB_INSTALL_PLATFORM_I386_XEN:
|
||||
- case GRUB_INSTALL_PLATFORM_X86_64_XEN:
|
||||
case GRUB_INSTALL_PLATFORM_I386_XEN_PVH:
|
||||
grub_util_warn ("%s",
|
||||
_("WARNING: no platform-specific install was performed"));
|
32
srcpkgs/grub-cereus/patches/ieee1275-clear-reset.patch
Normal file
32
srcpkgs/grub-cereus/patches/ieee1275-clear-reset.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
From 54b741317568867fc4ad801a65397d05f3ea0f59 Mon Sep 17 00:00:00 2001
|
||||
From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
|
||||
Date: Thu, 25 Sep 2014 18:41:29 -0300
|
||||
Subject: Include a text attribute reset in the clear command for ppc
|
||||
|
||||
Always clear text attribute for clear command in order to avoid problems
|
||||
after it boots.
|
||||
|
||||
* grub-core/term/terminfo.c: Add escape for text attribute reset
|
||||
|
||||
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
|
||||
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
|
||||
Last-Update: 2014-09-26
|
||||
|
||||
Patch-Name: ieee1275-clear-reset.patch
|
||||
---
|
||||
grub-core/term/terminfo.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
|
||||
index f0d3e3deb..7cb7909c8 100644
|
||||
--- a/grub-core/term/terminfo.c
|
||||
+++ b/grub-core/term/terminfo.c
|
||||
@@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output *term,
|
||||
/* Clear the screen. Using serial console, screen(1) only recognizes the
|
||||
* ANSI escape sequence. Using video console, Apple Open Firmware
|
||||
* (version 3.1.1) only recognizes the literal ^L. So use both. */
|
||||
- data->cls = grub_strdup ("\e[2J");
|
||||
+ data->cls = grub_strdup ("\e[2J\e[m");
|
||||
data->reverse_video_on = grub_strdup ("\e[7m");
|
||||
data->reverse_video_off = grub_strdup ("\e[m");
|
||||
if (grub_strcmp ("ieee1275", str) == 0)
|
220
srcpkgs/grub-cereus/patches/install_powerpc_machtypes.patch
Normal file
220
srcpkgs/grub-cereus/patches/install_powerpc_machtypes.patch
Normal file
|
@ -0,0 +1,220 @@
|
|||
From 35118b5023b0d9b4e3ad82f6e15fb696ad8e2a10 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Tue, 28 Jan 2014 14:40:02 +0000
|
||||
Subject: Port yaboot logic for various powerpc machine types
|
||||
|
||||
Some powerpc machines require not updating the NVRAM. This can be handled
|
||||
by existing grub-install command-line options, but it's friendlier to detect
|
||||
this automatically.
|
||||
|
||||
On chrp_ibm machines, use the nvram utility rather than nvsetenv. (This
|
||||
is possibly suitable for other machines too, but that needs to be
|
||||
verified.)
|
||||
|
||||
Forwarded: no
|
||||
Last-Update: 2014-10-15
|
||||
|
||||
Patch-Name: install_powerpc_machtypes.patch
|
||||
---
|
||||
grub-core/osdep/basic/platform.c | 5 +++
|
||||
grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++
|
||||
grub-core/osdep/unix/platform.c | 28 +++++++++---
|
||||
grub-core/osdep/windows/platform.c | 6 +++
|
||||
include/grub/util/install.h | 3 ++
|
||||
util/grub-install.c | 11 +++++
|
||||
6 files changed, 119 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/grub-core/osdep/basic/platform.c b/grub-core/osdep/basic/platform.c
|
||||
index 4b5502aeb..2ab907976 100644
|
||||
--- a/grub-core/osdep/basic/platform.c
|
||||
+++ b/grub-core/osdep/basic/platform.c
|
||||
@@ -30,3 +30,8 @@ grub_install_get_default_x86_platform (void)
|
||||
return "i386-pc";
|
||||
}
|
||||
|
||||
+const char *
|
||||
+grub_install_get_default_powerpc_machtype (void)
|
||||
+{
|
||||
+ return "generic";
|
||||
+}
|
||||
diff --git a/grub-core/osdep/linux/platform.c b/grub-core/osdep/linux/platform.c
|
||||
index 35f1bcc0e..9805c36d4 100644
|
||||
--- a/grub-core/osdep/linux/platform.c
|
||||
+++ b/grub-core/osdep/linux/platform.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <grub/emu/misc.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
+#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/utsname.h>
|
||||
@@ -154,3 +154,74 @@ grub_install_get_default_x86_platform (void)
|
||||
grub_util_info ("... not found");
|
||||
return "i386-pc";
|
||||
}
|
||||
+
|
||||
+const char *
|
||||
+grub_install_get_default_powerpc_machtype (void)
|
||||
+{
|
||||
+ FILE *fp;
|
||||
+ char *buf = NULL;
|
||||
+ size_t len = 0;
|
||||
+ const char *machtype = "generic";
|
||||
+
|
||||
+ fp = grub_util_fopen ("/proc/cpuinfo", "r");
|
||||
+ if (! fp)
|
||||
+ return machtype;
|
||||
+
|
||||
+ while (getline (&buf, &len, fp) > 0)
|
||||
+ {
|
||||
+ if (strncmp (buf, "pmac-generation",
|
||||
+ sizeof ("pmac-generation") - 1) == 0)
|
||||
+ {
|
||||
+ if (strstr (buf, "NewWorld"))
|
||||
+ {
|
||||
+ machtype = "pmac_newworld";
|
||||
+ break;
|
||||
+ }
|
||||
+ if (strstr (buf, "OldWorld"))
|
||||
+ {
|
||||
+ machtype = "pmac_oldworld";
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (strncmp (buf, "motherboard", sizeof ("motherboard") - 1) == 0 &&
|
||||
+ strstr (buf, "AAPL"))
|
||||
+ {
|
||||
+ machtype = "pmac_oldworld";
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ if (strncmp (buf, "machine", sizeof ("machine") - 1) == 0 &&
|
||||
+ strstr (buf, "CHRP IBM"))
|
||||
+ {
|
||||
+ if (strstr (buf, "qemu"))
|
||||
+ {
|
||||
+ machtype = "chrp_ibm_qemu";
|
||||
+ break;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ machtype = "chrp_ibm";
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (strncmp (buf, "platform", sizeof ("platform") - 1) == 0)
|
||||
+ {
|
||||
+ if (strstr (buf, "Maple"))
|
||||
+ {
|
||||
+ machtype = "maple";
|
||||
+ break;
|
||||
+ }
|
||||
+ if (strstr (buf, "Cell"))
|
||||
+ {
|
||||
+ machtype = "cell";
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ free (buf);
|
||||
+ fclose (fp);
|
||||
+ return machtype;
|
||||
+}
|
||||
diff --git a/grub-core/osdep/unix/platform.c b/grub-core/osdep/unix/platform.c
|
||||
index a3fcfcaca..28cb37e15 100644
|
||||
--- a/grub-core/osdep/unix/platform.c
|
||||
+++ b/grub-core/osdep/unix/platform.c
|
||||
@@ -218,13 +218,29 @@ grub_install_register_ieee1275 (int is_prep, const char *install_device,
|
||||
else
|
||||
boot_device = get_ofpathname (install_device);
|
||||
|
||||
- if (grub_util_exec ((const char * []){ "nvsetenv", "boot-device",
|
||||
- boot_device, NULL }))
|
||||
+ if (strcmp (grub_install_get_default_powerpc_machtype (), "chrp_ibm") == 0)
|
||||
{
|
||||
- char *cmd = xasprintf ("setenv boot-device %s", boot_device);
|
||||
- grub_util_error (_("`nvsetenv' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"),
|
||||
- cmd);
|
||||
- free (cmd);
|
||||
+ char *arg = xasprintf ("boot-device=%s", boot_device);
|
||||
+ if (grub_util_exec ((const char * []){ "nvram",
|
||||
+ "--update-config", arg, NULL }))
|
||||
+ {
|
||||
+ char *cmd = xasprintf ("setenv boot-device %s", boot_device);
|
||||
+ grub_util_error (_("`nvram' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"),
|
||||
+ cmd);
|
||||
+ free (cmd);
|
||||
+ }
|
||||
+ free (arg);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if (grub_util_exec ((const char * []){ "nvsetenv", "boot-device",
|
||||
+ boot_device, NULL }))
|
||||
+ {
|
||||
+ char *cmd = xasprintf ("setenv boot-device %s", boot_device);
|
||||
+ grub_util_error (_("`nvsetenv' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"),
|
||||
+ cmd);
|
||||
+ free (cmd);
|
||||
+ }
|
||||
}
|
||||
|
||||
free (boot_device);
|
||||
diff --git a/grub-core/osdep/windows/platform.c b/grub-core/osdep/windows/platform.c
|
||||
index 912269191..c30025b13 100644
|
||||
--- a/grub-core/osdep/windows/platform.c
|
||||
+++ b/grub-core/osdep/windows/platform.c
|
||||
@@ -128,6 +128,12 @@ grub_install_get_default_x86_platform (void)
|
||||
return "i386-efi";
|
||||
}
|
||||
|
||||
+const char *
|
||||
+grub_install_get_default_powerpc_machtype (void)
|
||||
+{
|
||||
+ return "generic";
|
||||
+}
|
||||
+
|
||||
static void *
|
||||
get_efi_variable (const wchar_t *varname, ssize_t *len)
|
||||
{
|
||||
diff --git a/include/grub/util/install.h b/include/grub/util/install.h
|
||||
index 5ca4811cd..9f517a1bb 100644
|
||||
--- a/include/grub/util/install.h
|
||||
+++ b/include/grub/util/install.h
|
||||
@@ -223,6 +223,9 @@ grub_install_get_default_arm_platform (void);
|
||||
const char *
|
||||
grub_install_get_default_x86_platform (void);
|
||||
|
||||
+const char *
|
||||
+grub_install_get_default_powerpc_machtype (void);
|
||||
+
|
||||
int
|
||||
grub_install_register_efi (grub_device_t efidir_grub_dev,
|
||||
const char *efifile_path,
|
||||
diff --git a/util/grub-install.c b/util/grub-install.c
|
||||
index e1a0202da..70b22eec4 100644
|
||||
--- a/util/grub-install.c
|
||||
+++ b/util/grub-install.c
|
||||
@@ -1179,7 +1179,18 @@ main (int argc, char *argv[])
|
||||
|
||||
if (platform == GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275)
|
||||
{
|
||||
+ const char *machtype = grub_install_get_default_powerpc_machtype ();
|
||||
int is_guess = 0;
|
||||
+
|
||||
+ if (strcmp (machtype, "pmac_oldworld") == 0)
|
||||
+ update_nvram = 0;
|
||||
+ else if (strcmp (machtype, "cell") == 0)
|
||||
+ update_nvram = 0;
|
||||
+ else if (strcmp (machtype, "generic") == 0)
|
||||
+ update_nvram = 0;
|
||||
+ else if (strcmp (machtype, "chrp_ibm_qemu") == 0)
|
||||
+ update_nvram = 0;
|
||||
+
|
||||
if (!macppcdir)
|
||||
{
|
||||
char *d;
|
16
srcpkgs/grub-cereus/patches/os-prober-osx86.patch
Normal file
16
srcpkgs/grub-cereus/patches/os-prober-osx86.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
Patches OS X detection out of os-prober hook on non-x86 architectures. The
|
||||
menu entries generated for those are invalid for non-x86 Mac stuff.
|
||||
--- a/util/grub.d/30_os-prober.in
|
||||
+++ b/util/grub.d/30_os-prober.in
|
||||
@@ -45,6 +45,11 @@ if [ -z "${OSPROBED}" ] ; then
|
||||
fi
|
||||
|
||||
osx_entry() {
|
||||
+ # GRUB won't load OS X outside of x86, no entry
|
||||
+ case "x`uname -m`" in
|
||||
+ xi?86|xx86_64) ;;
|
||||
+ *) return ;;
|
||||
+ esac
|
||||
if [ x$2 = x32 ]; then
|
||||
# TRANSLATORS: it refers to kernel architecture (32-bit)
|
||||
bitstr="$(gettext "(32-bit)")"
|
52
srcpkgs/grub-cereus/patches/ppc64el-disable-vsx.patch
Normal file
52
srcpkgs/grub-cereus/patches/ppc64el-disable-vsx.patch
Normal file
|
@ -0,0 +1,52 @@
|
|||
From efc381a55124b12fc74ed8117283f11367c9372a Mon Sep 17 00:00:00 2001
|
||||
From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
|
||||
Date: Thu, 25 Sep 2014 19:33:39 -0300
|
||||
Subject: Disable VSX instruction
|
||||
|
||||
VSX bit is enabled by default for Power7 and Power8 CPU models,
|
||||
so we need to disable them in order to avoid instruction exceptions.
|
||||
Kernel will activate it when necessary.
|
||||
|
||||
* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX.
|
||||
|
||||
Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
Also-By: Colin Watson <cjwatson@debian.org>
|
||||
|
||||
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html
|
||||
Last-Update: 2015-01-27
|
||||
|
||||
Patch-Name: ppc64el-disable-vsx.patch
|
||||
---
|
||||
grub-core/kern/powerpc/ieee1275/startup.S | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/grub-core/kern/powerpc/ieee1275/startup.S b/grub-core/kern/powerpc/ieee1275/startup.S
|
||||
index 21c884b43..de9a9601a 100644
|
||||
--- a/grub-core/kern/powerpc/ieee1275/startup.S
|
||||
+++ b/grub-core/kern/powerpc/ieee1275/startup.S
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/offsets.h>
|
||||
|
||||
+#define MSR_VSX 0x80
|
||||
+
|
||||
.extern __bss_start
|
||||
.extern _end
|
||||
|
||||
@@ -28,6 +30,16 @@
|
||||
.globl start, _start
|
||||
start:
|
||||
_start:
|
||||
+ _start:
|
||||
+
|
||||
+ /* Disable VSX instruction */
|
||||
+ mfmsr 0
|
||||
+ oris 0,0,MSR_VSX
|
||||
+ /* The "VSX Available" bit is in the lower half of the MSR, so we
|
||||
+ don't need mtmsrd, which in any case won't work in 32-bit mode. */
|
||||
+ mtmsr 0
|
||||
+ isync
|
||||
+
|
||||
li 2, 0
|
||||
li 13, 0
|
||||
|
225
srcpkgs/grub-cereus/template
Normal file
225
srcpkgs/grub-cereus/template
Normal file
|
@ -0,0 +1,225 @@
|
|||
# Template file for 'grub-cereus'
|
||||
pkgname=grub-cereus
|
||||
version=2.06
|
||||
revision=1
|
||||
hostmakedepends="python3 pkg-config flex freetype-devel font-unifont-bdf help2man
|
||||
automake gettext-devel-tools"
|
||||
makedepends="libusb-compat-devel ncurses-devel freetype-devel
|
||||
liblzma-devel device-mapper-devel fuse-devel"
|
||||
depends="os-prober-cereus"
|
||||
conflicts="grub"
|
||||
repository="cereus-core"
|
||||
conf_files="/etc/default/grub /etc/grub.d/*"
|
||||
short_desc="GRand Unified Bootloader 2"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://www.gnu.org/software/grub/"
|
||||
distfiles="${GNU_SITE}/grub/grub-${version}.tar.xz"
|
||||
checksum=b79ea44af91b93d17cd3fe80bdae6ed43770678a9a5ae192ccea803ebb657ee1
|
||||
|
||||
archs="i686* x86_64* aarch64* ppc ppc-musl ppc64*"
|
||||
nopie=yes
|
||||
|
||||
subpackages="grub-cereus-utils"
|
||||
# _SUPPLEMENTARY_BUILDS is a list of <TARGET>-<PLATFORN> version of grub to build
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*)
|
||||
_NATIVE_PLATFORM=pc
|
||||
_SUPPLEMENTARY_BUILDS="i386-efi x86_64-efi i386-coreboot x86_64-xen"
|
||||
subpackages+=" grub-cereus-i386-efi grub-cereus-x86_64-efi grub-cereus-i386-coreboot grub-cereus-xen"
|
||||
;;
|
||||
i686*)
|
||||
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||
hostmakedepends+=" cross-x86_64-linux-musl"
|
||||
configure_args+=" ac_cv_sizeof_off_t=8"
|
||||
_NATIVE_PLATFORM=pc
|
||||
_SUPPLEMENTARY_BUILDS="i386-efi x86_64-efi i386-coreboot i386-xen"
|
||||
subpackages+=" grub-cereus-i386-efi grub-cereus-x86_64-efi grub-cereus-i386-coreboot grub-cereus-xen"
|
||||
;;
|
||||
aarch64*)
|
||||
_NATIVE_PLATFORM=efi
|
||||
subpackages+=" grub-cereus-arm64-efi"
|
||||
;;
|
||||
ppc*)
|
||||
_NATIVE_PLATFORM=ieee1275
|
||||
subpackages+=" grub-cereus-powerpc-ieee1275"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
# workaround for https://savannah.gnu.org/bugs/?60458
|
||||
# some more info: https://www.linuxquestions.org/questions/showthread.php?p=6257712
|
||||
# grub 2.06 reboots immediately when compiled with -O2,
|
||||
# only affects legacy BIOS
|
||||
export CFLAGS="${CFLAGS/-O2/-Os}"
|
||||
export CXXFLAGS="${CXXFLAGS/-O2/-Os}"
|
||||
|
||||
unset CC AS LD RANLIB CPP
|
||||
local freestanding_cflags="-fno-stack-protector"
|
||||
|
||||
# building with altivec generates broken grub core
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*) freestanding_cflags+=" -mno-altivec" ;;
|
||||
esac
|
||||
CFLAGS+=" $freestanding_cflags"
|
||||
|
||||
configure_args+=" --enable-device-mapper --enable-cache-stats --enable-nls
|
||||
--enable-grub-mkfont --enable-grub-mount --disable-werror
|
||||
--sbindir=/usr/bin"
|
||||
|
||||
# build tools
|
||||
msg_normal "Configuring grub tools...\n"
|
||||
mkdir $wrksrc/build
|
||||
cd $wrksrc/build
|
||||
../configure --host=${XBPS_TARGET_MACHINE} ${configure_args} \
|
||||
${_NATIVE_PLATFORM:+--with-platform=${_NATIVE_PLATFORM}}
|
||||
|
||||
for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do
|
||||
_TARGET=${_SUPP_BUILD%%-*}
|
||||
_PLATFORM=${_SUPP_BUILD##*-}
|
||||
msg_normal "Configuring ${_TARGET} ${_PLATFORM} grub...\n"
|
||||
mkdir $wrksrc/${_PLATFORM}_${_TARGET}_build
|
||||
cd $wrksrc/${_PLATFORM}_${_TARGET}_build
|
||||
if [ "$_TARGET" = x86_64 ] &&
|
||||
[ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
|
||||
_TARGET=x86_64-linux-musl
|
||||
fi
|
||||
CFLAGS="$freestanding_cflags" \
|
||||
../configure --host=${XBPS_TARGET_MACHINE} \
|
||||
--target=${_TARGET} \
|
||||
--with-platform=${_PLATFORM} ${configure_args} \
|
||||
--disable-efiemu \
|
||||
--libdir=/usr/lib
|
||||
done
|
||||
}
|
||||
|
||||
do_build() {
|
||||
# XXX remove the strip wrapper
|
||||
rm ${XBPS_WRAPPERDIR}/strip
|
||||
|
||||
msg_normal "Building grub tools...\n"
|
||||
cd $wrksrc/build
|
||||
make ${makejobs}
|
||||
|
||||
for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do
|
||||
_TARGET=${_SUPP_BUILD%%-*}
|
||||
_PLATFORM=${_SUPP_BUILD##*-}
|
||||
msg_normal "Building ${_TARGET} ${_PLATFORM} grub...\n"
|
||||
cd $wrksrc/${_PLATFORM}_${_TARGET}_build
|
||||
make ${makejobs}
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# XXX remove the strip wrapper
|
||||
rm ${XBPS_WRAPPERDIR}/strip
|
||||
|
||||
for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do
|
||||
_TARGET=${_SUPP_BUILD%%-*}
|
||||
_GRUB_TARGET=${_TARGET}
|
||||
case "${_GRUB_TARGET}" in
|
||||
aarch64*)
|
||||
_GRUB_TARGET=arm64
|
||||
;;
|
||||
esac
|
||||
_PLATFORM=${_SUPP_BUILD##*-}
|
||||
cd $wrksrc/${_PLATFORM}_${_TARGET}_build
|
||||
make DESTDIR=$DESTDIR/${_PLATFORM}_${_TARGET} install
|
||||
# Remove non-platform specific files
|
||||
rm -rf ${DESTDIR}/${_PLATFORM}_${_TARGET}/{boot,etc,usr/{share,bin}}
|
||||
rm -f ${DESTDIR}/${_PLATFORM}_${_TARGET}/usr/lib/grub/${_GRUB_TARGET}-${_PLATFORM}/${_GRUB_TARGET}-*
|
||||
rm -f ${DESTDIR}/${_PLATFORM}_${_TARGET}/usr/lib/grub/${_GRUB_TARGET}-${_PLATFORM}/*.{module,image}
|
||||
cp -r ${DESTDIR}/${_PLATFORM}_${_TARGET}/* ${DESTDIR}
|
||||
rm -rf ${DESTDIR}/${_PLATFORM}_${_TARGET}
|
||||
done
|
||||
|
||||
cd $wrksrc/build
|
||||
make DESTDIR=$DESTDIR install
|
||||
|
||||
# Required to compress info files.
|
||||
vmkdir usr/share/info
|
||||
touch -f ${DESTDIR}/usr/share/info/dir
|
||||
|
||||
vinstall ${FILESDIR}/grub.default 644 etc/default grub
|
||||
# Kernel hooks.
|
||||
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
||||
etc/kernel.d/post-install 50-grub
|
||||
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
||||
etc/kernel.d/post-remove 50-grub
|
||||
|
||||
# update-grub for noobs.
|
||||
printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \
|
||||
${DESTDIR}/usr/bin/update-grub
|
||||
chmod 755 ${DESTDIR}/usr/bin/update-grub
|
||||
|
||||
vmkdir usr/share/bash-completion/completions
|
||||
mv ${DESTDIR}/etc/bash_completion.d/grub \
|
||||
${DESTDIR}/usr/share/bash-completion/completions
|
||||
|
||||
# Remove useless tools
|
||||
rm ${DESTDIR}/usr/bin/grub-ofpathname
|
||||
rm ${DESTDIR}/usr/bin/grub-sparc64-setup
|
||||
}
|
||||
|
||||
grub-cereus-utils_package() {
|
||||
short_desc+=" - additional utilities"
|
||||
depends="grub-cereus>=${version}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/grub-menulst2cfg
|
||||
vmove usr/bin/grub-fstest
|
||||
vmove usr/bin/grub-mkfont
|
||||
}
|
||||
}
|
||||
grub-cereus-x86_64-efi_package() {
|
||||
depends="grub-cereus>=$version dosfstools efibootmgr"
|
||||
short_desc+=" - x86_64 EFI support"
|
||||
pkg_install() {
|
||||
vmove usr/lib/grub/x86_64-efi
|
||||
}
|
||||
}
|
||||
grub-cereus-i386-efi_package() {
|
||||
depends="grub-cereus>=$version dosfstools efibootmgr"
|
||||
short_desc+=" - i386 EFI support"
|
||||
pkg_install() {
|
||||
vmove usr/lib/grub/i386-efi
|
||||
}
|
||||
}
|
||||
grub-cereus-i386-coreboot_package() {
|
||||
depends="grub-cereus>=$version"
|
||||
short_desc+=" - i386 coreboot support"
|
||||
pkg_install() {
|
||||
vmove usr/lib/grub/i386-coreboot
|
||||
}
|
||||
}
|
||||
grub-cereus-xen_package() {
|
||||
depends="grub-cereus>=$version"
|
||||
short_desc+=" - Xen PV support"
|
||||
pkg_install() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*)
|
||||
vmove usr/lib/grub/x86_64-xen
|
||||
;;
|
||||
i686*)
|
||||
vmove usr/lib/grub/i386-xen
|
||||
;;
|
||||
esac
|
||||
}
|
||||
}
|
||||
grub-cereus-arm64-efi_package() {
|
||||
depends="grub-cereus>=$version dosfstools efibootmgr"
|
||||
short_desc+=" - arm64 EFI support"
|
||||
pkg_install() {
|
||||
vmove usr/lib/grub/arm64-efi
|
||||
}
|
||||
}
|
||||
grub-cereus-powerpc-ieee1275_package() {
|
||||
depends="grub-cereus>=$version powerpc-utils"
|
||||
short_desc+=" - powerpc Open Firmware support"
|
||||
pkg_install() {
|
||||
vmove usr/lib/grub/powerpc-ieee1275
|
||||
}
|
||||
}
|
|
@ -1,21 +1,21 @@
|
|||
# Template file for 'heroic-bin'
|
||||
pkgname=heroic-bin
|
||||
version=2.4.3
|
||||
version=2.8.0
|
||||
revision=1
|
||||
nostrip=yes
|
||||
archs="x86_64"
|
||||
create_wrksrc=yes
|
||||
build_style=fetch
|
||||
hostmakedepends="bsdtar"
|
||||
hostmakedepends="bsdtar awk"
|
||||
depends="fuse gawk zstd vulkan-loader"
|
||||
repository="cereus-extra"
|
||||
short_desc="Heroic Games Launcher, an Open Source Launcher for GOG and Epic Games"
|
||||
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0"
|
||||
homepage="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
||||
changelog="${homepage}/releases/tag/v${version}"
|
||||
distfiles="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/heroic-${version}.tar.xz"
|
||||
checksum=5994dd5bca8b00e463c9cd73b5a648e7db89ddbe3493dd4c2f7178a28cafa9c3
|
||||
checksum=7263306c71f2952cb39baa4b7f494472072d350f4a9f1bc2921449a6fea200c4
|
||||
|
||||
do_install() {
|
||||
for dir in opt usr/{bin,share/applications}; do
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
# Template file for 'igsc'
|
||||
pkgname=igsc
|
||||
version=0.8.4
|
||||
version=0.8.9
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_WERROR:BOOL='OFF'"
|
||||
hostmakedepends=""
|
||||
hostmakedepends="awk"
|
||||
makedepends="intel-metee-devel eudev-libudev-devel"
|
||||
depends="intel-metee eudev-libudev"
|
||||
short_desc="Intel graphics system controller firmware update library"
|
||||
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/intel/igsc"
|
||||
changelog="${homepage}/releases/tag/V${version}"
|
||||
distfiles="${homepage}/archive/V${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=dbb0c41c4481d532be009753701afd7218066f214b72616729295e0336726711
|
||||
checksum=63f7f240e69d6e19b89948f7eaa6f25c9003f374ebbf40c4213b6bc7fed47d8e
|
||||
|
||||
igsc-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'intel-compute-runtime-bin'
|
||||
pkgname=intel-compute-runtime-bin
|
||||
version=22.43.24558
|
||||
version=22.43.24595
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
build_style=fetch
|
||||
|
@ -12,7 +12,7 @@ license="MIT"
|
|||
homepage="https://github.com/intel/compute-runtime"
|
||||
changelog="${homepage}/releases/tag/${version}"
|
||||
distfiles="${homepage}/releases/download/${version}/intel-opencl-icd_${version}_amd64.deb"
|
||||
checksum=1be483089da93d85ed01449555b2dab5e0a54700f0b58ffe3c93cfdc9835cd9e
|
||||
checksum=
|
||||
|
||||
do_install() {
|
||||
ar x intel-opencl-icd_${version}_amd64.deb
|
||||
|
|
2
srcpkgs/intel-compute-runtime-bin/update
Normal file
2
srcpkgs/intel-compute-runtime-bin/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site='https://github.com/intel/compute-runtime/releases'
|
||||
pattern='[0-9]*\.[0-9]+[0-9]*\.[0-9]+'
|
|
@ -4,7 +4,7 @@
|
|||
## If you need intel-compute-runtime, you should instead use intel-compute-runtime-bin, which uses prebuilt binaries instead (only x86_64, maybe it can work containerized for musl).
|
||||
|
||||
pkgname=intel-compute-runtime
|
||||
version=22.30.23789
|
||||
version=22.49.25018.14
|
||||
revision=1
|
||||
wrksrc=compute-runtime-${version}
|
||||
build_style=cmake
|
||||
|
@ -24,7 +24,7 @@ license="MIT"
|
|||
homepage="https://github.com/intel/compute-runtime"
|
||||
changelog="${homepage}/releases/tag/${version}"
|
||||
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=f59e435de687c3719b54119437e4c9a574a98466a38f532572a1367efde8e964
|
||||
checksum=28ded5a13596d8524effc250413dd8b4a4c4bd2d9aa0b4e190b10acd8f506baf
|
||||
|
||||
intel-compute-runtime-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'intel-graphics-compiler'
|
||||
pkgname=intel-graphics-compiler
|
||||
version=1.0.12260.1
|
||||
version=1.0.12504.5
|
||||
revision=1
|
||||
wrksrc=${pkgname}-igc-${version}
|
||||
build_style=cmake
|
||||
|
@ -25,7 +25,7 @@ homepage="https://github.com/intel/intel-graphics-compiler"
|
|||
changelog="${homepage}/releases/tag/igc-${version}"
|
||||
distfiles="${homepage}/archive/igc-${version}.tar.gz"
|
||||
_spirv_url="https://github.com/KhronosGroup"
|
||||
checksum=5079e8a01fc64c167ca6f96d0087513406664b9e8692d56479f7c69c19253d5d
|
||||
checksum=7715e92889ad95235af3c844058fdf614b0cb37c5ab072c0bc53b37f417caaf0
|
||||
|
||||
post_extract() {
|
||||
# Clone extra required build dependencies
|
||||
|
|
13
srcpkgs/intel-metee/patches/fix-musl.patch
Normal file
13
srcpkgs/intel-metee/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/linux/metee_linux.c b/src/linux/metee_linux.c
|
||||
index 51f4217..666609d 100644
|
||||
--- a/src/linux/metee_linux.c
|
||||
+++ b/src/linux/metee_linux.c
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <sys/poll.h>
|
||||
+#include <poll.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "metee.h"
|
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'intel-metee'
|
||||
pkgname=intel-metee
|
||||
version=3.1.3
|
||||
version=3.1.5
|
||||
revision=1
|
||||
wrksrc=metee-${version}
|
||||
build_style=cmake
|
||||
repository="cereus-extra"
|
||||
configure_args="-DBUILD_SHARED_LIBS:BOOL='ON'"
|
||||
hostmakedepends="awk"
|
||||
makedepends="doxygen"
|
||||
short_desc="Access library for Intel CSME HECI interface"
|
||||
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||
|
@ -13,7 +14,7 @@ license="Apache-2.0"
|
|||
homepage="https://github.com/intel/metee/"
|
||||
changelog="${homepage}/releases/tag/${version}"
|
||||
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=90f4fc0732f6496e27781d14f979194b7efab744e3b7200f71fbdf878d559dc0
|
||||
checksum=1085ee44afa7a63d8510a499d6d8bddc56b823025a89fa53c5151b1f3d1a0859
|
||||
shlib_provides="libmetee.so.${version}"
|
||||
|
||||
post_install() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'jetbrains-mono-font'
|
||||
pkgname=jetbrains-mono-font
|
||||
version=2.242
|
||||
version=2.304
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
depends="font-util"
|
||||
|
@ -9,8 +9,9 @@ short_desc="JetBrains monospace font - the free and open-source typeface for dev
|
|||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
license="OFL-1.1"
|
||||
homepage="https://github.com/JetBrains/JetBrainsMono"
|
||||
changelog="${homepage}/releases/tag/v${version}"
|
||||
distfiles="${homepage}/releases/download/v${version}/JetBrainsMono-${version}.zip"
|
||||
checksum=4e315b4ef176ce7ffc971b14997bdc8f646e3d1e5b913d1ecba3a3b10b4a1a9f
|
||||
checksum=6f6376c6ed2960ea8a963cd7387ec9d76e3f629125bc33d1fdcd7eb7012f7bbf
|
||||
font_dirs="/usr/share/fonts"
|
||||
|
||||
do_install() {
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
# Template file for 'level-zero'
|
||||
pkgname=level-zero
|
||||
version=1.8.8
|
||||
version=1.10.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="awk"
|
||||
makedepends="opencl2-headers"
|
||||
depends="opencl2-headers libgcc"
|
||||
short_desc="API for accessing low level interfaces in openAPI platform devices (headers and loader)"
|
||||
repository=cereus-extra
|
||||
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/oneapi-src/level-zero"
|
||||
changelog="${homepage}/releases/tag/v${version}"
|
||||
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=3553ae8fa0d2d69c4210a8f3428bd6612bd8bb8a627faf52c3658a01851e66d2
|
||||
checksum=2811e4128ff6114020d0a147c2769b9b2e782e68ad49827685c33b9e716bf6ab
|
||||
|
||||
do_prepare() {
|
||||
printf '%s\n' ${version##*.} > VERSION_PATCH
|
||||
|
|
1
srcpkgs/libadwaita-without-adwaita-demo
Symbolic link
1
srcpkgs/libadwaita-without-adwaita-demo
Symbolic link
|
@ -0,0 +1 @@
|
|||
libadwaita-without-adwaita
|
1
srcpkgs/libadwaita-without-adwaita-devel
Symbolic link
1
srcpkgs/libadwaita-without-adwaita-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libadwaita-without-adwaita
|
|
@ -0,0 +1,10 @@
|
|||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -36,7 +36,6 @@
|
||||
'test-preferences-group',
|
||||
'test-preferences-page',
|
||||
'test-preferences-row',
|
||||
- 'test-preferences-window',
|
||||
'test-split-button',
|
||||
'test-squeezer',
|
||||
'test-status-page',
|
55
srcpkgs/libadwaita-without-adwaita/patches/theming_fix.patch
Normal file
55
srcpkgs/libadwaita-without-adwaita/patches/theming_fix.patch
Normal file
|
@ -0,0 +1,55 @@
|
|||
diff --git a/src/adw-style-manager.c b/src/adw-style-manager.c
|
||||
index 073e7890..85d96259 100644
|
||||
--- a/src/adw-style-manager.c
|
||||
+++ b/src/adw-style-manager.c
|
||||
@@ -229,6 +229,22 @@ notify_high_contrast_cb (AdwStyleManager *self)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_HIGH_CONTRAST]);
|
||||
}
|
||||
|
||||
+static void
|
||||
+adw_style_manager_theme_changed(GSettings *settings, const char *key, GdkDisplay *display)
|
||||
+{
|
||||
+ char *theme = g_settings_get_string(settings, "gtk-theme");
|
||||
+ if (!theme) {
|
||||
+ theme = "Adwaita-empty";
|
||||
+ }
|
||||
+ gboolean is_dark_variant = NULL != strstr(theme, "-dark");
|
||||
+
|
||||
+ g_object_set (gtk_settings_get_for_display (display),
|
||||
+ "gtk-theme-name", theme,
|
||||
+ "gtk-application-prefer-dark-theme", is_dark_variant,
|
||||
+ NULL);
|
||||
+}
|
||||
+
|
||||
+
|
||||
static void
|
||||
adw_style_manager_constructed (GObject *object)
|
||||
{
|
||||
@@ -254,19 +270,14 @@ adw_style_manager_constructed (GObject *object)
|
||||
G_CONNECT_SWAPPED);
|
||||
|
||||
if (!adw_is_granite_present () && !g_getenv ("GTK_THEME")) {
|
||||
- g_object_set (gtk_settings_get_for_display (self->display),
|
||||
- "gtk-theme-name", "Adwaita-empty",
|
||||
- NULL);
|
||||
-
|
||||
- self->provider = gtk_css_provider_new ();
|
||||
- gtk_style_context_add_provider_for_display (self->display,
|
||||
- GTK_STYLE_PROVIDER (self->provider),
|
||||
- GTK_STYLE_PROVIDER_PRIORITY_THEME);
|
||||
-
|
||||
- self->colors_provider = gtk_css_provider_new ();
|
||||
- gtk_style_context_add_provider_for_display (self->display,
|
||||
- GTK_STYLE_PROVIDER (self->colors_provider),
|
||||
- GTK_STYLE_PROVIDER_PRIORITY_THEME);
|
||||
+ GSettingsSchemaSource *schema_source =
|
||||
+ g_settings_schema_source_get_default();
|
||||
+ GSettingsSchema *schema = g_settings_schema_source_lookup(
|
||||
+ schema_source, "org.gnome.desktop.interface", true);
|
||||
+ GSettings *interface_settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+
|
||||
+ adw_style_manager_theme_changed(interface_settings, "gtk-theme", self->display);
|
||||
+ g_signal_connect (interface_settings, "changed", G_CALLBACK (adw_style_manager_theme_changed), self->display);
|
||||
}
|
||||
|
||||
self->animations_provider = gtk_css_provider_new ();
|
57
srcpkgs/libadwaita-without-adwaita/template
Normal file
57
srcpkgs/libadwaita-without-adwaita/template
Normal file
|
@ -0,0 +1,57 @@
|
|||
# Template file for 'libadwaita-without-adwaita'
|
||||
pkgname=libadwaita-without-adwaita
|
||||
version=1.3.1
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dexamples=true -Dtests=true $(vopt_bool gtk_doc)
|
||||
$(vopt_bool gir vapi) -Dintrospection=$(vopt_if gir enabled disabled)"
|
||||
hostmakedepends="glib-devel pkg-config $(vopt_if gtk_doc gi-docgen)
|
||||
$(vopt_if gir vala-devel) gettext sassc"
|
||||
makedepends="gtk4-devel libglib-devel harfbuzz-devel awk"
|
||||
checkdepends="xvfb-run cantarell-fonts"
|
||||
short_desc="libadwaita; Includes a patch to not overwrite the system theme"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="LGPL-2.0-or-later"
|
||||
homepage="https://gitlab.gnome.org/GNOME/libadwaita/"
|
||||
changelog="https://gitlab.gnome.org/GNOME/libadwaita/-/raw/libadwaita-1-3/NEWS"
|
||||
distfiles="${GNOME_SITE}/libadwaita/${version%.*}/libadwaita-${version}.tar.xz"
|
||||
checksum=6b8bbf413c501b46c8616a0e5b836d7a34091140941412520bbd9ddda6df8cbd
|
||||
make_check_pre="xvfb-run"
|
||||
conflicts="libadwaita"
|
||||
|
||||
build_options="gir gtk_doc"
|
||||
build_options_default="gir gtk_doc"
|
||||
|
||||
pre_build() {
|
||||
# help gi-docgen find gi files on cross
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
|
||||
fi
|
||||
}
|
||||
|
||||
libadwaita-without-adwaita-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk4-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
if [ "$build_option_gtk_doc" ]; then
|
||||
vmove usr/share/doc/libadwaita-1
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
libadwaita-without-adwaita-demo_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - demonstration application"
|
||||
pkg_install() {
|
||||
vmove usr/bin/adwaita-1-demo
|
||||
}
|
||||
}
|
|
@ -1,19 +1,19 @@
|
|||
# Template file for 'librewolf-bin'
|
||||
pkgname=librewolf-bin
|
||||
_realname=librewolf
|
||||
version=106.0.4
|
||||
version=111.0
|
||||
revision=1
|
||||
_release=1
|
||||
_release=3
|
||||
archs="x86_64"
|
||||
repository="cereus-extra"
|
||||
short_desc="Community-maintained fork of Firefox, focused on privacy, security and freedom - binary-based package"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
hostmakedepends="tar xz xbps-triggers"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
hostmakedepends="tar xz xbps-triggers awk"
|
||||
makedepends="xbps-triggers"
|
||||
license="MPL-2.0"
|
||||
homepage="https://gitlab.com/librewolf-community"
|
||||
distfiles="https://gitlab.com/api/v4/projects/12829184/packages/generic/${_realname}/${version}-${_release}/LibreWolf-${version}-${_release}.x86_64.tar.bz2"
|
||||
checksum=cf67c6b7914ae19bdca0b6203fe07c165ee12e865c136d1f0f6fa19fe45fb9b4
|
||||
checksum=584187698a48d6ba4a895db78c6e03404095206ee04f1d7d67d0a4b4f7af20f8
|
||||
nostrip=yes
|
||||
|
||||
do_extract() {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
if [ "$UPDATE" = "yes" ]; then
|
||||
xchroot /mnt xbps-install -Syu librewolf-bin
|
||||
xchroot /glibc xbps-install -Syu librewolf-bin
|
||||
|
||||
# Ensure that xchroot has unmounted all binds
|
||||
umount -R "glibc/dev" "glibc/etc/resolv.conf" "glibc/proc" "glibc/sys"
|
||||
|
|
|
@ -5,7 +5,7 @@ case "$ACTION" in
|
|||
post)
|
||||
if [ "$UPDATE" = "no" ]; then
|
||||
# Enter via chroot to container and remove librewolf-bin
|
||||
xchroot /glibc xbps-install -Ryfv librewolf-bin
|
||||
xchroot /glibc xbps-remove -Ryfv librewolf-bin
|
||||
|
||||
# Ensure that xchroot has unmounted all binds
|
||||
umount -R "/glibc/dev" "/glibc/etc/resolv.conf" "/glibc/proc" "/glibc/sys"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'librewolf-musl'
|
||||
pkgname=librewolf-musl
|
||||
_realname=librewolf
|
||||
version=106.0.4
|
||||
revision=1
|
||||
_release=1
|
||||
version=111.0
|
||||
revision=2
|
||||
_release=3
|
||||
archs="x86_64-musl"
|
||||
repository="cereus-extra"
|
||||
short_desc="Community-maintained fork of Firefox, focused on privacy, security and freedom - glibc containerized package"
|
||||
maintainer="Kevin F. <https://github.com/KF-Art>"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
hostmakedepends="tar xz xbps-triggers"
|
||||
makedepends="xbps-triggers"
|
||||
depends="voidnsrun-setup"
|
||||
|
|
1
srcpkgs/libxfce4ui-nocsd-devel
Symbolic link
1
srcpkgs/libxfce4ui-nocsd-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libxfce4ui-nocsd
|
1
srcpkgs/libxfce4ui-nocsd-glade
Symbolic link
1
srcpkgs/libxfce4ui-nocsd-glade
Symbolic link
|
@ -0,0 +1 @@
|
|||
libxfce4ui-nocsd
|
8
srcpkgs/libxfce4ui-nocsd/patches/vapi-deps.patch
Normal file
8
srcpkgs/libxfce4ui-nocsd/patches/vapi-deps.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- a/libxfce4ui/libxfce4ui-2.deps
|
||||
+++ b/libxfce4ui/libxfce4ui-2.deps
|
||||
@@ -1,4 +1,4 @@
|
||||
-libxfce4util-1.0
|
||||
+Libxfce4util-1.0
|
||||
atk
|
||||
gio-2.0
|
||||
cairo
|
51
srcpkgs/libxfce4ui-nocsd/template
Normal file
51
srcpkgs/libxfce4ui-nocsd/template
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Template file for 'libxfce4ui-nocsd'
|
||||
pkgname=libxfce4ui-nocsd
|
||||
version=4.17.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--with-locales-dir=/usr/share/locale --disable-static
|
||||
$(vopt_enable gir introspection) $(vopt_enable vala vala)"
|
||||
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
|
||||
hostmakedepends="xfce4-dev-tools pkg-config intltool glib-devel gettext-devel
|
||||
$(vopt_if vala vala)"
|
||||
makedepends="gtk+3-devel glade3-devel libxfce4util-devel xfconf-devel
|
||||
libxml2-devel startup-notification-devel libSM-devel libgtop-devel"
|
||||
short_desc="Replacement of the old libxfcegui4 library (No CSD fork)"
|
||||
maintainer="Kevin F. <kevinfigueroart@protonmail.com>"
|
||||
conflicts="libxfce4ui"
|
||||
replaces="libxfce4ui"
|
||||
repository="cereus-extra"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/Xfce-Classic/libxfce4ui-nocsd"
|
||||
distfiles="${homepage}/releases/download/${version}/libxfce4ui-${version}.tar.bz2"
|
||||
checksum=ca0095d41b0c02d768191e1a1db68e721e5afb48f29ff299e06ad53bb5f5ecfa
|
||||
|
||||
# Package build options
|
||||
build_options="gir vala"
|
||||
build_options_default="gir vala"
|
||||
|
||||
libxfce4ui-nocsd-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gtk-doc
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
if [ "$build_option_vala" ]; then
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
libxfce4ui-nocsd-glade_package() {
|
||||
short_desc+=" - glade plugins"
|
||||
pkg_install() {
|
||||
vmove usr/lib/glade
|
||||
vmove usr/share/glade
|
||||
}
|
||||
}
|
14
srcpkgs/lightdm-gtk-greeter-settings-cereus/template
Normal file
14
srcpkgs/lightdm-gtk-greeter-settings-cereus/template
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'lightdm-gtk-greeter-settings-cereus'
|
||||
pkgname=lightdm-gtk-greeter-settings-cereus
|
||||
version=1.2.2
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-distutils-extra intltool"
|
||||
depends="lightdm-gtk3-greeter-cereus python3-gobject"
|
||||
short_desc="Settings editor for LightDM GTK+ Greeter"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://launchpad.net/lightdm-gtk-greeter-settings"
|
||||
distfiles="https://launchpad.net/lightdm-gtk-greeter-settings/${version%.*}/${version}/+download/lightdm-gtk-greeter-settings-${version}.tar.gz"
|
||||
checksum=4364d8b25b23d2ef4856d19724fd6c67de9a2d3c1b3833f7a5441145fd39dcb7
|
|
@ -0,0 +1,29 @@
|
|||
diff -ruN a/data/lightdm-gtk-greeter.conf b/data/lightdm-gtk-greeter.conf
|
||||
--- a/data/lightdm-gtk-greeter.conf 2020-06-11 18:00:31.000000000 -0600
|
||||
+++ b/data/lightdm-gtk-greeter.conf 2023-01-19 20:57:18.587704549 -0600
|
||||
@@ -48,11 +48,11 @@
|
||||
# transition-duration = overrides default value
|
||||
#
|
||||
[greeter]
|
||||
-#background=
|
||||
+background = /usr/share/backgrounds/wallpaper1.png
|
||||
#user-background=
|
||||
-#theme-name=
|
||||
-#icon-theme-name=
|
||||
-#font-name=
|
||||
+theme-name = Graphite-black-green-Dark
|
||||
+icon-theme-name = Tela-green-dark
|
||||
+font-name = Roboto 10
|
||||
+cursor-theme-name = Graphite-light-cursors
|
||||
|
||||
#xft-antialias=
|
||||
#xft-dpi=
|
||||
#xft-hintstyle=
|
||||
@@ -61,5 +61,6 @@
|
||||
#clock-format=
|
||||
#keyboard=
|
||||
#reader=
|
||||
-#position=
|
||||
+position = 35%,end 50%,center
|
||||
#screensaver-timeout=
|
||||
+user-background = false
|
18
srcpkgs/lightdm-gtk3-greeter-cereus/template
Normal file
18
srcpkgs/lightdm-gtk3-greeter-cereus/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'lightdm-gtk3-greeter-cereus'
|
||||
pkgname=lightdm-gtk3-greeter-cereus
|
||||
version=2.0.8
|
||||
revision=3
|
||||
repository="cereus-core"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-maintainer-mode"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="gtk+3-devel lightdm-devel libxklavier-devel"
|
||||
depends="lightdm hicolor-icon-theme"
|
||||
conf_files="/etc/lightdm/lightdm-gtk-greeter.conf"
|
||||
short_desc="Light Display Manager GTK+ Greeter (GTK+ 3.x)"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/Xubuntu/lightdm-gtk-greeter"
|
||||
distfiles="https://github.com/Xubuntu/lightdm-gtk-greeter/releases/download/lightdm-gtk-greeter-$version/lightdm-gtk-greeter-$version.tar.gz"
|
||||
checksum=befbb300c7b34ff21865fdbc881201f730fc7c560e9e01d17e899e9477150613
|
||||
conflicts="lightdm-gtk-greeter>=0 lightdm-gtk3-greeter"
|
1
srcpkgs/lightdm-gtk3-greeter-cereus/update
Normal file
1
srcpkgs/lightdm-gtk3-greeter-cereus/update
Normal file
|
@ -0,0 +1 @@
|
|||
pkgname=${pkgname/3/}
|
1
srcpkgs/linux-default-cereus-headers
Symbolic link
1
srcpkgs/linux-default-cereus-headers
Symbolic link
|
@ -0,0 +1 @@
|
|||
linux-default-cereus
|
16
srcpkgs/linux-default-cereus/template
Normal file
16
srcpkgs/linux-default-cereus/template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'linux-default-cereus'
|
||||
pkgname=linux-default-cereus
|
||||
version=6.1
|
||||
revision=1
|
||||
build_style=meta
|
||||
repository="cereus-core"
|
||||
depends="linux${version} linux-base"
|
||||
short_desc="Cereus Linux default kernel meta package"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="Public Domain"
|
||||
homepage="http://CereusLinuxProject.github.io/"
|
||||
|
||||
linux-default-cereus-headers_package() {
|
||||
short_desc="Cereus Linux default kernel headers meta package"
|
||||
depends="linux${version}-headers"
|
||||
}
|
40
srcpkgs/lxqt-cereus/template
Normal file
40
srcpkgs/lxqt-cereus/template
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Template file for 'lxqt-cereus'
|
||||
pkgname=lxqt-cereus
|
||||
version=1.2.0
|
||||
revision=1
|
||||
repository="cereus-core"
|
||||
build_style=meta
|
||||
depends="
|
||||
lxqt-about>=${version}
|
||||
lxqt-admin>=${version}
|
||||
lxqt-config>=${version}
|
||||
lxqt-globalkeys>=${version}
|
||||
lxqt-notificationd>=${version}
|
||||
lxqt-openssh-askpass>=${version}
|
||||
lxqt-panel>=${version}
|
||||
lxqt-policykit>=${version}
|
||||
lxqt-powermanagement>=${version}
|
||||
lxqt-qtplugin>=${version}
|
||||
lxqt-runner>=${version}
|
||||
lxqt-session>=${version}
|
||||
lxqt-sudo>=${version}
|
||||
lxqt-themes>=${version}
|
||||
pcmanfm-qt>=${version}
|
||||
lximage-qt>=${version}
|
||||
lxqt-archiver
|
||||
qterminal>=${version}
|
||||
cereus-lxqt-themes
|
||||
qterminal-cereus-colorscheme
|
||||
qps
|
||||
betterlockscreen-gui
|
||||
xfwm4-lxqt
|
||||
material-black-cereus-xfwm
|
||||
cereus-themes-presets
|
||||
xdg-desktop-portal-lxqt
|
||||
xdg-utils
|
||||
elogind
|
||||
upower"
|
||||
short_desc="LXQt meta-package for Cereus Linux"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="BSD-2-Clause" # Suppress xlint warning: vlicense
|
||||
homepage="https://lxqt-project.org"
|
28
srcpkgs/lxqt-minimal/template
Normal file
28
srcpkgs/lxqt-minimal/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'lxqt-minimal'
|
||||
pkgname=lxqt-minimal
|
||||
version=1.2.0
|
||||
revision=1
|
||||
repository="cereus-extra"
|
||||
build_style=meta
|
||||
depends="
|
||||
lxqt-about>=${version}
|
||||
lxqt-admin>=${version}
|
||||
lxqt-config>=${version}
|
||||
lxqt-globalkeys>=${version}
|
||||
lxqt-openssh-askpass>=${version}
|
||||
lxqt-panel>=${version}
|
||||
lxqt-policykit>=${version}
|
||||
lxqt-powermanagement>=${version}
|
||||
lxqt-qtplugin>=${version}
|
||||
lxqt-runner>=${version}
|
||||
lxqt-session>=${version}
|
||||
lxqt-sudo>=${version}
|
||||
lxqt-themes>=${version}
|
||||
xdg-desktop-portal-lxqt
|
||||
xdg-utils
|
||||
elogind
|
||||
upower"
|
||||
short_desc="LXQt minimal meta-package"
|
||||
maintainer="Kevin F. <kevinfigueroart@proton.me>"
|
||||
license="BSD-2-Clause" # Suppress xlint warning: vlicense
|
||||
homepage="https://lxqt-project.org"
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue