Skip to content

Commit

Permalink
Merge branch 'testing' into Eeems-patch-16
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Sep 15, 2024
2 parents cf94485 + 6e08705 commit c81eb07
Show file tree
Hide file tree
Showing 16 changed files with 77 additions and 74 deletions.
1 change: 1 addition & 0 deletions docs/package.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ screensharing | Apps for streaming the display between the PC and tablet.
templates | Templates for xochitl notebooks.
splashscreens | Splashscreens for device startup, poweroff, suspend, etc.
utils | System tools and various apps.
writing | Apps for writing text.

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

Expand Down
2 changes: 1 addition & 1 deletion package/innernet/package
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (c) 2021 The Toltec Contributors
# Copyright (c) 2024 The Toltec Contributors
# SPDX-License-Identifier: MIT

archs=(rmallos2)
Expand Down
6 changes: 3 additions & 3 deletions package/koreader/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
pkgnames=(koreader)
pkgdesc="Ebook reader supporting PDF, DjVu, EPUB, FB2 and many more formats"
url=https://github.com/koreader/koreader
pkgver=2024.04-5
timestamp=2024-04-29T19:56:05Z
pkgver=2024.07-1
timestamp=2024-07-15T16:21:26Z
section="readers"
maintainer="raisjn <[email protected]>"
license=AGPL-3.0-or-later
Expand All @@ -22,7 +22,7 @@ source=(
launcherctl-koreader
)
sha256sums=(
e6b3a5a2c8cde8ca0c469fe542d6e170502fcf39b9a55e4447a7acd02b4a12c0
1040894434421b52076473f7947f139e2c98fcc04b1acadfe29b3362f262f9b7
SKIP
SKIP
SKIP
Expand Down
4 changes: 2 additions & 2 deletions package/launcherctl/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
pkgnames=(launcherctl)
pkgdesc="Manage your installed launcher"
url=https://toltec-dev.org/
pkgver=0.0.1-2
pkgver=0.0.1-3
timestamp=2023-12-18T03:32Z
section="launcher"
section="launchers"
maintainer="Eeems <[email protected]>"
license=MIT

Expand Down
4 changes: 2 additions & 2 deletions package/linux-mainline/package
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ archs=(rm2)
pkgnames=(linux-mainline)
pkgdesc="reMarkable 2 kernel based on the mainline kernel"
url=https://www.kernel.org
pkgver=6.3.0-1
pkgver=6.3.0-2
timestamp=2023-08-23T21:50:09Z
section=kernel
maintainer="Alistair Francis <[email protected]>"
Expand All @@ -15,7 +15,7 @@ installdepends=(kernelctl)
license=GPL-2.0-only
flags=(nostrip)

image=base:v2.3
image=base:v3.2
source=(
https://github.com/alistair23/linux/archive/1698a3bdd8d66e58873c5bb3ce370b7d48b004cf.tar.gz
remarkable_defconfig
Expand Down
8 changes: 4 additions & 4 deletions package/micro/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
pkgnames=(micro)
pkgdesc="Modern and intuitive terminal-based text editor"
url=https://micro-editor.github.io/
pkgver=2.0.13-2
timestamp=2023-10-21T22:38:29Z
pkgver=2.0.14-1
timestamp=2024-08-27T18:13:07Z
section="utils"
maintainer="Eeems <[email protected]>"
license=MIT

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

package() {
install -Dm644 "$srcdir"/LICENSE "$pkgdir/opt/usr/share/licenses/$pkgname/LICENSE"
Expand Down
20 changes: 14 additions & 6 deletions package/mmc-utils/package
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,40 @@ archs=(rmall)
pkgnames=(mmc-utils)
pkgdesc="A tool for monitoring the eMMC protocol"
url=https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/
pkgver=1.0-0
pkgver=1.0-1
timestamp=2021-08-12T19:41:07Z
section="devel"
maintainer="Alistair Francis <[email protected]>"
license=GPL-2.0-only

image=base:v2.2
source=(
"https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-7769a4d7abe339ce273c13a203394a79a11fcff9.tar.gz"
0001-Makefile-Remove-Werror.patch
)
sha256sums=(
0578e546d8893b6207180def7966e7314cae54c237a931b8f94779ce5c7d0668
SKIP
)
_commit=7769a4d7abe339ce273c13a203394a79a11fcff9

prepare() {
cd "$srcdir"
mkdir mmc-utils
cd mmc-utils
git init
git fetch --depth=1 "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git" "$_commit"
git checkout -f "$_commit"
patch < "$srcdir"/0001-Makefile-Remove-Werror.patch
}

build() {
# Use our toolchain
export AR=arm-linux-gnueabihf-ar
export CC=arm-linux-gnueabihf-gcc
export STRIP=arm-linux-gnueabihf-strip

patch < "$srcdir"/0001-Makefile-Remove-Werror.patch
make -j4
make -C "$srcdir"/mmc-utils -j4
}

package() {
DESTDIR="$pkgdir" make -C "$srcdir" install
DESTDIR="$pkgdir" make -C "$srcdir"/mmc-utils install
}
19 changes: 8 additions & 11 deletions package/quickjs/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,26 @@
pkgnames=(quickjs)
pkgdesc="A small and embeddable Javascript engine"
url=https://bellard.org/quickjs/
pkgver=2020.11.08-2
pkgver=2024.01.13-1
section="devel"
timestamp=2020-11-08T13:44Z
timestamp=2024-01-13T00:00Z
maintainer="khanhas <[email protected]>"
license=MIT

image=base:v2.1
image=base:v3.1
source=(
https://bellard.org/quickjs/quickjs-2020-11-08.tar.xz
quickjs.patch
https://bellard.org/quickjs/quickjs-2024-01-13.tar.xz
)
sha256sums=(
2e9d63dab390a95ed365238f21d8e9069187f7ed195782027f0ab311bb64187b
SKIP
3c4bf8f895bfa54beb486c8d1218112771ecfc5ac3be1036851ef41568212e03
)

build() {
patch -u Makefile -i quickjs.patch
make qjs.arm
make CROSS_PREFIX="$CROSS_COMPILE" qjs qjscalc
}

package() {
install -d "$pkgdir"/opt/bin
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs.arm
mv "$pkgdir"/opt/bin/qjs.arm "$pkgdir"/opt/bin/qjs
install -D -m 755 -t "$pkgdir"/opt/bin/ "$srcdir"/qjs
ln -s qjs "$pkgdir"/opt/bin/qjscalc
}
13 changes: 0 additions & 13 deletions package/quickjs/quickjs.patch

This file was deleted.

4 changes: 2 additions & 2 deletions package/sysfs_preload/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
pkgnames=(sysfs_preload)
pkgdesc="A simple preload that forces any calls to /sys/power/state to use systemd instead."
url="https://github.com/Eeems-Org/sysfs_preload"
pkgver=1.0.1-1
pkgver=1.0.1-2
timestamp=2024-06-22T05:19Z
section=util
section=utils
maintainer="Eeems <[email protected]>"
license=MIT

Expand Down
23 changes: 14 additions & 9 deletions package/tilem/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
pkgnames=(tilem)
pkgdesc="TI-84+ calculator emulator"
url=https://github.com/timower/rM2-stuff/tree/master/apps/tilem
_tag=0.1.1
_tag=0.1.2
pkgver=${_tag}-1
timestamp=2023-11-25T20:49:48Z
timestamp=2024-05-29T17:05:56Z
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-3.0
section="utils"
image=base:v3.1
installdepends=(display)
flags=(nostrip)

source=()
sha256sums=()
Expand All @@ -31,14 +32,18 @@ prepare() {
}

build() {
mkdir build
cd "$srcdir"
mkdir install
cd build
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../tilem
cd apps/tilem
make
make install
cd tilem
cmake --preset release-toltec
cmake \
--build build/release-toltec \
--target tilem
cmake \
--install build/release-toltec \
--prefix ../install \
--component tilem \
--strip
}

package() {
Expand Down
2 changes: 1 addition & 1 deletion package/toltec-deletions/package
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ archs=(rm1os2 rm1os3 rm2os2 rm2os3)
pkgnames=(toltec-deletions)
pkgdesc="Metapackage to handle package deletions between OS versions"
url=https://toltec-dev.org/
pkgver=0.1-8
pkgver=0.1-9
timestamp=2023-12-03T04:51:58Z
section="utils"
maintainer="Eeems <[email protected]>"
Expand Down
16 changes: 8 additions & 8 deletions package/whiteboard-hypercard/package
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
#!/usr/bin/env bash
# Copyright (c) 2023 The Toltec Contributors
# Copyright (c) 2024 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(whiteboard-hypercard)
pkgdesc="Real-time collaboration, drawing or whiteboarding"
url=https://github.com/fenollp/reMarkable-tools
pkgver=0.3.7-2
timestamp=2023-10-11T12:57Z
pkgver=0.5.0-1
timestamp=2024-09-12T19:00:22Z
section="drawing"
maintainer="Pierre Fenoll <[email protected]>"
license=CC-BY-NC-ND
installdepends=(display)
flags=(patch_rm2fb)

image=rust:v3.1
image=rust:v3.2
source=(
https://github.com/fenollp/reMarkable-tools/archive/v0.3.7.zip
https://github.com/fenollp/reMarkable-tools/archive/refs/tags/v0.5.0.zip
whiteboard-hypercard.draft
)
sha256sums=(
642fd954ec4f9a1d132b10cc7f7dfbee3467e9c08b1253cc32d1e372178d168b
668f0b1dbc6027f6f6b8ab69f65c844a718f38115f79b9ce79e060a1cef3edfb
SKIP
)

build() {
pushd marauder
rustup component add rustfmt
cargo fetch
cargo build --release --bin whiteboard --locked --frozen --offline
cargo build --release --package=marauder --bin=whiteboard --locked --frozen --offline --target=armv7-unknown-linux-gnueabihf
popd
}

package() {
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/marauder/target/armv7-unknown-linux-gnueabihf/release/whiteboard
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/whiteboard
install -D -m 644 -t "$pkgdir"/opt/etc/draft "$srcdir"/whiteboard-hypercard.draft
}
2 changes: 1 addition & 1 deletion package/whiteboard-hypercard/whiteboard-hypercard.draft
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 The Toltec Contributors
# Copyright (c) 2024 The Toltec Contributors
# SPDX-License-Identifier: MIT

name=whiteboard
Expand Down
23 changes: 14 additions & 9 deletions package/yaft/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
pkgnames=(yaft)
pkgdesc="Yet another framebuffer terminal"
url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft
_tag=0.1.1
_tag=0.1.2
pkgver=${_tag}-1
timestamp=2023-11-25T20:49:48Z
timestamp=2024-05-29T17:05:56Z
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-3.0
section="admin"
image=base:v3.1
installdepends=(display terminfo)
flags=(nostrip)

source=()
sha256sums=()
Expand All @@ -31,14 +32,18 @@ prepare() {
}

build() {
mkdir build
cd "$srcdir"
mkdir install
cd build
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../yaft
cd apps/yaft
make
make install
cd yaft
cmake --preset release-toltec
cmake \
--build build/release-toltec \
--target yaft
cmake \
--install build/release-toltec \
--prefix ../install \
--component yaft \
--strip
}

package() {
Expand Down
4 changes: 2 additions & 2 deletions package/zerotier-one/package
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

pkgnames=(zerotier zerotier-one zerotier-one-doc zerotier-selftest)
url=https://github.com/zerotier/ZeroTierOne
_upver=1.12.2
_upver=1.14.1
pkgver=${_upver}-1
timestamp=2023-03-23T17:39:31Z
maintainer="Eeems <[email protected]>"
Expand All @@ -13,7 +13,7 @@ section="utils"
image=base:v3.0

source=("https://github.com/zerotier/ZeroTierOne/archive/refs/tags/${_upver}.zip")
sha256sums=(2089fc824c84985610f0bd60186c72e94e2592d8f38259a1c80ea8f696edd16b)
sha256sums=(fcf30ce797dbca757f3e882e004a3f953ebe12ae13f03d804b3fb184ee3c9714)

build() {
sed -i \
Expand Down

0 comments on commit c81eb07

Please sign in to comment.