unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38911] gnu: Add sushi.
@ 2020-01-04  1:36 Raghav Gururajan
  2020-01-14 22:22 ` [bug#38911] Sushi v2 Raghav Gururajan
  0 siblings, 1 reply; 3+ messages in thread
From: Raghav Gururajan @ 2020-01-04  1:36 UTC (permalink / raw)
  To: 38911


[-- Attachment #1.1: Type: text/plain, Size: 127 bytes --]

Hello Guix!

Please find the attached patch to add sushi.

NOTE: This patch depends on the patch #38909.

Regards,
RG.

[-- Attachment #1.2: sushi.patch --]
[-- Type: text/x-patch, Size: 2750 bytes --]

From 090aede2a479bff1cd976875a6e462a7e5f1961c Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Fri, 3 Jan 2020 20:28:26 -0500
Subject: [PATCH] gnu: Add sushi.

* gnu/packages/gnome.scm (sushi): New variable.
---
 gnu/packages/gnome.scm | 54 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ac1bea1f45..b665d02f33 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9432,6 +9432,60 @@ and a high score table.")
     (home-page "https://wiki.gnome.org/Apps/Mahjongg")
     (license license:gpl2+)))
 
+(define-public sushi
+  (package
+   (name "sushi")
+   (version "3.32.1")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnome/sources/" name "/"
+                                (version-major+minor version) "/"
+                                name "-" version ".tar.xz"))
+            (sha256
+             (base32
+              "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
+   (build-system meson-build-system)
+   (arguments
+    `(#:glib-or-gtk? #t
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'glib-or-gtk-wrap 'wrap-typelib
+          (lambda* (#:key outputs #:allow-other-keys)
+            (let ((prog (string-append (assoc-ref outputs "out")
+                                       "/bin/sushi")))
+              ;; put existing typelibs before sushi's deps, so as to correctly
+              ;; infer gdk-pixbuf
+              (wrap-program prog
+                `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
+              #t))))))
+   (native-inputs
+    `(("glib:bin" ,glib "bin")
+      ("gettext" ,gettext-minimal)
+      ("gobject-introspection" ,gobject-introspection)
+      ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("clutter" ,clutter)
+      ("clutter-gst" ,clutter-gst)
+      ("clutter-gtk" ,clutter-gtk)
+      ("evince" ,evince)
+      ("freetype" ,freetype)
+      ("gdk-pixbuf" ,gdk-pixbuf)
+      ("gjs" ,gjs)
+      ("gst-plugins-base" ,gst-plugins-base)
+      ("gstreamer" ,gstreamer)
+      ("gtksourceview" ,gtksourceview-3)
+      ("harfbuzz" ,harfbuzz)
+      ("libepoxy" ,libepoxy)
+      ("libmusicbrainz" ,libmusicbrainz)
+      ("libxml2" ,libxml2)
+      ("neon" ,neon)
+      ("webkitgtk" ,webkitgtk)))
+   (synopsis "File previewer for GNOME desktop")
+   (description "Sushi is a dbus-activated service that allows
+applications to preview files on GNOME desktop.")
+   (home-page "https://gitlab.gnome.org/GNOME/sushi")
+   (license license:gpl2)))
+
 (define-public gnome-themes-extra
   (package
     (name "gnome-themes-extra")
-- 
2.24.1


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#38911] Sushi v2
  2020-01-04  1:36 [bug#38911] gnu: Add sushi Raghav Gururajan
@ 2020-01-14 22:22 ` Raghav Gururajan
  2020-01-15 21:40   ` bug#38911: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Raghav Gururajan @ 2020-01-14 22:22 UTC (permalink / raw)
  To: 38911; +Cc: dannym

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

Sushi v2

[-- Attachment #2: sushi.patch --]
[-- Type: application/octet-stream, Size: 2812 bytes --]

From c988b8eece06357e26adbb748cb55e1c6b640314 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Tue, 14 Jan 2020 17:18:28 -0500
Subject: [PATCH] gnu: Add sushi.

* gnu/packages/gnome.scm (sushi): New variable.
---
 gnu/packages/gnome.scm | 54 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8f62f47207..7ce9972460 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -246,6 +246,60 @@ 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 sushi
+  (package
+   (name "sushi")
+   (version "3.32.1")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnome/sources/" name "/"
+                                (version-major+minor version) "/"
+                                name "-" version ".tar.xz"))
+            (sha256
+             (base32
+              "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
+   (build-system meson-build-system)
+   (arguments
+    `(#:glib-or-gtk? #t
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'glib-or-gtk-wrap 'wrap-typelib
+          (lambda* (#:key outputs #:allow-other-keys)
+            (let ((prog (string-append (assoc-ref outputs "out")
+                                       "/bin/sushi")))
+              ;; Put existing typelibs before sushi's deps, so as to correctly
+              ;; infer gdk-pixbuf
+              (wrap-program prog
+                `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
+              #t))))))
+   (native-inputs
+    `(("glib:bin" ,glib "bin")
+      ("gettext" ,gettext-minimal)
+      ("gobject-introspection" ,gobject-introspection)
+      ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("clutter" ,clutter)
+      ("clutter-gst" ,clutter-gst)
+      ("clutter-gtk" ,clutter-gtk)
+      ("evince" ,evince)      ; For file previewing.
+      ("freetype" ,freetype)
+      ("gdk-pixbuf" ,gdk-pixbuf)
+      ("gjs" ,gjs)
+      ("gst-plugins-base" ,gst-plugins-base)
+      ("gstreamer" ,gstreamer)
+      ("gtksourceview" ,gtksourceview-3)
+      ("harfbuzz" ,harfbuzz)
+      ("libepoxy" ,libepoxy)
+      ("libmusicbrainz" ,libmusicbrainz)
+      ("libxml2" ,libxml2)
+      ("neon" ,neon)
+      ("webkitgtk" ,webkitgtk)))
+   (synopsis "File previewer for GNOME desktop")
+   (description "Sushi is a dbus-activated service that allows
+applications to preview files on GNOME desktop.")
+   (home-page "https://gitlab.gnome.org/GNOME/sushi")
+   (license license:gpl2+)))
+
 (define-public rygel
   (package
    (name "rygel")
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#38911: Sushi v2
  2020-01-14 22:22 ` [bug#38911] Sushi v2 Raghav Gururajan
@ 2020-01-15 21:40   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-01-15 21:40 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: dannym, 38911-done

"Raghav Gururajan" <raghavgururajan@disroot.org> skribis:

> From c988b8eece06357e26adbb748cb55e1c6b640314 Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan@disroot.org>
> Date: Tue, 14 Jan 2020 17:18:28 -0500
> Subject: [PATCH] gnu: Add sushi.
>
> * gnu/packages/gnome.scm (sushi): New variable.

I tweaked spelling and indentation and committed.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-15 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-04  1:36 [bug#38911] gnu: Add sushi Raghav Gururajan
2020-01-14 22:22 ` [bug#38911] Sushi v2 Raghav Gururajan
2020-01-15 21:40   ` bug#38911: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).