diff --git a/packaging/flatpak/README.md b/packaging/flatpak/README.md index 66fff87..76a78f2 100644 --- a/packaging/flatpak/README.md +++ b/packaging/flatpak/README.md @@ -12,8 +12,8 @@ Run from the repository root: ```sh git submodule update --init packaging/flatpak/shared-modules flatpak install --user flathub org.flatpak.Builder org.gnome.Platform//51 org.gnome.Sdk//51 org.freedesktop.Sdk.Extension.node24//26.08 org.freedesktop.Sdk.Extension.rust-stable//26.08 -flatpak run org.flatpak.Builder --user --force-clean --state-dir=src-tauri/target/flatpak/state --repo=src-tauri/target/flatpak/repo src-tauri/target/flatpak/build packaging/flatpak/com.helixnotes.app.yml -flatpak build-bundle src-tauri/target/flatpak/repo src-tauri/target/flatpak/HelixNotes_1.3.7_x86_64.flatpak com.helixnotes.app stable --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak run org.flatpak.Builder --user --force-clean --state-dir=src-tauri/target/flatpak/state --repo=src-tauri/target/flatpak/repo src-tauri/target/flatpak/build packaging/flatpak/com.helixnotes.HelixNotes.yml +flatpak build-bundle src-tauri/target/flatpak/repo src-tauri/target/flatpak/HelixNotes_1.3.7_x86_64.flatpak com.helixnotes.HelixNotes stable --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepo ``` The commands require a user-local Flathub remote. If only a system remote exists, @@ -27,7 +27,7 @@ flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/fl ```sh flatpak install --user src-tauri/target/flatpak/HelixNotes_1.3.7_x86_64.flatpak -flatpak run com.helixnotes.app +flatpak run com.helixnotes.HelixNotes ``` Choose vault folders using the folder picker. Flatpak grants access to the chosen @@ -36,8 +36,7 @@ whole home directory. Its settings are separate from native installations. The document portal does not forward external file-change notifications, so this build checks visible notes and notebooks about every two seconds in small vaults. The interval grows with scan cost in larger vaults to limit background CPU use. -It compares file -size and precise modification/change timestamps, including changes made +It compares file size and precise modification/change timestamps, including changes made while preserving a note's modification time. Attachments and hidden app data are excluded from these scans; note contents are read only when a change is detected. @@ -70,5 +69,19 @@ Flatpak verifies the downloaded sources against the generated checksums. This keeps pnpm from querying registry metadata and attestations during the offline build; it does not grant network access to the build sandbox. -A Flathub submission also needs a pinned Git source in place of the local -directory source, release metadata and a content-rating assessment. +The store developer is Yuri Karamian. The Flatpak build overrides Tauri's +identifier only for this package; native packages retain their existing ID. + +Version 1.3.7 is still unreleased. Its MetaInfo entry is marked as development. +Before a stable submission, finish the release, set its actual release date and +stable type in MetaInfo, and pin the manifest to that released source revision. + +The prepared submission targets x86_64. The existing local bundle in Nextcloud +uses the earlier `com.helixnotes.app` ID; it has not been rebuilt or replaced by +this preparation. The new ID has a separate Flatpak profile. Users can select the +same notes folder through the system picker. + +No builds, tests or Flathub linter checks were run for this submission preparation. +Flathub requires those checks before a submission can be treated as ready. See the +[submission guide](https://docs.flathub.org/docs/for-app-authors/submission) and +[current requirements](https://docs.flathub.org/docs/for-app-authors/requirements). diff --git a/packaging/flatpak/com.helixnotes.app.desktop b/packaging/flatpak/com.helixnotes.HelixNotes.desktop similarity index 87% rename from packaging/flatpak/com.helixnotes.app.desktop rename to packaging/flatpak/com.helixnotes.HelixNotes.desktop index 9d60625..0900ad6 100644 --- a/packaging/flatpak/com.helixnotes.app.desktop +++ b/packaging/flatpak/com.helixnotes.HelixNotes.desktop @@ -3,7 +3,7 @@ Type=Application Name=HelixNotes Comment=Write and organize local Markdown notes Exec=helixnotes %f -Icon=com.helixnotes.app +Icon=com.helixnotes.HelixNotes Terminal=false Categories=Office; MimeType=text/markdown;text/x-markdown; diff --git a/packaging/flatpak/com.helixnotes.app.metainfo.xml b/packaging/flatpak/com.helixnotes.HelixNotes.metainfo.xml similarity index 52% rename from packaging/flatpak/com.helixnotes.app.metainfo.xml rename to packaging/flatpak/com.helixnotes.HelixNotes.metainfo.xml index e65ba28..f587077 100644 --- a/packaging/flatpak/com.helixnotes.app.metainfo.xml +++ b/packaging/flatpak/com.helixnotes.HelixNotes.metainfo.xml @@ -1,22 +1,34 @@ + - com.helixnotes.app + com.helixnotes.HelixNotes CC0-1.0 AGPL-3.0-or-later HelixNotes Write and organize local Markdown notes - HelixNotes + Yuri Karamian -

HelixNotes stores your notes as standard Markdown files in a folder you - choose. Write in the Markdown editor, organize notes with tags and wiki links, - and find them with full-text search.

-

The Tasks view gathers checklists from your notes into a list or calendar.

+

HelixNotes keeps your notes as Markdown files in a folder you choose. + Organize them into notebooks, add tags, link related notes and search across + your collection.

+

The Tasks view brings together checklists from your notes in a list or + calendar.

- com.helixnotes.app.desktop + com.helixnotes.HelixNotes.desktop https://helixnotes.com https://gitlab.com/ArkHost/HelixNotes + https://gitlab.com/ArkHost/HelixNotes/-/issues + + + + +

Add notebook and tag icons, ten themes, mobile layout fixes and a + Flatpak package.

+
+
+
helixnotes diff --git a/packaging/flatpak/com.helixnotes.app.yml b/packaging/flatpak/com.helixnotes.HelixNotes.yml similarity index 79% rename from packaging/flatpak/com.helixnotes.app.yml rename to packaging/flatpak/com.helixnotes.HelixNotes.yml index 4c73752..71eb7a6 100644 --- a/packaging/flatpak/com.helixnotes.app.yml +++ b/packaging/flatpak/com.helixnotes.HelixNotes.yml @@ -1,4 +1,4 @@ -app-id: com.helixnotes.app +app-id: com.helixnotes.HelixNotes branch: stable runtime: org.gnome.Platform runtime-version: '51' @@ -54,14 +54,14 @@ modules: HELIXNOTES_INSTALL_TYPE: flatpak build-commands: - pnpm install --offline --frozen-lockfile --trust-lockfile - - pnpm tauri build --no-bundle + - pnpm tauri build --no-bundle --config '{"identifier":"com.helixnotes.HelixNotes"}' - install -Dm755 src-tauri/target/release/helixnotes /app/bin/helixnotes - - install -Dm644 packaging/flatpak/com.helixnotes.app.desktop /app/share/applications/com.helixnotes.app.desktop - - install -Dm644 packaging/flatpak/com.helixnotes.app.metainfo.xml /app/share/metainfo/com.helixnotes.app.metainfo.xml - - install -Dm644 src-tauri/icons/icon.svg /app/share/icons/hicolor/scalable/apps/com.helixnotes.app.svg - - install -Dm644 src-tauri/icons/128x128.png /app/share/icons/hicolor/128x128/apps/com.helixnotes.app.png - - install -Dm644 src-tauri/icons/128x128@2x.png /app/share/icons/hicolor/256x256/apps/com.helixnotes.app.png - - install -Dm644 LICENSE /app/share/licenses/com.helixnotes.app/LICENSE + - install -Dm644 packaging/flatpak/com.helixnotes.HelixNotes.desktop /app/share/applications/com.helixnotes.HelixNotes.desktop + - install -Dm644 packaging/flatpak/com.helixnotes.HelixNotes.metainfo.xml /app/share/metainfo/com.helixnotes.HelixNotes.metainfo.xml + - install -Dm644 src-tauri/icons/icon.svg /app/share/icons/hicolor/scalable/apps/com.helixnotes.HelixNotes.svg + - install -Dm644 src-tauri/icons/128x128.png /app/share/icons/hicolor/128x128/apps/com.helixnotes.HelixNotes.png + - install -Dm644 src-tauri/icons/128x128@2x.png /app/share/icons/hicolor/256x256/apps/com.helixnotes.HelixNotes.png + - install -Dm644 LICENSE /app/share/licenses/com.helixnotes.HelixNotes/LICENSE sources: - type: dir path: ../.. diff --git a/packaging/flatpak/flathub.json b/packaging/flatpak/flathub.json new file mode 100644 index 0000000..637604e --- /dev/null +++ b/packaging/flatpak/flathub.json @@ -0,0 +1,3 @@ +{ + "only-arches": ["x86_64"] +}