From 3b20856c29dc559dc046cd267428b0bd771a7efb Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 30 Jul 2016 15:04:24 +0000 Subject: [PATCH 2/3] gnu: Add gnunet-gtk-svn. * gnu/packages/gnunet.scm (gnunet-gtk-svn): New variable. --- gnu/packages/gnunet.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 25ac073..a3f34ea 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -412,3 +412,50 @@ an application for secure publication of files, it has grown to include all kinds of basic applications for the foundation of a GNU internet.") (license license:gpl3+) (home-page "https://gnunet.org/")))) + +(define-public gnunet-gtk-svn + (let ((svn-revision 37273)) + (package + (inherit gnunet-svn) + (name "gnunet-gtk-svn") + (version (package-version gnunet-svn)) + (source + (origin + (method svn-fetch) + (uri (svn-reference + (url "https://gnunet.org/svn/gnunet-gtk/") + (revision svn-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1mckc5aq05wpbvb8mbm0llkhavb0j2f496l73zaapdy3ndyhai8j")))) + (arguments + `(#:configure-flags + (list "--without-libunique" + "--with-qrencode" + (string-append "--with-gnunet=" + (assoc-ref %build-inputs "gnunet-svn"))) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'bootstrap + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (inputs + `(("gnunet-svn" ,gnunet-svn) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gnutls" ,gnutls) + ("libgcrypt" ,libgcrypt) + ("gtk+" ,gtk+) + ("libextractor" ,libextractor) + ("glade3" ,glade3) + ("qrencode" ,qrencode))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libglade" ,libglade) + ("autoconf" ,autoconf) + ("gnu-gettext" ,gnu-gettext) + ("automake" ,automake) + ("libtool" ,libtool))) + (synopsis "Graphical front-end tools for GNUnet") + (home-page "https://gnunet.org")))) + -- 2.9.2