* [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
* Re: [PATCH] gnunet-gtk, gnome (glade3-3.18)
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
0 siblings, 2 replies; 6+ messages in thread
From: Leo Famulari @ 2015-12-18 17:44 UTC (permalink / raw)
To: anonymiss; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
On Thu, Dec 17, 2015 at 04:10:15PM +0100, anonymiss wrote:
> 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.
I added docbook-xsl to the glade package definition and the build phase
succeeded.
It failed the check phase with a bunch of these messages:
"Gtk-WARNING **: cannot open display:"
I don't use GNOME so I don't know how to proceed.
Any ideas?
I've attached tests/test-suite.log.
[-- Attachment #2: test-suite.log --]
[-- Type: text/plain, Size: 707 bytes --]
========================================
glade 3.18.3: tests/test-suite.log
========================================
# TOTAL: 3
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: create-widgets
====================
(/tmp/nix-build-glade-3.18.3.drv-0/glade-3.18.3/tests/.libs/create-widgets:10717): Gtk-WARNING **: cannot open display:
FAIL: add-child
===============
(/tmp/nix-build-glade-3.18.3.drv-0/glade-3.18.3/tests/.libs/add-child:10721): Gtk-WARNING **: cannot open display:
FAIL: toplevel-order
====================
(/tmp/nix-build-glade-3.18.3.drv-0/glade-3.18.3/tests/.libs/toplevel-order:10716): Gtk-WARNING **: cannot open display:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] gnunet-gtk, gnome (glade3-3.18)
2015-12-18 17:44 ` Leo Famulari
@ 2015-12-18 20:06 ` anonymiss
2015-12-20 22:57 ` Ludovic Courtès
1 sibling, 0 replies; 6+ messages in thread
From: anonymiss @ 2015-12-18 20:06 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
On Fri, 18 Dec 2015 12:44:08 -0500
Leo Famulari <leo@famulari.name> wrote:
> On Thu, Dec 17, 2015 at 04:10:15PM +0100, anonymiss wrote:
> > 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.
>
> I added docbook-xsl to the glade package definition and the build
> phase succeeded.
>
> It failed the check phase with a bunch of these messages:
> "Gtk-WARNING **: cannot open display:"
>
> I don't use GNOME so I don't know how to proceed.
>
> Any ideas?
>
> I've attached tests/test-suite.log.
Hey, thanks.
I don't use gnome either, the only issue this reminds me of is when
$DISPLAY is not exported or available to the user.
I would not know about this part in compiling gnunet(-gtk), as
libgladeui was already finished when I did gnunet on the other system.
One could take https://packages.gentoo.org/packages/gnome-base/libglade
(and from there to the source and patches they use) as an example view
of what might still be missing for libgladeui / libglade3-3.18 to
build.
I can't do that currently, but will try in a few days when it's less
busy here.
--
--
NG. / anonymiss
http://libertad.pw http://krosos.sdf.org
gopher://sdf.org/1/users/krosos
Email is public. Talk to me in private:
https://psyced.org:34443/~anonymiss
privacy respecting, secure communication:
BM-2cSj8qEigE3CMaLU3CwPZf7T3LvzvnttsC
(bitmessage)
^ permalink raw reply [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, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-12-20 22:50 UTC (permalink / raw)
To: anonymiss; +Cc: guix-devel
anonymiss <anonymiss@grrlz.net> skribis:
> I wasn't sure if GNU commit/coding style requires to add names to
> headers of files.
It’s not GNU, just Guix practice and copyright practice in general.
> 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.
It’s OK to use a pseudonym if you prefer.
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] gnunet-gtk, gnome (glade3-3.18)
2015-12-18 17:44 ` Leo Famulari
2015-12-18 20:06 ` anonymiss
@ 2015-12-20 22:57 ` Ludovic Courtès
1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-12-20 22:57 UTC (permalink / raw)
To: anonymiss; +Cc: guix-devel
Leo Famulari <leo@famulari.name> skribis:
> On Thu, Dec 17, 2015 at 04:10:15PM +0100, anonymiss wrote:
>> 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.
>
> I added docbook-xsl to the glade package definition and the build phase
> succeeded.
>
> It failed the check phase with a bunch of these messages:
> "Gtk-WARNING **: cannot open display:"
I think Xvfb (the in-memory X server) could be added to ‘native-inputs’
and started before the ‘check’ phase (see for instance the libbonoboui
package on how to do that.)
Anonymiss, could you try it and send updated patches? Please also make
sure to add a copyright line for you (with your pseudonym), and to fix
any issues reported by ‘guix lint’.
If you haven’t, please take a look at
<http://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html>.
Thanks for working on this!
Ludo’.
^ 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 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).