forked from toltec-dev/toltec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stable merge for Week 33 of 2023 (toltec-dev#722)
### New Packages - `reterm` - 0230628.1927-1 (toltec-dev#703) - `sill` - 0.1.1-alpha (toltec-dev#719) - `changescrn` - 1.0.0-1 (toltec-dev#571) ### Updated Packages - `yaft` - 0.0.8-2 (toltec-dev#715 toltec-dev#716) - Update to 0.0.8 - Depend on `terminfo` - Add patch to start bash as a login shell - `toltec-base` - 1.2-2 (toltec-dev#715) - Adds `/opt/etc/profile` to `/etc/profile.d` so that it automatically loads the environment variables provided by the entware source - `linux-mainline` - 6.2.0-1 (toltec-dev#657) ### Tooling - Update build process to use Python 3.10 (toltec-dev#684) - Added issue templates to the repository (toltec-dev#711)
- Loading branch information
Showing
26 changed files
with
303 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Documentation Issue | ||
about: Report an issue with the documentation | ||
title: '' | ||
labels: bug, documentation | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the issue** | ||
A clear and concise description of what the issue with the documentation is. | ||
|
||
**Potential resolution** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Links** | ||
If applicable, add links to the documentation in question. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Documentation request | ||
about: Request changes to the documentation | ||
title: '' | ||
labels: documentation | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your documentation request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: Installation issue | ||
about: Report an issue with the installation process | ||
title: '' | ||
labels: bug, install | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the issue** | ||
A clear and concise description of what the issue is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behaviour: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behaviour** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Device information (please complete the following information):** | ||
- Device: [e.g. reMarkable 2] | ||
- OS version: [e.g. 2.15] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Package Issue | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug, packages | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the issue** | ||
A clear and concise description of what the issue is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behaviour: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behaviour** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Upstream issue** | ||
If applicable, add the link to the upstream issue here. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Device/Package information (please complete the following information):** | ||
- Device: [e.g. reMarkable 2] | ||
- OS version: [e.g. 2.15] | ||
- Package: [e.g. toltec-base 0.0.1-1] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Package request | ||
about: Request a package be added to toltec | ||
title: Add [package] to toltec | ||
labels: packages | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Package information** | ||
Add the name of the package, and a link to where the source can be found. | ||
|
||
**Reason for addition** | ||
Provide some basic information about why you'd need this package, and what it provides that existing packages don't. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
pkgnames=(reterm) | ||
pkgdesc="Landscape terminal support for the Remarkable 2 + type cover" | ||
section="admin" | ||
pkgver="20230628.1927-1" | ||
timestamp="2023-06-28T19:28:06Z" | ||
maintainer="Eeems <eeems@eeems.email>" | ||
url="https://github.com/i-am-shodan/ReTerm" | ||
license=MIT | ||
_gitcommit="5730f56cf25642b9752fb9d7987a40f6af6b5f59" | ||
source=(https://github.com/i-am-shodan/ReTerm/archive/refs/tags/release_20230628_1927.tar.gz) | ||
sha256sums=(3a6db39cfb83606c4ac5153fe2ac0319ab5c8322c73172178534c047a15c635b) | ||
image=dotnet6:latest | ||
makedepends=(build:gawk build:git) | ||
|
||
prepare() { | ||
cd "$srcdir" | ||
git config --global --add safe.directory /src | ||
git init | ||
git remote add origin https://github.com/i-am-shodan/ReTerm.git | ||
git fetch --depth=1 origin "$_gitcommit" | ||
git checkout -f "$_gitcommit" | ||
git submodule update --init --force | ||
} | ||
|
||
build() { | ||
dotnet publish \ | ||
-r linux-arm \ | ||
--self-contained true \ | ||
-p:PublishSingleFile=true \ | ||
-p:PublishedTrimmed=true \ | ||
-p:PublishReadyToRun=true \ | ||
-p:Configuration=Release \ | ||
-p:PublishReadyToRunShowWarnings=true \ | ||
src/ReTerm/ReTerm.csproj | ||
} | ||
|
||
package() { | ||
local pubdir | ||
pubdir="$srcdir"/src/ReTerm/bin/Release/net6.0/linux-arm/publish | ||
install -D -m 755 -t "$pkgdir"/opt/usr/lib/reterm "$pubdir"/ReTerm | ||
install -D -m 755 -T "$pubdir"/ReTerm.sh "$pkgdir"/opt/bin/ReTerm | ||
sed -i 's|/home/root/ReTerm/ReTerm|/opt/usr/lib/reterm/ReTerm|' "$pkgdir"/opt/bin/ReTerm | ||
install -D -m 644 -t "$pkgdir"/opt/etc/draft "$srcdir"/draft/reterm.draft | ||
sed -i 's|/home/root/ReTerm/ReTerm.sh|/opt/bin/ReTerm|' "$pkgdir"/opt/etc/draft/reterm.draft | ||
sed -i 's|killall -9 dotnet|killall ReTerm|' "$pkgdir"/opt/etc/draft/reterm.draft | ||
install -D -m 644 -t "$pkgdir"/opt/etc/draft/icons "$srcdir"/draft/reterm.png | ||
install -D -m 644 -t "$pkgdir"/opt/usr/share/applications "$srcdir"/oxide/reterm.oxide | ||
} | ||
|
||
configure() { | ||
if is-active "tarnish.service"; then | ||
type update-desktop-database &> /dev/null && update-desktop-database | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2020 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=(changescrn) | ||
pkgdesc="Change sleep/suspend/poweroff/reboot screens" | ||
url=https://github.com/pr0fsmith/rMscreens/ | ||
pkgver=1.0.0-1 | ||
timestamp=2022-03-15T01:28:33Z | ||
section="utils" | ||
maintainer="pr0fsmith <evon_smith@yahoo.ca>" | ||
license=GPL-3.0 | ||
|
||
source=(https://github.com/pr0fsmith/rMscreens/archive/6d04e97b3997873f0f8b1bd50283ae7ed9be7abd.zip) | ||
sha256sums=(3c2e8b0952d848d7326c0a4ce45da625dd7fd0fbc6b564a2d40c3b97015138e3) | ||
|
||
package() { | ||
install -Dm755 "$srcdir"/changescrn "$pkgdir/opt/bin/changescrn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2020 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=(sill) | ||
pkgdesc="Gesture-based text editor (and shell) for the reMarkable tablet" | ||
url=https://github.com/bkirwi/sill | ||
pkgver=0.1.1-alpha | ||
section="writing" | ||
timestamp=2023-08-12T00:00Z | ||
maintainer="Kai <z@kwi.li>" | ||
license="Apache-2.0" | ||
|
||
image=rust:v3.0 | ||
source=( | ||
https://github.com/bkirwi/sill/archive/refs/tags/v0.1.1.tar.gz | ||
sill.draft | ||
) | ||
sha256sums=( | ||
ed3ef2f7ff37101db16f7020e6af86da6c32e78d76247c91a1676b72ce87e3df | ||
SKIP | ||
) | ||
|
||
build() { | ||
cargo build --release | ||
} | ||
|
||
package() { | ||
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/sill | ||
install -D -m 644 "$srcdir"/sill.draft "$pkgdir"/opt/etc/draft/sill.draft | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
name=Sill | ||
desc= Gesture-based text editor (and shell) for the reMarkable tablet | ||
call=/opt/bin/sill | ||
term=: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/apps/yaft/main.cpp b/apps/yaft/main.cpp | ||
index baa1f56..1d4ee6a 100755 | ||
--- a/apps/yaft/main.cpp | ||
+++ b/apps/yaft/main.cpp | ||
@@ -200,7 +200,7 @@ main(int argc, const char* argv[]) { | ||
extern volatile sig_atomic_t need_redraw; | ||
extern volatile sig_atomic_t child_alive; | ||
extern struct termios termios_orig; | ||
- static const char* shell_args[2] = { shell_cmd, NULL }; | ||
+ static const char* shell_args[3] = { shell_cmd, "-l", NULL }; | ||
|
||
Keyboard keyboard; | ||
|
Oops, something went wrong.