From patchwork Sat Jan 15 21:15:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 36400 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7662327BBEA; Sat, 15 Jan 2022 21:16:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 14E6327BBE9 for ; Sat, 15 Jan 2022 21:16:19 +0000 (GMT) Received: from localhost ([::1]:37218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8qPK-0007iU-4F for patchwork@mira.cbaines.net; Sat, 15 Jan 2022 16:16:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8qP4-0007i4-PR for guix-patches@gnu.org; Sat, 15 Jan 2022 16:16:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8qP4-0006xu-G7 for guix-patches@gnu.org; Sat, 15 Jan 2022 16:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8qP4-0004VV-8v for guix-patches@gnu.org; Sat, 15 Jan 2022 16:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52114] [PATCH] gnu: Add skippy-xd Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jan 2022 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52114 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jaft Cc: 52114@debbugs.gnu.org Received: via spool by 52114-submit@debbugs.gnu.org id=B52114.164228135317305 (code B ref 52114); Sat, 15 Jan 2022 21:16:02 +0000 Received: (at 52114) by debbugs.gnu.org; 15 Jan 2022 21:15:53 +0000 Received: from localhost ([127.0.0.1]:42058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qOu-0004V3-K7 for submit@debbugs.gnu.org; Sat, 15 Jan 2022 16:15:52 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:59679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qOq-0004Uj-U5 for 52114@debbugs.gnu.org; Sat, 15 Jan 2022 16:15:52 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 0B4D2100006; Sat, 15 Jan 2022 21:15:41 +0000 (UTC) From: Nicolas Goaziou References: <232900025.5494378.1637869381492.ref@mail.yahoo.com> Date: Sat, 15 Jan 2022 22:15:41 +0100 In-Reply-To: (Jaft's message of "Thu, 25 Nov 2021 19:43:01 +0000 (UTC)") Message-ID: <87wnj01z0i.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Jaft 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, From 8fb2644d64589e776c8142451ebf2dda164dbae0 Mon Sep 17 00:00:00 2001 Message-Id: <8fb2644d64589e776c8142451ebf2dda164dbae0.1642281003.git.mail@nicolasgoaziou.fr> From: Jaft Date: Sat, 15 Jan 2022 22:09:25 +0100 Subject: [PATCH] gnu: Add skippy-xd. * gnu/packages/xdisorg.scm (skippy-xd): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/xdisorg.scm | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 74a6ea38b8..828089b7c0 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -52,6 +52,7 @@ ;;; Copyright © 2021 ikasero ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 jgart +;;; Copyright © 2021 Wamm K. D. ;;; ;;; This file is part of GNU Guix. ;;; @@ -77,6 +78,7 @@ (define-module (gnu packages xdisorg) #:use-module (guix build-system python) #:use-module (guix build-system scons) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix hg-download) #:use-module ((guix licenses) #:prefix license:) @@ -2920,6 +2922,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