From patchwork Thu Dec 19 09:22:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 16562 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 5C0F917940; Thu, 19 Dec 2019 09:24:09 +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,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 EEB421793E for ; Thu, 19 Dec 2019 09:24:08 +0000 (GMT) Received: from localhost ([::1]:37644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihs2S-0006C4-Hu for patchwork@mira.cbaines.net; Thu, 19 Dec 2019 04:24:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44450) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihs2N-0006BR-G8 for guix-patches@gnu.org; Thu, 19 Dec 2019 04:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihs2M-0003ml-0p for guix-patches@gnu.org; Thu, 19 Dec 2019 04:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihs2L-0003lT-RG for guix-patches@gnu.org; Thu, 19 Dec 2019 04:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihs2L-0007ij-NV for guix-patches@gnu.org; Thu, 19 Dec 2019 04:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38538] [PATCH] gnu: Add gnome-shell-extension-hide-app-icon Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Dec 2019 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38538 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Prikler Cc: 38538@debbugs.gnu.org Received: via spool by 38538-submit@debbugs.gnu.org id=B38538.157674741729645 (code B ref 38538); Thu, 19 Dec 2019 09:24:01 +0000 Received: (at 38538) by debbugs.gnu.org; 19 Dec 2019 09:23:37 +0000 Received: from localhost ([127.0.0.1]:44279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihs1t-0007i1-LJ for submit@debbugs.gnu.org; Thu, 19 Dec 2019 04:23:37 -0500 Received: from flashner.co.il ([178.62.234.194]:50004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihs1r-0007ho-PU for 38538@debbugs.gnu.org; Thu, 19 Dec 2019 04:23:32 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id E69E44018C; Thu, 19 Dec 2019 09:23:25 +0000 (UTC) Date: Thu, 19 Dec 2019 11:22:54 +0200 From: Efraim Flashner Message-ID: <20191219092254.GF917@E5400> References: <20191208201249.5479-1-leo.prikler@student.tugraz.at> <20191219092004.GE917@E5400> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191219092004.GE917@E5400> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.12.2 (2019-09-21) 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 On Thu, Dec 19, 2019 at 11:20:04AM +0200, Efraim Flashner wrote: > What does this need glib and glib:bin for? Is it just for building the > schemas or does it actually need it at runtime? > I also made some changes to the package diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 00ad701ad8..5aa2d292bf 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -151,6 +151,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 ; no test target + #:make-flags (list (string-append "EXTENSIONS_DIR=" + (assoc-ref %outputs "out") + "/share/gnome-shell/extensions")) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (copy-recursively "hide-app-icon@mrapp.sourceforge.com/" + (string-append out "/share/gnome-shell/extensions")) + #t)))))) + (native-inputs + `(("intltool" ,intltool))) + (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")