GNU bug report logs -
#41134
[PATCH 1/2] gnu: Add libindicator.
Previous Next
Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>
Date: Fri, 8 May 2020 06:35:02 UTC
Severity: normal
Tags: patch
Done: Pierre Neidhardt <mail <at> ambrevar.xyz>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
* 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 (application/pgp-signature, inline)]
[0002-gnu-Add-libappindicator.patch (text/x-patch, attachment)]
This bug report was last modified 5 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.