From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cF3mMoxPSGPc8gAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 19:49:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id TabCMYxPSGPYCgAAG6o9tA (envelope-from ) for ; Thu, 13 Oct 2022 19:49:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9DD1846C23 for ; Thu, 13 Oct 2022 19:49:00 +0200 (CEST) Received: from localhost ([::1]:40120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj2KI-0001uC-SY for larch@yhetil.org; Thu, 13 Oct 2022 13:48:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj2JP-0001Ny-1s for guix-patches@gnu.org; Thu, 13 Oct 2022 13:48:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj2JO-000246-Lh for guix-patches@gnu.org; Thu, 13 Oct 2022 13:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj2JO-0000Mm-EM for guix-patches@gnu.org; Thu, 13 Oct 2022 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58500] [PATCH] gnu: add rofi-wayland Resent-From: florhizome@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58500 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58500@debbugs.gnu.org Cc: florhizome X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16656832301203 (code B ref -1); Thu, 13 Oct 2022 17:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 17:47:10 +0000 Received: from localhost ([127.0.0.1]:34873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj2IU-0000JC-Iv for submit@debbugs.gnu.org; Thu, 13 Oct 2022 13:47:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:52712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj02m-0004cd-Ez for submit@debbugs.gnu.org; Thu, 13 Oct 2022 11:22:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj02m-00078z-3X for guix-patches@gnu.org; Thu, 13 Oct 2022 11:22:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj02k-0002j6-0b for guix-patches@gnu.org; Thu, 13 Oct 2022 11:22:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A37D1240101 for ; Thu, 13 Oct 2022 17:22:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665674559; bh=JnnAgT8VmVWVxwhiqqXpkgxuoRC3phY92DPvriXjsQE=; h=From:To:Cc:Subject:Date:From; b=JDsRRIpeKSEolCAQYSzy8yUs44TYopHCeuQUizlUIX52aN/GtyTwXpGiEHKG00zbB QGfNUJpUShsxcv/2ZxO7DXCbLKeYKY6++G9ed2txlCHDf443UReCVXElgXp7ZJ3m58 sh8stcXsCcfeK/Z9dRtemURCdeuymIn6Y+rNm4hjoLhKacoQONKN6ZHSoZ+HnaZWeC /2pG6qfqPVjWRb7DS8kXLI+3RQfIc/b1in9eZzuQbwDY/S5R6X8syPD6g1b3C9oiH9 UhymDi9wTqPZ3e5MX+LqqHzBOIdU9KDPwZI7JqEzNR5CELngNzU8xhbaEMy2oA+RrC 2icJZPCcniAPw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MpCv30zxDz6tnM; Thu, 13 Oct 2022 17:22:38 +0200 (CEST) From: florhizome@posteo.net Date: Thu, 13 Oct 2022 15:22:35 +0000 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=florhizome@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 13 Oct 2022 13:46:57 -0400 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665683340; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IDg9ydqwcTna4IcHIo4OoRYw7ERs/anZvK7ie2eAt9U=; b=Om3yJry1lSZlhDHs8bLLt4SrVmgHQchCgI/gCCM01NnMm6Tbnxije8nLVzrrl/hU9/JiRM yaI3J3cOHCrwNhhWo1y0mPLEidYiVF7F6HPTE2J+cNkU8nUzidd0EHR8UsB/VvZiTV9wNQ rfoPR7mWgRRzHeY2cLHCQ+KM4i0Bl0M/Oo0iHYZWrg3r+1gF1nVYUHWdEbXidODDLURswf rZv00CmFinMXoGLUjLak+ioiTqntf3xML6De+dawuZ21+XFP7K7+c0fZgQeGQz3whkzCHL pwh4RW0g35z9XyX7UN2mpRFWGOBHojM+HDxGuscL96U81RnOUhlB8jFDpR/ATg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665683340; a=rsa-sha256; cv=none; b=gdzyp98B+aSAD7kmTlVdXLKQU3pwJVftgCXWfjnYMrMNrwrdqDFCfdsPJgDfcMGl4ubHq+ 0C6CalNz8hUh0DemwYkoUecNdEs/WAxDfmCgNwsi31xiBPkAYFTJXd7chbrXbpDe5f7VWQ suUt50Pi+9dET9spAPbTy0Zfiq4V9m929sQBALfDXcwwhvCMMv0Lude69FjKcwX9zFhrms g47O9pf6q9nL4NhX2QJfDmBvLO9aCRawz0V4KTnV82xb1/N6jS8UA6n30otucK8eTsj5So m24vgCEpgRf+duaeLC2G5C9jKABgqnDJg0T18yUZjGrnOBNSS3YaMeWc0KctzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JDsRRIpe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JDsRRIpe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9DD1846C23 X-Spam-Score: 7.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: QX+EEdpKPiJH From: florhizome This adds a wayland compatible fork of rofi. --- gnu/packages/xdisorg.scm | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 2533744633..2dbee6f7b6 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1860,6 +1860,52 @@ (define-public rofi by name.") (license license:expat))) +(define-public rofi-wayland + (package + (inherit rofi) + (name "rofi-wayland") + (version "1.7.5") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/lbonn/rofi") + (commit + (string-append version "+wayland1")) + (recursive? #t))) + (sha256 + (base32 "0d2h1ys05sixwf508b3cqaailjibh56009cnjz809akgndbqplkm")) + (file-name (git-file-name name version)))) + (build-system meson-build-system) + (arguments + (list #:tests? #f ;;last test fails + #:parallel-tests? #f ; fails in some circumstances + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'adjust-tests + (lambda _ + (substitute* '("test/helper-expand.c") + (("~root") "/root") + (("~") "") + (("g_get_home_dir \\(\\)") "\"/\""))))))) + (inputs (modify-inputs + (package-inputs rofi) + (append wayland-protocols gdk-pixbuf wayland))) + (synopsis "Rofi fork that's wayland-ready") + (description "This is a fork of Rofi with added support for Wayland via the + layer shell protocol. +Differences with rofi (in wayland mode): +@itemize +@item native window selection mode when running under Wayland. +@item -normal-window flag in Wayland mode. +@item selecting which monitor to run rofi on in Wayland mode, + rofi only shows up on the currently focused monitor +@item some window locations parameters work partially, x-offset + and y-offset are only working from screen edges +@item some X11-specific options like -dpi or fake transparency +@end itemize"))) + (define-public rofi-calc (package (name "rofi-calc") base-commit: 86ec52f66735b122b9035eba56516fd16f3be958 prerequisite-patch-id: 253e1cc8278ab9981294f4e483c7b29a466672d9 prerequisite-patch-id: fb797b9fdd73d1c18cba5dbd5804396d333f13df -- 2.38.0