diff options
| author | NoƩ Lopez <noelopez@free.fr> | 2026-01-05 14:11:10 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-22 09:35:22 +0100 |
| commit | 33516f757fac7d5257a7009dc00a051d00eb9c26 (patch) | |
| tree | ae22ad279e85f49ea47f4a9f75032aabe795ee10 /gnu | |
| parent | a39c0d38c87e6d46f16e8cf13b286ff9206d9915 (diff) | |
gnu: apostrophe: Update to 3.4.
* gnu/packages/gnome-circle.scm (apostrophe): Update to 3.4.
[arguments]<#:phases>: Run tests.
[inputs]: Sort alphabetically.
Replace gtk+ with gtk, libhandy with libadwaita, and webkitgtk-with-libsoup2
with webkitgtk.
Add adwaita-icon-theme, gtksourceview and libspelling.
Remove python-levenshtein.
[native-inputs]: Add gobject-introspection, python, python-pytest,
and python-pylint.
Change-Id: Ia51839e7b611c77ded6eb24221ad032cce6b931a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gnome-circle.scm | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/gnu/packages/gnome-circle.scm b/gnu/packages/gnome-circle.scm index 01e81909d9c..718daf0ce0d 100644 --- a/gnu/packages/gnome-circle.scm +++ b/gnu/packages/gnome-circle.scm | |||
| @@ -37,6 +37,7 @@ | |||
| 37 | #:use-module (gnu packages aidc) | 37 | #:use-module (gnu packages aidc) |
| 38 | #:use-module (gnu packages backup) | 38 | #:use-module (gnu packages backup) |
| 39 | #:use-module (gnu packages bash) | 39 | #:use-module (gnu packages bash) |
| 40 | #:use-module (gnu packages check) | ||
| 40 | #:use-module (gnu packages cmake) | 41 | #:use-module (gnu packages cmake) |
| 41 | #:use-module (gnu packages enchant) | 42 | #:use-module (gnu packages enchant) |
| 42 | #:use-module (gnu packages fonts) | 43 | #:use-module (gnu packages fonts) |
| @@ -79,7 +80,7 @@ | |||
| 79 | (define-public apostrophe | 80 | (define-public apostrophe |
| 80 | (package | 81 | (package |
| 81 | (name "apostrophe") | 82 | (name "apostrophe") |
| 82 | (version "2.6.3") | 83 | (version "3.4") |
| 83 | (source (origin | 84 | (source (origin |
| 84 | (method git-fetch) | 85 | (method git-fetch) |
| 85 | (uri (git-reference | 86 | (uri (git-reference |
| @@ -88,7 +89,7 @@ | |||
| 88 | (file-name (git-file-name name version)) | 89 | (file-name (git-file-name name version)) |
| 89 | (sha256 | 90 | (sha256 |
| 90 | (base32 | 91 | (base32 |
| 91 | "0wsvq2434p650cf3vq5w7a6czbk8in0ra7nji45mvwyfahdyn6j4")))) | 92 | "1qndv40vvlzgyybhg30130v8b8zazddqjgmmbpfsnqfc0ghmhgja")))) |
| 92 | (build-system meson-build-system) | 93 | (build-system meson-build-system) |
| 93 | (arguments | 94 | (arguments |
| 94 | (list | 95 | (list |
| @@ -104,6 +105,12 @@ | |||
| 104 | (lambda _ | 105 | (lambda _ |
| 105 | (substitute* "build-aux/meson_post_install.py" | 106 | (substitute* "build-aux/meson_post_install.py" |
| 106 | (("gtk-update-icon-cache") "true")))) | 107 | (("gtk-update-icon-cache") "true")))) |
| 108 | (replace 'check | ||
| 109 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 110 | (when tests? | ||
| 111 | (with-directory-excursion "../source" | ||
| 112 | (setenv "PYTHONPATH" (getcwd)) | ||
| 113 | (invoke "pytest" "tests/"))))) | ||
| 107 | (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap | 114 | (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap |
| 108 | (lambda* (#:key inputs outputs #:allow-other-keys) | 115 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 109 | (wrap-program (search-input-file outputs "bin/apostrophe") | 116 | (wrap-program (search-input-file outputs "bin/apostrophe") |
| @@ -114,27 +121,29 @@ | |||
| 114 | (search-input-file inputs | 121 | (search-input-file inputs |
| 115 | "/bin/pandoc")))))))))) | 122 | "/bin/pandoc")))))))))) |
| 116 | (inputs | 123 | (inputs |
| 117 | (list bash-minimal | 124 | (list adwaita-icon-theme |
| 118 | glib | 125 | bash-minimal |
| 119 | gobject-introspection | 126 | gtk |
| 120 | gspell | 127 | gtksourceview |
| 121 | gtk+ | 128 | libadwaita |
| 122 | libhandy | 129 | libspelling |
| 123 | pandoc | 130 | pandoc |
| 124 | python | 131 | python |
| 125 | python-chardet | 132 | python-chardet |
| 126 | python-levenshtein | ||
| 127 | python-regex | ||
| 128 | python-pycairo | 133 | python-pycairo |
| 129 | python-pygobject | ||
| 130 | python-pyenchant | 134 | python-pyenchant |
| 135 | python-pygobject | ||
| 131 | python-pypandoc | 136 | python-pypandoc |
| 132 | webkitgtk-with-libsoup2)) | 137 | python-regex |
| 138 | webkitgtk)) | ||
| 133 | (native-inputs | 139 | (native-inputs |
| 134 | (list gettext-minimal | 140 | (list gettext-minimal |
| 135 | `(,glib "bin") | 141 | `(,glib "bin") |
| 142 | gobject-introspection | ||
| 136 | pkg-config | 143 | pkg-config |
| 137 | sassc)) | 144 | python |
| 145 | python-pytest | ||
| 146 | python-pylint)) | ||
| 138 | (home-page "https://gitlab.gnome.org/World/apostrophe") | 147 | (home-page "https://gitlab.gnome.org/World/apostrophe") |
| 139 | (synopsis "Markdown editor written in Python with GTK+") | 148 | (synopsis "Markdown editor written in Python with GTK+") |
| 140 | (description "Apostrophe is a GTK+ based distraction-free Markdown editor. | 149 | (description "Apostrophe is a GTK+ based distraction-free Markdown editor. |
