From 41a4b5b4f7c3cfc4bd2afedc0da9b256eca7b16b Mon Sep 17 00:00:00 2001 From: Ni* Gillmann Date: Wed, 13 Jan 2016 18:36:31 +0100 Subject: [PATCH] gnu/packages/gnunet gnunet-gtk added This is the most recent, almost building commit of gnunet-gtk Compare to https://notabug.org/anonymiss/libertad-overlay/src/master/net-misc for a building version (ebuild, on gentoo) and requirements. This patch tries to build and work with the guix provided version of gladeui, in its current state it fails and I want other people with more experience in the guix ecosystem to finish it. --- gnu/packages/gnunet.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 11e5aa8..91bbe1f 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014 Sree Harsha Totakura ;;; Copyright © 2015 Ludovic Courtès ;;; Copyright © 2015 Efraim Flashner +;;; Copyright © 2016 Ni* Gillmann ;;; ;;; This file is part of GNU Guix. ;;; @@ -286,3 +287,41 @@ GNUnet services, including the @dfn{identity} and @dfn{file sharing} services.") (home-page "http://gnu.org/software/guix") (license license:gpl3+)))) + +(define-public gnunet-gtk + (package + (name "gnunet-gtk") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gnunet/gnunet-gtk-" version + ".tar.gz")) + (sha256 + (base32 + "1p38k1s6a2fmcfc9a7cf1zrdycm9h06kqdyand4s3k500nj6mb4g")))) + (build-system gnu-build-system) + (inputs + `(("gnunet" ,gnunet) + ("gtk+" ,gtk+-2) + ("libextractor" ,libextractor) + ("glade3" ,glade3) + ("qrencode" ,qrencode))) + ;;("libunique" ,libunique) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libglade" ,libglade))) + (arguments + `(#:configure-flags '("--without-libunique" "--with-gtk+-2" + "--with-gnunet=/usr" "--with-qrencode") + %standard-phases)) + (synopsis "Graphical front-end tools for GNUnet") + (description + "Gnunet-gtk provides the gnunet-setup tool. Gnunet-setup can be used to +configure and test the network settings, choose which applications should be +run and configure databases. Other options include system-limitations +such as disk space consumption, bandwidth, etc. The resulting configuration +files are human-readable and can theoretically be created or edited by hand. +For more information, read https://gnunet.org/svn/gnunet-gtk/README") + (license license:gpl3+) + (home-page "https://gnunet.org/"))) -- 2.6.3