From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add libunique. Date: Wed, 03 Aug 2016 14:47:19 +0000 Message-ID: <87shulaozs.fsf@we.make.ritual.n0.is> References: <1455912644-25342-1-git-send-email-fhmgufs@web.de> <20160220061819.GA9556@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxS9-0003z3-HJ for guix-devel@gnu.org; Wed, 03 Aug 2016 10:47:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUxS7-0007Jw-7S for guix-devel@gnu.org; Wed, 03 Aug 2016 10:47:24 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:48983 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxS6-0007JL-Ri for guix-devel@gnu.org; Wed, 03 Aug 2016 10:47:23 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 691a8753 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Wed, 3 Aug 2016 14:47:20 +0000 (UTC) In-Reply-To: <20160220061819.GA9556@jasmine> 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain I gave this a try, loosely based on the patch for the older version I created a patch for the the more current version of libunique. Maybe someone has input on the errors or what to add/change, I am working on other things in parallel. Thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-libunique.patch >From 162c92ef3ddbd635462157c8900dc4edbe43e817 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. --- gnu/packages/gnome.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2038f8f..9df26ee 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5420,3 +5420,40 @@ GLib/GObject code.") "Libgnomekbd is a keyboard configuration library for the GNOME desktop environment, which can notably display keyboard layouts.") (license license:lgpl2.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 gnu-build-system) + (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 application") + (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.") + (license license:lgpl2.1+))) -- 2.9.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Error output follows in next message. -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org --=-=-=--