Skip to content

Commit 8f00e88

Browse files
authored
Stable merge for week 41 of 2024 (#927)
### Updated Packages - `innernet` - 1.6.1-1 (#868 #884) - `koreader` - 2024.07-1 (#916) - `launcherctl` - 0.0.1-3 (#922) - `micro` - 2.0.14-1 (#914) - `mmc-utils` - 1.0-1 (#878) - `quickjs` - 2024.01.13-1 (#851) - `sysfs_preload` - 1.0.1-2 (#923) - `tilem` - 0.1.2-1 (#913) - `wireguard` - 1.0.20220627-1 (#651) - `yaft` - 0.1.2-1 (#913) - `zerotier`, `zerotier-one`, `zerotier-one-doc`, and `zerotier-selftest` - 1.14.1-1 (#918) ### Documentation - Added writing category for packages (#924) ### Tooling - Updated github actions to the latest versions (#895)
1 parent 28b5ae4 commit 8f00e88

File tree

17 files changed

+94
-85
lines changed

17 files changed

+94
-85
lines changed

.github/actions/setup/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
sudo apt-get update -yq
99
echo "aptVersion=libarchive-tools-$(apt-cache policy libarchive-tools | grep -oP '(?<=Candidate:\s)(.+)')" >> $GITHUB_ENV
1010
- name: Cache Apt packages
11-
uses: actions/cache@v3
11+
uses: actions/cache@v4
1212
id: cache-apt
1313
with:
1414
path: ~/.aptcache
@@ -26,7 +26,7 @@ runs:
2626
sudo cp --verbose --force --recursive ~/.aptcache/* /
2727
fi
2828
- name: Cache shfmt
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: /usr/local/bin/shfmt
3232
key: 43439b996942b53dfafa9b6ff084f394555d049c98fb7ec37978f7668b43e1be
@@ -44,7 +44,7 @@ runs:
4444
sudo chmod a+x "$install_dir"/shfmt
4545
fi
4646
- name: Cache Shellcheck
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: /usr/local/bin/shellcheck
5050
key: 64f17152d96d7ec261ad3086ed42d18232fcb65148b44571b564d688269d36c8
@@ -68,11 +68,11 @@ runs:
6868
sudo mv shellcheck "$install_dir"
6969
fi
7070
- name: Setup Python
71-
uses: actions/setup-python@v4
71+
uses: actions/setup-python@v5
7272
with:
7373
python-version: '3.12'
7474
- name: Cache Python environment
75-
uses: actions/cache@v3
75+
uses: actions/cache@v4
7676
id: cache-python
7777
with:
7878
path: .venv

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-22.04
88
steps:
99
- name: Checkout the Git repository
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
- name: Setup Toltec dependencies
1212
uses: ./.github/actions/setup
1313
- name: Check formatting
@@ -20,13 +20,13 @@ jobs:
2020
needs: lint
2121
steps:
2222
- name: Checkout the Git repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
- name: Setup Toltec dependencies
2525
uses: ./.github/actions/setup
2626
- name: Build packages
2727
run: FLAGS='--remote-repo https://toltec-dev.org/${{ github.base_ref }}' make repo-new
2828
- name: Save the build output
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: repo
3232
path: build/repo

.github/workflows/stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout the Git repository
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Setup Toltec dependencies
1414
uses: ./.github/actions/setup
1515
- name: Build packages

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-22.04
1010
steps:
1111
- name: Checkout the Git repository
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Setup Toltec dependencies
1414
uses: ./.github/actions/setup
1515
- name: Build packages

docs/package.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ screensharing | Apps for streaming the display between the PC and tablet.
336336
templates | Templates for xochitl notebooks.
337337
splashscreens | Splashscreens for device startup, poweroff, suspend, etc.
338338
utils | System tools and various apps.
339+
writing | Apps for writing text.
339340

340341
If the package does not fit into one of the existing sections, you are free to create a new one and document it here.
341342

package/innernet/package

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
#!/usr/bin/env bash
2-
# Copyright (c) 2021 The Toltec Contributors
2+
# Copyright (c) 2024 The Toltec Contributors
33
# SPDX-License-Identifier: MIT
44

55
archs=(rmallos2)
66
pkgnames=(innernet-client)
77
pkgdesc="A private network system that uses WireGuard under the hood."
88
url="https://github.com/tonarino/innernet"
9-
pkgver=1.5.3-3
10-
timestamp=2022-01-31T20:08:43Z
9+
pkgver=1.6.1-1
10+
timestamp=2024-01-19T14:24:40Z
1111
section="utils"
1212
maintainer="plan5 <[email protected]>"
1313
license=MIT
1414
installdepends=(wireguard)
1515
makedepends=(build:librust-clang-sys-dev build:libclang-dev build:libc6 build:libc6-dev build:clang)
1616

17-
image=rust:v2.2.2
17+
image=rust:v3.1
1818
_srcver="v${pkgver%-*}"
1919
source=(
2020
"https://github.com/tonarino/innernet/archive/refs/tags/$_srcver.zip"
2121
)
2222
sha256sums=(
23-
2f7ca1d802d898b1c4fd090cba9e0562a1e80d617b55f23ba596e81c99441a1c
23+
fd9ec6eb75dcc46c818696e7fcb87eb772dc024e0c326360f0f8c473c937c37c
2424
)
2525

2626
prepare() {
@@ -43,13 +43,19 @@ package() {
4343
install -D -m 700 -t "$pkgdir"/opt/bin "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/innernet
4444
install -D -m 644 -t "$pkgdir"/lib/systemd/system "$srcdir/client/[email protected]"
4545
install -D -m 644 -t "$pkgdir"/lib/systemd/system "$srcdir/client/innernet.target"
46-
47-
# Link /opt/bin/innernet to /opt/bin/inn
48-
ln -s /opt/bin/innernet "$pkgdir"/opt/bin/inn
4946
}
5047

5148
configure() {
5249
if ! [ -d /opt/var/lib/innernet ]; then
5350
mkdir -p /opt/var/lib/innernet
5451
fi
5552
}
53+
54+
preremove() {
55+
disable-unit innernet.target
56+
disable-unit [email protected]
57+
}
58+
59+
postremove() {
60+
systemctl daemon-reload
61+
}

package/koreader/package

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
pkgnames=(koreader)
66
pkgdesc="Ebook reader supporting PDF, DjVu, EPUB, FB2 and many more formats"
77
url=https://github.com/koreader/koreader
8-
pkgver=2024.04-5
9-
timestamp=2024-04-29T19:56:05Z
8+
pkgver=2024.07-1
9+
timestamp=2024-07-15T16:21:26Z
1010
section="readers"
1111
maintainer="raisjn <[email protected]>"
1212
license=AGPL-3.0-or-later
@@ -22,7 +22,7 @@ source=(
2222
launcherctl-koreader
2323
)
2424
sha256sums=(
25-
e6b3a5a2c8cde8ca0c469fe542d6e170502fcf39b9a55e4447a7acd02b4a12c0
25+
1040894434421b52076473f7947f139e2c98fcc04b1acadfe29b3362f262f9b7
2626
SKIP
2727
SKIP
2828
SKIP

package/launcherctl/package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
pkgnames=(launcherctl)
66
pkgdesc="Manage your installed launcher"
77
url=https://toltec-dev.org/
8-
pkgver=0.0.1-2
8+
pkgver=0.0.1-3
99
timestamp=2023-12-18T03:32Z
10-
section="launcher"
10+
section="launchers"
1111
maintainer="Eeems <[email protected]>"
1212
license=MIT
1313

package/micro/package

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pkgnames=(micro)
66
pkgdesc="Modern and intuitive terminal-based text editor"
77
url=https://micro-editor.github.io/
8-
pkgver=2.0.13-2
9-
timestamp=2023-10-21T22:38:29Z
8+
pkgver=2.0.14-1
9+
timestamp=2024-08-27T18:13:07Z
1010
section="utils"
1111
maintainer="Eeems <[email protected]>"
1212
license=MIT
1313

14-
source=("https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux-arm.tar.gz")
15-
sha256sums=(adb9cf644354a5c85819db40e1a427f0f4951b172597bbcd3ef94ecc4a8c4b75)
14+
source=("https://github.com/zyedidia/micro/releases/download/v2.0.14/micro-2.0.14-linux-arm.tar.gz")
15+
sha256sums=(9f490d88bd30a548af99a905f50244dc6c80f3c7a3c6f98faeb5b0a7329f7dea)
1616

1717
package() {
1818
install -Dm644 "$srcdir"/LICENSE "$pkgdir/opt/usr/share/licenses/$pkgname/LICENSE"

package/mmc-utils/package

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,40 @@ archs=(rmall)
66
pkgnames=(mmc-utils)
77
pkgdesc="A tool for monitoring the eMMC protocol"
88
url=https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/
9-
pkgver=1.0-0
9+
pkgver=1.0-1
1010
timestamp=2021-08-12T19:41:07Z
1111
section="devel"
1212
maintainer="Alistair Francis <[email protected]>"
1313
license=GPL-2.0-only
1414

1515
image=base:v2.2
1616
source=(
17-
"https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-7769a4d7abe339ce273c13a203394a79a11fcff9.tar.gz"
1817
0001-Makefile-Remove-Werror.patch
1918
)
2019
sha256sums=(
21-
0578e546d8893b6207180def7966e7314cae54c237a931b8f94779ce5c7d0668
2220
SKIP
2321
)
22+
_commit=7769a4d7abe339ce273c13a203394a79a11fcff9
23+
24+
prepare() {
25+
cd "$srcdir"
26+
mkdir mmc-utils
27+
cd mmc-utils
28+
git init
29+
git fetch --depth=1 "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git" "$_commit"
30+
git checkout -f "$_commit"
31+
patch < "$srcdir"/0001-Makefile-Remove-Werror.patch
32+
}
2433

2534
build() {
2635
# Use our toolchain
2736
export AR=arm-linux-gnueabihf-ar
2837
export CC=arm-linux-gnueabihf-gcc
2938
export STRIP=arm-linux-gnueabihf-strip
3039

31-
patch < "$srcdir"/0001-Makefile-Remove-Werror.patch
32-
make -j4
40+
make -C "$srcdir"/mmc-utils -j4
3341
}
3442

3543
package() {
36-
DESTDIR="$pkgdir" make -C "$srcdir" install
44+
DESTDIR="$pkgdir" make -C "$srcdir"/mmc-utils install
3745
}

0 commit comments

Comments
 (0)