unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnunet.scm -> various changes (description update, adds gnunet-svn, gnunet-gtk-svn, gnurl)
@ 2016-03-11 16:39 Nils Gillmann
  2016-03-13 21:47 ` Ludovic Courtès
                   ` (7 more replies)
  0 siblings, 8 replies; 42+ messages in thread
From: Nils Gillmann @ 2016-03-11 16:39 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Sorry for squeezing it all into one commit that's all I know
right now, tested and everything works. open bug preceeding this
is to get input from people to fix twm integration.


[-- Attachment #2: 0001-gnu-gnunet-Various-Changes.patch --]
[-- Type: text/x-patch, Size: 9299 bytes --]

From 867bf5c7418d2caaf51414afe46df4b3e3b8b058 Mon Sep 17 00:00:00 2001
From: Nils Gillmann <niasterisk@grrlz.net>
Date: Fri, 11 Mar 2016 17:08:26 +0100
Subject: [PATCH] gnu: gnunet (Various Changes)

* gnu/packages/gnunet.scm:
  Add gnunet-svn (New Variable)
  Add gnunet-gtk-svn (Likewise)
  gnunet-gtk: (#configure-flags: add --with-gnunet)
  gnurl: (#configure-flags: add --with-ca-path)
above co-authored by Jookia

  gnunet: Update and make description more accessible
  gnunet-gtk-svn: track bug #22985
---
 gnu/packages/gnunet.scm | 167 ++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 154 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index eb0c4cb..e2919e4 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -3,8 +3,9 @@
 ;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016 Ni* Gillmann <ng@niasterisk.space>
+;;; Copyright © 2016 Nils Gillmann <niasterisk@grrlz.net>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Jookia <166291@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -53,6 +54,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix svn-download)
   #:use-module (guix build-system gnu))
 
 (define-public libextractor
@@ -178,7 +180,7 @@ and support for SSL3 and TLS.")
                           "--disable-ldap" "--disable-rtsp" "--disable-dict"
                           "--disable-telnet" "--disable-tftp" "--disable-pop3"
                           "--disable-imap" "--disable-smtp" "--disable-gopher"
-                          "--disable-file" "--disable-ftp")
+                          "--disable-file" "--disable-ftp" "--with-ca-path=/etc/ssl/certs/")
      #:test-target "test"
      #:parallel-tests? #f
      ;; We have to patch runtests.pl in tests/ directory
@@ -251,15 +253,17 @@ supports HTTPS, HTTPS and GnuTLS.")
            'check
            %standard-phases)))))
    (synopsis "Secure, decentralized, peer-to-peer networking framework")
-   (description
-    "GNUnet is a framework for secure peer-to-peer networking that does not
-use any centralized or otherwise trusted services.  Our high-level goal is to
-provide a strong free software foundation for a global network that provides
-security and privacy.  GNUnet started with an idea for anonymous
-censorship-resistant file-sharing, but has grown to incorporate other
-applications as well as many generic building blocks for secure networking
-applications.  In particular, GNUnet now includes the GNU Name System, a
-privacy-preserving, decentralized public key infrastructure.")
+   (description "GNUnet is a framework for secure, distributed, peer-to-peer
+networking.  The high-level goal is to provide a strong foundation of free
+software for a global, distributed network which provides security and
+privacy.  GNUnet in that sense aims to replace the current internet protocol
+stack.  Along with an application for secure publication of files, it has
+grown to include all kinds of basic applications for the foundation of a GNU
+internet.
+
+gnunet-0.10.1 is the last stable release candidate, however for
+development purposes and keeping up with latest changes, the SVN version
+might be preferable until a new version is released.")
    (license license:gpl3+)
    (home-page "https://gnunet.org/")))
 
