From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aD4GDa3/tF4aWQAA0tVLHw (envelope-from ) for ; Fri, 08 May 2020 06:43:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oL3bKrn/tF7HFQAAbx9fmQ (envelope-from ) for ; Fri, 08 May 2020 06:44:09 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 63E32940A3C for ; Fri, 8 May 2020 06:44:07 +0000 (UTC) Received: from localhost ([::1]:35948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWwjv-0004B7-6h for larch@yhetil.org; Fri, 08 May 2020 02:44:07 -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 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 2.5 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.5 (+) 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-Scanner: scn0 X-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-3.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49881189988743]; HAS_XOIP(0.00)[]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.10), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[mail@ambrevar.xyz,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[launchpad.net:url,ambrevar.xyz:email]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.20)[multipart/mixed,multipart/signed,text/plain,text/x-patch]; PREVIOUSLY_DELIVERED(0.00)[41134@debbugs.gnu.org]; DMARC_NA(0.00)[ambrevar.xyz]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[78.199.129.170:received]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: RxK8nvFmPs2C --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/freedesktop.scm (libappindicator): New variable. =2D-- 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 =2D-- 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 indica= tors 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=3D3") + #:make-flags '("CFLAGS=3D-Wno-error=3Ddeprecated-declarations") + #:tests? #f ; FIXME: Require the dbus-test-runner pack= age. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-codegen-path + (lambda _ + (substitute* "configure" + (("PYGTK_CODEGEN=3D.*") "PYGTK_CODEGEN=3Dpygtk-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, origin= ally +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+))) =2D-=20 2.25.1 --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl60/2wACgkQm9z0l6S7 zH/jmggApYDvuT68fktHof3P+Ghfyt5Y+Pe+VVMceItCh0M7FH4xPJqtw/m0AG7N 1d52F1PHyTG6ETC42XsRzuXUEnrfqI1StbFIwDuIZHyCfNaErUuIoddGSUYfhZSE XEF3G5koowib9QQ1DNseGnnUaSr3qlYQMdtqifMKZKupViQ16nqufyGZvfuTVbXL CYXGMk3jg7mY/z8ODRLjYJKSzGjttWtH47YMjFM+lW+EVvc6TbMh5S+RklRNLicy no4D2hmsLesoScwFiKXJWPpfbrxJymhGGonbGnKaLxwkCTx5qtJFWiyBnp1Sw6gP QiQu2z0qcDN5cK/ZTdabmPKuOgFvmg== =apd1 -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-libappindicator.patch >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 --=-=-=--