all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnunet-gtk, gnome (glade3-3.18)
@ 2015-12-17 15:10 anonymiss
  2015-12-18 17:44 ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: anonymiss @ 2015-12-17 15:10 UTC (permalink / raw)
  To: guix-devel

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

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 <andreas@enge.fr>
 ;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
@@ -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 #2: 0001-gnu-gnome-Add-glade3-3.18.patch --]
[-- Type: text/x-patch, Size: 2100 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0001-gnu-gnunet-Add-gnunet-gtk.patch --]
[-- Type: text/x-patch, Size: 2794 bytes --]

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 <andreas@enge.fr>
 ;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
@@ -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


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* Re: [PATCH] gnunet-gtk, gnome (glade3-3.18)
@ 2015-12-17 16:10 anonymiss
  2015-12-20 22:50 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: anonymiss @ 2015-12-17 16:10 UTC (permalink / raw)
  To: guix-devel

I wasn't sure if GNU commit/coding style requires to add names to
headers of files.
If it does and it is okay to just use what I used in the commit
message / id, please add those.
If it isn't okay, I can provide my legal name or shortened legal name,
I don't feel that it should matter though.

-- 
--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/

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

end of thread, other threads:[~2015-12-20 22:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 15:10 [PATCH] gnunet-gtk, gnome (glade3-3.18) anonymiss
2015-12-18 17:44 ` Leo Famulari
2015-12-18 20:06   ` anonymiss
2015-12-20 22:57   ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2015-12-17 16:10 anonymiss
2015-12-20 22:50 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.