From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add libunique. Date: Sat, 20 Feb 2016 01:18:19 -0500 Message-ID: <20160220061819.GA9556@jasmine> References: <1455912644-25342-1-git-send-email-fhmgufs@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX0s5-0006Hw-FK for guix-devel@gnu.org; Sat, 20 Feb 2016 01:18:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX0s2-0007mF-8x for guix-devel@gnu.org; Sat, 20 Feb 2016 01:18:25 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX0s2-0007lx-2H for guix-devel@gnu.org; Sat, 20 Feb 2016 01:18:22 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C524C203CA for ; Sat, 20 Feb 2016 01:18:21 -0500 (EST) Content-Disposition: inline In-Reply-To: <1455912644-25342-1-git-send-email-fhmgufs@web.de> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Fabian Harfert Cc: guix-devel@gnu.org On Fri, Feb 19, 2016 at 09:10:44PM +0100, Fabian Harfert wrote: Thanks for the patch! > * gnu/packages/patches/libunique-gdbus.patch: New file. > * gnu/packages/patches/libunique-remove-G_CONST_RETURN.patch: New file. Can you give the context of these patches? I see there are newer versions available: https://git.gnome.org/browse/unique/log/ Perhaps a more recent release would not require the patches? In any case, remember you have to register the patches in gnu_system.am (dist_patch_DATA). There's a recent example in 4e58a402. > * gnu/packages/glib.scm (libunique): New variable. [...] > + (synopsis "Library for writing single instance application") How about "Library for writing single instance applications"? > + (description > + "Libunique is library providing a mechanism to allow only one running > +instance of an application.") I think we should steal Debian's description: "Libunique is a library for writing single instance application. 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 applications, 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." https://packages.debian.org/stretch/libunique-3.0-0 [...]