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

+5-5
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

+3-3
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

+1-1
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

+1-1
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

+1
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

+14-8
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

+3-3
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

+2-2
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

+4-4
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

+14-6
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
}

package/quickjs/package

+8-11
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,26 @@
55
pkgnames=(quickjs)
66
pkgdesc="A small and embeddable Javascript engine"
77
url=https://bellard.org/quickjs/
8-
pkgver=2020.11.08-2
8+
pkgver=2024.01.13-1
99
section="devel"
10-
timestamp=2020-11-08T13:44Z
10+
timestamp=2024-01-13T00:00Z
1111
maintainer="khanhas <[email protected]>"
1212
license=MIT
1313

14-
image=base:v2.1
14+
image=base:v3.1
1515
source=(
16-
https://bellard.org/quickjs/quickjs-2020-11-08.tar.xz
17-
quickjs.patch
16+
https://bellard.org/quickjs/quickjs-2024-01-13.tar.xz
1817
)
1918
sha256sums=(
20-
2e9d63dab390a95ed365238f21d8e9069187f7ed195782027f0ab311bb64187b
21-
SKIP
19+
3c4bf8f895bfa54beb486c8d1218112771ecfc5ac3be1036851ef41568212e03
2220
)
2321

2422
build() {
25-
patch -u Makefile -i quickjs.patch
26-
make qjs.arm
23+
make CROSS_PREFIX="$CROSS_COMPILE" qjs qjscalc
2724
}
2825

2926
package() {
3027
install -d "$pkgdir"/opt/bin
31-
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs.arm
32-
mv "$pkgdir"/opt/bin/qjs.arm "$pkgdir"/opt/bin/qjs
28+
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs
29+
ln -s qjs "$pkgdir"/opt/bin/qjscalc
3330
}

package/quickjs/quickjs.patch

-13
This file was deleted.

package/sysfs_preload/package

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
pkgnames=(sysfs_preload)
66
pkgdesc="A simple preload that forces any calls to /sys/power/state to use systemd instead."
77
url="https://github.com/Eeems-Org/sysfs_preload"
8-
pkgver=1.0.1-1
8+
pkgver=1.0.1-2
99
timestamp=2024-06-22T05:19Z
10-
section=util
10+
section=utils
1111
maintainer="Eeems <[email protected]>"
1212
license=MIT
1313

package/tilem/package

+14-9
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
pkgnames=(tilem)
66
pkgdesc="TI-84+ calculator emulator"
77
url=https://github.com/timower/rM2-stuff/tree/master/apps/tilem
8-
_tag=0.1.1
8+
_tag=0.1.2
99
pkgver=${_tag}-1
10-
timestamp=2023-11-25T20:49:48Z
10+
timestamp=2024-05-29T17:05:56Z
1111
maintainer="Mattéo Delabre <[email protected]>"
1212
license=GPL-3.0
1313
section="utils"
1414
image=base:v3.1
1515
installdepends=(display)
16+
flags=(nostrip)
1617

1718
source=()
1819
sha256sums=()
@@ -31,14 +32,18 @@ prepare() {
3132
}
3233

3334
build() {
34-
mkdir build
35+
cd "$srcdir"
3536
mkdir install
36-
cd build
37-
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
38-
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../tilem
39-
cd apps/tilem
40-
make
41-
make install
37+
cd tilem
38+
cmake --preset release-toltec
39+
cmake \
40+
--build build/release-toltec \
41+
--target tilem
42+
cmake \
43+
--install build/release-toltec \
44+
--prefix ../install \
45+
--component tilem \
46+
--strip
4247
}
4348

4449
package() {

package/wireguard/package

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@ archs=(rm1os2 rm2os2)
55
pkgnames=(wireguard)
66
pkgdesc="Fast, modern, secure VPN tunnel"
77
url=https://www.wireguard.com
8-
pkgver=1.0.20210219-5
8+
pkgver=1.0.20220627-1
99
timestamp=2021-02-19T14:08Z
1010
section=kernel
1111
maintainer="Jonah Weissman <[email protected]>"
1212
license=GPL-2.0-only
13-
makedepends=(build:bc build:lzop build:git)
13+
makedepends=(build:bc build:lzop build:git build:flex build:bison build:libssl-dev)
1414
flags=(nostrip)
1515
installdepends=(wireguard-tools)
1616

1717
_kernelrepo=https://github.com/remarkable/linux
1818
_kernelrevs=(
19-
1774e2a6a091fdc081324e966d3db0aa9df75c0b
20-
d4e7e07a390f8b2544ca09d69142d18114149004
19+
bb6be69d6f71fced2fc63c61372bf96e5f7da565
20+
bb6be69d6f71fced2fc63c61372bf96e5f7da565
2121
)
2222
_defconfigs=(
2323
arch/arm/configs/zero-gravitas_defconfig
2424
arch/arm/configs/zero-sugar_defconfig
2525
)
2626

27-
image=base:v2.1
27+
image=base:v3.2
2828
source=(
2929
"https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${pkgver%-*}.tar.xz"
3030
fix-multiple-yylloc-definitions.patch
3131
)
3232
sha256sums=(
33-
99d35296b8d847a0d4db97a4dda96b464311a6354e75fe0bef6e7c4578690f00
33+
362d412693c8fe82de00283435818d5c5def7f15e2433a07a9fe99d0518f63c0
3434
SKIP
3535
)
3636

0 commit comments

Comments
 (0)