From patchwork Fri May 8 06:34:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 21922 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 4774927BBE3; Fri, 8 May 2020 07:35:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id EDAB527BBE1 for ; Fri, 8 May 2020 07:35:09 +0100 (BST) Received: from localhost ([::1]:60496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWwbF-0001AG-EA for patchwork@mira.cbaines.net; Fri, 08 May 2020 02:35:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWwb8-00017F-LP for guix-patches@gnu.org; Fri, 08 May 2020 02:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWwb8-0002DW-BW for guix-patches@gnu.org; Fri, 08 May 2020 02:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWwb8-0005ix-87 for guix-patches@gnu.org; Fri, 08 May 2020 02:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41134] [PATCH 1/2] gnu: Add libindicator. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 May 2020 06:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41134@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158891966521951 (code B ref -1); Fri, 08 May 2020 06:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2020 06:34:25 +0000 Received: from localhost ([127.0.0.1]:44462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWwaX-0005hz-6W for submit@debbugs.gnu.org; Fri, 08 May 2020 02:34:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:35116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWwaU-0005hr-PW for submit@debbugs.gnu.org; Fri, 08 May 2020 02:34:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWwaU-000071-7u for guix-patches@gnu.org; Fri, 08 May 2020 02:34:22 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWwaS-0007kQ-4l for guix-patches@gnu.org; Fri, 08 May 2020 02:34:21 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 59B13E0003 for ; Fri, 8 May 2020 06:34:15 +0000 (UTC) From: Pierre Neidhardt Date: Fri, 08 May 2020 08:34:13 +0200 Message-ID: <87o8qzszoa.fsf@ambrevar.xyz> MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 02:34:16 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=1.623, URIBL_SBL_A=0.1 autolearn=_AUTOLEARN X-Spam_action: no action 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 Sent this patch 24 hours ago with git-sendemail. Nothing showed up. Trying again manually. From 9520260642783cb3a16dac844221260ccb666c41 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 7 May 2020 10:57:53 +0200 Subject: [PATCH 1/2] gnu: Add libindicator. * gnu/packages/freedesktop.scm (libindicator): New variable. --- gnu/packages/freedesktop.scm | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 75d0118f83..d88c151df7 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1760,3 +1760,44 @@ that provides a graphical boot animation while the boot process happens in the background. You are not supposed to install this on your own, it is only useful with system integration.") (license license:gpl2+))) + +(define-public libindicator + (package + (name "libindicator") + (version "12.10.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://launchpad.net/libindicator/" + (version-major+minor version) "/" version + "/+download/libindicator-" version ".tar.gz")) + (sha256 + (base32 + "0zs4z7l9b57jldwz0ban77f3c2zq43ambd0dssf5qg9i216f9lmj")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection) + ("glib:bin" ,glib "bin"))) + (inputs + `(("gtk+" ,gtk+) + ("glib" ,glib))) + (arguments + `(#:make-flags '("CFLAGS=-Wno-error=deprecated-declarations") + #:tests? #f ; FIXME: Require the dbus-test-runner package. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-typo + (lambda _ + (substitute* "configure" + (("LIBINDICATOR_LIBS\\+\\=.......") "LIBINDICATOR_LIBS+=\" $LIBM\"")) + (substitute* "tests/Makefile.in" + (("/bin/bash") (which "bash")) + (("/bin/sh") (which "sh"))) + #t))))) + (home-page "https://launchpad.net/libindicator") + (synopsis "Convience functions for desktop indicators") + (description "A set of symbols and convience functions that all indicators +would like to use. Originally from the Ayatana indicators project.") + (license license:gpl3+))) -- 2.25.1 From patchwork Fri May 8 06:42:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 21923 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 5BCB227BBE3; Fri, 8 May 2020 07:44:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id DE8EA27BBE1 for ; Fri, 8 May 2020 07:44:06 +0100 (BST) Received: from localhost ([::1]:35948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWwju-0004B7-GR for patchwork@mira.cbaines.net; Fri, 08 May 2020 02:44:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWwjq-0004Ax-If for guix-patches@gnu.org; Fri, 08 May 2020 02:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWwjq-0001Kn-A1 for guix-patches@gnu.org; Fri, 08 May 2020 02:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWwjq-0005wb-7x for guix-patches@gnu.org; Fri, 08 May 2020 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41134] [PATCH 2/2] gnu: Add libappindicator. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 May 2020 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41134@debbugs.gnu.org Received: via spool by 41134-submit@debbugs.gnu.org id=B41134.158892018222773 (code B ref 41134); Fri, 08 May 2020 06:44:02 +0000 Received: (at 41134) by debbugs.gnu.org; 8 May 2020 06:43:02 +0000 Received: from localhost ([127.0.0.1]:44471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWwis-0005vF-BM for submit@debbugs.gnu.org; Fri, 08 May 2020 02:43:02 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:41885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWwiq-0005ub-Bs for 41134@debbugs.gnu.org; Fri, 08 May 2020 02:43:01 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 21FB760002 for <41134@debbugs.gnu.org>; Fri, 8 May 2020 06:42:52 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: References: <87o8qzszoa.fsf@ambrevar.xyz> Date: Fri, 08 May 2020 08:42:52 +0200 Message-ID: <87lfm3sz9v.fsf@ambrevar.xyz> 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 * gnu/packages/freedesktop.scm (libappindicator): New variable. --- gnu/packages/freedesktop.scm | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) From a82ab4f66aed111c07358a238de3fc1e369799c0 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 7 May 2020 11:24:09 +0200 Subject: [PATCH 2/2] gnu: Add libappindicator. * gnu/packages/freedesktop.scm (libappindicator): New variable. --- gnu/packages/freedesktop.scm | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index d88c151df7..20e4024dfb 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1801,3 +1801,61 @@ useful with system integration.") (description "A set of symbols and convience functions that all indicators would like to use. Originally from the Ayatana indicators project.") (license license:gpl3+))) + +(define-public libappindicator + (package + (name "libappindicator") + (version "12.10.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://launchpad.net/libappindicator/" + (version-major+minor version) "/" version + "/+download/libappindicator-" version ".tar.gz")) + (sha256 + (base32 + "17xlqd60v0zllrxp8bgq3k5a1jkj0svkqn8rzllcyjh8k0gpr46m")))) + (build-system gnu-build-system) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+) + ("dbus-glib" ,dbus-glib) + ("python" ,python-2) + ("python2-pygtk" ,python2-pygtk) + ("python2-pygobject" ,python2-pygobject) + ("libdbusmenu" ,libdbusmenu) + ("libindicator" ,libindicator))) + (arguments + `(#:configure-flags '("--with-gtk=3") + #:make-flags '("CFLAGS=-Wno-error=deprecated-declarations") + #:tests? #f ; FIXME: Require the dbus-test-runner package. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-codegen-path + (lambda _ + (substitute* "configure" + (("PYGTK_CODEGEN=.*") "PYGTK_CODEGEN=pygtk-codegen-2.0\n")) + #t)) + (add-after 'unpack 'disable-fail-on-error + (lambda _ + (substitute* "src/Makefile.in" + (("-Werror") "")) + #t)) + (add-after 'unpack 'fix-test + (lambda _ + (substitute* "tests/Makefile.in" + (("/bin/bash") (which "bash")) + (("/bin/sh") (which "sh"))) + (substitute* "docs/reference/Makefile.in" + (("/bin/sh") (which "sh"))) + #t))))) + (home-page "https://launchpad.net/libappindicator") + (synopsis "Library to export a menu into the system tray") + (description "A library to allow applications to export a menu, originally +into the Unity menu bar. Based on KSNI, it also works in KDE and will +fallback to generic system tray support if none of those are available.") + (license license:gpl3+))) -- 2.25.1