From patchwork Sun Dec 8 20:12:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16436 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 84602177F2; Sun, 8 Dec 2019 20:18:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 26839177E5 for ; Sun, 8 Dec 2019 20:18:11 +0000 (GMT) Received: from localhost ([::1]:33150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie30M-0005uM-Mu for patchwork@mira.cbaines.net; Sun, 08 Dec 2019 15:18:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47456) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie30G-0005sb-Rs for guix-patches@gnu.org; Sun, 08 Dec 2019 15:18:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ie30F-0000dv-2t for guix-patches@gnu.org; Sun, 08 Dec 2019 15:18:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ie30E-0000d9-9M for guix-patches@gnu.org; Sun, 08 Dec 2019 15:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ie30E-0008GY-5H for guix-patches@gnu.org; Sun, 08 Dec 2019 15:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38538] [PATCH] gnu: Add gnome-shell-extension-hide-app-icon Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Dec 2019 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38538 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38538@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157583624631729 (code B ref -1); Sun, 08 Dec 2019 20:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Dec 2019 20:17:26 +0000 Received: from localhost ([127.0.0.1]:52267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie2ze-0008Fh-DP for submit@debbugs.gnu.org; Sun, 08 Dec 2019 15:17:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:43594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie2zb-0008FY-Ta for submit@debbugs.gnu.org; Sun, 08 Dec 2019 15:17:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie2zY-0005kP-Ms for guix-patches@gnu.org; Sun, 08 Dec 2019 15:17:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ie2zV-0006Y7-U2 for guix-patches@gnu.org; Sun, 08 Dec 2019 15:17:19 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:27227) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ie2zU-0006QC-Rt for guix-patches@gnu.org; Sun, 08 Dec 2019 15:17:17 -0500 Received: from localhost.localdomain (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47WHft31BBz1LLyM for ; Sun, 8 Dec 2019 21:17:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47WHft31BBz1LLyM DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1575836230; bh=350GOpQ8tY0YMPG9JMoNtET5VQH65RG3B3uVfPHkEvQ=; h=From:To:Subject:Date:From; b=hCEurUlpc817YPJ41+lk3TlcxDCyWgUtzK1Ts8nElDK5gASJYp/vglRpmx2A+yElY 5eLpsdMhQb9Pt+gPzs3925P+s4fX3DOFEXyeyvqqiOEqxipSKRDQRTaGXFTR/Grw3m mVLMrd48TR51RvFzvY3xmFuIiGuCLEowbToHBvLg= From: Leo Prikler Date: Sun, 8 Dec 2019 21:12:50 +0100 Message-Id: <20191208201249.5479-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/gnome-xyz.scm (gnome-shell-extension-hide-app-icon): New variable. --- gnu/packages/gnome-xyz.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 7c3fb072c0..80870fd25d 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -26,6 +26,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages compression) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -149,6 +150,52 @@ faster window switching.") (home-page "https://micheleg.github.io/dash-to-dock/") (license license:gpl2+))) +(define-public gnome-shell-extension-hide-app-icon + (let ((commit "4188aa5f4ba24901a053a0c3eb0d83baa8625eab") + (revision "0")) + (package + (name "gnome-shell-extension-hide-app-icon") + (version (git-version "2.7" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon.git") + (commit commit))) + (sha256 + (base32 + "1i28n4bz6wrhn07vpxkr6l1ljyn7g8frp5xrr11z3z32h2hxxcd6")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:make-flags (list (string-append "EXTENSIONS_DIR=" + (assoc-ref %outputs "out") + "/share/gnome-shell/extensions")) + #:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (add-before 'install 'prepare-install + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref outputs "out") + "/share/gnome-shell/extensions"))))))) + (native-inputs + `(("intltool" ,intltool) + ("unzip" ,unzip) + ("zip" ,zip))) + (propagated-inputs + `(("glib" ,glib) + ("glib" ,glib "bin"))) + (synopsis "Hide app icon from GNOME's panel") + (description "This extension allows to hide the icon and/or title of the +currently focused application in the top panel of the GNOME shell.") + (home-page "https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon/") + (license + ;; README.md and LICENSE.txt disagree -- the former claims v3, the + ;; latter v2. No mention of "or later" in either place or in the code. + (list license:gpl2 + license:gpl3))))) + (define-public gnome-shell-extension-noannoyance (package (name "gnome-shell-extension-noannoyance")