Commit 10f0894 1 parent 636e2b1 commit 10f0894 Copy full SHA for 10f0894
File tree 4 files changed +11
-10
lines changed
4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
- Only call eips if fetch-dashboard succesfully completes
12
12
- Ensure a full screen refresh is triggered after wake from sleep
13
13
- Build ht from upstream sources, using rusttls instead of vendored openssl
14
+ - Replace ht 0.4.0 with xh 0.16.1 (project was renamed)
14
15
15
16
## [ v1.0.0-beta.3] - 2020-02-03
16
17
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SRC_FILES := $(shell find src -name '*.sh' -o -name '*.png')
2
2
NEXT_WAKEUP_SRC_FILES := $(shell find src/next-wakeup/src -name '* .rs')
3
3
TARGET_FILES := $(SRC_FILES:src/%=dist/% )
4
4
5
- dist : dist/next-wakeup dist/ht dist/local/state ${TARGET_FILES}
5
+ dist : dist/next-wakeup dist/xh dist/local/state ${TARGET_FILES}
6
6
7
7
tarball : dist
8
8
tar -C dist -cvzf kindle-dash-${VERSION} .tgz ./
@@ -16,17 +16,17 @@ dist/next-wakeup: ${NEXT_WAKEUP_SRC_FILES}
16
16
cd src/next-wakeup && cross build --release --target arm-unknown-linux-musleabi
17
17
cp src/next-wakeup/target/arm-unknown-linux-musleabi/release/next-wakeup dist/
18
18
19
- dist/ht : tmp/ht
20
- cd tmp/ht && cross build --release --target arm-unknown-linux-musleabi
19
+ dist/xh : tmp/xh
20
+ cd tmp/xh && cross build --release --target arm-unknown-linux-musleabi
21
21
docker run --rm \
22
- -v $(shell pwd) /tmp/ht :/src \
22
+ -v $(shell pwd) /tmp/xh :/src \
23
23
rustembedded/cross:arm-unknown-linux-musleabi-0.2.1 \
24
- /usr/local/arm-linux-musleabi/bin/strip /src/target/arm-unknown-linux-musleabi/release/ht
25
- cp tmp/ht /target/arm-unknown-linux-musleabi/release/ht dist/
24
+ /usr/local/arm-linux-musleabi/bin/strip /src/target/arm-unknown-linux-musleabi/release/xh
25
+ cp tmp/xh /target/arm-unknown-linux-musleabi/release/xh dist/
26
26
27
- tmp/ht :
27
+ tmp/xh :
28
28
mkdir -p tmp/
29
- git clone --depth 1 --branch v0.4.0 https://github.com/ducaale/ht .git tmp/ht
29
+ git clone --depth 1 --branch v0.16.1 https://github.com/ducaale/xh .git tmp/xh
30
30
31
31
dist/local/state :
32
32
mkdir dist/local/state
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
# Fetch a new dashboard image, make sure to output it to "$1".
3
3
# For example:
4
- " $( dirname " $0 " ) /../ht " -d -q -o " $1 " get https://raw.githubusercontent.com/pascalw/kindle-dash/master/example/example.png
4
+ " $( dirname " $0 " ) /../xh " -d -q -o " $1 " get https://raw.githubusercontent.com/pascalw/kindle-dash/master/example/example.png
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ now=$(date +%s)
10
10
11
11
if [ " $previous_report_timestamp " -eq -1 ] ||
12
12
[ $(( now - previous_report_timestamp)) -gt 86400 ]; then
13
- # Replace this with for example an HTTP call via curl, or ht
13
+ # Replace this with for example an HTTP call via curl, or xh
14
14
echo " Reporting low battery: $battery_level_percentage %"
15
15
16
16
echo " $now " > " $last_battery_report_state "
You can’t perform that action at this time.
0 commit comments