From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add libunique. Date: Tue, 16 Aug 2016 15:45:03 -0400 Message-ID: <20160816194503.GA19955@jasmine> References: <1455912644-25342-1-git-send-email-fhmgufs@web.de> <20160220061819.GA9556@jasmine> <87shulaozs.fsf@we.make.ritual.n0.is> <87fuqldevt.fsf@we.make.ritual.n0.is> <87bn1712e8.fsf@we.make.ritual.n0.is> <20160815180347.GA28120@jasmine> <87bn0thak9.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZkIY-0006bw-Od for guix-devel@gnu.org; Tue, 16 Aug 2016 15:45:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZkIU-0003hF-Jm for guix-devel@gnu.org; Tue, 16 Aug 2016 15:45:17 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZkIT-0003cY-9u for guix-devel@gnu.org; Tue, 16 Aug 2016 15:45:14 -0400 Content-Disposition: inline In-Reply-To: <87bn0thak9.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel@gnu.org --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 15, 2016 at 11:33:26PM +0000, ng0 wrote: > Leo Famulari 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? --AhhlLboLdkugWU4S Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-libunique.patch" >From fa8fbd899756cf948da23e9a29d92a5f48d4eb1c Mon Sep 17 00:00:00 2001 From: ng0 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 --- 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 --AhhlLboLdkugWU4S--