unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 41134@debbugs.gnu.org
Subject: [bug#41134] [PATCH 1/2] gnu: Add libindicator.
Date: Fri, 08 May 2020 08:34:13 +0200	[thread overview]
Message-ID: <87o8qzszoa.fsf@ambrevar.xyz> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 142 bytes --]

Sent this patch 24 hours ago with git-sendemail.  Nothing showed up.
Trying again manually.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-libindicator.patch --]
[-- Type: text/x-patch, Size: 2359 bytes --]

From 9520260642783cb3a16dac844221260ccb666c41 Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
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


             reply	other threads:[~2020-05-08  6:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08  6:34 Pierre Neidhardt [this message]
     [not found] ` <handler.41134.B.158891966521951.ack@debbugs.gnu.org>
2020-05-08  6:42   ` [bug#41134] [PATCH 2/2] gnu: Add libappindicator Pierre Neidhardt
2020-05-11 11:46     ` Nicolò Balzarotti
2020-05-11 12:14       ` Pierre Neidhardt
2020-05-11 14:18         ` Raghav Gururajan
2020-05-11 15:07           ` Nicolò Balzarotti
2020-05-11 15:10             ` Raghav Gururajan
2020-05-14 17:14               ` Pierre Neidhardt
2020-05-11 11:38 ` [bug#41134] LibAppIndicator Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8qzszoa.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=41134@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).