[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41134] [PATCH 2/2] gnu: Add libappindicator.
From: |
Pierre Neidhardt |
Subject: |
[bug#41134] [PATCH 2/2] gnu: Add libappindicator. |
Date: |
Fri, 08 May 2020 08:42:52 +0200 |
* 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
signature.asc
Description: PGP signature
0002-gnu-Add-libappindicator.patch
Description: Text Data
- [bug#41134] [PATCH 1/2] gnu: Add libindicator., Pierre Neidhardt, 2020/05/08
- Message not available
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator.,
Pierre Neidhardt <=
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Pierre Neidhardt, 2020/05/08
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Nicolò Balzarotti, 2020/05/11
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Pierre Neidhardt, 2020/05/11
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Raghav Gururajan, 2020/05/11
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Nicolò Balzarotti, 2020/05/11
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Raghav Gururajan, 2020/05/11
- [bug#41134] [PATCH 2/2] gnu: Add libappindicator., Pierre Neidhardt, 2020/05/14
[bug#41134] LibAppIndicator, Raghav Gururajan, 2020/05/11