@@ -313,7 +317,9 @@ services.")
     (arguments
      `(#:configure-flags
        (list "--without-libunique"
-             "--with-qrencode")))
+             "--with-qrencode"
+             (string-append "--with-gnunet="
+                            (assoc-ref %build-inputs "gnunet")))))
     (inputs
      `(("gnunet" ,gnunet)
        ("libgcrypt" ,libgcrypt)
@@ -324,4 +330,139 @@ services.")
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("libglade" ,libglade)))
-    (synopsis "Graphical front-end tools for GNUnet")))
+    (synopsis "Graphical front-end tools for GNUnet")
+    (home-page "https://gnunet.org")))
+
+;; We provide SVN in addition to the older 0.10.1 version,
+;; protocol and API compatibility will be broken when GNUnet bug #4165
+;; is fixed.
+(define-public gnunet-svn
+  (package
+    (name "gnunet-svn")
+    (version "0.10.1.svn36926")
+    (source
+     (origin
+       (method svn-fetch)
+       (uri (svn-reference
+             (url "https://gnunet.org/svn/gnunet/")
+             (revision 36926)))
+       (file-name (string-append name "-" version "-checkout"))
+       (sha256 (base32
+                "0wgmvxcazcws38zpky566rgssqbbmr72z96xdwia73vsy7ysy6h4"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("glpk" ,glpk)
+       ("gnurl" ,gnurl)
+       ("gstreamer" ,gstreamer)
+       ("gst-plugins-base" ,gst-plugins-base)
+       ("gnutls" ,gnutls)
+       ("libextractor" ,libextractor)
+       ("libgcrypt" ,libgcrypt)
+       ("libidn" ,libidn)
+       ("libmicrohttpd" ,libmicrohttpd)
+       ("libltdl" ,libltdl)
+       ("libunistring" ,libunistring)
+       ("openssl" ,openssl)
+       ("opus" ,opus)
+       ("pulseaudio" ,pulseaudio)
+       ("sqlite" ,sqlite)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("gettext" ,gnu-gettext)
+       ("libtool" ,libtool)
+       ("python" ,python-2)))
+    (arguments
+     '(#:configure-flags
+       (list (string-append "--with-nssdir=" %output "/lib"))
+       #:parallel-tests? #f
+       ;; test_gnunet_service_arm fails; reported upstream
+       #:tests? #f
+       #:phases
+       ;; swap check and install phases and set paths to installed binaries
+       (alist-cons-after
+        'patch-bin-sh 'bootstrap
+        (lambda _ (zero? (system* (which "sh") "./bootstrap")))
+        (alist-cons-after
+         'unpack 'patch-bin-sh
+         (lambda _
+           (and
+            (substitute*
+                '("bootstrap")
+              (("contrib/pogen.sh") "sh contrib/pogen.sh"))
+            (for-each (lambda (f) (chmod f #o755))
+                      (find-files "po" ""))))
+         (alist-cons-before
+          'check 'set-path-for-check
+          (lambda* (#:key outputs #:allow-other-keys)
+            (let ((out (assoc-ref outputs "out")))
+              (setenv "GNUNET_PREFIX" (string-append out "/lib"))
+              (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))))
+          (alist-cons-after
+           'install 'check
+           (assoc-ref %standard-phases 'check)
+           (alist-delete
+            'check
+            %standard-phases)))))))
+    (synopsis "Secure, decentralized, peer-to-peer networking framework")
+    (description "GNUnet is a framework for secure, distributed, peer-to-peer
+networking.  The high-level goal is to provide a strong foundation of free
+software for a global, distributed network which provides security and
+privacy.  GNUnet in that sense aims to replace the current internet protocol
+stack.  Along with an application for secure publication of files, it has
+grown to include all kinds of basic applications for the foundation of a GNU
+internet.
+
+gnunet-0.10.1 is the last stable release candidate, however for
+development purposes and keeping up with latest changes, the SVN version
+might be preferable until a new version is released.")
+    (license license:gpl3+)
+    (home-page "https://gnunet.org/")))
+
+;; current WM related bug being traced:
+;; #22985: using gnune-gtk with ratpoison (gnunet-fs in -gtk
+;; nonfunctional) -> needs participation and input)
+(define-public gnunet-gtk-svn
+  (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 36926)))
+       (file-name (string-append name "-" version "-checkout"))
+       (sha256 (base32
+                "0kbxgfv08kh69vcrkvm23d2vggyww48h9cvgw4gdfs3i146zkfqb"))))
+    (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)
+       ("gettext" ,gnu-gettext)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
+    (synopsis "Graphical front-end tools for GNUnet")
+    (home-page "https://gnunet.org")))
-- 
2.6.3


[-- Attachment #3: Type: text/plain, Size: 137 bytes --]


thanks for your patience and reading,
-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en

^ permalink raw reply related	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2016-03-31 22:25 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 16:39 [PATCH] gnunet.scm -> various changes (description update, adds gnunet-svn, gnunet-gtk-svn, gnurl) Nils Gillmann
2016-03-13 21:47 ` Ludovic Courtès
2016-03-14  9:12   ` Nils Gillmann
2016-03-15 15:56     ` Ludovic Courtès
2016-03-15 16:55       ` Nils Gillmann
2016-03-22 11:31       ` Nils Gillmann
2016-03-24 12:39 ` Nils Gillmann
2016-03-28 14:11 ` Nils Gillmann
2016-03-28 15:23 ` [PATCH 1] gnurl (was Re: [PATCH] gnunet.scm -> various changes (description update, adds gnunet-svn, gnunet-gtk-svn, gnurl)) Nils Gillmann
2016-03-28 16:26   ` Leo Famulari
2016-03-28 17:38     ` Nils Gillmann
2016-03-30 23:38       ` Nils Gillmann
2016-03-28 15:43 ` [PATCH 2] gnunet: description " Nils Gillmann
2016-03-28 16:46   ` Leo Famulari
2016-03-28 17:40     ` Nils Gillmann
2016-03-30 21:37       ` Ludovic Courtès
2016-03-30 23:02         ` Nils Gillmann
2016-03-31  6:24           ` Efraim Flashner
2016-03-31  8:30           ` Ludovic Courtès
2016-03-31  8:43             ` Nils Gillmann
2016-03-31 21:28               ` Ludovic Courtès
2016-03-31 22:23                 ` Nils Gillmann
2016-03-28 15:57 ` [PATCH 3] gnunet-gtk build-input, homepage " Nils Gillmann
2016-03-28 16:30   ` Leo Famulari
2016-03-28 17:42     ` Nils Gillmann
2016-03-29 20:03       ` Leo Famulari
2016-03-31  0:06         ` Nils Gillmann
2016-03-29 17:24   ` Efraim Flashner
2016-03-28 16:07 ` [PATCH 3] gnunet-svn " Nils Gillmann
2016-03-28 16:43   ` Leo Famulari
2016-03-28 17:49     ` Nils Gillmann
2016-03-29  0:05       ` Jookia
2016-03-29  7:20         ` Nils Gillmann
2016-03-29 20:01       ` Leo Famulari
2016-03-30 22:48         ` Nils Gillmann
2016-03-31  6:28           ` Efraim Flashner
2016-03-28 17:54     ` Nils Gillmann
2016-03-28 16:17 ` [PATCH 4] gnunet-gtk-svn " Nils Gillmann
2016-03-28 16:45   ` Leo Famulari
2016-03-29 18:17     ` Efraim Flashner
2016-03-29 19:30       ` Nils Gillmann
2016-03-30 22:38     ` Nils Gillmann

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).