gnu: polari: Move to (gnu packages gnome-circle).

* gnu/packages/gnome-circle.scm (polari): New variable.
* gnu/packages/gnome.scm (polari): Replace with deprecated alias.

Change-Id: I3a6bc478ebc3657ea35f66733b793b28a4d6017b
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Noé Lopez 2025-12-18 22:14:31 +01:00 committed by Liliana Marie Prikler
parent c4ab902521
commit e2062e3137
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
2 changed files with 68 additions and 64 deletions

View file

@ -67,6 +67,7 @@
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
@ -484,6 +485,71 @@ developed with the aim of being used with the Librem 5 phone.")
(description "This package provides more recent servers for Komikku.")
(license license:gpl3+)))
(define-public polari
(package
(name "polari")
(version "46.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/polari/"
(version-major version)
"/polari-" version ".tar.xz"))
(sha256
(base32
"0c8a6q6g1mgpc9g423rgqplbpjwb7zq1bvylad7jk2ci6yg71cfj"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false"))))
(add-after 'install 'fix-desktop-file
;; Hard-code launcher to be on the safe side.
(lambda* (#:key outputs #:allow-other-keys)
(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)
(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 bash-minimal
glib
gsettings-desktop-schemas
gspell
gtk
gjs
libadwaita
libsecret
libsoup
telepathy-glib
telepathy-logger
tinysparql))
(propagated-inputs
(list telepathy-idle
telepathy-mission-control))
(synopsis "Simple IRC Client")
(description
"Polari is a simple Internet Relay Chat (IRC) client that is designed to
integrate seamlessly with the GNOME desktop.")
(home-page "https://wiki.gnome.org/Apps/Polari")
(license license:gpl2+)))
(define-public raider
(package
(name "raider")

View file

@ -12565,70 +12565,8 @@ desktop environment.")
(home-page "https://wiki.gnome.org/Apps/Gnote")
(license license:gpl3+)))
(define-public polari
(package
(name "polari")
(version "46.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/polari/"
(version-major version)
"/polari-" version ".tar.xz"))
(sha256
(base32
"0c8a6q6g1mgpc9g423rgqplbpjwb7zq1bvylad7jk2ci6yg71cfj"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false"))))
(add-after 'install 'fix-desktop-file
;; Hard-code launcher to be on the safe side.
(lambda* (#:key outputs #:allow-other-keys)
(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)
(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 bash-minimal
glib
gsettings-desktop-schemas
gspell
gtk
gjs
libadwaita
libsecret
libsoup
telepathy-glib
telepathy-logger
tinysparql))
(propagated-inputs
(list telepathy-idle
telepathy-mission-control))
(synopsis "Simple IRC Client")
(description
"Polari is a simple Internet Relay Chat (IRC) client that is designed to
integrate seamlessly with the GNOME desktop.")
(home-page "https://wiki.gnome.org/Apps/Polari")
(license license:gpl2+)))
(define-deprecated/public-alias polari
(@ (gnu packages gnome-circle) polari))
(define-public gnome-boxes
(package