unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57991] [PATCH] gnu: Add gnome-shell-extension-unite-shell
@ 2022-09-22  0:20 Trevor Richards
  2022-09-28 21:22 ` bug#57991: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Richards @ 2022-09-22  0:20 UTC (permalink / raw)
  To: 57991

---
 gnu/packages/gnome-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 4d53593944..7ec693851c 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -69,7 +69,8 @@ (define-module (gnu packages gnome-xyz)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg))
 
 (define-public arc-icon-theme
   (package
@@ -303,6 +304,44 @@ (define-public gnome-plots
 takes advantage of modern hardware using OpenGL.")
     (license license:gpl3+)))
 
+(define-public gnome-shell-extension-unite-shell
+  (package
+    (name "gnome-shell-extension-unite-shell")
+    (version "65")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hardpixel/unite-shell")
+                    (commit "127edac6396b89cdedec003bdff38820e6a0f91f")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1lzhf7hlvzg62nxjfpv265315qibcjz5dv08dzpfckf2dx68nab4"))))
+    (build-system copy-build-system)
+    (native-inputs (list `(,glib "bin") gettext-minimal))
+    (inputs (list xprop))
+    (arguments
+     (list #:install-plan ''(("./unite@hardpixel.eu"
+                              "share/gnome-shell/extensions/unite@hardpixel.eu"))
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'patch-xprop-bin
+                          (lambda _
+                            (substitute* "unite@hardpixel.eu/window.js"
+                              (("xprop")
+                               (string-append #$(this-package-input "xprop")
+                                              "/bin/xprop")))))
+                        (add-before 'install 'compile-schemas
+                          (lambda _
+                            (with-directory-excursion "unite@hardpixel.eu/schemas"
+                              (invoke "glib-compile-schemas" ".")))))))
+    (home-page "https://github.com/hardpixel/unite-shell")
+    (synopsis "Top panel and window decoration extension for GNOME Shell")
+    (description
+     "Unite is a GNOME Shell extension which makes a few layout
+tweaks to the top panel and removes window decorations to make it look like
+Ubuntu Unity Shell.")
+    (license license:gpl3)))
+
 (define-public gnome-shell-extension-appindicator
   (package
     (name "gnome-shell-extension-appindicator")
-- 
2.37.3





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

* bug#57991: [PATCH] gnu: Add gnome-shell-extension-unite-shell
  2022-09-22  0:20 [bug#57991] [PATCH] gnu: Add gnome-shell-extension-unite-shell Trevor Richards
@ 2022-09-28 21:22 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-09-28 21:22 UTC (permalink / raw)
  To: Trevor Richards; +Cc: 57991-done

Hi,

Trevor Richards <trev@trevdev.ca> skribis:

> ---
>  gnu/packages/gnome-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++-
>  1 file changed, 40 insertions(+), 1 deletion(-)

I augmented the commit log and applied it.

> +    (home-page "https://github.com/hardpixel/unite-shell")
> +    (synopsis "Top panel and window decoration extension for GNOME Shell")
> +    (description
> +     "Unite is a GNOME Shell extension which makes a few layout
> +tweaks to the top panel and removes window decorations to make it look like
> +Ubuntu Unity Shell.")
> +    (license license:gpl3)))

I wondered whether that really was GPLv3-only, and ‘README.md’ suggests
it is.

Thanks,
Ludo’.




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

end of thread, other threads:[~2022-09-28 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22  0:20 [bug#57991] [PATCH] gnu: Add gnome-shell-extension-unite-shell Trevor Richards
2022-09-28 21:22 ` bug#57991: " 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).