guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnunet-gtk, gnome (glade3-3.18)


From: anonymiss
Subject: [PATCH] gnunet-gtk, gnome (glade3-3.18)
Date: Thu, 17 Dec 2015 16:10:15 +0100

I feel like the amount of things I am learning and working on at the
same time doesn't give me enough time to debug the 2 recipes I have for
gnunet-gtk now with the same quality I would want to see in patches I
want to release.

Because I feel it needs to be released and I think there are some
capable people here who might fix it, I am creating the patches now (for
an earlier version of gnome.scm and gnunet.scm) and attaching them.

I want to work on some more packages I feel could be easier and to get
more understanding of the build system, so I can improve the quality of
what I produce.

The current state is:
gnunet-gtk would theoretically build, but glade3-3.18.x (3.18.3 in this
case) is not building correctly, it fails at where I tried to include
documentation. glade3 with libgladeui is a dependency, as can be seen
in https://notabug.org/anonymiss/libertad-overlay/net-misc/gnunet-gtk
as an example source).
I am sorry I can't solve it myself, but I'd like to see how my almost
finished recipes are improved.

In addition to the attached .patches, I'll include a cat of both:

From f3eaeb2b7fe3328bdced0fc3accada168ec88df6 Mon Sep 17 00:00:00 2001
From: "psyc://psyced.org/~anonymiss" <BM-2cSj8qEigE3CMaLU3CwPZf7T3LvzvnttsC>
Date: Thu, 17 Dec 2015 15:54:56 +0100
Subject: [PATCH] gnu: gnome: Add glade3-3.18

---
 gnu/packages/gnome.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index abab459..b205a9e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -768,6 +768,44 @@ enable quick & easy development of user interfaces for the 
GTK+ toolkit and
 the GNOME desktop environment.")
     (license license:lgpl2.0+)))
 
+;; glade-3.18.3 needed by gnunet-gtk
+(define-public glade3-3.18
+  (package
+    (name "glade")
+    (version "3.18.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version)  "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32 
"0lk4nvd5s8px9i0pbq7bncikgn2lpx7vjh787d3cvzpvwx3cxnzc"))))
+    (build-system gnu-build-system)
+#|    (outputs '("out" "doc"))
+    (arguments
+     '(#:configure-flags
+       (let ((out
+              (assoc-ref %outputs "out"))
+             (doc
+              (assoc-ref %outputs "doc")))
+         (list (string-append ""))))) |#
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libxml2" ,libxml2)))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("python" ,python)
+       ("python-pygobject" ,python-pygobject)
+       ("itstool" ,itstool)
+       ("libxslt" ,libxslt)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://glade.gnome.org";)
+    (synopsis "GTK+ rapid application development tool")
+    (description "Glade is a rapid application development (RAD) tool to
+enable quick & easy development of user interfaces for the GTK+ toolkit and
+the GNOME desktop environment.")
+    (license license:lgpl2.0+)))
+
 (define-public libcroco
   (package
     (name "libcroco")
-- 
2.6.3

From 13a5d9c36133e1a717597e8ea7756febe8cba32c Mon Sep 17 00:00:00 2001
From: "psyc://psyced.org/~anonymiss" <BM-2cSj8qEigE3CMaLU3CwPZf7T3LvzvnttsC>
Date: Thu, 17 Dec 2015 15:56:09 +0100
Subject: [PATCH] gnu: gnunet: Add gnunet-gtk

---
 gnu/packages/gnunet.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 2a4c5cf..57d93d1 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -1,3 +1,4 @@
+
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013, 2014, 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2014 Sree Harsha Totakura <address@hidden>
@@ -44,6 +45,9 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xiph)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages aidc)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -286,3 +290,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
+     `(
+      ;("libglade" ,libglade)
+       ("gnunet" ,gnunet)
+       ("gtk+" ,gtk+)
+       ("libextractor" ,libextractor)
+       ("glade" ,glade3-3.18)
+       ("qrencode" ,qrencode)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("libglade" ,libglade)))
+    (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.
+ To be precise, gnunet-gtk currently includes: gnunet-setup, gnunet-gtk,
+gnunet-fs-gtk, gnunet-peerinfo-gtk, gnunet-namestore-gtk,
+gnunet-identity-gtk and gnunet-statistics-gtk.
+ For more information, see https://gnunet.org/svn/gnunet-gtk/README";)
+    (license license:gpl3+)
+    (home-page "https://gnunet.org/";)))
-- 
2.6.3

-- 
--anonymiss

Email is public. Talk to me in private:
  http://loupsycedyglgamf.onion/anonymiss/
  irc://loupsycedyglgamf.onion:67/anonymiss
  https://psyced.org:34443/anonymiss/

If you want Email-like conversation which respects
your privacy and is secure without requiring you to
learn complicated tools, use bitmessage:
  bitmessage: BM-2cSj8qEigE3CMaLU3CwPZf7T3LvzvnttsC

www(vcard): http://krosos.sdf.org/

Attachment: 0001-gnu-gnome-Add-glade3-3.18.patch
Description: Text Data

Attachment: 0001-gnu-gnunet-Add-gnunet-gtk.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]