unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add libunique.
Date: Wed, 17 Aug 2016 09:52:40 +0000	[thread overview]
Message-ID: <87d1l73eon.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <20160816194503.GA19955@jasmine>

Leo Famulari <leo@famulari.name> writes:

> On Mon, Aug 15, 2016 at 11:33:26PM +0000, ng0 wrote:
>> Leo Famulari <leo@famulari.name> writes:
>> > Is this package required by something else that we are working on? What
>> > is the use case?
>> 
>> (gnunet-gtk):
>> 
>>     (arguments
>>          `(#:configure-flags
>>                 (list "--without-libunique"
>
> Okay, then I think we should add the package with a comment that says
> it's unmaintained. What do you think of the attached patch?

Looks good to me. This way if some old application should require
libunique, we have it. I'll also ask about libunique at gnunet-devel
list with some other applications I need to question. As far as I
understand Christian, they want to avoid external dependencies where
possible. A ifcase for gnunet-gtk is in the HEAD of gnunet-gtk.

Thanks

> From fa8fbd899756cf948da23e9a29d92a5f48d4eb1c Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Wed, 3 Aug 2016 08:18:14 +0000
> Subject: [PATCH] gnu: Add libunique.
>
> * gnu/packages/gnome.scm (libunique): New variable.
>
> Signed-off-by: Leo Famulari <leo@famulari.name>
> ---
>  gnu/packages/gnome.scm | 40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 4a0be01..b094c30 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -5420,3 +5420,43 @@ GLib/GObject code.")
>       "Libgnomekbd is a keyboard configuration library for the GNOME desktop
>  environment, which can notably display keyboard layouts.")
>      (license license:lgpl2.0+)))
> +
> +;;; This package is no longer maintained:
> +;;; https://wiki.gnome.org/Attic/LibUnique
> +;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
> +;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
> +(define-public libunique
> +  (package
> +    (name "libunique")
> +    (version "3.0.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://gnome/sources/" name "/"
> +                                  (version-major+minor version)  "/"
> +                                  name "-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
> +    (build-system glib-or-gtk-build-system)
> +    (arguments
> +     `(#:configure-flags '("--disable-static"
> +                           "--disable-dbus" ; use gdbus
> +                           "--enable-introspection")))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("gobject-introspection" ,gobject-introspection)
> +       ("glib:bin" ,glib "bin")
> +       ("gtk-doc" ,gtk-doc)))
> +    (propagated-inputs
> +     ;; Referred to in .h files and .pc.
> +     `(("gtk+" ,gtk+)))
> +    (home-page "https://wiki.gnome.org/Attic/LibUnique")
> +    (synopsis "Library for writing single instance applications")
> +    (description
> +     "Libunique is a library for writing single instance applications.  If you
> +launch a single instance application twice, the second instance will either just
> +quit or will send a message to the running instance.  Libunique makes it easy to
> +write this kind of application, by providing a base class, taking care of all
> +the IPC machinery needed to send messages to a running instance, and also
> +handling the startup notification side.")
> +    (license license:lgpl2.1+)))
> -- 
> 2.9.3
>

-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org

  reply	other threads:[~2016-08-17  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 20:10 [PATCH] gnu: Add libunique Fabian Harfert
2016-02-20  6:18 ` Leo Famulari
2016-08-01 14:46   ` ng0
2016-08-03 14:47   ` ng0
2016-08-03 15:57     ` ng0
2016-08-05 18:44       ` ng0
2016-08-15 18:03         ` Leo Famulari
2016-08-15 23:33           ` ng0
2016-08-16 19:45             ` Leo Famulari
2016-08-17  9:52               ` ng0 [this message]
2016-08-19 22:51                 ` Leo Famulari
2016-08-20  9:36                   ` ng0
2016-08-22 14:16                     ` ng0
2016-08-22 19:47                       ` Leo Famulari
  -- strict thread matches above, loose matches on Subject: below --
2016-02-19 19:14 Fabian Harfert

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=87d1l73eon.fsf@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /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).