-
Notifications
You must be signed in to change notification settings - Fork 71
Package: noso_template #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Eeems
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When attempting to install on my rM1 I'm getting the following error:

Unfortunately, templatectl doesn't give us more information about which one is failing to install. When I run the commands manually, every single one fails. I'd guess that it's looking in the current directory for files with the name. The templatectl add --help output says that --filename is the path to the png file, so this is likely true.
Upon testing the installation of template-cartesian-graph package, it also throws the same error. It might be a good idea to update that package in this install as well.
|
Cool, thanks! Could you tell me how to point my instance to the testing repository so I can fiddle with this on my end? |
Testing only contains things that have been merged, so you won't be able to fiddle that way. What you can do though is use toltecmk to test building packages locally. Then you can send the ipk file to your device and install it with You can also get the built package from the pipeline run under the checks tab, but building locally will likely be quicker after you first get it working. |
|
@RobotCaleb how are things going? Do you need help getting toltecmk to work? |
|
No. I was playing with templatectl and I think I have the commands fixed
but while using templatectl my rm2 stopped working. It just boots to
"remarkable is starting" and no further. So I ordered hardware and am going
to attempt recovery. :(
…On Mon, Mar 28, 2022 at 8:24 AM Nathaniel van Diepen < ***@***.***> wrote:
@RobotCaleb <https://github.com/RobotCaleb> how are things going? Do you
need help getting toltecmk to work?
—
Reply to this email directly, view it on GitHub
<#573 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3V6M3CWARD43U3S7YKLLVCG6JJANCNFSM5RF4DMDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Are you not able to SSH in over USB? |
|
I ... didn't know that was a thing. I've always gone in over wifi. I appear to be in over USB. I'll see what went wrong. :( |
|
I'm up and running again. Thanks @Eeems, I really appreciate the tip and help. I will get back to this as soon as the latest update is supported. |
|
@RobotCaleb poke |
|
Thanks for the reminder. Unless there's a way to install the latest supported firmware on my device it looks like I'm back to waiting for the latest version to be supported. I guess I should stop allowing auto updates, but that doesn't seem like it'll necessarily help. As, whenever I do enable it again, it seems there's a good chance that whatever it gets won't be supported by toltec. Is there a way I can download |
https://github.com/ddvk/remarkable-update reach out to me on discord if you need help finding the file to install. |
d534864 to
ab12cd5
Compare
ab12cd5 to
c3e436a
Compare
reMarkable: ~/ opkg install template-noso-grid_1.0.0_rmall.ipk
Installing template-noso-grid (1.0.0) to root...
Configuring template-noso-grid.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.I think this is now doing the right thing. I have the templates appearing in my UI. |
|
Okay, updated the |
|
I don't know, then. It wasn't working that way. I will play with it some
more I guess.
…On Wed, Sep 28, 2022, 09:35 Nathaniel van Diepen ***@***.***> wrote:
***@***.**** requested changes on this pull request.
------------------------------
In package/template-cartesian-graph/package
<#573 (comment)>:
> @@ -16,9 +16,9 @@ source=("https://github.com/PeterGrace/template-cartesian-graph/archive/v${pkgve
sha256sums=(d3215546c6fd709bb5988b7042ce5fb990d9a030d783ed7505fcc2dbedbc0e0f)
package() {
- install -D -m 755 -t "$pkgdir"/opt/share/remarkable/templates \
templatectl handles copying these files into the correct place. This will
need to be reverted as we don't want this package to install to the root
partition and fill it up.
------------------------------
In package/template-noso-grid/package
<#573 (comment)>:
> +
+pkgnames=(template-noso-grid)
+pkgdesc="Nosometric grid template"
+url=https://github.com/RobotCaleb/noso_template
+pkgver=1.0.0
+timestamp=2022-03-20T18:34Z
+section= <https://github.com/RobotCaleb/noso_template+pkgver=1.0.0+timestamp=2022-03-20T18:34Z+section=>"templates"
+maintainer="Caleb Anderson ***@***.***>"
+license=MIT
+installdepends=(templatectl)
+
+source=("https://github.com/RobotCaleb/noso_template/archive/refs/tags/v${pkgver%-*}.zip")
+sha256sums=(cd7cfcb0c2e9b9734a5e79c00182a4d27858e2c6e2501da54f4d58569171a734)
+
+package() {
+ install -D -m 755 -t "$pkgdir"/usr/share/remarkable/templates \
These should be installed to opt, templatectl handles getting things into
the correct locations.
—
Reply to this email directly, view it on GitHub
<#573 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3V6LJEC7C77MAEJJO26DWARQVZANCNFSM5RF4DMDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
You can find the templatectl source here: https://github.com/PeterGrace/templatectl |
46b9a69 to
1dcb0d3
Compare
|
Oh, interesting. That definitely wasn't mounted for me. reMarkable: ~/ which templatectl
/opt/bin/templatectl
reMarkable: ~/ opkg remove templatectl
No packages removed.
Collected errors:
* print_dependents_warning: Package templatectl is depended upon by packages:
* print_dependents_warning: template-cartesian-graph
* print_dependents_warning: template-noso-grid
* print_dependents_warning: These might cease to work if package templatectl is removed.
* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.
reMarkable: ~/ opkg remove templatectl --force-depends
Removing package templatectl from root...
No existing bind mount for '/usr/share/remarkable/templates'
No packages removed.
Collected errors:
* pkg_run_script: package "templatectl" postrm script returned status 1.
reMarkable: ~/ opkg install templatectl
Installing templatectl (0.1.3-3) to root...
Downloading https://toltec-dev.org/stable/rmall/templatectl_0.1.3-3_rmall.ipk
Configuring templatectl.
Mounting '/home/root/.entware/share/remarkable/templates' over '/usr/share/remarkable/templates'
Created symlink /etc/systemd/system/local-fs.target.wants/usr-share-remarkable-templates.mount → /lib/systemd/system/usr-share-remarkable-templates.mount.
If you perform a system upgrade that adds new templates
Manual intervention may be required to handle adding the new templatesI have reverted and redone a small fix to categories for noso. ➜ toltecmk package/template-noso-grid/
[ INFO] toltec.builder: Fetching source files
[ INFO] toltec.builder: Packaging build artifacts for template-noso-grid
[ INFO] toltec.builder: Creating archive rmall/template-noso-grid_1.0.0_rmall.ipk
[ INFO] toltec.repo: Generating package index
➜ toltecmk package/template-cartesian-graph/
The build directory '/home/caleb/dev/remarkable/toltec/build' already exists.
Would you like to [c]ancel, [r]emove that directory, or [k]eep it (not recommended)? [C/r/k] r
[ INFO] toltec.builder: Fetching source files
[ INFO] toltec.builder: Packaging build artifacts for template-cartesian-graph
[ INFO] toltec.builder: Creating archive rmall/template-cartesian-graph_1.0.0-4_rmall.ipk
[ INFO] toltec.repo: Generating package index
➜ scp dist/rmall/template-* remarkable:
template-cartesian-graph_1.0.0-4_rmall.ipk 100% 12KB 205.4KB/s 00:00
template-noso-grid_1.0.0_rmall.ipk 100% 1438KB 1.5MB/s 00:00
➜ ssh remarkable
reMarkable: ~/ ls *.ipk
template-cartesian-graph_1.0.0-4_rmall.ipk template-noso-grid_1.0.0_rm
all.ipk
reMarkable: ~/ opkg install template-cartesian-graph_1.0.0-4_rmall.ipk
Installing template-cartesian-graph (1.0.0-4) to root...
Installing templatectl (0.1.3-3) to root...
Downloading https://toltec-dev.org/stable/rmall/templatectl_0.1.3-3_rmall.ipk
Configuring templatectl.
Mounting '/home/root/.entware/share/remarkable/templates' over '/usr/share/remarkable/templates'
Created symlink /etc/systemd/system/local-fs.target.wants/usr-share-remarkable-templates.mount → /lib/systemd/system/usr-share-remarkable-templates.mount.
If you perform a system upgrade that adds new templates
Manual intervention may be required to handle adding the new templates
Configuring template-cartesian-graph.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
reMarkable: ~/ opkg install template-noso-grid_1.0.0_rmall.ipk
Installing template-noso-grid (1.0.0) to root...
Configuring template-noso-grid.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to take effect.
Template file /usr/share/remarkable/templates/templates.json has changed. You may need to restart xochitl for the changes to
take effect.
reMarkable: ~/As far as I can tell this all works fine. I notice you originally said you were testing on rm1, maybe that's different and neither of these packages should target that device? |
|
There should be no differences between rM1 and rM2 for these packages. |
|
Okay. Is there anything else that needs to be addressed here? |
|
For some reason the bind mount was missing for me, even though templatectl was installed. We'll have to solve that in a different PR. |
This update brings official support for OS 2.14.3.977 to toltec. 2.14.3.958 and 2.14.3.1005 will have partial support, but will not be listed as supported on the website due to lack of support in `ddvk-hacks`. ### New Packages - `template-noso-grid` - (#573) - Nosometric grid template - `kernelctl` - 0.1-2 (#569) - Manage aftermarket kernels - `linux-stracciatella` - 5.4.70-2 (#582 #630) - RemarkableAS's vanilla kernel with a few extra flakes ### Updated Packages - `ddvk-hacks` - 36.01-1 (#627) - Add support for OS 2.14.3.977 - `display` `rm2fb-client` - 1:0.0.23-1 (#621 #628) - Add support for 2.14.3.1005 - Add support for 2.14.3.977 - Add support for 2.14.3.958 - `koreader` - 2022.08-1 (#622) - `linux-mainline` - 5.19.0-1 (#610) - Use kernelctl for install/uninstall - Bump from the 5.18 to the 5.19 kernel
noso_templateis a not-quite-isometric (so, nosometric) template useful for drawing 3d-ish isometric-ish images. Quick outlining of basic woodworking projects is a good example usage.This adds the default templates included at https://github.com/RobotCaleb/noso_template
I am the author of both this package and the templates.
I have only tested the templates (but not this package, I don't know how to do that) on RM2 but I understand the displays are the same.