Skip to content
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
8 changes: 2 additions & 6 deletions RedNotebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 9 additions & 7 deletions app.rednotebook.RedNotebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
32 changes: 32 additions & 0 deletions fix-appdata.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From c6bb8b951c62c90ed27aa2bd6c62433c975c33c7 Mon Sep 17 00:00:00 2001
From: Sabri Ünal <yakushabb@gmail.com>
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 @@
<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop">
+<component type="desktop-application">
<!-- https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-id-desktopapp -->
- <id>rednotebook</id>
+ <id>app.rednotebook</id>
<metadata_license>CC0-1.0</metadata_license>
<!-- https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-project_license -->
<project_license>GPL-2.0+</project_license>
<name>RedNotebook</name>
- <developer>
+ <developer id="io.github.jendrikseipp">
<name>Jendrik Seipp</name>
</developer>
<update_contact>jendrikseipp_AT_gmail.com</update_contact>
--
libgit2 1.7.2

7 changes: 0 additions & 7 deletions libyaml.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions rednotebook.appdata.xml

This file was deleted.

16 changes: 0 additions & 16 deletions rednotebook.desktop

This file was deleted.