Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e3bd2c9
templatectl package
PeterGrace Jan 14, 2021
bdf11f3
remove the rm of .cargo/config
PeterGrace Jan 14, 2021
9a892c0
add package that helps test templatectl
PeterGrace Jan 14, 2021
2135b3e
changes to facilitate linking
PeterGrace Jan 14, 2021
139ee74
satisfy shfmt
PeterGrace Jan 14, 2021
c422378
shfmt must be satisfied
PeterGrace Jan 14, 2021
a0c6057
quote bash variables
PeterGrace Jan 14, 2021
008418d
Update package/templatectl/package
PeterGrace Jan 14, 2021
2626ee6
Update package/template-cartesian-graph/package
PeterGrace Jan 14, 2021
4da4ed9
Update package/template-cartesian-graph/package
PeterGrace Jan 14, 2021
9107fa8
Update package/template-cartesian-graph/package
PeterGrace Jan 14, 2021
5018812
Update package/templatectl/package
PeterGrace Jan 14, 2021
e417719
Update package/template-cartesian-graph/package
PeterGrace Jan 14, 2021
7fc27c4
Update package/template-cartesian-graph/package
PeterGrace Jan 14, 2021
3dce785
Update package/template-cartesian-graph/package
PeterGrace Jan 15, 2021
d484970
Update package/template-cartesian-graph/package
PeterGrace Jan 15, 2021
02ebd27
Update package/templatectl/package
PeterGrace Jan 15, 2021
04f72bf
Update package/template-cartesian-graph/package
PeterGrace Jan 15, 2021
24a7dfa
bump templatectl version in package list to absorb new fixes for icon…
PeterGrace Jan 15, 2021
b5cf2a0
Merge branch 'peter.grace/add-templatectl-to-testing' of github.com:P…
PeterGrace Jan 15, 2021
d502e9e
update templatectl to v0.1.2 which fixes iconcode rendering bug
PeterGrace Jan 15, 2021
5cb6655
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
Eeems Jan 16, 2021
de834a4
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
Eeems Jan 16, 2021
6766231
Switch to bind mount
Eeems Jan 16, 2021
fb6bd5d
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
Eeems Jan 16, 2021
5dea29c
Remove extra space
Eeems Jan 16, 2021
ede8029
fix path for bindmount
PeterGrace Jan 17, 2021
2bdb5bd
revert changing the bind mount path, we don't want the stuff in /opt/…
PeterGrace Jan 17, 2021
9419dad
fix path to match other path assumptions
PeterGrace Jan 17, 2021
e8a5045
also fix uninstall message
PeterGrace Jan 17, 2021
fa8c31d
update the path copying
PeterGrace Jan 17, 2021
32ffb6a
fix path variable
PeterGrace Jan 17, 2021
7c7558d
missed a path reference
PeterGrace Jan 17, 2021
1b8311a
bump package number to help stop confusion
PeterGrace Jan 17, 2021
f0bdce4
umount if you can, ignore if you cant
PeterGrace Jan 17, 2021
4ea0b2f
add a message if unmount fails.
PeterGrace Jan 17, 2021
a62e15f
Fix bug with package-build
Eeems Jan 17, 2021
59526c6
Add system upgrade warning
Eeems Jan 17, 2021
fef2c91
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
Eeems Jan 17, 2021
1b4b22b
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
Eeems Jan 17, 2021
3530414
Update package/templatectl/package
PeterGrace Jan 17, 2021
dce62a1
Update package
Eeems Jan 17, 2021
a424947
Merge branch 'testing' into peter.grace/add-templatectl-to-testing
matteodelabre Jan 17, 2021
2252bf8
update templatectl to v0.1.3 which includes template file change notice
PeterGrace Jan 17, 2021
9681995
Update package
Eeems Jan 17, 2021
2c1a2fe
Update package
Eeems Jan 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions package/remarkable_math_graph/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env bash
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(remarkable_math_graph)
pkgdesc="An example template for the reMarkable tablet"
url=https://github.com/PeterGrace/remarkable_math_graph
pkgver=0.0.2-1
timestamp=2021-01-14T02:03Z
section=utils
maintainer="Peter Grace <[email protected]>"
license=MIT
depends=(templatectl)

image=qt:v1.2.2
source=(https://github.com/PeterGrace/remarkable_math_graph/archive/v0.0.2.zip)
sha256sums=(f782efc048af932bd34a2390f757aecb9b5b422980ed516b99431ac0f8891926)

build() {
export DEBIAN_FRONTEND=noninteractive
apt-get update -y
apt-get install -y \
--no-install-recommends \
-o Dpkg::Options::="--force-confdef" \
imagemagick librsvg2-bin
convert -scale 26.464% remarkable_math_graph_qcadexport.svg \
remarkable_math_graph.svg
convert remarkable_math_graph.svg remarkable_math_graph.png
}

package() {
install -D -m 755 -t "$pkgdir"/usr/share/remarkable/templates \
"$srcdir"/remarkable_math_graph.png
install -D -m 755 -t "$pkgdir"/usr/share/remarkable/templates \
"$srcdir"/remarkable_math_graph.svg
}

configure() {
templatectl add -n "Math Graph" -f "remarkable_math_graph" -c "Custom" \
-c "Math"
}

preremove() {
templatectl remove -n "Math Graph"
}
25 changes: 25 additions & 0 deletions package/templatectl/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(templatectl)
pkgdesc="Tool to add/remove templates for xochitl"
url=https://github.com/PeterGrace/templatectl
pkgver=0.1.0-1
timestamp=2021-01-14T01:54Z
section=utils
maintainer="Peter Grace <[email protected]>"
license=MIT

image=rust:v1.2.2
source=(https://github.com/PeterGrace/templatectl/archive/v0.1.0.zip)
sha256sums=(521621c076ba79f6e7bce0b36ba129a61260a35e8d7f5ec3ad9a7390882ed60c)

build() {
cargo build --release
}

package() {
install -D -m 755 -t "$pkgdir"/opt/bin \
"$srcdir"/target/armv7-unknown-linux-gnueabihf/release/templatectl
}