diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-10 11:29:29 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-13 02:04:54 -0400 |
commit | 70f1fd9aad01fd7094dc6794f2345a8a454253bd (patch) | |
tree | 04bf5f7e2d92bdf015cad1fbb6acc9817a2add8a | |
parent | 6f4424282e38ff65d7836ecf895ca6211d3944e9 (diff) | |
download | guix-70f1fd9aad01fd7094dc6794f2345a8a454253bd.tar guix-70f1fd9aad01fd7094dc6794f2345a8a454253bd.tar.gz |
gnu: polari: Update to 42.1.
* gnu/packages/gnome.scm (polari): Update to 42.1.
[phases]{skip-gtk-update-icon-cache}: Adjust.
{fix-desktop-file}: Punctuate comment. Use search-input-file.
{wrap-typelib}: Likewise.
[inputs]: Move field after native-inputs. Replace libsoup-minimal-2 with
libsoup. Add bash-minimal.
[native-inputs]: Replace intltool with gettext-minimal.
-rw-r--r-- | gnu/packages/gnome.scm | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f8ba8fc79b..2b9f4c62f7 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11949,7 +11949,7 @@ desktop environment.") (define-public polari (package (name "polari") - (version "41.0") + (version "42.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/polari/" @@ -11957,7 +11957,7 @@ desktop environment.") "/polari-" version ".tar.xz")) (sha256 (base32 - "1ss0x8idwar1q9p9535kzqb8idy7k2r48vrbjiyccw03cs0mzc53")))) + "0gbbjs522a8vdps79m1h3krkizbld61h8r1hn9z41gpc904cz45g")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t @@ -11965,39 +11965,43 @@ desktop environment.") (modify-phases %standard-phases (add-after 'unpack 'skip-gtk-update-icon-cache (lambda _ - (substitute* "meson/meson-postinstall.sh" - (("gtk-update-icon-cache") (which "true"))))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) (add-after 'install 'fix-desktop-file - ;; Hardcode launcher to be on the safe side + ;; Hard-code launcher to be on the safe side. (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (substitute* (string-append out "/share/applications/" - "org.gnome.Polari.desktop") - (("Exec=.*") (string-append "Exec=" out "/bin/polari\n")))))) + (substitute* (search-input-file + outputs + "share/applications/org.gnome.Polari.desktop") + (("Exec=.*") + (string-append "Exec=" (search-input-file outputs "bin/polari") + "\n"))))) (add-after 'glib-or-gtk-wrap 'wrap-typelib (lambda* (#:key outputs #:allow-other-keys) - (let ((prog (string-append (assoc-ref outputs "out") - "/bin/polari"))) - (wrap-program prog - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) + (wrap-program (search-input-file outputs "bin/polari") + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))) + (native-inputs + (list desktop-file-utils + gettext-minimal + `(,glib "bin") + gobject-introspection + pkg-config + yelp-tools)) (inputs - (list glib + (list bash-minimal + glib gsettings-desktop-schemas gspell gtk gjs libsecret - libsoup-minimal-2 + libsoup telepathy-glib telepathy-logger)) - (native-inputs - (list `(,glib "bin") - gobject-introspection - intltool - pkg-config - yelp-tools)) (propagated-inputs - (list telepathy-idle telepathy-mission-control)) + (list telepathy-idle + telepathy-mission-control)) (synopsis "Simple IRC Client") (description "Polari is a simple Internet Relay Chat (IRC) client that is designed to |