diff --git a/RedNotebook.yaml b/RedNotebook.yaml index c631cd2..094bc0e 100644 --- a/RedNotebook.yaml +++ b/RedNotebook.yaml @@ -4,12 +4,8 @@ sources: - type: archive url: https://github.com/jendrikseipp/rednotebook/archive/v2.42.tar.gz sha256: f0eddb338a74c5819000a6be16ef24b2821f9e60f86b3505f93f9a5bd2e3e9b2 - - type: file - path: rednotebook.appdata.xml - dest: data - - type: file - path: rednotebook.desktop - dest: data + - type: patch + path: fix-appdata.patch build-commands: - pip3 install --verbose --exists-action=i --no-deps --no-build-isolation --prefix="${FLATPAK_DEST}" --root="/" . post-install: diff --git a/app.rednotebook.RedNotebook.yaml b/app.rednotebook.RedNotebook.yaml index bb1a3e3..e1b783c 100644 --- a/app.rednotebook.RedNotebook.yaml +++ b/app.rednotebook.RedNotebook.yaml @@ -23,16 +23,18 @@ finish-args: - --share=network # OpenGL access - --device=dri -modules: - - gtksourceview.yaml - - enchant.yaml - - python3-pyenchant.yaml - - libyaml.yaml - - python3-PyYAML.yaml - - RedNotebook.yaml cleanup: - /include - /lib/pkgconfig + - /share/doc + - /share/gir-1.0 - /share/gtk-doc - /share/man + - /share/vala - '*.la' +modules: + - gtksourceview.yaml + - enchant.yaml + - python3-pyenchant.yaml + - python3-PyYAML.yaml + - RedNotebook.yaml diff --git a/fix-appdata.patch b/fix-appdata.patch new file mode 100644 index 0000000..1bdfc24 --- /dev/null +++ b/fix-appdata.patch @@ -0,0 +1,32 @@ +From c6bb8b951c62c90ed27aa2bd6c62433c975c33c7 Mon Sep 17 00:00:00 2001 +From: Sabri Ünal +Date: Sun, 15 Feb 2026 13:21:25 +0300 +Subject: [PATCH] Fix appdata paper cuts + +--- + data/rednotebook.appdata.xml | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/data/rednotebook.appdata.xml b/data/rednotebook.appdata.xml +index 6edd95b..8972a1f 100644 +--- a/data/rednotebook.appdata.xml ++++ b/data/rednotebook.appdata.xml +@@ -1,12 +1,12 @@ + +- ++ + +- rednotebook ++ app.rednotebook + CC0-1.0 + + GPL-2.0+ + RedNotebook +- ++ + Jendrik Seipp + + jendrikseipp_AT_gmail.com +-- +libgit2 1.7.2 + diff --git a/libyaml.yaml b/libyaml.yaml deleted file mode 100644 index aec973c..0000000 --- a/libyaml.yaml +++ /dev/null @@ -1,7 +0,0 @@ -name: libyaml -config-opts: - - --disable-static -sources: - - type: archive - url: https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz - sha256: c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4 diff --git a/rednotebook.appdata.xml b/rednotebook.appdata.xml deleted file mode 100644 index 7c2d421..0000000 --- a/rednotebook.appdata.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - app.rednotebook.RedNotebook - CC0-1.0 - - GPL-2.0+ - RedNotebook - - Jendrik Seipp - - jendrikseipp_AT_gmail.com - Graphical diary and journal - -

Modern desktop diary and personal journaling tool. It lets you format, - tag and search your entries. You can also add pictures, links and - customisable templates, spell check your notes, and export to plain - text, HTML, LaTeX or PDF.

-
- - - https://rednotebook.app - https://github.com/jendrikseipp/rednotebook/issues - https://github.com/jendrikseipp/rednotebook/discussions - https://rednotebook.app/help.html - https://rednotebook.app/downloads.html - https://hosted.weblate.org/engage/rednotebook - https://rednotebook.app/participate.html - https://github.com/jendrikseipp/rednotebook - - - - - RedNotebook - Edit mode - https://rednotebook.app/screenshots/rednotebook-2.0-1.png - - - RedNotebook - Preview mode - https://rednotebook.app/screenshots/rednotebook-2.0-2.png - - - - - - - - rednotebook - - - app.rednotebook.RedNotebook.desktop - - - - rednotebook - - - - - - -
diff --git a/rednotebook.desktop b/rednotebook.desktop deleted file mode 100644 index f9414cd..0000000 --- a/rednotebook.desktop +++ /dev/null @@ -1,16 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=RedNotebook -GenericName=Journal -GenericName[lt]=Žurnalas -Comment=Daily journal with calendar, templates and keyword searching -Comment[lt]=Kasdienis žurnalas su kalendoriumi, šablonais ir raktažodžių paieška -Exec=rednotebook -Icon=rednotebook -Terminal=false -Type=Application -Categories=Office;Calendar; -Keywords=Journal;Diary;Notes;Notebook; -Keywords[lt]=Žurnalas;Dienoraštis;Užrašai;Pastabos;Užrašinė; -StartupNotify=true -X-GNOME-Gettext-Domain=rednotebook