[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
156/181: gnu: apostrophe: Update to 2.6.3.
From: |
guix-commits |
Subject: |
156/181: gnu: apostrophe: Update to 2.6.3. |
Date: |
Tue, 13 Sep 2022 02:26:27 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 13a0224cd1e3c6171de58f9af45bbb193080d5a1
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Sep 10 11:50:14 2022 -0400
gnu: apostrophe: Update to 2.6.3.
* gnu/packages/gnome.scm (apostrophe): Update to 2.6.3.
[source]: Update URL.
[imported-modules, modules]: New arguments.
[phases]{python-and-gi-wrap}: Use search-input-file and site-packages.
[native-inputs]: Add bash-minimal.
[home-page]: Update URL.
---
gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++-------------------------
1 file changed, 28 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 46364b4339..d890322940 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12309,44 +12309,43 @@ GTK+. It integrates well with the GNOME desktop
environment.")
(define-public apostrophe
(package
(name "apostrophe")
- (version "2.5")
+ (version "2.6.3")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.gnome.org/somas/apostrophe")
+ (url "https://gitlab.gnome.org/World/apostrophe")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp"))))
+ "0wsvq2434p650cf3vq5w7a6czbk8in0ra7nji45mvwyfahdyn6j4"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:meson ,meson-0.59 ;fails with 0.60
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-meson
- (lambda _
- (substitute* "build-aux/meson_post_install.py"
- (("gtk-update-icon-cache") "true"))))
- (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((prog (string-append (assoc-ref outputs "out")
- "/bin/apostrophe"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version
- (this-package-input "python")))
- "/site-packages")))
- (wrap-program prog
- `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
- `("PATH" prefix (,(dirname
- (search-input-file inputs
- "/bin/pandoc")))))))))))
+ (list
+ #:glib-or-gtk? #t
+ #:imported-modules `(,@%meson-build-system-modules
+ (guix build python-build-system))
+ #:modules '((guix build meson-build-system)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-meson
+ (lambda _
+ (substitute* "build-aux/meson_post_install.py"
+ (("gtk-update-icon-cache") "true"))))
+ (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (search-input-file outputs "bin/apostrophe")
+ `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
+ ,(python:site-packages inputs outputs)))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
+ `("PATH" prefix (,(dirname
+ (search-input-file inputs
+ "/bin/pandoc"))))))))))
(inputs
- (list glib
+ (list bash-minimal
+ glib
gobject-introspection
gspell
gtk+
@@ -12366,7 +12365,7 @@ GTK+. It integrates well with the GNOME desktop
environment.")
`(,glib "bin")
pkg-config
sassc))
- (home-page "https://gitlab.gnome.org/somas/apostrophe")
+ (home-page "https://gitlab.gnome.org/World/apostrophe")
(synopsis "Markdown editor written in Python with GTK+")
(description "Apostrophe is a GTK+ based distraction-free Markdown editor.
It uses pandoc as back-end for parsing Markdown.")
- 159/181: gnu: sysprof: Update to 3.45.1., (continued)
- 159/181: gnu: sysprof: Update to 3.45.1., guix-commits, 2022/09/13
- 160/181: gnu: gnome-builder: Update to 42.1., guix-commits, 2022/09/13
- 58/181: gnu: gnome-bluetooth: Update to 42.4., guix-commits, 2022/09/13
- 65/181: gnu: evince: Update to 42.3., guix-commits, 2022/09/13
- 72/181: gnu: pango-next: Rename from "pango "to "pango-next"., guix-commits, 2022/09/13
- 83/181: gnu: gnome-weather: Update to 42.0., guix-commits, 2022/09/13
- 138/181: gnu: tracker: Patch a /bin/bash reference., guix-commits, 2022/09/13
- 166/181: gnu: libofx: Update to 0.10.7., guix-commits, 2022/09/13
- 162/181: gnu: libsoup: Update to 3.1.4., guix-commits, 2022/09/13
- 161/181: gnu: numix-gtk-theme: Remove input labels., guix-commits, 2022/09/13
- 156/181: gnu: apostrophe: Update to 2.6.3.,
guix-commits <=
- 173/181: gnu: arc-theme: Update to 20220405., guix-commits, 2022/09/13
- 175/181: gnu: Add libshumate., guix-commits, 2022/09/13
- 174/181: gnu: gnome-shell: Use libsoup 3 to fix tests., guix-commits, 2022/09/13
- 181/181: gnu: gnome-screenshot: Remove meson patch., guix-commits, 2022/09/13
- 110/181: gnu: seahorse: Update to 42.0., guix-commits, 2022/09/13
- 155/181: gnu: setzer: Update to 0.4.8., guix-commits, 2022/09/13
- 153/181: gnu: gnote: Update to 42.1., guix-commits, 2022/09/13
- 167/181: gnu: gnucash: Update to 4.11 and use gexps., guix-commits, 2022/09/13
- 75/181: gnu: gnome-keyring: Update to 42.1 and enable tests., guix-commits, 2022/09/13
- 85/181: gnu: gnome-tweaks: Update to 40.10., guix-commits, 2022/09/13