GNU bug report logs - #52114
[PATCH] gnu: Add skippy-xd

Previous Next

Package: guix-patches;

Reported by: Jaft <jaft.r <at> outlook.com>

Date: Thu, 25 Nov 2021 20:07:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 52114 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52114; Package guix-patches. (Thu, 25 Nov 2021 20:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jaft <jaft.r <at> outlook.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 25 Nov 2021 20:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jaft <jaft.r <at> outlook.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add skippy-xd
Date: Thu, 25 Nov 2021 19:43:01 +0000 (UTC)
* gnu/packages/xdisorg.scm (skippy-xd): Add skippy-xd
---
gnu/packages/xdisorg.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bf82db5823..e5b7950ab1 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Nikita Domnitskii <nikita <at> domnitskii.me>
 ;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
 ;;; Copyright © 2021 jgart <jgart <at> dismail.de>
+;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3095,3 +3096,47 @@ (define-public wlsunset
 that support @samp{wlr-gamma-control-unstable-v1}.  It is also known as a blue
 light filter or night light.")
     (license license:expat)))
+
+(define-public skippy-xd
+  (let ((commit "397216ca67074c71314f5e9a6e3f1710ccabc29e")
+        (revision "0"))
+    (package
+      (name "skippy-xd")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/richardgv/skippy-xd/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256 (base32
+                         "0zcjacilmsv69rv85j6nfr6pxy8z36w1sjz0dbjg6s5m4kga1zl8"))
+                (modules '((guix build utils)))))
+      (build-system  gnu-build-system)
+      (arguments `(#:phases (modify-phases %standard-phases
+                              (delete 'configure)
+                              (delete 'check))
+                   #:make-flags (list "PREFIX=/"
+                                      (string-append "CC=" ,(cc-for-target))
+                                      (string-append "DESTDIR=" (assoc-ref
+                                                                  %outputs
+                                                                  "out")))))
+      (native-inputs `(("pkg-config" ,pkg-config)
+                       ("libx11" ,libx11)
+                       ("libxft" ,libxft)
+                       ("libxcomposite" ,libxcomposite)
+                       ("libxdamage" ,libxdamage)
+                       ("libxext" ,libxext)
+                       ("libxinerama" ,libxinerama)
+                       ("libjpeg-turbo" ,libjpeg-turbo)
+                       ("giflib" ,giflib)))
+      (home-page "https://github.com/richardgv/skippy-xd/")
+      (synopsis "Full-screen Exposé-style standalone task switcher for X11")
+      (description "Skippy-XD is a fullscreen composited task-switcher for X11.
+
+Skippy-XD is a program that provides Exposé-like features such as found on the
+MacOS X operating system.  It is a standalone application for providing a window
+picker with live previews (including live video) on Linux desktops that run an X
+server with compositing support.  Thus, it is not part of the window manager and
+the compositing is not being used all the time.")
+      (license license:gpl2))))




Information forwarded to guix-patches <at> gnu.org:
bug#52114; Package guix-patches. (Sat, 15 Jan 2022 21:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 52114 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Jaft <jaft.r <at> outlook.com>
Cc: 52114 <at> debbugs.gnu.org
Subject: Re: [bug#52114] [PATCH] gnu: Add skippy-xd
Date: Sat, 15 Jan 2022 22:15:41 +0100
[Message part 1 (text/plain, inline)]
Hello,

Jaft <jaft.r <at> outlook.com> writes:

> * gnu/packages/xdisorg.scm (skippy-xd): Add skippy-xd

Thank you for the patch.

I fixed a few issues with it (incorrect license, check phase deleted
instead of using #:tests? keyword, useless modules field, incorrect
version string, inputs as native-inputs, unordered inputs) and moved it
to new package style. I am attaching the result as a new patch.

Could you, or someone else, tell me if it's working properly. I couldn't
make it work for some reason.

Regards,
-- 
Nicolas Goaziou
[0001-gnu-Add-skippy-xd.patch (text/x-diff, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#52114; Package guix-patches. (Wed, 09 Mar 2022 22:50:01 GMT) Full text and rfc822 format available.

Message #11 received at 52114 <at> debbugs.gnu.org (full text, mbox):

From: "Wamm K. D" <jaft.r <at> outlook.com>
To: 52114 <at> debbugs.gnu.org
Cc: "Wamm K. D" <jaft.r <at> outlook.com>, mail <at> nicolasgoaziou.fr
Subject: [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable.
Date: Wed,  9 Mar 2022 16:48:56 -0600
---
Gah; I'm so sorry about the lapse in time, Nicolas. I completely missed that
there was any response. I tried it out and it runs pretty nicely, I'd say.
There's been quite a few changes and just applying the patch failed for me so
I'm just sending a new one, built after the lastest commits, in case this helps,
any. Thanks a ton!
 gnu/packages/xdisorg.scm | 59 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 6dc40f0910..b9e26f0511 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
 ;;; Copyright © 2021 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2021 jgart <jgart <at> dismail.de>
+;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
 ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
 ;;;
@@ -2973,6 +2974,64 @@ (define-public jumpapp
     (home-page "https://github.com/mkropat/jumpapp")
     (license license:expat)))
 
+(define-public skippy-xd
+  ;; XXX: Upstream made no release so far.  Using latest commit.
+  (let ((commit "397216ca67074c71314f5e9a6e3f1710ccabc29e")
+        (revision "1"))
+    (package
+      (name "skippy-xd")
+      ;; Version is extracted from Debian's "control" file.
+      (version (git-version "0.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/richardgv/skippy-xd")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0zcjacilmsv69rv85j6nfr6pxy8z36w1sjz0dbjg6s5m4kga1zl8"))))
+      (build-system  gnu-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ;no tests
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)         ;no configure script
+            (add-after 'unpack 'set-version
+              ;; SKIPPYXD_VERSION is a git commit hash.  Display our own, more
+              ;; informative (?) version string instead.
+              (lambda _
+                (substitute* "Makefile"
+                  (("\\$\\{SKIPPYXD_VERSION\\}") #$version)))))
+        #:make-flags
+        ;; XXX: Setting both PREFIX and DESTDIR is needed to work around
+        ;; a Makefile problem when moving files to "%output/etc/xdg".
+        #~(list (string-append "PREFIX=/")
+                (string-append "DESTDIR=" #$output)
+                #$(string-append "CC=" (cc-for-target)))))
+      (native-inputs
+       (list pkg-config))
+      (inputs
+       (list giflib
+             libjpeg-turbo
+             libx11
+             libxcomposite
+             libxdamage
+             libxext
+             libxft
+             libxinerama))
+      (home-page "https://github.com/richardgv/skippy-xd/")
+      (synopsis "Full-screen Exposé-style standalone task switcher for X11")
+      (description "Skippy-XD is a program that provides Exposé-like features
+such as found on the MacOS X operating system.  It is a standalone application
+for providing a window picker with live previews (including live video) on
+Linux desktops that run an X server with compositing support.  Thus, it is not
+part of the window manager and the compositing is not being used all the
+time.")
+      (license license:gpl2+))))
+
 (define-public xkbset
   (package
     (name "xkbset")
-- 
2.34.0





This bug report was last modified 2 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.