@Danny Please find the attached patches to add gnome-music and gnome-photos.
gnome-music will not start, as there is an open bug in upstream. https://gitlab.gnome.org/GNOME/gnome-music/-/issues/260 gnome-photos requires gegl to be built with introspection. As of now, all necessary missing packages are now packaged. I will be starting the debug and fix process for whole gnome-stack, one-by-one. In this course, I will eventually fix gegl and gnome-photos. Regards, RG.
From 614c11621fb88650764e5557c8aee1a039844a88 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan <raghavgurura...@disroot.org> Date: Fri, 22 May 2020 14:50:21 -0400 Subject: [PATCH 7/8] gnu: Add gnome-music. * gnu/packages/gnome.scm (gnome-music): New variable. --- gnu/packages/gnome.scm | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a330b3d37c..a84de98014 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -254,6 +254,68 @@ Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.") (license license:gpl2+))) +(define-public gnome-music + (package + (name "gnome-music") + (version "3.34.5") + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-gnome-music + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* + ((out (assoc-ref outputs "out")) + (pylib (string-append out "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages"))) + (wrap-program (string-append out "/bin/gnome-music") + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))) + `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) + `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH"))) + `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib)))) + #t))))) + (native-inputs + `(("desktop-file-utils" ,desktop-file-utils) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("itstools" ,itstool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") + ("grilo" ,grilo) + ("grilo-plugins" ,grilo-plugins) + ("gst-plugins-base" ,gst-plugins-base) + ("gstreamer" ,gstreamer) + ("gvfs" ,gvfs) + ("libdazzle" ,libdazzle) + ("libmediaart" ,libmediaart) + ("libsoup" ,libsoup) + ("pycairo" ,python-pycairo) + ("pygobject" ,python-pygobject) + ("tracker" ,tracker) + ("tracker-miners" ,tracker-miners))) + (synopsis "Simple music player for GNOME desktop") + (description "GNOME Music is the new GNOME music playing application that +aims to combine an elegant and immersive browsing experience with simple +and straightforward controls.") + (home-page "https://wiki.gnome.org/Apps/Music") + (license license:gpl2+))) + (define-public portablexdr (package (name "portablexdr") -- 2.26.2
From 56d0c2690a6938d3be37a8861b24873ee68f5cc5 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan <raghavgurura...@disroot.org> Date: Sat, 23 May 2020 10:09:29 -0400 Subject: [PATCH 8/8] gnu: Add gnome-photos. * gnu/packages/gnome.scm (gnome-photos): New variable. --- gnu/packages/gnome.scm | 71 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a84de98014..558e5e4904 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -103,6 +103,7 @@ #:use-module (gnu packages game-development) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) + #:use-module (gnu packages gimp) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) @@ -254,6 +255,76 @@ Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.") (license license:gpl2+))) +(define-public gnome-photos + (package + (name "gnome-photos") + (version "3.34.2") + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:configure-flags + (list "-Ddogtail=false" ; Not available + ;; Required for RUNPATH validation. + (string-append "-Dc_link_args=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib/gnome-photos")) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-gnome-photos + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* + ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/gnome-photos") + `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH"))))) + #t))))) + (native-inputs + `(("dbus" ,dbus) + ("desktop-file-utils" ,desktop-file-utils) + ("gettext" ,gettext-minimal) + ("git" ,git-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gtk+:bin" ,gtk+ "bin") + ("itstool" ,itstool) + ("pkg-config" ,pkg-config))) + (inputs + `(("babl" ,babl) + ("cairo" ,cairo) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("gegl" ,gegl) + ("geocode-glib" ,geocode-glib) + ("gexiv2" ,gexiv2) + ("gnome-online-accounts" ,gnome-online-accounts) + ("gnome-online-miners" ,gnome-online-miners) + ("grilo" ,grilo) + ("grilo-plugins" ,grilo-plugins) + ("gtk+" ,gtk+) + ("libdazzle" ,libdazzle) + ("libgdata" ,libgdata) + ("libgfbgraph" ,gfbgraph) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("librest" ,rest) + ("pygobject" ,python-pygobject) + ("tracker" ,tracker) + ("tracker-miners" ,tracker-miners))) + (synopsis "Access, organize and share your photos on GNOME desktop") + (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 +cloud integration is offered through GNOME Online Accounts.") + (home-page "https://wiki.gnome.org/Apps/Photos") + (license license:gpl3+))) + (define-public gnome-music (package (name "gnome-music") -- 2.26.2
signature.asc
Description: OpenPGP digital signature