unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gnunet-guile reboot & guix
@ 2018-01-12 21:23 Amirouche Boubekki
  2018-01-13  0:49 ` ng0
  2018-01-13 21:31 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Amirouche Boubekki @ 2018-01-12 21:23 UTC (permalink / raw)
  To: Gnunet Developers, Guix Devel

Héllo all,

I restarted from scratch the gnunet-guile bindings. It was made
much easier thanks to the work of ng0 on gnunet documentation and
guile-bytestructures to handle C structs and unions.

You need guix from today with latest guile-bytestructures 1.0.1.

You can get the code using the following command:

    git clone git://gnunet.org/gnunet-guile2.git

You can install a recent-ish gnunet using the following command:

   guix package -f guix.scm

Then, you can do usual cli dance:

   ./bootstrap && ./configure && make

Ahem, now it's time to run gnunet services. I put together
gnunet configuration that might not be very good even if it
works. For instance, it seems like gnunet manages to reach
the outside world. It's based on configuration files found
in gnunet distribution:

   gnunet-arm -c etc/p2.conf -s

At this point you will be able to test the bindings.

To publish a FILE, use the following command:

   ./pre-inst-env ./gnunet-guile publish etc/p2.conf FILE

To download the above file into OUT, you need to copy paste
the gnunet:// URI from the previous command output and execute
the following command:

   ./pre-inst-env ./gnunet-guile download etc/p2.conf URI OUT

That is all!

There is no support for identity and various stuff are missing.
There might be memory leaks and other issues (like proper disjoint
types for pointers). I just finished the code.

I think I need to know what's the plan/design for gnunet/guix
integration to continue.


TIA!

_______________________________________________
GNUnet-developers mailing list
GNUnet-developers@gnu.org
https://lists.gnu.org/mailman/listinfo/gnunet-developers

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

end of thread, other threads:[~2018-01-14  0:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 21:23 gnunet-guile reboot & guix Amirouche Boubekki
2018-01-13  0:49 ` ng0
2018-01-13  9:26   ` Amirouche Boubekki
2018-01-13 11:14     ` ng0
2018-01-13 21:31 ` Ludovic Courtès
2018-01-14  0:45   ` ng0

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).