Skip to content
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

Install QOwnNotes from source tarball #25

Merged
merged 4 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This repo provides an Immutable-Infrastructure-as-Code (IIaC) workspace for the
- [Jupyter Notebook](https://jupyter.org/)
- [Voilà](https://voila.readthedocs.io/en/stable/index.html)
- [Pint](https://pint.readthedocs.io/en/stable/)
- [QOwnNotes](https://www.qownnotes.org/)
- [QOwnNotes](https://www.qownnotes.org/) 23.12.5 (built from source)
- VS Code with the following extensions (note, auto-updates are disabled)
- [Python extension by Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- [Dendron](https://marketplace.visualstudio.com/items?itemName=dendron.dendron)
Expand Down
Binary file added install_files/qownnotes-23.12.5.tar.xz
Binary file not shown.
20 changes: 14 additions & 6 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,24 @@
- install_doctools

vars:
qownnotes_version: "23.12.2"
qownnotes_version_to_install: "{{ qownnotes_version }}-1ubuntu3ppa1~jammy1"
qownnotes_version: "23.12.5"

tasks:
- name: Add qownnotes PPA
shell: add-apt-repository ppa:pbek/qownnotes
- name: Install QOwnNotes
- name: Install QMake tools
apt:
name: "qownnotes={{ qownnotes_version_to_install }}"
name: qt5-qmake, libqt5websockets5-dev, libqt5svg5*, qtdeclarative5-dev, libqt5x11extras5-dev
update_cache: yes
- name: Expand source files archive
unarchive:
src: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}.tar.xz
dest: /home/kasm-default-profile/install_files/
remote_src: yes
creates: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}/LICENSE
- name: Build QOwnNotes # as per https://www.qownnotes.org/installation/building.html
shell:
cmd: qmake && make
chdir: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}
executable: /bin/bash

-
# install sudo for the vs-code role below
Expand Down