Merge remote-tracking branch 'origin/main'

This commit is contained in:
Ace 2024-02-20 11:02:08 +01:00
commit 1b94162ac4
2 changed files with 5 additions and 2 deletions

View File

@ -20,6 +20,8 @@ jobs:
SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}
TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }}
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
TINDIE_API_KEY: ${{ secrets.TINDIE_API_KEY }}
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
with:
# Set the base_image to the desired Raspberry Pi OS version
base_image: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2023-05-03/2023-05-03-raspios-bullseye-armhf-lite.img.xz
@ -36,7 +38,7 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y python3-pip
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev libxml2 libxslt -y
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev libxml2-dev libxslt-dev python-dev -y
echo $PWD && ls
git clone https://github.com/aceinnolab/Inkycal
cd Inkycal
@ -52,7 +54,7 @@ jobs:
# install deps for 12.48" display
wget https://github.com/aceinnolab/Inkycal/raw/assets/tests/bcm2835-1.71.tar
tar zxvf bcm2835-1.71.tar.gz
tar -xf bcm2835-1.71.tar
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
cd ..

View File

@ -17,6 +17,7 @@ logger = logging.getLogger(__name__)
class TextToDisplay(inkycal_module):
"""TextToDisplay module - Display text from a local file on the display
"""
name = "TextToDisplay - Display text from a local file on the display"
def __init__(self, config):
"""Initialize inkycal_textfile_to_display module"""