gnu: fontmanager: Use gexps and drop input labels.

* gnu/packages/fontutils.scm (fontmanager) [arguments]: Use gexps.
[native-inputs]: Remove labels.
[inputs]: Likewise.

Change-Id: Ie7dae815d94a196f58909bffac5a0cba4414fb6a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Maxim Cournoyer 2024-11-11 15:17:15 +09:00 committed by Liliana Marie Prikler
parent b2065d95b2
commit 205b79d51f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1912,60 +1912,60 @@ generated list of fallback fonts are checked.")
(define-public fontmanager (define-public fontmanager
(package (package
(name "fontmanager") (name "fontmanager")
(version "0.9.0") (version "0.9.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/FontManager/font-manager") (url "https://github.com/FontManager/font-manager")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0pxdwpjzsmld4j2m4q423vdrkx23bb6jqszjgk5wqbr2ln772hcx")))) (base32 "0pxdwpjzsmld4j2m4q423vdrkx23bb6jqszjgk5wqbr2ln772hcx"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t (list #:glib-or-gtk? #t
#:build-type "release" #:build-type "release"
#:configure-flags #:configure-flags
(list (string-append "-Dc_link_args=-Wl,-rpath=" #~(list (string-append "-Dc_link_args=-Wl,-rpath=" #$output
(assoc-ref %outputs "out") "/lib/font-manager"))
"/lib/font-manager")) #:phases
#:phases #~(modify-phases %standard-phases
(modify-phases %standard-phases (add-after 'unpack 'skip-gtk-update-icon-cache
(add-after 'unpack 'skip-gtk-update-icon-cache (lambda _
(lambda _ ; Remove dependency on needless desktop cache stuff. ;; Remove dependency on needless desktop cache stuff.
(substitute* "meson.build" (substitute* "meson.build"
(("gtk_update_icon_cache: true") (("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false") "gtk_update_icon_cache: false")
(("update_desktop_database: true") (("update_desktop_database: true")
"update_desktop_database: false"))))))) "update_desktop_database: false")))))))
(native-inputs (native-inputs
`(("desktop-file-utils" ,desktop-file-utils) (list desktop-file-utils
("gettext" ,gettext-minimal) gettext-minimal
("glib" ,glib "bin") `(,glib "bin")
("gobject-introspection" ,gobject-introspection) gobject-introspection
("pkg-config" ,pkg-config) pkg-config
("python-wrapper" ,python-wrapper) python-wrapper
("vala" ,vala) vala
("yelp-tools" ,yelp-tools))) yelp-tools))
(inputs (inputs
`(("fonconfig" ,fontconfig) (list fontconfig
("freetype" ,freetype) freetype
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) gsettings-desktop-schemas
("gtk" ,gtk) gtk
("json-glib" ,json-glib) json-glib
("libsoup" ,libsoup) libsoup
("sqlite" ,sqlite) sqlite
("webkitgtk" ,webkitgtk))) webkitgtk))
(home-page "https://fontmanager.github.io/") (home-page "https://fontmanager.github.io/")
(synopsis "Simple font management for GTK desktop environments") (synopsis "Simple font management for GTK desktop environments")
(description "Font Manager is intended to provide a way for users to (description "Font Manager is intended to provide a way for users to
easily manage desktop fonts, without having to resort to command-line easily manage desktop fonts, without having to resort to command-line
tools or editing configuration files by hand. tools or editing configuration files by hand.
While designed primarily with the GNOME Desktop Environment in mind, it should While designed primarily with the GNOME Desktop Environment in mind, it should
work well with other GTK desktop environments.") work well with other GTK desktop environments.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public fntsample (define-public fntsample
(package (package