mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-05 10:56:56 -05:00
gnu: gnome-photos: Update to 43.beta.
* gnu/packages/gnome.scm (gnome-photos): Update to 43.beta. [arguments]: Use gexps. [phases]{disable-gtk-update-icon-cache}: New phase. [native-inputs]: Remove gtk+:bin. Delete labels. [inputs]: Delete labels.
This commit is contained in:
parent
184d61114f
commit
ecaad21f23
1 changed files with 50 additions and 49 deletions
|
@ -873,7 +873,7 @@ (define-public gnome-recipes
|
||||||
(define-public gnome-photos
|
(define-public gnome-photos
|
||||||
(package
|
(package
|
||||||
(name "gnome-photos")
|
(name "gnome-photos")
|
||||||
(version "40.0")
|
(version "43.beta") ;for geocode-glib 2 support
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -883,58 +883,59 @@ (define-public gnome-photos
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bzi79plw6ji6qlckhxnwfnswy6jpnhzmmyanml2i2xg73hp6bg0"))))
|
"1pry45dy4sjw8y63vxw2b499brcxzpkd4hmg2vbqy538r79ah2g9"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:glib-or-gtk? #t
|
(list
|
||||||
#:meson ,meson-0.60
|
#:glib-or-gtk? #t
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "-Ddogtail=false" ; Not available
|
#~(list "-Ddogtail=false" ; Not available
|
||||||
;; Required for RUNPATH validation.
|
;; Required for RUNPATH validation.
|
||||||
(string-append "-Dc_link_args=-Wl,-rpath="
|
(string-append "-Dc_link_args=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out") "/lib/gnome-photos"))
|
#$output "/lib/gnome-photos"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-gnome-photos
|
(add-after 'unpack 'disable-gtk-update-icon-cache
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let*
|
(setenv "DESTDIR" "/")))
|
||||||
((out (assoc-ref outputs "out")))
|
(add-after 'install 'wrap-gnome-photos
|
||||||
(wrap-program (string-append out "/bin/gnome-photos")
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
`("GRL_PLUGIN_PATH" =
|
(wrap-program (search-input-file outputs "bin/gnome-photos")
|
||||||
(,(getenv "GRL_PLUGIN_PATH"))))))))))
|
`("GRL_PLUGIN_PATH" =
|
||||||
|
(,(getenv "GRL_PLUGIN_PATH")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("dbus" ,dbus)
|
(list dbus
|
||||||
("desktop-file-utils" ,desktop-file-utils)
|
desktop-file-utils
|
||||||
("gettext" ,gettext-minimal)
|
gettext-minimal
|
||||||
("git" ,git-minimal)
|
git-minimal
|
||||||
("glib:bin" ,glib "bin")
|
`(,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
gobject-introspection
|
||||||
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
gsettings-desktop-schemas
|
||||||
("gtk+:bin" ,gtk+ "bin")
|
itstool
|
||||||
("itstool" ,itstool)
|
pkg-config))
|
||||||
("pkg-config" ,pkg-config)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("babl" ,babl)
|
(list babl
|
||||||
("cairo" ,cairo)
|
cairo
|
||||||
("librsvg" ,librsvg)
|
gegl
|
||||||
("gegl" ,gegl)
|
geocode-glib
|
||||||
("geocode-glib" ,geocode-glib)
|
gexiv2
|
||||||
("gexiv2" ,gexiv2)
|
gfbgraph
|
||||||
("gnome-online-accounts" ,gnome-online-accounts)
|
gnome-online-accounts
|
||||||
("gnome-online-miners" ,gnome-online-miners)
|
gnome-online-miners
|
||||||
("grilo" ,grilo)
|
grilo
|
||||||
("grilo-plugins" ,grilo-plugins)
|
grilo-plugins
|
||||||
("gtk+" ,gtk+)
|
gtk+
|
||||||
("libdazzle" ,libdazzle)
|
libdazzle
|
||||||
("libgdata" ,libgdata)
|
libgdata
|
||||||
("libgfbgraph" ,gfbgraph)
|
libhandy
|
||||||
("libhandy" ,libhandy)
|
libjpeg-turbo
|
||||||
("libjpeg" ,libjpeg-turbo)
|
libportal
|
||||||
("libpng" ,libpng)
|
libpng
|
||||||
("librest" ,rest)
|
librsvg
|
||||||
("pygobject" ,python-pygobject)
|
python-pygobject
|
||||||
("tracker" ,tracker)
|
rest
|
||||||
("tracker-miners" ,tracker-miners)))
|
tracker
|
||||||
|
tracker-miners))
|
||||||
(synopsis "Access, organize and share your photos on GNOME desktop")
|
(synopsis "Access, organize and share your photos on GNOME desktop")
|
||||||
(description "GNOME Photos is a simple and elegant replacement for using a
|
(description "GNOME Photos is a simple and elegant replacement for using a
|
||||||
file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
|
file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
|
||||||
|
|
Loading…
Reference in a new issue