About guix system init

2018-02-18 Thread rennes

Hello,

I am currently running 'guix system init doc/os-config-hurd.scm /guix'  
on Debian/Hurd;


Some of the things that I have observed:

* Only the directories '/gnu/store' and 'var' are populated.
* The directories: bin, etc, home, mnt, root, run and tmp are created  
but without configuration.


However, there is no error at the end of the command, is there a way to  
debug to identify which part is being omitted?



About GNU Shepherd,
 'shepherd -c  
/guix/gnu/store/naxj2x6i83bba7a2h5dmpz4sclxqifxk-shepherd.conf -l  
/home/jin/shepherd.log'

 sample:

starting services...
Service root-file-system has been started.
Service user-file-systems has been started.
failed to start service 'file-systems'
failed to start service 'file-system-/dev/pts'
failed to start service 'file-system-/dev/shm'
failed to start service 'file-system-/gnu/store'
failed to start service 'file-system-/sys/fs/cgroup'
failed to start service 'file-system-/sys/fs/cgroup/cpuset'
failed to start service 'file-system-/sys/fs/cgroup/cpu'
failed to start service 'file-system-/sys/fs/cgroup/cpuacct'
failed to start service 'file-system-/sys/fs/cgroup/memory'
failed to start service 'file-system-/sys/fs/cgroup/devices'
failed to start service 'file-system-/sys/fs/cgroup/freezer'
failed to start service 'file-system-/sys/fs/cgroup/blkio'
failed to start service 'file-system-/sys/fs/cgroup/perf_event'
failed to start service 'file-system-/sys/fs/cgroup/hugetlb'
failed to start service 'user-processes'
Service host-name has been started.
failed to start service 'user-homes'
failed to start service 'nscd'
failed to start service 'guix-daemon'
failed to start service 'urandom-seed'
failed to start service 'syslogd'
failed to start service 'loopback'

Is it necessary to have the services started correctly to run 'guix  
system init ..' ?


Thank you


Re: boot the Hurd with Guix

2018-01-09 Thread rennes

Hello Ludovic,


> Uncaught exception:
> Throw to key misc-error with args ("primitive-load-path" "Unable to
> find file ~S in load path" ("ice-9/boot-9") #f)Can\
> not exit gracefully when init is in progress; aborting.
> Aborted

This must come from the lack of /proc/self/exe.



In Debian GNU/Hurd we've '/proc/self/exe -> /bin/ls'


Specifically, “guile-static-stripped” has this patch to make it
relocatable:

This is necessary for the bootstrap Guile (see make-bootstrap.scm),  
and

was necessary in the initrd on GNU/Linux (I think we no longer need it
for the initrd).

At any rate, you may be able to boot the Hurd with the “real”,
dynamically-linked Guile, no?  That would solve the problem entirely.



I will try not to use initrd. Thanks



Re: boot the Hurd with Guix

2018-01-07 Thread rennes

Hello,

This is the updated repository with the necessary patches to compile  
GNU Guix in Debian GNU/Hurd.

 https://github.com/methalo/guix

In the README-hurd file, describe the steps to generate the binaries  
required to boot GNU Hurd (Missing more patches).


 ** Current STATUS

Currently I have error in guile-static-stripped-2.2.2 package[1].

 Steps to reproduce the error:

 1) Manually run :
 
'/gnu/store/6fgz3s8fjva40hsdvs2hs0f5p4bw12jc-guile-static-stripped-2.2.2/bin/guile  
--version'


 Output:

guile: warning: failed to install locale
..
Uncaught exception:
Throw to key misc-error with args ("primitive-load-path" "Unable to  
find file ~S in load path" ("ice-9/boot-9") #f)Can\

not exit gracefully when init is in progress; aborting.
Aborted


[1] https://lists.gnu.org/archive/html/guix-devel/2018-01/msg9.html


guile static 2.2

2018-01-01 Thread rennes

Hello,

I'm currently building 'guile-static-stripped-2.2.2' used in the Guix  
package manager,
after compiling for hours it ends with error:  
https://pastebin.com/MRs2w6qp

and in Hurd the following appears:

---
login: /hurd/crash: grep -E 0|()0|\1|0 in(28758) crashed, signal {no:6,  
code:0,
  error:17248480}, exception {0, code:19562320,  
subcode:90704}, PCs: {0x105389c, 0

  x105389c}, killing task.
  /hurd/crash: grep -E (.?)(.?)(.?)\3\2\1 in(13717) crashed,  
signal {no:6, code:0,
   error:17248480}, exception {0, code:19562320,  
subcode:90704}, PCs: {0x105389c,

  0x105389c}, killing task.
  /hurd/crash:  
/gnu/store/vxvyfdkgz7mqbvm806fsv3zj695mxbnz-guile-static-stripped-2
  .2.2/bin/guile --version(4215) crashed, signal {no:6,  
code:0, error:135618180},
  exception {0, code:2, subcode:18911232}, PCs: {0x81eb2bc,  
0x81eb2bc}, killing ta

  sk.
---

Any idea of what is happening?
Thanks


Re: boot the Hurd with Guix

2017-11-27 Thread rennes
Hello,

I update the download link:

https://ombx.io/ipoWt9uK



Re: boot the Hurd with Guix

2017-11-27 Thread rennes
Hello,

This is the demo generated with Guix:

https://github.com/methalo/boot-hurd

The binary files were generated in Debian/Hurd and placed in an 'img' file.

The command used to generate the binaries is:

'./pre-inst-env guix system init ~/light.scm /guix'

To test Hurd, execute:

'sudo qemu-system-i386 -enable-kvm -m 1G -hda guixsdhurd.img -curses'

I hope to upload the patches soon to github, for now I need to understand 
Guix/Guile to create the patches properly.

Comments and help is welcome.

Re: boot the Hurd with Guix

2017-11-12 Thread rennes
Hello Ludovic,

>> Finally I was able to start the Hurd with the binaries generated with the 
>> guix package manager.
> 
> Woohoo!  Does that mean you were able to run packages cross-compiled
> with Guix, or packages built natively with Guix?
> 

the packages were built on top of Debian/Hurd. At this moment I am copying 
everything that is compiled into /gnu/store to the image, 
and then create symbolic links so that grub, Mach and Hurd can locate the 
binaries.

>> At the moment the image of Hurd I have built it manually and does not yet 
>> have any functionality like GuixSD / Linux.
> 
> … or did you build a VM image of GNU/Hurd?
> 

Yes, I have built the VM image according to your notes [1].

Thanks for the feedback.


[1] http://git.savannah.gnu.org/cgit/hydra-recipes.git/tree/hurd

Re: boot the Hurd with Guix

2017-11-11 Thread rennes
> This is awesome Rene!! Have you uploaded your changes anywhere?
> 

Hello Manolis,

I will prepare the documentation and a small image of qemu and upload it.

Re: boot the Hurd with Guix

2017-11-11 Thread rennes
Hola,

Finally I was able to start the Hurd with the binaries generated with the guix 
package manager.

At the moment the image of Hurd I have built it manually and does not yet have 
any functionality like GuixSD / Linux.

Next goal:
  * Generate the image file in the style of guix.
  ** For this I have noticed that it is required to compile qemu for the 
architecture i586-pc-gnu, at the moment I could not compile qemu in Hurd. I 
have tried to disable some quemu features that come by default; however, I have 
not yet achieved it.

Other pending things:
  * Some packages fail during the compilation and testing phases.
  * Other packages used by guix, such as lsof are not ported in Hurd yet.

At the moment it is everything, any doubt or help is welcome.


Rene

Re: core-updates on Hurd

2017-07-10 Thread rennes

Hello,

On 07/09/2017 05:10:47 PM, Ludovic Courtès wrote:


The problem was that ‘struct dirent64’ is slightly different on  
GNU/Hurd

than on GNU/Linux.

Rennes, could you confirm that it works for you?


The solution works, Thanks


Re: bootstrap-tarballs fails

2017-07-02 Thread rennes

Hi Ludovic,

Something is wrong here: the “*boot0” packages are not  
cross-compilable,

they should never show up here.

What branch are you on?  On master on GNU/Linux I don’t see them on  
the

list of things to build:


I'm working on core-updates branch on GNU/Linux, I've updated my  
repository and compiled it again. Now compiles correctly!

Thanks


bootstrap-tarballs fails

2017-06-28 Thread rennes

Hello,

Currently compiling './pre-inst-env guix build --target=i586-pc-gnu  
bootstrap-tarballs' on core-updates fails with:

--
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
In execvp of tar: No such file or directory
phase `unpack' failed after 0.0 seconds
builder for  
`/gnu/store/6lg16ay4c6hxhk6w5f8blk6zpnscdzr1-make-boot0-4.2.1.drv'  
failed with exit code 1
@ build-failed  
/gnu/store/6lg16ay4c6hxhk6w5f8blk6zpnscdzr1-make-boot0-4.2.1.drv - 1  
builder for  
`/gnu/store/6lg16ay4c6hxhk6w5f8blk6zpnscdzr1-make-boot0-4.2.1.drv'  
failed with exit code 1
cannot build derivation  
`/gnu/store/4w89qisfs7s00dmz0wpii1hlnmd653sr-gcc-cross-boot0-5.4.0.drv':  
1 dependencies couldn't be built
guix build: error: build failed: build of  
`/gnu/store/4w89qisfs7s00dmz0wpii1hlnmd653sr-gcc-cross-boot0-5.4.0.drv'  
failed

--

I will continue to review.


Re: core-updates on Hurd

2017-06-23 Thread rennes

Hi Manolis,


it sounds to me like there is something wrong with your clone of the
repo. Could you run make clean && make ?



I get the same result, I will continue to review.


core-updates on Hurd

2017-06-22 Thread rennes

Good day,

currently the guix core-updates branch on GNU/Hurd, after start  
guix-daemon and issue the command './pre-inst-env guix build hello'  
fails with:

--
guix build: error: lstat: No such file or directory:  
"/home/jin/guix/gnu/packages/zation.scm"

--

At the moment I only see this error.


Re: fails make on core-updates

2017-06-19 Thread rennes

Hello,


Could it be that you had sale .o files?  What version of GCC are you
using?


I completely delete the repository and re-clone. It works now.
Thanks


fails make on core-updates

2017-06-18 Thread rennes

Hello,

On core-updates branch, after running:
git pull
./bootstrap
./configure --localstatedir=/var
make

error appears:

  CXX  nix/libstore/libstore_a-sqlite.o
  AR   libstore.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CXX  nix/nix-daemon/guix_daemon-nix-daemon.o
  CXX  nix/nix-daemon/guix_daemon-guix-daemon.o
  CXXLDguix-daemon
nix/nix-daemon/guix_daemon-nix-daemon.o: In function  
`nix::FormatOrString::FormatOrString(boost::basic_format const&)':
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'

nix/nix-daemon/guix_daemon-nix-daemon.o: In function `daemonLoop()':
/home/jin/gits/guix/nix/nix-daemon/nix-daemon.cc:950: undefined  
reference to  
`boost::basic_format::basic_format(std::__cxx11::basic_string const&)'
nix/nix-daemon/guix_daemon-nix-daemon.o: In function  
`nix::FormatOrString::FormatOrString(boost::basic_format const&)':
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'
/home/jin/gits/guix/./nix/libutil/types.hh:36: undefined reference to  
`boost::basic_format::str[abi:cxx11]() const'
nix/nix-daemon/guix_daemon-nix-daemon.o:/home/jin/gits/guix/./nix/libutil/types.hh:36:  
more undefined references to `boost::basic_format::str[abi:cxx11]()  
const' follow

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3162: guix-daemon] Error 1
make[2]: Leaving directory '/home/jin/gits/guix'
make[1]: *** [Makefile:4308: all-recursive] Error 1
make[1]: Leaving directory '/home/jin/gits/guix'
make: *** [Makefile:2898: all] Error 2


Re: cross-compiling in core-updates

2017-05-03 Thread rennes

Hello,
Following the tests('./pre-inst-env guix build --target=i586-pc-gnu  
bootstrap-tarballs'), now shows the following:


---
environment variable `PATH' set to  
`/gnu/store/5if2cargrflg5j9jh7ykqpgvm6p2ydid-tar-1.29/bin:/gnu/store/hbcpwp65nngw0abyhk27dgmbac47ymk0-xz-5.2.2/bin'
@ build-succeeded  
/gnu/store/40j2pslf5saqw7zs4z1cpr8lj7w6ibym-glibc-stripped-tarball-2.23.drv  
-
@ build-started  
/gnu/store/w26zkmxffr6b86g14631md9nq16mgi2l-grep-3.0.drv - x86_64-linux  
/var/log/guix/drvs/w2//6zkmxffr6b86g14631md9nq16mgi2l-grep-3.0.drv.bz2

ice-9/psyntax.scm:1534:32: In procedure expand-macro:
ice-9/psyntax.scm:1534:32: Syntax error:
/gnu/store/9hq535wqqxg4rxa6z4mnmykmrw368hkw-grep-3.0-guile-builder:2:1887:  
source expression failed to match any pattern in form (%modify-phases  
phases* (delete (quote fix-egrep-and-fgrep)))
builder for `/gnu/store/w26zkmxffr6b86g14631md9nq16mgi2l-grep-3.0.drv'  
failed with exit code 1
@ build-failed /gnu/store/w26zkmxffr6b86g14631md9nq16mgi2l-grep-3.0.drv  
- 1 builder for  
`/gnu/store/w26zkmxffr6b86g14631md9nq16mgi2l-grep-3.0.drv' failed with  
exit code 1
@ build-started  
/gnu/store/jf8pnajml667p4926hpfr26ma7rbqvsi-guile-static-2.0.14.drv -  
x86_64-linux  
/var/log/guix/drvs/jf//8pnajml667p4926hpfr26ma7rbqvsi-guile-static-2.0.14.drv.bz2
cannot build derivation  
`/gnu/store/jq4llinka0r42763sgnq9wlcbnbvjnmc-static-binaries-0.drv': 1  
dependencies couldn't be built
cannot build derivation  
`/gnu/store/l2fj6didfwkaqc3r2h80yvzwf350q7a4-static-binaries-tarball-0.drv':  
1 dependencies couldn't be built
cannot build derivation  
`/gnu/store/4a0n4ji7vjapyvlwpg9l3lxqb03vcr4q-bootstrap-tarballs-0.drv':  
1 dependencies couldn't be built
guix build: error: build failed: build of  
`/gnu/store/4a0n4ji7vjapyvlwpg9l3lxqb03vcr4q-bootstrap-tarballs-0.drv'  
failed

---


cross-compiling in core-updates

2017-04-25 Thread rennes


When I try './pre-inst-env guix build --target=i586-pc-gnu  
bootstrap-tarballs' in core-updates, get the error:


@ build-started  
/gnu/store/ya79b5bk7b819nh64k3lk5iwjmg5hnan-bash-static-4.4.12.drv -  
x86_64-linux  
/var/log/guix/drvs/ya//79b5bk7b819nh64k3lk5iwjmg5hnan-bash-static-4.4.12.drv.bz2

ice-9/psyntax.scm:1534:32: In procedure expand-macro:
ice-9/psyntax.scm:1534:32: Syntax error:
/gnu/store/9drn9v3pkgwxys8wkmv0pkiqaqv5dqyg-bash-static-4.4.12-guile-builder:1:2300:  
source expression failed to match any pattern in form (%modify-phases  
phases* (delete (quote move-development-files)))
builder for  
`/gnu/store/ya79b5bk7b819nh64k3lk5iwjmg5hnan-bash-static-4.4.12.drv'  
failed with exit code 1
@ build-failed  
/gnu/store/ya79b5bk7b819nh64k3lk5iwjmg5hnan-bash-static-4.4.12.drv - 1  
builder for  
`/gnu/store/ya79b5bk7b819nh64k3lk5iwjmg5hnan-bash-static-4.4.12.drv'  
failed with exit code 1


I'm trying to find the cause!


[PATCH] gnu: ustr: Fix build with GCC 5.

2017-03-22 Thread rennes

Hello,
This patch allows to compile the 'ustr' package with gcc-5.
The 'ustr' project hasn't been active since 2008, then I've taken the 
Debian project patch.


The patch is for core-updates branch!.From 9d78ea64c037d2eea10d81093a3f8caae8d6d2e5 Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Wed, 22 Mar 2017 14:41:40 -0600
Subject: [PATCH] gnu: ustr: Fix build with GCC 5.

* gnu/packages/patches/ustr-fix-build-with-gcc-5.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/textutils.scm (ustr)[source]: Add patch.
---
 gnu/local.mk   |   1 +
 .../patches/ustr-fix-build-with-gcc-5.patch| 881 +
 gnu/packages/textutils.scm |   4 +-
 3 files changed, 885 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/patches/ustr-fix-build-with-gcc-5.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 4d85f15a0..f6c71f4c1 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -960,6 +960,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/unzip-initialize-symlink-flag.patch	\
   %D%/packages/patches/unzip-overflow-long-fsize.patch		\
   %D%/packages/patches/unzip-remove-build-date.patch		\
+  %D%/packages/patches/ustr-fix-build-with-gcc-5.patch		\
   %D%/packages/patches/util-linux-tests.patch			\
   %D%/packages/patches/util-linux-CVE-2017-2616.patch		\
   %D%/packages/patches/upower-builddir.patch			\
diff --git a/gnu/packages/patches/ustr-fix-build-with-gcc-5.patch b/gnu/packages/patches/ustr-fix-build-with-gcc-5.patch
new file mode 100644
index 0..0bb22d8dd
--- /dev/null
+++ b/gnu/packages/patches/ustr-fix-build-with-gcc-5.patch
@@ -0,0 +1,881 @@
+This patch allows to compile the 'ustr' package with gcc-5.
+
+The 'ustr' project hasn't been active since 2008.
+
+The patch was made by the Debian project:
+https://packages.debian.org/stretch/libustr-1.0-1
+
+From: Václav Ovsík <vaclav.ov...@gmail.com>
+Subject: [PATCH] fixes/gnu-inline
+
+This patch adds `__attribute__ ((gnu_inline))' into prototype macros
+before `inline' to force GNU89 behaviour of inline functions
+in C99 mode.
+See http://www.gnu.org/software/gcc/gcc-5/porting_to.html
+
+Signed-off-by: Václav Ovsík <vaclav.ov...@gmail.com>
+
+---
+ ustr-b-dbg-code.c   | 8 
+ ustr-b-opt-code.c   | 8 
+ ustr-cmp-dbg-code.c | 8 
+ ustr-cmp-opt-code.c | 8 
+ ustr-compiler.h | 4 ++--
+ ustr-fmt-dbg-code.c | 8 
+ ustr-fmt-opt-code.c | 8 
+ ustr-ins-dbg-code.c | 8 
+ ustr-ins-opt-code.c | 8 
+ ustr-io-dbg-code.c  | 8 
+ ustr-io-opt-code.c  | 8 
+ ustr-main-dbg-code.c| 2 +-
+ ustr-main-opt-code.c| 2 +-
+ ustr-parse-dbg-code.c   | 8 
+ ustr-parse-opt-code.c   | 8 
+ ustr-pool-dbg-code.c| 8 
+ ustr-pool-opt-code.c| 8 
+ ustr-replace-dbg-code.c | 8 
+ ustr-replace-opt-code.c | 8 
+ ustr-sc-dbg-code.c  | 8 
+ ustr-sc-opt-code.c  | 8 
+ ustr-set-dbg-code.c | 8 
+ ustr-set-opt-code.c | 8 
+ ustr-split-dbg-code.c   | 8 
+ ustr-split-opt-code.c   | 8 
+ ustr-spn-dbg-code.c | 8 
+ ustr-spn-opt-code.c | 8 
+ ustr-srch-dbg-code.c| 8 
+ ustr-srch-opt-code.c| 8 
+ ustr-sub-dbg-code.c | 8 
+ ustr-sub-opt-code.c | 8 
+ ustr-utf8-dbg-code.c| 8 
+ ustr-utf8-opt-code.c| 8 
+ 33 files changed, 124 insertions(+), 124 deletions(-)
+
+diff --git a/ustr-b-dbg-code.c b/ustr-b-dbg-code.c
+index 4a7fdac..60e383e 100644
+--- a/ustr-b-dbg-code.c
 b/ustr-b-dbg-code.c
+@@ -3,11 +3,11 @@
+ #include "ustr-conf-debug.h"
+ #define USTR_CONF_USE_DYNAMIC_CONF USTR_CONF_HAVE_DYNAMIC_CONF
+ #define USTR_CONF_e_PROTO  extern
+-#define USTR_CONF_i_PROTO  extern inline
++#define USTR_CONF_i_PROTO  extern  __attribute__ ((gnu_inline)) inline
+ #define USTR_CONF_E_PROTO  extern
+-#define USTR_CONF_I_PROTO  extern inline
++#define USTR_CONF_I_PROTO  extern  __attribute__ ((gnu_inline)) inline
+ #define USTR_CONF_EI_PROTO extern
+-#define USTR_CONF_II_PROTO extern inline
++#define USTR_CONF_II_PROTO extern  __attribute__ ((gnu_inline)) inline
+ #include "ustr-main.h"
+ #undef  USTR_CONF_INCLUDE_CODEONLY_HEADERS
+ #define USTR_CONF_INCLUDE_CODEONLY_HEADERS 1
+@@ -16,5 +16,5 @@
+ #undef  USTR_CONF_I_PROTO
+ #define USTR_CONF_I_PROTO
+ #undef  USTR_CONF_II_PROTO
+-#define USTR_CONF_II_PROTO inline
++#define USTR_CONF_II_PROTO  __attribute__ ((gnu_inline)) inline
+ #include "ustr-b.h"
+diff --git a/ustr-b-opt-code.c b/ustr-b-opt-code.c
+index 45e9e87..4011898 100644
+--- a/ustr-b-opt-code.c
 b/ustr-b-opt-code.c
+@@ -3,11 +3,11 @@
+ #include "ustr-conf.h"
+ #define USTR_CONF_USE_DYNAMIC_CONF USTR_CONF_HAVE_DYNAMIC_CONF
+ #define USTR_CONF_e_PROTO  e

Re: Let?s freeze and build ?core-updates?!

2017-03-21 Thread rennes

Hi,


Once you have found an interesting build failure, read its log (the
"raw" log is most useful, in my opinion) and try to reproduce and fix 
it

on your machine. Then send a patch!

Sometimes there is a spurious build failure: The SSH connection used 
for

offloading fails, or the build machine is out of memory. Reply to this
thread with a link to the failing build and we will restart it.


Attachment patch for xf86-video-vmware-13.2.1.

https://hydra.gnu.org/build/1932198From d5dd0ab353fca180f122210c68297a0d66abec37 Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Tue, 21 Mar 2017 08:10:58 -0600
Subject: [PATCH] gnu: xf86-video-vmware: Fix build.

* gnu/packages/xorg.scm (xf86-video-vmware)[inputs]: Add llvm.
---
 gnu/packages/xorg.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 266ac78fb..11ce611c4 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2016 David Craven <da...@craven.ch>
 ;;; Copyright © 2016, 2017 John Darrington <j...@gnu.org>
 ;;; Copyright © 2017 Marius Bakke <mba...@fastmail.com>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -51,6 +52,7 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
@@ -3356,6 +3358,7 @@ X server.")
 (inputs
  `(("libx11" ,libx11)
("libxext" ,libxext)
+   ("llvm" ,llvm)
("mesa" ,mesa)   ; for xatracker
("xorg-server" ,xorg-server)))
 (native-inputs
-- 
2.12.0



[PATCH] gnu: Add pdfgrep.

2017-03-19 Thread rennes

Hello,
pdfgrep is an utility to search text in PDF files, similar to GNU grep.
Lint and tested.

GreetingsFrom 169cca9c4a40040b1997da4053112e2bcd38d1be Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Sun, 19 Mar 2017 15:02:00 -0600
Subject: [PATCH] gnu: Add pdfgrep.

* guix/gnu/packages/pdf.scm (pdfgrep): New variable.
---
 gnu/packages/pdf.scm | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 873100cd7..7095a5abe 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2016 Arun Isaac <arunis...@systemreboot.net>
 ;;; Copyright © 2017 Leo Famulari <l...@famulari.name>
 ;;; Copyright © 2017 Alex Vong <alexvong1...@gmail.com>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,7 @@
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages game-development)
   #:use-module (gnu packages ghostscript)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages gettext)
@@ -888,3 +890,31 @@ This is much like @command{poster} does for Postscript files, but working with
 PDF.  Since sometimes @command{poster} does not like your files converted from
 PDF.  Indeed @command{pdfposter} was inspired by @command{poster}.")
 (license license:gpl3+)))
+
+(define-public pdfgrep
+  (package
+(name "pdfgrep")
+(version "2.0.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://pdfgrep.org/download/;
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "07llkrkcfjwd3ybai9ad10ybhr0biffcplmy7lw4fb87nd2dfw03"
+(build-system gnu-build-system)
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("libgcrypt" ,libgcrypt)
+   ("pcre" ,pcre)
+   ("popple" ,poppler)))
+(home-page "https://pdfgrep.org;)
+(synopsis "Command-line utility to search text in PDF files")
+(description
+ "Pdfgrep searches in pdf files for strings matching a regular expression.
+Support some GNU grep options as file name output, page number output,
+optional case insensitivity, count occurrences, color highlights and search in
+multiple files.")
+(license license:gpl2+)))
-- 
2.12.0



Re: [PATCH 2/2] gnu: Add GNU Mach.

2017-03-19 Thread rennes

For GNU/Linux (core-updates) works, also works in Hurd.


It builds on i686-linux so I’ve added it to ‘supported-systems’ (as 
long

as we’re on one of the CPUs that Mach supports, that’s fine I guess.)


From 2128b50a0dda9e4e6dbad74f2706aee58f81708d Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Thu, 16 Mar 2017 09:29:55 -0600
Subject: [PATCH 2/2] gnu: Add GNU Mach.

* gnu/packages/hurd.scm (gnumach): New variable.

Co-authored-by: Rene Saavedra <ren...@openmailbox.org>


Committed with Manolis as the author (I think that’s what you intended
to do, right?).



Yeah that's right! Thanks



Re: [PATCH 2/2] gnu: Add GNU Mach.

2017-03-16 Thread rennes

Hello,
I'm helping Manolis forward some pending patches.
Attach the patch with suggested corrections.

Make sure the phase returns #t on success:

  (and (zero? (system* "make" …))
   (begin
 (copy-file …)
 #t))



+(synopsis "Microkernel of the GNU system")
+(description
+ "GNU Mach is the microkernel upon which a GNU Hurd system is 
based.")

+(license gpl2+)))


Does it build both on GNU/Linux and GNU/Hurd?

For GNU/Linux (core-updates) works, also works in Hurd.From 2128b50a0dda9e4e6dbad74f2706aee58f81708d Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Thu, 16 Mar 2017 09:29:55 -0600
Subject: [PATCH 2/2] gnu: Add GNU Mach.

* gnu/packages/hurd.scm (gnumach): New variable.

Co-authored-by: Rene Saavedra <ren...@openmailbox.org>
---
 gnu/packages/hurd.scm | 36 +++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ba91b60be..66608f2d8 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016 Manolis Fragkiskos Ragkousis <manolis...@gmail.com>
+;;; Copyright © 2014, 2015, 2016, 2017 Manolis Fragkiskos Ragkousis <manolis...@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -210,3 +210,37 @@ Library for GNU/Hurd.")
 Hurd-minimal package which are needed for both glibc and GCC.")
 (home-page (package-home-page hurd-headers))
 (license (package-license hurd-headers
+
+(define-public gnumach
+  (package
+(name "gnumach")
+(version "1.8")
+(source
+ (origin
+   (method url-fetch)
+   (uri (gnumach-source-url version))
+   (sha256
+(base32
+ "02hygsfpd2dljl5lg1vjjg9pizi9jyxd4aiiqzjshz6jax62jm9f"
+(build-system gnu-build-system)
+(arguments
+ `(#:phases (modify-phases %standard-phases
+  (add-after 'install 'produce-image
+ (lambda* (#:key outputs #:allow-other-keys)
+   (let* ((out  (assoc-ref outputs "out"))
+  (boot (string-append out "/boot")))
+ (and (zero? (system* "make" "gnumach.gz"))
+  (begin
+(copy-file "gnumach.gz"
+   (string-append boot "/gnumach.gz"))
+#t
+(native-inputs
+ `(("mig" ,mig)
+   ("perl" ,perl)))
+(supported-systems %hurd-systems)
+(home-page
+ "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html;)
+(synopsis "Microkernel of the GNU system")
+(description
+  "GNU Mach is the microkernel upon which a GNU Hurd system is based.")
+(license gpl2+)))
-- 
2.12.0



Re: [PATCH] gnu: grep: Fix for gnulib library.

2017-03-11 Thread rennes

Hello Ludovic, Manolis,


Looks like we missed this ‘core-updates’ cycle.  :-/

To apply it without triggering a full rebuild, you could instead add a
phase that invokes ‘patch’ to apply it, only when the 
cross-compilation

target or system is GNU/Hurd.

Like:

  ,@(if (gnu/hurd?)
`((add-before 'configure 'patch …))
'())  ;nothing

Could you try that?


Even though this would work, maybe we should wait for the next
core-updates circle in order to avoid more (if (hurd)..) patches.



Yes, we can wait for the next cycle.



Re: export variable CONFFLAGS

2017-03-03 Thread rennes

Hello,


(arguments
 #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
(string-append "PREFIX=" %output))


This way does not work!, the Debian project does it as follows:

ifeq (hurd,$(DEB_HOST_ARCH_OS))
  CONFFLAGS += apr_cv_struct_ipmreq=no
endif


Is '(string-append "PREFIX=" %output)' really needed?



This is no longer necessary.


Also I think CONFFLAGS is the variable debian package recipes use to
save the configuration options for that package.

Could you use #:configure-flags '("apr_cv_struct_ipmreq=no") and try 
again?


Yes, this works well.

Thanks



[PATCH] gnu: fontconfig: Fix for PATH_MAX.

2017-03-01 Thread rennes

Hello,

This patch for fontconfig was accepted in upstream!.

The patch fix the error on build phase, because PATH_MAX is not defined 
on GNU/Hurd.

ThanksFrom f1746b8be0fade9cc759715aa5f80375c3abd19a Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Wed, 1 Mar 2017 19:19:01 -0600
Subject: [PATCH] gnu: fontconfig: Fix for PATH_MAX.

* gnu/packages/patches/fontconfig-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk   |   3 +-
 gnu/packages/fontutils.scm |  90 +-
 gnu/packages/patches/fontconfig-path-max.patch | 124 +
 3 files changed, 172 insertions(+), 45 deletions(-)
 create mode 100644 gnu/packages/patches/fontconfig-path-max.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index f356a124b..dd0ff795e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,7 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <m...@netris.org>
 # Copyright © 2016 Chris Marusich <cmmarus...@gmail.com>
 # Copyright © 2016, 2017 Kei Kebreau <k...@openmailbox.org>
-# Copyright © 2016 Rene Saavedra <ren...@openmailbox.org>
+# Copyright © 2016, 2017 Rene Saavedra <ren...@openmailbox.org>
 # Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adf...@openmailbox.org>
 # Copyright © 2016, 2017 Ricardo Wurmus <rek...@elephly.net>
 # Copyright © 2016 Ben Woodcroft <donttrust...@gmail.com>
@@ -556,6 +556,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/flint-ldconfig.patch			\
   %D%/packages/patches/fltk-shared-lib-defines.patch		\
   %D%/packages/patches/fltk-xfont-on-demand.patch		\
+  %D%/packages/patches/fontconfig-path-max.patch		\
   %D%/packages/patches/fontforge-svg-modtime.patch		\
   %D%/packages/patches/freeimage-CVE-2015-0852.patch		\
   %D%/packages/patches/freeimage-CVE-2016-5684.patch		\
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 15109bfe1..6420af50e 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014, 2016 Eric Bavier <bav...@member.fsf.org>
 ;;; Copyright © 2016 Mark H Weaver <m...@netris.org>
 ;;; Copyright © 2016 Efraim Flashner <efr...@flashner.co.il>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -222,47 +223,48 @@ fonts to/from the WOFF2 format.")
 
 (define-public fontconfig
   (package
-   (name "fontconfig")
-   (version "2.12.1")
-   (source (origin
-(method url-fetch)
-(uri (string-append
-   "https://www.freedesktop.org/software/fontconfig/release/fontconfig-;
-   version ".tar.bz2"))
-(sha256 (base32
- "1wy7svvp7df6bjpg1m5vizb3ngd7rhb20vpclv3x3qa71khs6jdl"
-   (build-system gnu-build-system)
-   (propagated-inputs `(("expat" ,expat)
-("freetype" ,freetype)))
-   (inputs `(("gs-fonts" ,gs-fonts)))
-   (native-inputs
-  `(("pkg-config" ,pkg-config)))
-   (arguments
-`(#:configure-flags
-  (list "--with-cache-dir=/var/cache/fontconfig"
-;; register gs-fonts as default fonts
-(string-append "--with-default-fonts="
-   (assoc-ref %build-inputs "gs-fonts")
-   "/share/fonts")
-
-;; Register fonts from user and system profiles.
-(string-append "--with-add-fonts="
-   "~/.guix-profile/share/fonts,"
-   "/run/current-system/profile/share/fonts")
-
-;; python is not actually needed
-"PYTHON=false")
-  #:phases
-  (modify-phases %standard-phases
-(replace 'install
- (lambda _
-   ;; Don't try to create /var/cache/fontconfig.
-   (zero? (system* "make" "install"
-   "fc_cachedir=$(TMPDIR)"
-   "RUN_FC_CACHE_TEST=false")))
-   (synopsis "Library for configuring and customizing font access")
-   (description
-"Fontconfig can discover new fonts when installed automatically;
+(name "fontconfig")
+(version "2.12.1")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+"https://www.freedesktop.org/software/fontconfig/release/fontconfig-;
+version ".tar.bz2"))
+  (sha256 (base32
+   "1wy7svvp7df6bjpg1m5vizb3ngd7rhb20vpclv3x3qa71khs6jdl"))
+  (patches (

Re: export variable CONFFLAGS

2017-02-28 Thread rennes

Hi,

On 2017-02-28 05:26, Danny Milosavljevic wrote:

Hi,

On Mon, 27 Feb 2017 23:45:36 -0600
ren...@openmailbox.org wrote:


Hello,
I am trying to export the variable 'CONFFLAGS' for 'apr' package on
GNU/Hurd as follows:

(arguments
  #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
 (string-append "PREFIX=" %output))


This way does not work!


Why "+=" ? Just use "=".


I think it's cumulative, but I'll try as you mention.
Thanks



export variable CONFFLAGS

2017-02-27 Thread rennes

Hello,
I am trying to export the variable 'CONFFLAGS' for 'apr' package on 
GNU/Hurd as follows:


(arguments
 #:make-flags ("CONFFLAGS+=apr_cv_struct_ipmreq=no"
(string-append "PREFIX=" %output))


This way does not work!, the Debian project does it as follows:

ifeq (hurd,$(DEB_HOST_ARCH_OS))
  CONFFLAGS += apr_cv_struct_ipmreq=no
endif

This due to the Hurd does not support multicast yet.

Thanks



[PATCH] gnu: grep: Fix for gnulib library.

2017-02-22 Thread rennes

Hello
This patch fix error on 'gnulib' library required to build 'grep' 
package on GNU/Hurd.


The error was fixed on upstream, this is the report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25821

ThanksFrom f76585a44afdc41187df768eec79fb723713cf0c Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Tue, 21 Feb 2017 23:21:49 -0600
Subject: [PATCH] gnu: grep: Fix for gnulib library.

* gnu/packages/patches/grep-gnulib-lock.patch: New file.  
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk|  3 +-
 gnu/packages/base.scm   | 62 +++--
 gnu/packages/patches/grep-gnulib-lock.patch | 32 +++
 3 files changed, 66 insertions(+), 31 deletions(-)
 create mode 100644 gnu/packages/patches/grep-gnulib-lock.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 82d9a31bd..806a776f9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,7 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <m...@netris.org>
 # Copyright © 2016 Chris Marusich <cmmarus...@gmail.com>
 # Copyright © 2016, 2017 Kei Kebreau <k...@openmailbox.org>
-# Copyright © 2016 Rene Saavedra <ren...@openmailbox.org>
+# Copyright © 2016, 2017 Rene Saavedra <ren...@openmailbox.org>
 # Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adf...@openmailbox.org>
 # Copyright © 2016, 2017 Ricardo Wurmus <rek...@elephly.net>
 # Copyright © 2016 Ben Woodcroft <donttrust...@gmail.com>
@@ -604,6 +604,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
   %D%/packages/patches/gobject-introspection-cc.patch		\
   %D%/packages/patches/gobject-introspection-girepository.patch	\
+  %D%/packages/patches/grep-gnulib-lock.patch			\
   %D%/packages/patches/grep-timing-sensitive-test.patch		\
   %D%/packages/patches/grub-CVE-2015-8370.patch			\
   %D%/packages/patches/grub-gets-undeclared.patch		\
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 8be9c88ab..f748c7b5c 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis...@gmail.com>
 ;;; Copyright © 2016 Efraim Flashner <efr...@flashner.co.il>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <jann...@gnu.org>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -77,34 +78,35 @@ command-line arguments, multiple languages, and so on.")
 
 (define-public grep
   (package
-   (name "grep")
-   (version "3.0")
-   (source (origin
-(method url-fetch)
-(uri (string-append "mirror://gnu/grep/grep-"
-version ".tar.xz"))
-(sha256
- (base32
-  "1dcasjp3a578nrvzrcn38mpizb8w1q6mvfzhjmcqqgkf0nsivj72"))
-(patches (search-patches "grep-timing-sensitive-test.patch"
-   (build-system gnu-build-system)
-   (native-inputs `(("perl" ,perl))) ;some of the tests require it
-   (arguments
-`(#:phases
-  (modify-phases %standard-phases
-(add-after 'install 'fix-egrep-and-fgrep
-  ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its
-  ;; absolute file name instead of searching for it in $PATH.
-  (lambda* (#:key outputs #:allow-other-keys)
-(let* ((out (assoc-ref outputs "out"))
-   (bin (string-append out "/bin")))
-  (substitute* (list (string-append bin "/egrep")
- (string-append bin "/fgrep"))
-(("^exec grep")
- (string-append "exec " bin "/grep")))
-  #t))
-   (synopsis "Print lines matching a pattern")
-   (description
+(name "grep")
+(version "3.0")
+(source (origin
+  (method url-fetch)
+  (uri (string-append "mirror://gnu/grep/grep-"
+  version ".tar.xz"))
+  (sha256
+   (base32
+"1dcasjp3a578nrvzrcn38mpizb8w1q6mvfzhjmcqqgkf0nsivj72"))
+  (patches (search-patches "grep-timing-sensitive-test.patch"
+   "grep-gnulib-lock.patch"
+(build-system gnu-build-system)
+(native-inputs `(("perl" ,perl))) ;some of the tests require it
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-after 'install 'fix-egrep-and-fgrep
+;; Patch 'egrep' and 'fgrep' to execute 'grep' via its
+

grep-3.0 FAILS on Make phase

2017-02-20 Thread rennes

Hello,
I've opened a new ticket to report a new error in 'grep' package on Hurd 
(version 3.0 and 2.28).


https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25821


/-/
 CC   localcharset.o
  CC   glthread/lock.o
glthread/lock.c: In function 'glthread_rwlock_init_for_glibc':
glthread/lock.c:53:3: warning: implicit declaration of function
'pthread_rwlockattr_setkind_np' [-Wimplicit-function-declaration]
   err = pthread_rwlockattr_setkind_np (,
   ^
glthread/lock.c:54:40: error:
'PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP' undeclared (first use in
this function)

PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP);
^
glthread/lock.c:54:40: note: each undeclared identifier is reported only
once for each function it appears in
Makefile:1711: recipe for target 'glthread/lock.o' failed
make[3]: *** [glthread/lock.o] Error 1
make[3]: Leaving directory '/tmp/guix-build-grep-3.0.drv-0/grep-3.0/lib'
Makefile:1478: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/guix-build-grep-3.0.drv-0/grep-3.0/lib'
Makefile:1291: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-grep-3.0.drv-0/grep-3.0'
Makefile:1232: recipe for target 'all' failed
make: *** [all] Error 2
phase `build' failed after 5.3 seconds
/-/
Regards



Re: [PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.

2017-02-17 Thread rennes

Hello again,
Resend patch, forget run './pre-inst-env guix lint wxwidgets'.

On 2017-02-17 18:39, ren...@openmailbox.org wrote:

Hello,

Patch updated according to your suggestions.
Thanks
From bcb6d42b3f8e4aa06f794c0734c7ec87fa481c04 Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Fri, 17 Feb 2017 19:16:36 -0600
Subject: [PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.

* gnu/packages/patches/wxwidgets-fix-windowGTK.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk   |  3 ++-
 gnu/packages/patches/wxwidgets-fix-windowGTK.patch | 20 
 gnu/packages/wxwidgets.scm |  5 -
 3 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/wxwidgets-fix-windowGTK.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 060de2535..681d3fa1b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,7 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <m...@netris.org>
 # Copyright © 2016 Chris Marusich <cmmarus...@gmail.com>
 # Copyright © 2016, 2017 Kei Kebreau <k...@openmailbox.org>
-# Copyright © 2016 Rene Saavedra <ren...@openmailbox.org>
+# Copyright © 2016, 2017 Rene Saavedra <ren...@openmailbox.org>
 # Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adf...@openmailbox.org>
 # Copyright © 2016, 2017 Ricardo Wurmus <rek...@elephly.net>
 # Copyright © 2016 Ben Woodcroft <donttrust...@gmail.com>
@@ -971,6 +971,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/wordnet-CVE-2008-2149.patch			\
   %D%/packages/patches/wordnet-CVE-2008-3908-pt1.patch			\
   %D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch			\
+  %D%/packages/patches/wxwidgets-fix-windowGTK.patch		\
   %D%/packages/patches/xdotool-fix-makefile.patch   \
   %D%/packages/patches/xf86-video-ark-remove-mibstore.patch	\
   %D%/packages/patches/xf86-video-ast-remove-mibstore.patch	\
diff --git a/gnu/packages/patches/wxwidgets-fix-windowGTK.patch b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
new file mode 100644
index 0..1c0d0704a
--- /dev/null
+++ b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
@@ -0,0 +1,20 @@
+This patch allow Filezilla client to resize window.
+The patch was adapted from upstream source repository:
+'<http://trac.wxwidgets.org/changeset/4793e5b0a4e189e492287305859b278fed780080/git-wxWidgets>'
+
+Commit: a97553a939b76df1564ffbfe9c919d1da5a34c5a
+
+--- a/src/gtk/toplevel.cpp	2014-10-06 16:33:44.0 -0500
 b/src/gtk/toplevel.cpp	2017-02-16 21:33:27.779907810 -0600
+@@ -1216,8 +1216,9 @@
+ int hints_mask = GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE;
+ hints.min_width = 1;
+ hints.min_height = 1;
+-hints.max_width = INT_MAX;
+-hints.max_height = INT_MAX;
++// using INT_MAX for size will lead to integer overflow with HiDPI scaling
++hints.max_width = INT_MAX / 16;
++hints.max_height = INT_MAX / 16;
+ const int decorSize_x = m_decorSize.left + m_decorSize.right;
+ const int decorSize_y = m_decorSize.top + m_decorSize.bottom;
+ if (minSize.x > decorSize_x)
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 5285037ff..52fa8184d 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <rek...@elephly.net>
 ;;; Copyright © 2016 Theodoros Foradis <theodoros@openmailbox.org>
 ;;; Copyright © 2016 Danny Milosavljevic <dan...@scratchpost.org>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,7 +51,9 @@
"releases/download/v" version
"/wxWidgets-" version ".tar.bz2"))
(sha256
-(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"
+(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"))
+   (patches (search-patches
+ "wxwidgets-fix-windowGTK.patch"
 (build-system glib-or-gtk-build-system)
 (inputs
  `(("glu" ,glu)
-- 
2.11.0



Re: [PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.

2017-02-17 Thread rennes

Hello,

Patch updated according to your suggestions.
Thanks

On 2017-02-16 10:28, Leo Famulari wrote:

On Thu, Feb 09, 2017 at 10:36:16AM -0600, rennes wrote:

* gnu/packages/patches/wxwidgets-fix-windowGTK.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.


I'm unable to apply this patch to the Guix source tree. Please try
recreating it from current master and sending it again.




But, instead of using the proposed patch from the upstream bug report,
we should use the commit that was applied to the appropriate wxWidgets
branch and, if possible, include a link to that commit in their
web-based Git interface.

Can you send an updated patch?From 6b152648c3f56fc370ff4e9e33b745bd11ca6d77 Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Fri, 17 Feb 2017 18:14:42 -0600
Subject: [PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.

* gnu/packages/patches/wxwidgets-fix-windowGTK.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk   |  3 ++-
 gnu/packages/patches/wxwidgets-fix-windowGTK.patch | 20 
 gnu/packages/wxwidgets.scm |  5 -
 3 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/wxwidgets-fix-windowGTK.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 060de2535..681d3fa1b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,7 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <m...@netris.org>
 # Copyright © 2016 Chris Marusich <cmmarus...@gmail.com>
 # Copyright © 2016, 2017 Kei Kebreau <k...@openmailbox.org>
-# Copyright © 2016 Rene Saavedra <ren...@openmailbox.org>
+# Copyright © 2016, 2017 Rene Saavedra <ren...@openmailbox.org>
 # Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adf...@openmailbox.org>
 # Copyright © 2016, 2017 Ricardo Wurmus <rek...@elephly.net>
 # Copyright © 2016 Ben Woodcroft <donttrust...@gmail.com>
@@ -971,6 +971,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/wordnet-CVE-2008-2149.patch			\
   %D%/packages/patches/wordnet-CVE-2008-3908-pt1.patch			\
   %D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch			\
+  %D%/packages/patches/wxwidgets-fix-windowGTK.patch		\
   %D%/packages/patches/xdotool-fix-makefile.patch   \
   %D%/packages/patches/xf86-video-ark-remove-mibstore.patch	\
   %D%/packages/patches/xf86-video-ast-remove-mibstore.patch	\
diff --git a/gnu/packages/patches/wxwidgets-fix-windowGTK.patch b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
new file mode 100644
index 0..1c0d0704a
--- /dev/null
+++ b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
@@ -0,0 +1,20 @@
+This patch allow Filezilla client to resize window.
+The patch was adapted from upstream source repository:
+'<http://trac.wxwidgets.org/changeset/4793e5b0a4e189e492287305859b278fed780080/git-wxWidgets>'
+
+Commit: a97553a939b76df1564ffbfe9c919d1da5a34c5a
+
+--- a/src/gtk/toplevel.cpp	2014-10-06 16:33:44.0 -0500
 b/src/gtk/toplevel.cpp	2017-02-16 21:33:27.779907810 -0600
+@@ -1216,8 +1216,9 @@
+ int hints_mask = GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE;
+ hints.min_width = 1;
+ hints.min_height = 1;
+-hints.max_width = INT_MAX;
+-hints.max_height = INT_MAX;
++// using INT_MAX for size will lead to integer overflow with HiDPI scaling
++hints.max_width = INT_MAX / 16;
++hints.max_height = INT_MAX / 16;
+ const int decorSize_x = m_decorSize.left + m_decorSize.right;
+ const int decorSize_y = m_decorSize.top + m_decorSize.bottom;
+ if (minSize.x > decorSize_x)
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 5285037ff..953910652 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <rek...@elephly.net>
 ;;; Copyright © 2016 Theodoros Foradis <theodoros@openmailbox.org>
 ;;; Copyright © 2016 Danny Milosavljevic <dan...@scratchpost.org>
+;;; Copyright © 2017 Rene Saavedra <ren...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,7 +51,9 @@
"releases/download/v" version
"/wxWidgets-" version ".tar.bz2"))
(sha256
-(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"
+(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"))
+   (patches (search-patches
+ "wxwidgets-fix-windowGTK.patch"   
 (build-system glib-or-gtk-build-system)
 (inputs
  `(("glu" ,glu)
-- 
2.11.0



Re: [PATCH 3/3] gnu: Add filezilla.

2017-02-14 Thread rennes


Minor thing, and I'm not sure if we have a convention for this, but 
it'd

be neat to keep the use-module statements ordered alphabetically.



Ordered alphabetically!



Again, I'm under the impression that this should rather be gpl2+. I'd 
be

happy to be proven wrong otherwise!


+(properties '((upstream-name . "FileZilla")


Otherwise LGTM (haven't tested though).


Updated patch. ThanksFrom c46abaa7314aac73ad8e7a368e86d91fa126b4d3 Mon Sep 17 00:00:00 2001
From: rennes <ren...@openmailbox.org>
Date: Tue, 14 Feb 2017 23:27:11 -0600
Subject: [PATCH 3/3] gnu: Add filezilla.

* gnu/packages/ftp.scm (filezilla): New variable.
---
 gnu/packages/ftp.scm | 50 --
 1 file changed, 48 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 60693aac6..ddbf5a08d 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -28,12 +28,20 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages check)  
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages libidn)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages readline)
+  #:use-module (gnu packages nettle)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages compression))
+  #:use-module (gnu packages wxwidgets)
+  #:use-module (gnu packages xml))
 
 (define-public lftp
   (package
@@ -183,3 +191,41 @@ as required.")
  "This package provides some basic functionality to build high-performing,
 platform-independent programs.")
 (license gpl2+)))
+
+(define-public filezilla
+  (package
+(name "filezilla")
+(version "3.24.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://sourceforge.net/projects/; name
+   "/files/FileZilla_Client/" version
+   "/FileZilla_" version "_src" ".tar.bz2"))
+   (sha256
+(base32
+ "1bacrl8lj90hqbh129hpbgqj78k1i84j83rkzn507jnykj4x8p9x"
+(build-system gnu-build-system)
+(native-inputs
+ `(("gettext" ,gettext-minimal)
+   ("pkg-config" ,pkg-config)
+   ("pugixml" ,pugixml)
+   ("xdg-utils" ,xdg-utils)))
+(inputs
+ `(("dbus" ,dbus)
+   ("gnutls" ,gnutls)
+   ("gtk+" ,gtk+)
+   ("libfilezilla" ,libfilezilla)
+   ("libidn" ,libidn)
+   ("nettle" ,nettle)
+   ("sqlite" ,sqlite)
+   ("wxwidgets" ,wxwidgets)))
+(home-page "https://filezilla-project.org;)
+(synopsis "Full-featured graphical FTP/FTPS/SFTP client")
+(description
+ "Filezilla client supports FTP, FTP over SSL/TLS (FTPS),
+SSH File Transfer Protocol (SFTP), HTTP/1.1, SOCKS5, FTP-Proxy, IPv6
+and others features such as bookmarks, drag and drop, filename filters,
+directory comparison and more.")
+(license gpl2+)
+(properties '((upstream-name . "FileZilla")
-- 
2.11.0



Re: [PATCH 2/3] gnu: Add libfilezilla.

2017-02-12 Thread rennes

Hello Maxim,

On 2017-02-12 20:26, Maxim Cournoyer wrote:

Hi,


offering/offers/ or s/offering/provides/



+(license gpl3+)))


Only license information I could find is the COPYING file which is
GPLv2. I think gpl2+ would be more appropriate.



grepping libfilezilla directory, i see glp2 and gpl3:

libfilezilla-0.9.0/config/depcomp:# the Free Software Foundation; either 
version 2, or (at your option)
libfilezilla-0.9.0/config/compile:# the Free Software Foundation; either 
version 2, or (at your option)
libfilezilla-0.9.0/config/missing:# the Free Software Foundation; either 
version 2, or (at your option)
libfilezilla-0.9.0/config/config.guess:# the Free Software Foundation; 
either version 3 of the License, or
libfilezilla-0.9.0/config/ltmain.sh:# the Free Software Foundation; 
either version 2 of the License, or
libfilezilla-0.9.0/config/config.sub:# the Free Software Foundation; 
either version 3 of the License, or
libfilezilla-0.9.0/config/test-driver:# the Free Software Foundation; 
either version 2, or (at your option)
libfilezilla-0.9.0/configure:# published by the Free Software 
Foundation; either version 2 of
libfilezilla-0.9.0/COPYING:the Free Software Foundation; either 
version 2 of the License, or
libfilezilla-0.9.0/m4/ax_check_link_flag.m4:#   Free Software 
Foundation, either version 3 of the License, or (at your
libfilezilla-0.9.0/m4/ax_check_compile_flag.m4:#   Free Software 
Foundation, either version 3 of the License, or (at your
libfilezilla-0.9.0/m4/libtool.m4:# published by the Free Software 
Foundation; either version 2 of
libfilezilla-0.9.0/m4/ax_append_flag.m4:#   Free Software Foundation, 
either version 3 of the License, or (at your
libfilezilla-0.9.0/README:the Free Software Foundation; either version 2 
of the License, or


Should I put both?
Thanks



[PATCH 2/3] gnu: Add libfilezilla.

2017-02-09 Thread rennes
* gnu/packages/ftp.scm (libfilezilla): New variable.
---
 gnu/packages/ftp.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 7380fcfc3..0fef1b160 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015 Andreas Enge 
 ;;; Copyright © 2015 Mark H Weaver 
 ;;; Copyright © 2016 Tobias Geerinckx-Rice 
+;;; Copyright © 2017 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,6 +27,7 @@
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages check)  
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages readline)
@@ -159,3 +161,25 @@ maintaining a web page or other FTP archive.  It 
synchronizes a set of
 local files to a remote server by performing uploads and remote deletes
 as required.")
 (license gpl2+)))
+
+(define-public libfilezilla
+  (package
+(name "libfilezilla")
+(version "0.9.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://download.filezilla-project.org/;
+   name "/" name "-" version ".tar.bz2"))
+   (sha256
+(base32
+ "0340v5xs48f28q2d16ldb9359dkzlhl4l449mgyv3qabnlz2pl21"
+(build-system gnu-build-system)
+(native-inputs
+ `(("cppunit" ,cppunit)))
+(home-page "https://lib.filezilla-project.org;)
+(synopsis "Cross-platform C++ library used by Filezilla client")
+(description
+ "This package offering some basic functionality to build high-performing,
+platform-independent programs.")
+(license gpl3+)))
-- 
2.11.0




[PATCH 3/3] gnu: Add filezilla.

2017-02-09 Thread rennes
* gnu/packages/ftp.scm (filezilla): New variable.
---
 gnu/packages/ftp.scm | 48 +++-
 1 file changed, 47 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 0fef1b160..129f04ef6 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -27,12 +27,20 @@
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
-  #:use-module (gnu packages check)  
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages freedesktop)  
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages libidn)  
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages nettle)  
   #:use-module (gnu packages readline)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages wxwidgets)
+  #:use-module (gnu packages xml)  
   #:use-module (gnu packages compression))
 
 (define-public lftp
@@ -183,3 +191,41 @@ as required.")
  "This package offering some basic functionality to build high-performing,
 platform-independent programs.")
 (license gpl3+)))
+
+(define-public filezilla
+  (package
+(name "filezilla")
+(version "3.24.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://sourceforge.net/projects/; name
+   "/files/FileZilla_Client/" version
+   "/FileZilla_" version "_src" ".tar.bz2"))
+   (sha256
+(base32
+ "1bacrl8lj90hqbh129hpbgqj78k1i84j83rkzn507jnykj4x8p9x"
+(build-system gnu-build-system)
+(native-inputs
+ `(("gettext" ,gettext-minimal)
+   ("pkg-config" ,pkg-config)
+   ("pugixml" ,pugixml)
+   ("xdg-utils" ,xdg-utils)))
+(inputs
+ `(("dbus" ,dbus)
+   ("gnutls" ,gnutls)
+   ("gtk+" ,gtk+)
+   ("libfilezilla" ,libfilezilla)
+   ("libidn" ,libidn)
+   ("nettle" ,nettle)
+   ("sqlite" ,sqlite)
+   ("wxwidgets" ,wxwidgets)))
+(home-page "https://filezilla-project.org;)
+(synopsis "Full-featured graphical FTP/FTPS/SFTP client")
+(description
+ "Filezilla client supports FTP, FTP over SSL/TLS (FTPS),
+SSH File Transfer Protocol (SFTP), HTTP/1.1, SOCKS5, FTP-Proxy, IPv6
+and others features such as bookmarks, drag and drop, filename filters,
+directory comparison and more.")
+(license gpl3+)
+(properties '((upstream-name . "FileZilla")
-- 
2.11.0




[PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.

2017-02-09 Thread rennes
* gnu/packages/patches/wxwidgets-fix-windowGTK.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk   |  3 +-
 gnu/packages/patches/wxwidgets-fix-windowGTK.patch | 35 ++
 gnu/packages/wxwidgets.scm |  5 +++-
 3 files changed, 41 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/wxwidgets-fix-windowGTK.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 63ce3af71..d94cede10 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,7 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver 
 # Copyright © 2016 Chris Marusich 
 # Copyright © 2016 Kei Kebreau 
-# Copyright © 2016 Rene Saavedra 
+# Copyright © 2016, 2017 Rene Saavedra 
 # Copyright © 2016 Adonay "adfeno" Felipe Nogueira 
 
 # Copyright © 2016, 2017 Ricardo Wurmus 
 # Copyright © 2016 Ben Woodcroft 
@@ -957,6 +957,7 @@ dist_patch_DATA =   
\
   %D%/packages/patches/wordnet-CVE-2008-2149.patch \
   %D%/packages/patches/wordnet-CVE-2008-3908-pt1.patch \
   %D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch \
+  %D%/packages/patches/wxwidgets-fix-windowGTK.patch   \
   %D%/packages/patches/xdotool-fix-makefile.patch   \
   %D%/packages/patches/xf86-video-ark-remove-mibstore.patch\
   %D%/packages/patches/xf86-video-ast-remove-mibstore.patch\
diff --git a/gnu/packages/patches/wxwidgets-fix-windowGTK.patch 
b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
new file mode 100644
index 0..05e2e5819
--- /dev/null
+++ b/gnu/packages/patches/wxwidgets-fix-windowGTK.patch
@@ -0,0 +1,35 @@
+This patch allow Filezilla client to resize window.
+
+Authors: Tim Kosse 
+Upstream status: This issue was fixed in master branch.
+Ticket: ''
+
+From 3a52125f81d28fcad5d3c841b94a3e4bad295d9e Mon Sep 17 00:00:00 2001
+From: Tim Kosse 
+Date: Sun, 20 Mar 2016 10:22:13 +0100
+Subject: [PATCH] Fix wxTopLevelWindowGTK::DoSetSizeHints if a window scale
+factor larger than 1  is set.
+
+In this case, passing INT_MAX as maximum width/height hint
+to gtk_window_set_geometry_hints leads to integer overlows.
+
+Instead, use INT_MAX / 16 which should work with all
+resonable scale factors.
+
+--- a/src/gtk/toplevel.cpp 2014-10-06 16:33:44.0 -0500
 b/src/gtk/toplevel.cpp 2017-02-07 20:44:07.382988282 -0600
+@@ -1216,8 +1216,12 @@
+ int hints_mask = GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE;
+ hints.min_width = 1;
+ hints.min_height = 1;
+-hints.max_width = INT_MAX;
+-hints.max_height = INT_MAX;
++// Due to HiDPI UI scale, using INT_MAX leads to integer
++// overflows when calculating the actual window size.
++// Divide by 16 to to accomodate crazy high scale factors
++// without overflowing.
++hints.max_width = INT_MAX / 16;
++hints.max_height = INT_MAX / 16;
+ const int decorSize_x = m_decorSize.left + m_decorSize.right;
+ const int decorSize_y = m_decorSize.top + m_decorSize.bottom;
+ if (minSize.x > decorSize_x)
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 5285037ff..52fa8184d 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus 
 ;;; Copyright © 2016 Theodoros Foradis 
 ;;; Copyright © 2016 Danny Milosavljevic 
+;;; Copyright © 2017 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,7 +51,9 @@
"releases/download/v" version
"/wxWidgets-" version ".tar.bz2"))
(sha256
-(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"
+(base32 "0paq27brw4lv8kspxh9iklpa415mxi8zc117vbbbhfjgapf7js1l"))
+   (patches (search-patches
+ "wxwidgets-fix-windowGTK.patch"
 (build-system glib-or-gtk-build-system)
 (inputs
  `(("glu" ,glu)
-- 
2.11.0




[PATCH] gnu: Add filezilla.

2017-02-09 Thread rennes
Hello,
This is a set of patches for Filezilla, a ftp/sftp client.

 [PATCH 1/3] gnu: wxwidgets: Fix for Filezilla client.
 [PATCH 2/3] gnu: Add libfilezilla.
 [PATCH 3/3] gnu: Add filezilla.

Regards



Category package

2017-02-08 Thread rennes

Hello,

I am packing Filezilla, a ftp/sftp client. Filezilla requires the 
libfilezilla[1] library.


My question is, in which category can I add it?


[1] https://lib.filezilla-project.org

Regards



Re: Porting with Guix

2017-02-05 Thread rennes

Hello,

Regarding this topic, performing more tests:
* Running with the sudo command 'Screen' works.

I think that a user must be set for 'Screen' to run correctly as the 
Debian project does.



buzz@Hurd:~$ sudo /home/buzz/.guix-profile/bin/screen 
~/Guix-on-Hurd/pre-inst-env guix-daemon --build-users-group=guixbuild -c 
1 --substitute-urls=http://homenetwork.servebeer.com:8080/

[sudo] password for buzz:
[detached from 1007.ttyp0.Hurd]

buzz@Hurd:~$ ps -ef | grep guix
root  1007 1   -  0:00.01 /home/buzz/.guix-profile/bin/SCREEN 
/home/buz
root  1009  1007  p1  0:00.01 guix-daemon 
--build-users-group=guixbuild -c

buzz  1046   987  p0  0:00.00 grep guix


regards



I have the following error when running the Screen application, and
tried to debug as follows:

$ screen /home/buzz/.guix-profile/bin/bash
[screen is terminating]

$ gdb screen /home/buzz/.guix-profile/bin/bash
"/home/buzz/.guix-profile/bin/bash" is not a core dump: File format
not recognized
(gdb) r
Starting program: 
/gnu/store/b8189hzmvmzmz9rwsqff48sa2klqyw8q-profile/bin/screen

[New Thread 6488.5]
[screen is terminating]
[New Thread 6488.6]

Program received signal SIGHUP, Hangup.
0x01102f4c in mach_msg_trap () from
/gnu/store/lj4hj6xz0i1lr0kzia3dxmgggl53ngq7-glibc-2.19/lib/libc.so.0.3
(gdb) bt
#0  0x01102f4c in mach_msg_trap () from
/gnu/store/lj4hj6xz0i1lr0kzia3dxmgggl53ngq7-glibc-2.19/lib/libc.so.0.3
#1  0x0110364a in mach_msg () from
/gnu/store/lj4hj6xz0i1lr0kzia3dxmgggl53ngq7-glibc-2.19/lib/libc.so.0.3
#2  0x01140873 in sigsuspend_not_cancel ()
   from 
/gnu/store/lj4hj6xz0i1lr0kzia3dxmgggl53ngq7-glibc-2.19/lib/libc.so.0.3

#3  0x011b30fe in pause () from
/gnu/store/lj4hj6xz0i1lr0kzia3dxmgggl53ngq7-glibc-2.19/lib/libc.so.0.3
#4  0x0806e6b2 in Attacher ()
#5  0x0804c1d8 in main ()




Re: NetworkManager doesn't "Connect automatically"

2016-12-13 Thread rennes

Hello,

On 2016-12-13 08:37, Thomas Haller wrote:

This restricts the connection to a certain user, determined by the
connection.permissions property (see `nmcli connection show $NAME`
and `man nm-settings`).

This makes the connection only available, when a session for that user
exists. Is that user logged-in?

Did you build NetworkManager yourself? Is session-tracking properly
enabled to use systemd-logind or consolekit.

Starting NetworkManager with --debug is usually not that useful. The
most interesting thing it does is to turn on debug-logging, which you
can do  otherwise [1].
[1]
https://cgit.freedesktop.org/NetworkManager/NetworkManager/plain/contrib/fedora/rpm/NetworkManager.conf?id=c90ec2d8c8a12b44c908bf7f80b23059c29f68fa


Accordig to what Thomas comments, I have two ideas:

* I wil try to compile 'network-manager' with 
'--with-session-tracking=consolekit'.
* I remember that we do not have the file 'NetworkManager.conf' under 
'/etc/NetworkManager' directory.


I will perform the tests in the afternoon.

Thanks



[PATCH] gnu: Add gnome-system-monitor.

2016-12-07 Thread rennes
* gnu/packages/gnome.scm (gnome-system-monitor): New variable.
---
 gnu/packages/gnome.scm | 36 
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e7798e939..1dde6c06c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5688,3 +5688,39 @@ only know by its Unicode name or code point.")
 with many options to write web sites, scripts and other code.
 Bluefish supports many programming and markup languages.")
 (license license:gpl3+)))
+
+(define-public gnome-system-monitor
+  (package
+(name "gnome-system-monitor")
+(version "3.20.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1ya41b58syf8g5pc12gw1xm6jhdx3crap803bjwm086r7x2an8wv"
+(build-system glib-or-gtk-build-system)
+(native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums.
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("libgtop" ,libgtop)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
+   ("gtk+" ,gtk+)
+   ("gtkmm" ,gtkmm)
+   ("librsvg" ,librsvg)
+   ("libxml2" ,libxml2)))
+(home-page "https://wiki.gnome.org/Apps/SystemMonitor;)
+(synopsis "Process viewer and system resource monitor for GNOME")
+(description
+ "GNOME System Monitor is a GNOME process viewer and system monitor with
+an attractive, easy-to-use interface.  It has features, such as a tree view
+for process dependencies, icons for processes, the ability to hide processes,
+graphical time histories of CPU/memory/swap usage and the ability to
+kill/reinice processes.")
+(license license:gpl2+)))
-- 
2.11.0




[PATCH] gnu: Add gnome-system-monitor.

2016-12-07 Thread rennes
Hello,
this patch is GNOME System Monitoring, a tool to monitoring resources
such as: CPU, memory, swap and networking.

Linted and tested. Thanks




Re: [PATCH] gnu: Add libtermkey.

2016-12-05 Thread rennes

Hello,
some tips:


Add libtermkey after fixing some inconveniences found in my last 
attempt

. I
can't run guix lint on it now, but I haven't changed anything too
important, so it should be fine.



(source (origin
  (method url-fetch)
  (uri 
"http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.18.tar.gz;)


here you can use:

(source (origin
  (method url-fetch)
  (uri (string-append "http://www.leonerd.org.uk/code/; name 
"/"

  name "-" version ".tar.gz"))


(inputs `())
Remove if not used.

for 'GNU ChangeLog' review examples:
http://git.savannah.gnu.org/cgit/guix.git/log/

and read for more details:
https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html

Is similar for the others patches!

Thanks



[PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.

2016-11-17 Thread rennes

Hello,
this patch allow to gnome-control-center to load images in SVG format.
E.G. GNOME logo and Mouse & Touchpad settings image.

ThanksFrom 6aa42f1298bbd7b1582fb6894f9ebd1029b203a8 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 17 Nov 2016 23:48:11 -0600
Subject: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.

* gnu/packages/gnome.scm (gnome-control-center): Add gdk-pixbuf input.
---
 gnu/packages/gnome.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8c422c5..b7e6d4d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4747,6 +4747,7 @@ devices using the GNOME desktop.")
("cups" ,cups)
("dconf" ,dconf)
("docbook-xsl" ,docbook-xsl)
+   ("gdk-pixbuf" ,gdk-pixbuf) ; for load files with SVG extension.
("gnome-bluetooth" ,gnome-bluetooth)
("gnome-desktop" ,gnome-desktop)
("gnome-online-accounts" ,gnome-online-accounts)
-- 
2.10.1



Guix website

2016-10-25 Thread rennes

Hello,

The Guix website(Packages), appears updated with the date: October 14, 
2016.


https://www.gnu.org/software/guix/packages/

Thanks



Re: GNOME Settings Schemas - How are they searched for?

2016-10-23 Thread rennes

Hello,

I use gnumeric-1.12.31 on GNOME, and i don't have this problem.


I am hitting a similar problem with gnumeric. Install latest, open
spreadsheet, hit 'safe as' and you get:

(gnumeric:1974): GLib-GIO-ERROR **: Settings schema
'org.gtk.Settings.FileChooser' is not installed

(bit annoying as some work got lost) but easy to reproduce.

This issue suggests a solution:


http://stackoverflow.com/questions/9678301/can-not-use-gtk3-filechooser-on-mac-osx#9684626

i.e., the builder needs to run glib-compile-schemas [path to
org.gtk.Settings.FileChooser.gschema]. There is a compiled schema in
the path, but maybe not for FileChooser and others.




Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-20 Thread rennes

Hello,
I updated the patch.

On 2016-10-17 18:33, ren...@openmailbox.org wrote:

Hello,
I updated my git repository and have generated patches.


If you do not have a branch, do the follwoing:

git checkout -b gnome-bluefish
# search for your two patches, e.g using "git reflog | grep gunimap"
and "git reflog | grep bluefish"
git cherry-pick abcdefg  # use commit-id of gunimap patch
git cherry-pick abcdefg  # use commit-id of bluefish patchFrom 505226e2ac5140d4501d5c8beb3e02eebde3ca8f Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 20 Oct 2016 20:30:40 -0500
Subject: [PATCH 2/2] gnu: Add bluefish.

* gnu/packages/gnome.scm (bluefish): New variable.
---
 gnu/packages/gnome.scm | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b7dcd01..5f4fc82 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5605,3 +5605,34 @@ characters and categories for the installed fonts, and to examine their
 detailed properties.  It is an easy way to find the character you might
 only know by its Unicode name or code point.")
 (license license:gpl3+)))
+
+(define-public bluefish
+  (package
+(name "bluefish")
+(version "2.2.9")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/;
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("enchant" ,enchant)
+   ("gtk+" ,gtk+)
+   ("python" ,python-2)
+   ("xmllint" ,libxml2)
+   ("gucharmap" ,gucharmap)))
+(home-page "http://bluefish.openoffice.nl;)
+(synopsis "Web development studio")
+(description
+ "Bluefish is an editor targeted towards programmers and web developers,
+with many options to write web sites, scripts and other code.
+Bluefish supports many programming and markup languages.")
+(license license:gpl3+)))
-- 
2.10.0



Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-17 Thread rennes

Hello,
I updated my git repository and have generated patches.


If you do not have a branch, do the follwoing:

git checkout -b gnome-bluefish
# search for your two patches, e.g using "git reflog | grep gunimap"
and "git reflog | grep bluefish"
git cherry-pick abcdefg  # use commit-id of gunimap patch
git cherry-pick abcdefg  # use commit-id of bluefish patch


ThanksFrom 0a2f99d3b6f577df29c897bc01906fd29191b8fc Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Mon, 17 Oct 2016 18:15:47 -0500
Subject: [PATCH 1/2] gnu: Add gucharmap.

* gnu/packages/gnome.scm (gucharmap): New variable.
---
 gnu/packages/gnome.scm | 33 +
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 52d6cd4..b7dcd01 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5572,3 +5572,36 @@ is suitable as a default application in a Desktop environment.")
 and customizable.  Xpad consists of independent pad windows, each is
 basically a text box in which notes can be written.")
 (license license:gpl3+)))
+
+(define-public gucharmap
+  (package
+(name "gucharmap")
+(version "3.18.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("glib:bin" ,glib "bin") ; for glib-compile-resources.
+   ("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtk+" ,gtk+)
+   ("xmllint" ,libxml2)))
+(home-page "https://wiki.gnome.org/Apps/Gucharmap;)
+(synopsis "Unicode character picker and font browser")
+(description
+ "This program allows you to browse through all the available Unicode
+characters and categories for the installed fonts, and to examine their
+detailed properties.  It is an easy way to find the character you might
+only know by its Unicode name or code point.")
+(license license:gpl3+)))
-- 
2.10.0

From b5895a149f95ff257fe10557464e5dfc97deb861 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Mon, 17 Oct 2016 18:16:38 -0500
Subject: [PATCH 2/2] gnu: Add bluefish.

* gnu/packages/gnome.scm (bluefish): New variable.
---
 gnu/packages/gnome.scm | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b7dcd01..5f4fc82 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5605,3 +5605,34 @@ characters and categories for the installed fonts, and to examine their
 detailed properties.  It is an easy way to find the character you might
 only know by its Unicode name or code point.")
 (license license:gpl3+)))
+
+(define-public bluefish
+  (package
+(name "bluefish")
+(version "2.2.9")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/;
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("enchant" ,enchant)
+   ("gtk+" ,gtk+)
+   ("python" ,python-2)
+   ("xmllint" ,libxml2)
+   ("gucharmap" ,gucharmap)))
+(home-page "http://bluefish.openoffice.nl;)
+(synopsis "Web development studio")
+(description
+ "Bluefish is an editor targeted towards programmers and web developers,
+with many options to write web sites, scripts and other code.
+Bluefish supports many programming and markup languages.")
+(license license:gpl3+)))
-- 
2.10.0



[PATCH] gnu: Add xpad.

2016-10-15 Thread rennes

Hello,
this patch is Xpad, a sticky note application.

* I did not find the application in the GNOME repository.

Built, linted and tested.

Thank youFrom a4fea0abfeec4655beef2a0a44461e3e5d72620d Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sat, 15 Oct 2016 21:51:25 -0500
Subject: [PATCH] gnu: Add xpad.

* gnu/packages/gnome.scm (xpad): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2b75781..52d6cd4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5544,3 +5544,31 @@ handling the startup notification side.")
  "Calculator is an application that solves mathematical equations and
 is suitable as a default application in a Desktop environment.")
 (license license:gpl3)))
+
+(define-public xpad
+  (package
+(name "xpad")
+(version "4.8.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://launchpad.net/xpad/trunk/4.8.0/+download/;
+   name "-" version ".tar.bz2"))
+   (sha256
+(base32
+ "17f915yyvfa2fsavq6wh0q0dfhib28b4k1gc0292b9xdlrvy7f22"
+(build-system gnu-build-system)
+(native-inputs
+ `(("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtk+" ,gtk+)
+   ("gtksourceview" ,gtksourceview)
+   ("libsm" ,libsm)))
+(home-page "https://wiki.gnome.org/Apps/Xpad;)
+(synopsis "Virtual sticky note")
+(description
+ "Xpad is a sticky note that strives to be simple, fault tolerant,
+and customizable.  Xpad consists of independent pad windows, each is
+basically a text box in which notes can be written.")
+(license license:gpl3+)))
-- 
2.10.0



Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-11 Thread rennes

Hello,

some help to check my procedure is correct?.


If you do not have a branch, do the follwoing:

git checkout -b gnome-bluefish
# search for your two patches, e.g using "git reflog | grep gunimap"
and "git reflog | grep bluefish"
git cherry-pick abcdefg  # use commit-id of gunimap patch
git cherry-pick abcdefg  # use commit-id of bluefish patch


^
In this way it does not work for me.

$ git checkout -b gnome-blue
 Switched to a new branch 'gnome-blue'
$ git add gnu/packages/gnome.scm
$ git commit -m 'gnu: Add gucharmap.'
 [gnome-blue 8291bac] gnu: Add gucharmap.
  1 file changed, 33 insertions(+)
$ git add gnu/packages/gnome.scm
$ git commit -m 'gnu: Add bluefish.'
 [gnome-blue a9c8770] gnu: Add bluefish.
  1 file changed, 31 insertions(+)
$ git rebase master
 Current branch gnome-blue is up to date.
$ git format-patch master
 0001-gnu-Add-gucharmap.patch
 0002-gnu-Add-bluefish.patch

Then this produces two patches!, I attach to both?

Thanks.



Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-10 Thread rennes

Apologize for many questions.


git checkout master
git pull
git checkout your-branch-with-bluefish
git rebase master


I made:
$ git checkout master
M   gnu/packages/gnome.scm
Already on 'master'
Your branch is up-to-date with 'origin/master'.
$ git pull
Already up-to-date.
$ git checkout gnu/packages/gnome.scm
$ git rebase master
Current branch master is up to date.

and now my new patches does not exists.

I need add boot patches in one?



Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-09 Thread rennes

updated package.

Thanks for your tips.


I also noticed a couple of things:

* In June 2016 version 2.2.9 has been released.  It is not available on
  sourceforge but on their servers at
  
http://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.9.tar.gz


  I verified the signature and computed this hash for the tarball:
  1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756

* The description has a couple of errors.  Here’s a corrected version:

 "Bluefish is an editor targeted towards programmers and web 
developers,

  with many options to write web sites, scripts and other code.
  Bluefish supports many programming and markup languages."

* The license is GPLv3+ because the license headers contain the phrases
  “either version 3 of the License, or (at your option) any later 
version”From c0f3fc054bbe3431eed115eba8bf8bde019f19d9 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 9 Oct 2016 15:14:10 -0500
Subject: [PATCH 2/2] gnu: Add bluefish.

* gnu/packages/gnome.scm (bluefish): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ac5a9d9..210b1f1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5576,3 +5576,34 @@ characters and categories for the installed fonts, and to examine their
 detailed properties.  It is an easy way to find the character you might
 only know by its Unicode name or code point.")
 (license license:gpl3+)))
+
+(define-public bluefish
+  (package
+(name "bluefish")
+(version "2.2.9")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/;
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "1vnl6raxbvc4hacg3pr6sqyjh707d304dhk5nyhlp7m0m1y3j756"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("enchant" ,enchant)
+   ("gtk+" ,gtk+)
+   ("python" ,python-2)
+   ("xmllint" ,libxml2)
+   ("gucharmap" ,gucharmap)))
+(home-page "http://bluefish.openoffice.nl;)
+(synopsis "Web development studio")
+(description
+ "Bluefish is an editor targeted towards programmers and web developers,
+with many options to write web sites, scripts and other code.
+Bluefish supports many programming and markup languages.")
+(license license:gpl3+)))
-- 
2.10.0



Re: [PATCH 1/2] gnu: Add gucharmap.

2016-10-09 Thread rennes

updated package.

Thanks for your tips.

On 2016-10-09 05:59, Hartmut Goebel wrote:

Hi,


+ (synopsis "Character Map")


 Looks like you missed my message:

Again, please be a bit more verbose. I do not even understand what a
"Character map" is (maybe this is an English idiom, but I'm no native
speaker.) Debian calls it "Unicode character picker and font browser",
which is more meaningful for me.


+ (description
+ "Character map, based on the Unicode Character Database.")


 Again, please be more verbose. E-g- Debian:


This program allows you to browse through all the available Unicode
characters and categories for the installed fonts, and to examine
their detailed properties. It is an easy way to find the character
you might only know by its Unicode name or code point.From 1353f9c76e82bb86b93c596403221e9e0dfe3ca7 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 9 Oct 2016 14:57:25 -0500
Subject: [PATCH 1/2] gnu: Add gucharmap.

* gnu/packages/gnome.scm (gucharmap): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e33f744..ac5a9d9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5543,3 +5543,36 @@ handling the startup notification side.")
  "Calculator is an application that solves mathematical equations and
 is suitable as a default application in a Desktop environment.")
 (license license:gpl3)))
+
+(define-public gucharmap
+  (package
+(name "gucharmap")
+(version "3.18.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("glib:bin" ,glib "bin") ; for glib-compile-resources.
+   ("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtk+" ,gtk+)
+   ("xmllint" ,libxml2)))
+(home-page "https://wiki.gnome.org/Apps/Gucharmap;)
+(synopsis "Unicode character picker and font browser")
+(description
+ "This program allows you to browse through all the available Unicode
+characters and categories for the installed fonts, and to examine their
+detailed properties.  It is an easy way to find the character you might
+only know by its Unicode name or code point.")
+(license license:gpl3+)))
-- 
2.10.0



Re: [PATCH 2/2] gnu: Add gnome-clocks.

2016-10-08 Thread rennes

Hello,


Could you send an updated patch?


Hello,
I found a problem with one of the functions of the application related 
to gnome-shell and geoclue. I will continue conducting tests.


Thank you.



Re: [PATCH 2/2] gnu: Add bluefish.

2016-10-05 Thread rennes


Updated patch.


Same here: This shout go into gnu/packages/gnome.scm. We do not add a
file for every single application.

+(synopsis "HTML editor")

Could you pleae be  a bit more verbose here. Deban says "advanced Gtk+
text editor for web and software development" Other distributions call
this "Web development studio" (I don't know if this is right, though).From f1a573b2dcf5ad509089b9e5ec4c1aff4a15473c Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 5 Oct 2016 18:13:38 -0500
Subject: [PATCH 2/2] gnu: Add bluefish.

	* gnu/packages/gnome.scm (bluefish): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0bc66a9..d29bed1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5573,3 +5573,34 @@ is suitable as a default application in a Desktop environment.")
 (description
  "Character map, based on the Unicode Character Database.")
 (license license:gpl3)))
+
+(define-public bluefish
+  (package
+(name "bluefish")
+(version "2.2.8")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://sourceforge/bluefish/bluefish/"
+   version "/bluefish-" version ".tar.bz2"))
+   (sha256
+(base32
+ "002hfj125j7372zdq8cb8fadyyd6ws42avm8ngjl6gzfbjaqymrj"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("enchant" ,enchant)
+   ("gtk+" ,gtk+)
+   ("python" ,python-2)
+   ("xmllint" ,libxml2)
+   ("gucharmap" ,gucharmap)))
+(home-page "http://bluefish.openoffice.nl;)
+(synopsis "Web development studio")
+(description
+ "Bluefish is a editor targeted towards programmers and webdevelopers,
+with many options to write websites, scripts and programming code.
+Bluefish supports many programming and markup languages.")
+(license license:gpl3)))
-- 
2.10.0



Re: [PATCH 1/2] gnu: Add gucharmap.

2016-10-05 Thread rennes

Hello,

On 2016-10-05 04:36, Hartmut Goebel wrote:

This shout go into gnu/packages/gnome.scm. We do not add a file for
every single application.


 * I have updated the package.
 * This package also includes the UNICODE license, according to 
'https://www.gnu.org/licenses/license-list'; It is compatible with all 
versions GPL.From d6ef1fc545b2fabaf9f2c38252809456b4b6c6cc Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 5 Oct 2016 17:50:51 -0500
Subject: [PATCH 1/2] gnu: Add gucharmap.

	* gnu/packages/gnome.scm (gucharmap): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e33f744..0bc66a9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5543,3 +5543,33 @@ handling the startup notification side.")
  "Calculator is an application that solves mathematical equations and
 is suitable as a default application in a Desktop environment.")
 (license license:gpl3)))
+
+(define-public gucharmap
+  (package
+(name "gucharmap")
+(version "3.18.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("glib:bin" ,glib "bin") ; for glib-compile-resources.
+   ("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtk+" ,gtk+)
+   ("xmllint" ,libxml2)))
+(home-page "https://wiki.gnome.org/Apps/Gucharmap;)
+(synopsis "Character Map")
+(description
+ "Character map, based on the Unicode Character Database.")
+(license license:gpl3)))
-- 
2.10.0



[PATCH 2/2] gnu: Add bluefish.

2016-10-04 Thread rennes

This patch is bluefish, a HTML editor.

Built, linted and tested.

Thank youFrom b80dc8081d4e615a4d6ab21c34afb4fed77a49bf Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Tue, 4 Oct 2016 21:17:04 -0500
Subject: [PATCH 2/2] gnu: Add bluefish.

	* gnu/packages/bluefish.scm (bluefish): New variable.

---
 gnu/packages/bluefish.scm | 62 +++
 1 file changed, 62 insertions(+)
 create mode 100644 gnu/packages/bluefish.scm

diff --git a/gnu/packages/bluefish.scm b/gnu/packages/bluefish.scm
new file mode 100644
index 000..9217e59
--- /dev/null
+++ b/gnu/packages/bluefish.scm
@@ -0,0 +1,62 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages bluefish)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (gnu packages enchant)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages gucharmap)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages xml))
+
+(define-public bluefish
+  (package
+(name "bluefish")
+(version "2.2.8")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://sourceforge/bluefish/bluefish/"
+   version "/bluefish-" version ".tar.bz2"))
+   (sha256
+(base32
+ "002hfj125j7372zdq8cb8fadyyd6ws42avm8ngjl6gzfbjaqymrj"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("enchant" ,enchant)
+   ("gtk+" ,gtk+)
+   ("python" ,python-2)
+   ("xmllint" ,libxml2)
+   ("gucharmap" ,gucharmap)))
+(home-page "http://bluefish.openoffice.nl;)
+(synopsis "HTML editor")
+(description
+ "Bluefish is a editor targeted towards programmers and webdevelopers,
+with many options to write websites, scripts and programming code.
+Bluefish supports many programming and markup languages.")
+(license license:gpl3)))
-- 
2.10.0



[PATCH 1/2] gnu: Add gucharmap.

2016-10-04 Thread rennes

Hello,
gucharmap is the GNOME Character Map.

Built and linted.

Thank youFrom 621c83f9a71f29c593fbc045603eed8ae7e1b6bb Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Tue, 4 Oct 2016 21:14:12 -0500
Subject: [PATCH 1/2] gnu: Add gucharmap.

	* gnu/packages/gucharmap.scm (gucharmap): New variable.

---
 gnu/packages/gucharmap.scm | 59 ++
 1 file changed, 59 insertions(+)
 create mode 100644 gnu/packages/gucharmap.scm

diff --git a/gnu/packages/gucharmap.scm b/gnu/packages/gucharmap.scm
new file mode 100644
index 000..ac643f2
--- /dev/null
+++ b/gnu/packages/gucharmap.scm
@@ -0,0 +1,59 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages gucharmap)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xml))
+
+(define-public gucharmap
+  (package
+(name "gucharmap")
+(version "3.18.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"
+(build-system gnu-build-system)
+(native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+   ("glib:bin" ,glib "bin") ; for glib-compile-resources.
+   ("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtk+" ,gtk+)
+   ("xmllint" ,libxml2)))
+(home-page "https://wiki.gnome.org/Apps/Gucharmap;)
+(synopsis "Character Map")
+(description
+ "Character map, based on the Unicode Character Database.")
+(license license:gpl3)))
-- 
2.10.0



[PATCH 1/2] gnu: Add gsound.

2016-10-01 Thread rennes
Hello,
this patch is gsound library required for gnome-clocks application.

Built and linted.

Thank youFrom 1d8368a12295c223626a3638d45e50a2043b980c Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sat, 1 Oct 2016 07:17:34 -0500
Subject: [PATCH 1/2] gnu: Add gsound.

	* gnu/packages/gsound.scm (gsound): New variable.
	
---
 gnu/packages/gsound.scm | 53 +
 1 file changed, 53 insertions(+)
 create mode 100644 gnu/packages/gsound.scm

diff --git a/gnu/packages/gsound.scm b/gnu/packages/gsound.scm
new file mode 100644
index 000..6894bbe
--- /dev/null
+++ b/gnu/packages/gsound.scm
@@ -0,0 +1,53 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages gsound)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages libcanberra)
+  #:use-module (gnu packages pkg-config))
+
+(define-public gsound
+  (package
+(name "gsound")
+(version "1.0.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"
+(build-system gnu-build-system)
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("glib" ,glib) ; for gio-2.0.
+   ("libcanberra" ,libcanberra)))
+(home-page "https://wiki.gnome.org/Projects/GSound;)
+(synopsis "Small library for playing system sounds")
+(description
+ "Designed to be used via GObject Introspection,
+and is a thin wrapper around the libcanberra C library.")
+(license license:lgpl2.1)))
-- 
2.10.0



Re: [PATCH] gnu: Add gnome-calculator.

2016-09-23 Thread rennes
On Thu, 2016-09-22 at 21:23 -0400, Kei Kebreau wrote:
> 
> This is a good patch! The only change I recommend is moving the
> defintion to gnome.scm.

I update the patch,
 * Create the definition in gnome.scm file.
 * Move 'glib' to native-inputs.
 * Delete Copyright duplicate for 
   ';;; Copyright © 2016 Rene Saavedra '

Thank youFrom af8eed82a79808a8bc12d6b45b3e4281854ab2c9 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Fri, 23 Sep 2016 07:53:09 -0500
Subject: [PATCH] gnu: Add gnome-calculator.

	* gnu/packages/gnome.scm (gnome-calculator): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 01736e9..e4ff0ef 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -14,7 +14,6 @@
 ;;; Copyright © 2015, 2016 Efraim Flashner 
 ;;; Copyright © 2016 Rene Saavedra 
 ;;; Copyright © 2016 Jochem Raat 
-;;; Copyright © 2016 Rene Saavedra 
 ;;; Copyright © 2016 Kei Kebreau 
 ;;; Copyright © 2016 Jan Nieuwenhuizen 
 ;;; Copyright © 2016 Roel Janssen 
@@ -110,6 +109,7 @@
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages mit-krb5)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages ncurses)
@@ -5501,3 +5501,33 @@ write this kind of application, by providing a base class, taking care of all
 the IPC machinery needed to send messages to a running instance, and also
 handling the startup notification side.")
 (license license:lgpl2.1+)))
+
+(define-public gnome-calculator
+  (package
+(name "gnome-calculator")
+(version "3.20.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1yx86kyd54y3k3b6rmdazvmpxzl0zn791zr1q87zjc5228mc3w9a"
+(build-system glib-or-gtk-build-system)
+(native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
+   ("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gtksourceview" ,gtksourceview)
+   ("libsoup" ,libsoup)
+   ("mpfr" ,mpfr)))
+(home-page "https://wiki.gnome.org/Apps/Calculator;)
+(synopsis "Desktop calculator")
+(description
+ "Calculator is an application that solves mathematical equations and
+is suitable as a default application in a Desktop environment.")
+(license license:gpl3)))
-- 
2.6.3



[PATCH] gnu: Add gnome-calculator.

2016-09-22 Thread rennes

This patch is a calculator for the GNOME desktop.

Built, linted and tested.

ThanksFrom 1b8ce35fac1705575e9326e86aac9bdd357baa68 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 22 Sep 2016 18:47:05 -0500
Subject: [PATCH] gnu: Add gnome-calculator.

	* gnu/packages/gnome-calculator.scm (gnome-calculator): New variable.

---
 gnu/packages/gnome-calculator.scm | 59 +++
 1 file changed, 59 insertions(+)
 create mode 100644 gnu/packages/gnome-calculator.scm

diff --git a/gnu/packages/gnome-calculator.scm b/gnu/packages/gnome-calculator.scm
new file mode 100644
index 000..36a4160
--- /dev/null
+++ b/gnu/packages/gnome-calculator.scm
@@ -0,0 +1,59 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages gnome-calculator)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages multiprecision)
+  #:use-module (gnu packages pkg-config))
+
+(define-public gnome-calculator
+  (package
+(name "gnome-calculator")
+(version "3.20.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1yx86kyd54y3k3b6rmdazvmpxzl0zn791zr1q87zjc5228mc3w9a"
+(build-system glib-or-gtk-build-system)
+(native-inputs
+ `(("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("glib" ,glib) ; for glib-compile-schemas, gio-2.0.
+   ("gtksourceview" ,gtksourceview)
+   ("libsoup" ,libsoup)
+   ("mpfr" ,mpfr)))
+(home-page "https://wiki.gnome.org/Apps/Calculator;)
+(synopsis "Desktop calculator")
+(description
+ "Calculator is an application that solves mathematical equations and
+is suitable as a default application in a Desktop environment.")
+(license license:gpl3)))
-- 
2.6.3



Re: [PATCH] gnu: Add linux-pam.

2016-09-20 Thread rennes
Hello,

> Then I think we can install the patch (in core-updates), making sure
> it
> contains a reference to the above ticket.
> 
> Could you send the updated patch?

attached the updated patch.From b4753711aabcefa410b2eb4ced9d25e084bb7658 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Tue, 20 Sep 2016 14:59:20 -0500
Subject: [PATCH] gnu: Add linux-pam.

	* gnu/packages/linux.scm (linux-pam): Use it.
	* gnu/packages/patches/linux-pam-no-setfsuid.patch: New file.
	* gnu/local.mk (dist_patch_DATA): Add it.

---
 gnu/local.mk |  2 +
 gnu/packages/linux.scm   |  7 ++-
 gnu/packages/patches/linux-pam-no-setfsuid.patch | 75 
 3 files changed, 83 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/patches/linux-pam-no-setfsuid.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index a756638..f0415f6 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,6 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver 
 # Copyright © 2016 Chris Marusich 
 # Copyright © 2016 Kei Kebreau 
+# Copyright © 2016 Rene Saavedra 
 #
 # This file is part of GNU Guix.
 #
@@ -658,6 +659,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/libwmf-CVE-2015-4695.patch		\
   %D%/packages/patches/libwmf-CVE-2015-4696.patch		\
   %D%/packages/patches/libxslt-generated-ids.patch		\
+  %D%/packages/patches/linux-pam-no-setfsuid.patch		\
   %D%/packages/patches/lirc-localstatedir.patch			\
   %D%/packages/patches/llvm-for-extempore.patch			\
   %D%/packages/patches/lm-sensors-hwmon-attrs.patch		\
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5e9263e..e5dbc42 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus 
 ;;; Copyright © 2016 David Craven 
 ;;; Copyright © 2016 John Darrington 
+;;; Copyright © 2016 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -371,7 +372,11 @@ It has been modified to remove all non-free binary blobs.")
 version ".tar.bz2")))
   (sha256
(base32
-"1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl"
+"1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl"))
+  ;; On the Hurd system in the 'build' phase seeks fsuid.h file.
+  ;; See the patch for details.
+  (patches (search-patches
+"linux-pam-no-setfsuid.patch"
 (build-system gnu-build-system)
 (native-inputs
  `(("flex" ,flex)
diff --git a/gnu/packages/patches/linux-pam-no-setfsuid.patch b/gnu/packages/patches/linux-pam-no-setfsuid.patch
new file mode 100644
index 000..c14721d
--- /dev/null
+++ b/gnu/packages/patches/linux-pam-no-setfsuid.patch
@@ -0,0 +1,75 @@
+On systems without setfsuid(), use setreuid() instead.
+
+The patch originates from the Debian project for the Hurd system.
+Authors: Steve Langasek 
+Upstream status: A ticket was opened to request apply the patch,
+ticket: 'https://fedorahosted.org/linux-pam/ticket/64'.
+
+--- Linux-PAM-1.2.1/libpam/pam_modutil_priv.c	2015-03-24 06:02:32.0 -0600
 pam_modutil_priv-mod.c	2016-09-20 13:36:53.150663205 -0500
+@@ -14,7 +14,9 @@
+ #include 
+ #include 
+ #include 
++#ifdef HAVE_SYS_FSUID_H
+ #include 
++#endif /* HAVE_SYS_FSUID_H */
+ 
+ /*
+  * Two setfsuid() calls in a row are necessary to check
+@@ -22,17 +24,55 @@
+  */
+ static int change_uid(uid_t uid, uid_t *save)
+ {
++#ifdef HAVE_SYS_FSUID_H  
+ 	uid_t tmp = setfsuid(uid);
+ 	if (save)
+ 		*save = tmp;
+ 	return (uid_t) setfsuid(uid) == uid ? 0 : -1;
++#else
++	uid_t euid = geteuid();
++	uid_t ruid = getuid();
++	if (save)
++		*save = ruid;
++	if (ruid == uid && uid != 0)
++		if (setreuid(euid, uid))
++			return -1;
++	else {
++		setreuid(0, -1);
++		if (setreuid(-1, uid)) {
++			setreuid(-1, 0);
++			setreuid(0, -1);
++			if (setreuid(-1, uid))
++return -1;
++		}
++	}
++#endif
+ }
+ static int change_gid(gid_t gid, gid_t *save)
+ {
++#ifdef HAVE_SYS_FSUID_H  
+ 	gid_t tmp = setfsgid(gid);
+ 	if (save)
+ 		*save = tmp;
+ 	return (gid_t) setfsgid(gid) == gid ? 0 : -1;
++#else
++	gid_t egid = getegid();
++	gid_t rgid = getgid();
++	if (save)
++		*save = rgid;
++	if (rgid == gid)
++		if (setregid(egid, gid))
++			return -1;
++	else {
++		setregid(0, -1);
++		if (setregid(-1, gid)) {
++			setregid(-1, 0);
++			setregid(0, -1);
++			if (setregid(-1, gid))
++return -1;
++		}
++	}
++#endif	
+ }
+ 
+ static int cleanup(struct pam_modutil_privs *p)
-- 
2.6.3



Re: [security] gnome-session update required

2016-09-17 Thread rennes

> Try updating gnome-session to 3.20.2 and see if your GuixSD / GNOME
> system still works. Please ask for help on #guix on freenode if you
> need
> help doing that.
> 
> If not, I will just push the update later today or tomorrow and wait
> for
> bug reports.

This is the patch to update the version of gnome-session to 3.20.2.

GuixSD and GNOME works fine after install gnome-session-3.20.2.

ThanksFrom 31fdcede0ef12250dd71da4d30e05bb6edd0af76 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sat, 17 Sep 2016 11:31:56 -0500
Subject: [PATCH] gnu: gnome-session: Update to 3.20.2.

	* gnu/packages/gnome.scm (gnome-session): Update to 3.20.2.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 19e982d..c0461e1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3920,7 +3920,7 @@ such as gzip tarballs.")
 (define-public gnome-session
   (package
 (name "gnome-session")
-(version "3.20.1")
+(version "3.20.2")
 (source (origin
   (method url-fetch)
   (uri (string-append "mirror://gnome/sources/" name "/"
@@ -3928,7 +3928,7 @@ such as gzip tarballs.")
   name "-" version ".tar.xz"))
   (sha256
(base32
-"04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"
+"1npnjm6wirz2v0liv7n23ivp2w0y1q230qcdb681hhzmp7h9fpq2"
 (arguments
  '(#:phases
(modify-phases %standard-phases
-- 
2.6.3



[security] gnome-session update required

2016-09-16 Thread rennes
Hello,

> Will some helpful GNOME user update gnome-session to 3.20.2?
> 
> There is a heap overflow in the version of gnome-session that we
> package:
> https://bugzilla.gnome.org/show_bug.cgi?id=768441
> http://seclists.org/oss-sec/2016/q3/526

I would like to help but do not understand what needs to be done?



[WIP PATCH] gnu: Add evolution.

2016-09-15 Thread rennes
Hello,

this patch is evolution, a mail client for the GNOME desktop.

To run evolution is necessary to install evolution-data-server in user
profile; then I think that is required to start evolution-data-server
as a service to run successfully evolution without install evolution-
data-server in user profile.

Can some one help me, to clarify?.

any of these services requires evolution (evolution-source-registry):

* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-source-registry
* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-calendar-factory
* /gnu/store/qs0rsa4xacq6k9138321b2qpmfa79m09-evolution-
3.20.1/libexec/evolution/evolution-alarm-notify
* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-calendar-factory-subprocess --factory contacts
--bus-name
org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx13711x2 --
own-path
/org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/13711/2
* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-addressbook-factory
* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-calendar-factory-subprocess --factory local --
bus-name
org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx13711x3 --
own-path
/org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/13711/3
* /gnu/store/0kgy9c98dlfz6ys3vv8n9s1bsry7ndgh-evolution-data-server-
3.20.1/libexec/evolution-addressbook-factory-subprocess --factory local
--bus-name
org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx13743x2
--own-path
/org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/13743/2


Thank youFrom c3d83fcc79da21c8181a10e44568bbe0227fc99e Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 15 Sep 2016 19:40:39 -0500
Subject: [PATCH] gnu: Add evolution.

* gnu/packages/evolution.scm (evolution): New file.

---
 gnu/packages/evolution.scm | 93 ++
 1 file changed, 93 insertions(+)
 create mode 100644 gnu/packages/evolution.scm

diff --git a/gnu/packages/evolution.scm b/gnu/packages/evolution.scm
new file mode 100644
index 000..305893f
--- /dev/null
+++ b/gnu/packages/evolution.scm
@@ -0,0 +1,93 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages evolution)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages enchant)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages libcanberra)
+  #:use-module (gnu packages mail)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages webkit))
+
+(define-public evolution
+  (package
+(name "evolution")
+(version "3.20.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1lr700xvwflsp6jkd7fg8yv68qzrvyhg7ryjzk2n68m61zi6g582"
+(build-system glib-or-gtk-build-system)
+(arguments
+ ;; Optional modules, not packaged yet.
+ `(#:configure-flags (list
+  ;; gnome-autoar not packaged yet.
+  "--enable-autoar=no"
+  ;; libcryptui not packaged yet.
+  "--disable-libcryptui"
+  ;; text-highlight not packaged yet.
+  "--disable-text-highlight"
+  ;; pst-import not packaged yet.
+  "--disable-pst-import"
+  ;; spamassassin not packaged yet.
+  "--with-spamassassin=no")))
+(native-inputs
+ `(("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("pkg-config" 

Re: [PATCH] gnu: Add linux-pam.

2016-09-15 Thread rennes
Hello Ludovic,

> What’s the status of this patch?
> 
> If discussion with upstream is underway, we could apply it in
> core-udpates.

I have not been answered by the team of linux-pam. This is my ticket:

https://fedorahosted.org/linux-pam/ticket/64


Thanks




[PATCH] gnu: nano: Update to 2.7.0.

2016-09-03 Thread rennes

This is a patch to update the version of nano to 2.7.0.
Built, linted and tested on Linux and the Hurd systems.

ThanksFrom 285a74b1de29f4aa97cfbaf95c3d9ab2d9a4b955 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 4 Sep 2016 00:05:11 -0500
Subject: [PATCH] gnu: nano: Update to 2.7.0.

	* gnu/packages/nano.scm (nano): Update to 2.7.0.
	
---
 gnu/packages/nano.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/nano.scm b/gnu/packages/nano.scm
index eabfaa5..3c4c699 100644
--- a/gnu/packages/nano.scm
+++ b/gnu/packages/nano.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012 Nikita Karetnikov 
 ;;; Copyright © 2015, 2016 Efraim Flashner 
+;;; Copyright © 2016 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28,7 +29,7 @@
 (define-public nano
   (package
 (name "nano")
-(version "2.5.3")
+(version "2.7.0")
 (source
  (origin
   (method url-fetch)
@@ -36,7 +37,7 @@
   version ".tar.gz"))
   (sha256
(base32
-"1vhjrcydcfxqq1719vcsvqqnbjbq2523m00dhzag5vwzkc961c5j"
+"1hzazcrbwjqiw89jjvlj97q0wf385qqkzcm0870pdrixiv7yklax"
 (build-system gnu-build-system)
 (inputs
  `(("gettext" ,gnu-gettext)
-- 
2.6.3



Re: [PATCH] gnu: Add linux-pam.

2016-09-03 Thread rennes

On 2016-08-27 03:00, Ricardo Wurmus wrote:


Would you like to try to get the patch accepted upstream by the
developers of linux-pam?  If I remember correctly, a lot of the patches
for Debian Hurd are in need of being sent upstream, so getting the 
patch

accepted would be the best for all involved projects.



Apologizes for the delay, I request to pam developers team but I still 
don't have answer.




[PATCH] gnu: Add linux-pam.

2016-08-26 Thread rennes
This is a patch for linux-pam, at compile on the Hurd system searches 
the file fsuid.h. The patch was taken from the Debian project.


 * This patch is prerequisite for lsh/openssh packages.
 * The patch was build and installed on Linux and the Hurd systems.

ThanksFrom c7ddf09a79ad33d69b5ac8080b6131763e836ae5 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Fri, 26 Aug 2016 23:19:14 -0500
Subject: [PATCH] gnu: Add linux-pam.

	* gnu/packages/linux.scm (linux-pam): Use it.
	* gnu/packages/patches/linux-pam-no-setfsuid.patch: New file.
	* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk |  2 +
 gnu/packages/linux.scm   |  6 +-
 gnu/packages/patches/linux-pam-no-setfsuid.patch | 79 
 3 files changed, 86 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/patches/linux-pam-no-setfsuid.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index b8c5378..391aa8a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,6 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver 
 # Copyright © 2016 Chris Marusich 
 # Copyright © 2016 Kei Kebreau 
+# Copyright © 2016 Rene Saavedra 
 #
 # This file is part of GNU Guix.
 #
@@ -644,6 +645,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/libwmf-CVE-2015-4695.patch		\
   %D%/packages/patches/libwmf-CVE-2015-4696.patch		\
   %D%/packages/patches/libxslt-generated-ids.patch		\
+  %D%/packages/patches/linux-pam-no-setfsuid.patch		\
   %D%/packages/patches/lirc-localstatedir.patch			\
   %D%/packages/patches/lm-sensors-hwmon-attrs.patch		\
   %D%/packages/patches/lua-CVE-2014-5461.patch  \
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1fd792d..8d7ff4c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2016 Nicolas Goaziou 
 ;;; Copyright © 2016 Ricardo Wurmus 
 ;;; Copyright © 2016 David Craven 
+;;; Copyright © 2016 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -390,7 +391,10 @@ It has been modified to remove all non-free binary blobs.")
 version ".tar.bz2")))
   (sha256
(base32
-"1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl"
+"1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl"))
+  ;; On the Hurd system in the 'build' phase seeks fsuid.h file.
+  (patches (search-patches
+"linux-pam-no-setfsuid.patch"
 (build-system gnu-build-system)
 (native-inputs
  `(("flex" ,flex)
diff --git a/gnu/packages/patches/linux-pam-no-setfsuid.patch b/gnu/packages/patches/linux-pam-no-setfsuid.patch
new file mode 100644
index 000..7940c5a
--- /dev/null
+++ b/gnu/packages/patches/linux-pam-no-setfsuid.patch
@@ -0,0 +1,79 @@
+The patch originates from the Debian project for the Hurd system.
+
+On systems without setfsuid(), use setreuid() instead.
+
+Authors: Steve Langasek 
+
+Upstream status: to be forwarded, now that pam_modutil_{drop,regain}_priv
+ are implemented
+
+Index: pam.debian/libpam/pam_modutil_priv.c
+===
+--- pam.debian.orig/libpam/pam_modutil_priv.c
 pam.debian/libpam/pam_modutil_priv.c
+@@ -14,7 +14,9 @@
+ #include 
+ #include 
+ #include 
++#ifdef HAVE_SYS_FSUID_H
+ #include 
++#endif /* HAVE_SYS_FSUID_H */
+ 
+ /*
+  * Two setfsuid() calls in a row are necessary to check
+@@ -22,17 +24,55 @@
+  */
+ static int change_uid(uid_t uid, uid_t *save)
+ {
++#ifdef HAVE_SYS_FSUID_H
+ 	uid_t tmp = setfsuid(uid);
+ 	if (save)
+ 		*save = tmp;
+ 	return (uid_t) setfsuid(uid) == uid ? 0 : -1;
++#else
++	uid_t euid = geteuid();
++	uid_t ruid = getuid();
++	if (save)
++		*save = ruid;
++	if (ruid == uid && uid != 0)
++		if (setreuid(euid, uid))
++			return -1;
++	else {
++		setreuid(0, -1);
++		if (setreuid(-1, uid)) {
++			setreuid(-1, 0);
++			setreuid(0, -1);
++			if (setreuid(-1, uid))
++return -1;
++		}
++	}
++#endif
+ }
+ static int change_gid(gid_t gid, gid_t *save)
+ {
++#ifdef HAVE_SYS_FSUID_H
+ 	gid_t tmp = setfsgid(gid);
+ 	if (save)
+ 		*save = tmp;
+ 	return (gid_t) setfsgid(gid) == gid ? 0 : -1;
++#else
++	gid_t egid = getegid();
++	gid_t rgid = getgid();
++	if (save)
++		*save = rgid;
++	if (rgid == gid)
++		if (setregid(egid, gid))
++			return -1;
++	else {
++		setregid(0, -1);
++		if (setregid(-1, gid)) {
++			setregid(-1, 0);
++			setregid(0, -1);
++			if (setregid(-1, gid))
++return -1;
++		}
++	}
++#endif
+ }
+ 
+ static int cleanup(struct pam_modutil_privs *p)
-- 
2.6.3



[PATCH] gnu: gnome-screenshot: Update to 3.20.1.

2016-08-24 Thread rennes

This is a patch to update the version of gnome-screenshot to 3.20.1.
Built, linted and tested.

ThanksFrom 17c165c637f487d723a43480f5616b0be0fe484d Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 24 Aug 2016 21:39:58 -0500
Subject: [PATCH] gnu: gnome-screenshot: Update to 3.20.1.

	* gnu/packages/gnome.scm (gnome-screenshot): Update to 3.20.1.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8853df5..f4488c9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4951,7 +4951,7 @@ can add your own files to the collection.")
 (define-public gnome-screenshot
   (package
 (name "gnome-screenshot")
-(version "3.18.0")
+(version "3.20.1")
 (source
  (origin
(method url-fetch)
@@ -4960,7 +4960,7 @@ can add your own files to the collection.")
name "-" version ".tar.xz"))
(sha256
 (base32
- "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"
+ "0hz1ywgb5vbfqr0p0cr20hmz5b11msyi3psanszdnv0lhxl9pa06"
 (build-system glib-or-gtk-build-system)
 (native-inputs
  `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
-- 
2.6.3



Re: [PATCH] gnu: Add Aircrack-ng.

2016-08-11 Thread rennes

Hello,


+(description
+ "Aircrack-ng is a complete suite of tools to assess WiFi nnetwork



perhaps the word is network instead nnetwork.




Re: [PATCH] gnu: Add ola.

2016-08-10 Thread rennes

John,


Thank you so much for doing this.  If 'make check' succeeds, those are
the main tests, but to check installation, I would look for the
following programs being installed:

ola   ola_e131ola_plugin_state   
ola_rdm_set

ola_set_priority  ola_trigger ola_uni_name   ola_artnet
ola_dmxconsoleola_patch   ola_rdm_discover   
ola_recorder

ola_streaming_client  ola_uni_infoola_uni_stats  olad
ola_dmxmonitorola_plugin_info ola_rdm_get
ola_set_dmx
ola_timecode  ola_uni_merge   ola_usbpro 
ola_dev_info




I see only the following programs:

ola_artnetola_plugin_state  ola_set_priority  
ola_uni_name
olad  ola_rdm_discover  ola_streaming_client  
ola_uni_stats
ola_dev_info  ola_rdm_get   ola_timecode  
ola_usbpro

ola_e131  ola_rdm_set   ola_trigger
ola_patch ola_recorder  ola_uni_info
ola_plugin_info   ola_set_dmx   ola_uni_merge



These are the programs installed by the Debian ola package, and I don't
know what packaging options might have affected which were installed,
but the list should be more or less the same.

To start the ola daemon and generate a config:

olad -c ~/my-ola


when the command is run, it displays message:

$ olad -c ~/my-ola

common/io/IOUtils.cpp:39: open(/dev/dmx0): No such file or directory
plugins/opendmx/OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such 
file or directory

common/network/IPV4Address.cpp:89: Could not convert address 677966233
common/io/IOUtils.cpp:39: open(/dev/kldmx0): No such file or directory
plugins/karate/KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such 
file or directory





This should start a web service on port 9090, so you can point a web
browser to localhost:9090 and see if anything comes up.


the service is not responding. Any ideas?

Thanks.




[PATCH] gnu: Add ola.

2016-08-03 Thread rennes

Hello Guix,


Date: Wed, 03 Aug 2016 09:14:09 -0400
From: John J Foerch 

Hi, I have a favor to ask of anybody in the guix community - is there
anybody who would be willing to finish this package for me, since I
can't build and test it?  This is a library that I need to use, but
maybe the only way that I can use it (until I upgrade my computer) will
be to install it as a substitute.

Or are there any other suggestions for how I can build this myself?



I attached the patch with some modifications for your review.
I compiled and installed the ola package correctly.

John, how I can make a real test to see if it works?


ThanksFrom 562f3f6d4446fa68c21f1c42c0f39bf2ac145935 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 3 Aug 2016 21:36:52 -0500
Subject: [PATCH] gnu: Add ola.
	 
	* gnu/packages/ola.scm (ola): New variable.

---
 gnu/packages/ola.scm | 66 
 1 file changed, 66 insertions(+)
 create mode 100644 gnu/packages/ola.scm

diff --git a/gnu/packages/ola.scm b/gnu/packages/ola.scm
new file mode 100644
index 000..826c989
--- /dev/null
+++ b/gnu/packages/ola.scm
@@ -0,1 +1,66 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 John J. Foerch 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages ola)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages flex)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages protobuf))
+
+(define-public ola
+  (package
+(name "ola")
+(version "0.10.2")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+"https://github.com/OpenLightingProject/ola/releases/download/;
+version "/ola-" version ".tar.gz"))
+  (sha256
+   (base32
+"09zx1c8nkj29shfdzkahrh9397m3mwnsy0gj7jrb63f89f3n2vlq"
+(build-system gnu-build-system)
+(native-inputs
+ `(("bison" ,bison)
+   ("cppunit" ,cppunit)
+   ("flex" ,flex)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("libuuid" ,util-linux)
+   ("protobuf" ,protobuf)
+   ("zlib" ,zlib)))
+(arguments
+ `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+   #:phases %standard-phases))
+(synopsis "Framework for controlling entertainment lighting equipment")
+(description "The Open Lighting Architecture is a framework for lighting
+control information.  It supports a range of protocols and over a dozen USB
+devices.  It can run as a standalone service, which is useful for converting
+signals between protocols, or alternatively using the OLA API, it can be used
+as the backend for lighting control software.  OLA runs on many different
+platforms including ARM, which makes it a perfect fit for low cost Ethernet to
+DMX gateways.")
+(home-page "https://www.openlighting.org/ola;)
+(license license:lgpl2.1+)))
-- 
2.6.3



Re: [PATCH] gnu: Add libosinfo.

2016-08-01 Thread rennes

Hello,


It’s funny, because I did forget about it — and wrote the same package
as part of my patch set to add libvirt + virtmanager (which I haven’t
submitted to the ML yet).

~~ Ricardo



I will wait Ricardo include it in their set of patches. Thanks.



Re: [PATCH] gnu: Add fontconfig-path-max.

2016-07-12 Thread rennes

Additional,

I issue the command on GNU/Linux and GNU Hurd:

  ./pre-inst-env guix build fontconfig -K

and compile correctly. How I do manual testing?



On 2016-07-12 09:08, ren...@openmailbox.org wrote:

Hello,


Please see

regarding commit logs.  :-)


Reviewed and corrected in the patch.


+--- a/src/fcstat.c
 b/src/fcstat.c
+@@ -278,7 +278,8 @@ FcDirChecksum (const FcChar8 *dir, time_t 
*checksum)

+   {
+ #endif
+   struct stat statb;
+-  char f[PATH_MAX + 1];
++  int size = 128;
++  char *f = malloc (size);


This is not OK, in part because it introduces a memory leak.  The fix
should be along the same lines as the rest of the patch.


As you suggested, I used the same logic to make this part of patch.

Could you check whether Debian has a patch for a more recent version 
of

Fontconfig?


The version (2.11.0-6.3) is the last version, and not contain a patch
for fcstat.c file. It is possible that the Debian team has not had
problems with this file to compile.

There is a Workaround that suggests mailing lists freedesktop.

https://lists.freedesktop.org/archives/dri-devel/2016-April/105704.html

Thanks for the comments.




Re: [PATCH] gnu: Add fontconfig-path-max.

2016-07-12 Thread rennes

Hello,


Please see

regarding commit logs.  :-)


Reviewed and corrected in the patch.


+--- a/src/fcstat.c
 b/src/fcstat.c
+@@ -278,7 +278,8 @@ FcDirChecksum (const FcChar8 *dir, time_t 
*checksum)

+   {
+ #endif
+   struct stat statb;
+-  char f[PATH_MAX + 1];
++  int size = 128;
++  char *f = malloc (size);


This is not OK, in part because it introduces a memory leak.  The fix
should be along the same lines as the rest of the patch.


As you suggested, I used the same logic to make this part of patch.


Could you check whether Debian has a patch for a more recent version of
Fontconfig?


The version (2.11.0-6.3) is the last version, and not contain a patch 
for fcstat.c file. It is possible that the Debian team has not had 
problems with this file to compile.


There is a Workaround that suggests mailing lists freedesktop.

https://lists.freedesktop.org/archives/dri-devel/2016-April/105704.html

Thanks for the comments.
From a2024a55c8ff0a755b9fca06b35b0d337ce2e577 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Tue, 12 Jul 2016 08:02:03 -0500
Subject: [PATCH] gnu: Add fontconfig.

	* gnu/packages/fontutils.scm (fontconfig): Update to 2.12.0.
	* gnu/packages/patches/fontconfig-path-max.patch: New file.
	* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk   |   2 +
 gnu/packages/fontutils.scm |   9 ++-
 gnu/packages/patches/fontconfig-path-max.patch | 100 +
 3 files changed, 109 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/fontconfig-path-max.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 2238506..bdd8e78 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -5,6 +5,7 @@
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver 
 # Copyright © 2016 Chris Marusich 
 # Copyright © 2016 Kei Yamashita 
+# Copyright © 2016 Rene Saavedra 
 #
 # This file is part of GNU Guix.
 #
@@ -478,6 +479,7 @@ dist_patch_DATA =		\
   gnu/packages/patches/flint-ldconfig.patch			\
   gnu/packages/patches/fltk-shared-lib-defines.patch		\
   gnu/packages/patches/fltk-xfont-on-demand.patch		\
+  gnu/packages/patches/fontconfig-path-max.patch		\
   gnu/packages/patches/fontforge-svg-modtime.patch		\
   gnu/packages/patches/freeimage-CVE-2015-0852.patch		\
   gnu/packages/patches/gawk-fts-test.patch			\
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 5f6ff15..c706e3e 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014, 2016 Eric Bavier 
 ;;; Copyright © 2016 Mark H Weaver 
 ;;; Copyright © 2016 Efraim Flashner 
+;;; Copyright © 2016 Rene Saavedra 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -225,14 +226,18 @@ fonts to/from the WOFF2 format.")
 (define-public fontconfig
   (package
(name "fontconfig")
-   (version "2.11.94")
+   (version "2.12.0")
(source (origin
 (method url-fetch)
 (uri (string-append
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-;
version ".tar.bz2"))
 (sha256 (base32
- "1psrl4b4gi4wmbvwwh43lk491wsl8lgvqj146prlcha3vwjc0qyp"
+ "0942gl0n9zh3lwha1bfvzq7mh7pzycfys8f2mbcgss0zzzpy8cxl"))
+;; The patch originates from the Debian project,
+;; see https://www.debian.org/
+(patches (search-patches
+  "fontconfig-path-max.patch"
(build-system gnu-build-system)
(propagated-inputs `(("expat" ,expat)
 ("freetype" ,freetype)))
diff --git a/gnu/packages/patches/fontconfig-path-max.patch b/gnu/packages/patches/fontconfig-path-max.patch
new file mode 100644
index 000..1ceea12
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-path-max.patch
@@ -0,0 +1,100 @@
+The patch replaces the use of macro PATH_MAX, in default.c and
+fcstat.c files.
+---
+ src/fcdefault.c | 32 +---
+ src/fcstat.c| 28 +++-
+ 2 files changed, 48 insertions(+), 12 deletions(-)
+
+diff --git a/src/fcdefault.c b/src/fcdefault.c
+index 6647a8f..4856777 100644
+--- a/src/fcdefault.c
 b/src/fcdefault.c
+@@ -150,15 +150,33 @@ retry:
+ # if defined (HAVE_GETEXECNAME)
+ 	const char *p = getexecname ();
+ # elif defined (HAVE_READLINK)
+-	char buf[PATH_MAX + 1];
+-	int len;
++	int size = 128;
+ 	char *p = NULL;
+ 
+-	len = readlink ("/proc/self/exe", buf, sizeof (buf) - 1);
+-	if (len != -1)
+-	{
+-	buf[len] = '\0';
+-	p = buf;
++	while (1) {
++	char *buf = malloc (size);
++	int len;
++
++	if (buf == NULL)
++		break;
++
++	len = readlink 

Re: [PATCH] gnu: Add fontconfig-path-max.

2016-07-04 Thread rennes


On 2016-07-04 02:55, Manolis Ragkousis wrote:

Hello,

On 07/04/16 07:02, ren...@openmailbox.org wrote:

The current release is 2.12.0, and still uses the constant PATH_MAX.
And I have not found any related patch for this detail.


Could you send the related patches to fontconfig upstream and see what
they think about them?

Thank you,
Manolis


I will analyze and send the patches. For now I will use the Debian patch 
suggested by Ludo.


Thanks



Re: [PATCH] gnu: Add fontconfig-path-max.

2016-07-04 Thread rennes

Hello,



We should instead use ‘01_path_max.patch’ from
.



I attached the updated patch.

The code has changed in the current version, I used the version 2.12.0 
of the package to update the patch.


how i know if the program will crash at run time?.


Thanks for your guideFrom 21f812c2f496bdb7c39e297f66e09ea35968ddfb Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Mon, 4 Jul 2016 19:34:48 -0500
Subject: [PATCH] gnu: Add fontconfig.

---
 gnu/packages/fontutils.scm |  8 ++-
 gnu/packages/patches/fontconfig-path-max.patch | 69 ++
 2 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/fontconfig-path-max.patch

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 5f6ff15..8ae725b 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -225,14 +225,18 @@ fonts to/from the WOFF2 format.")
 (define-public fontconfig
   (package
(name "fontconfig")
-   (version "2.11.94")
+   (version "2.12.0")
(source (origin
 (method url-fetch)
 (uri (string-append
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-;
version ".tar.bz2"))
 (sha256 (base32
- "1psrl4b4gi4wmbvwwh43lk491wsl8lgvqj146prlcha3vwjc0qyp"
+ "0942gl0n9zh3lwha1bfvzq7mh7pzycfys8f2mbcgss0zzzpy8cxl"))
+   ;; The patch is based on the Debian patch.
+   ;; http://http.debian.net/debian/pool/main/f/fontconfig/fontconfig_2.11.0-6.3.debian.tar.xz
+(patches (search-patches
+  "fontconfig-path-max.patch"
(build-system gnu-build-system)
(propagated-inputs `(("expat" ,expat)
 ("freetype" ,freetype)))
diff --git a/gnu/packages/patches/fontconfig-path-max.patch b/gnu/packages/patches/fontconfig-path-max.patch
new file mode 100644
index 000..6f5a9b7
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-path-max.patch
@@ -0,0 +1,69 @@
+The patch replaces the use of macro PATH_MAX, in default.c and
+fcstat.c files.
+---
+ src/fcdefault.c | 32 +---
+ src/fcstat.c|  3 ++-
+ 2 files changed, 27 insertions(+), 8 deletions(-)
+
+diff --git a/src/fcdefault.c b/src/fcdefault.c
+index 6647a8f..4856777 100644
+--- a/src/fcdefault.c
 b/src/fcdefault.c
+@@ -150,15 +150,33 @@ retry:
+ # if defined (HAVE_GETEXECNAME)
+ 	const char *p = getexecname ();
+ # elif defined (HAVE_READLINK)
+-	char buf[PATH_MAX + 1];
+-	int len;
++	int size = 128;
+ 	char *p = NULL;
+ 
+-	len = readlink ("/proc/self/exe", buf, sizeof (buf) - 1);
+-	if (len != -1)
+-	{
+-	buf[len] = '\0';
+-	p = buf;
++	while (1) {
++	char *buf = malloc (size);
++	int len;
++
++	if (buf == NULL)
++		break;
++
++	len = readlink ("/proc/self/exe", buf, size - 1);
++
++	if (len < 0)
++	{
++		free(buf);
++		break;
++	}
++
++	if (len < size - 1)
++	{
++		buf[len] = '\0';
++		p = buf;
++		break;
++	}
++
++	free (buf);
++	size *= 2;
+ 	}
+ # else
+ 	char *p = NULL;
+diff --git a/src/fcstat.c b/src/fcstat.c
+index 1734fa4..0f1cc00 100644
+--- a/src/fcstat.c
 b/src/fcstat.c
+@@ -278,7 +278,8 @@ FcDirChecksum (const FcChar8 *dir, time_t *checksum)
+ 	{
+ #endif
+ 	struct stat statb;
+-	char f[PATH_MAX + 1];
++	int size = 128;
++	char *f = malloc (size);
+ 
+ 	memcpy (f, dir, len);
+ 	f[len] = FC_DIR_SEPARATOR;
+-- 
+2.6.3
+
-- 
2.6.3



Re: [PATCH] gnu: Add fontconfig-path-max.

2016-07-03 Thread rennes

Hello,

thanks for the explanation.



Now regarding the patch, what is the status on upstream? Are those
fontconfig patches present in fontconfig upstream?



The current release is 2.12.0, and still uses the constant PATH_MAX.
And I have not found any related patch for this detail.

Thanks



[PATCH] gnu: Add fontconfig-path-max.

2016-06-18 Thread rennes

Hello Guix team,

i'm doing tests whith GNU Guix on GNU Hurd, compiling fontconfig and 
there is an error during compilation:


a) fontconfig uses the constant PATH_MAX.

Reviewing the documentation about the treatment of constant for Hurd; 
i've attached a patch for review.


References:
https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html

and i've a couple of questions about:

a) How Guix identify if it is a Linux or Hurd system at compile or 
install the package?.

b) i searches in ML an example, but i not found.



Thanks for your time.

ReneFrom 3195bf1e75493675dc8cbd81a0f83e0b4538263b Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sat, 18 Jun 2016 13:37:19 -0500
Subject: [PATCH] gnu: Add fontconfig-path-max.

---
 gnu/packages/fontutils.scm  |  3 +++
 gnu/packages/patches/fontconfig-fcdefault.patch | 23 +++
 gnu/packages/patches/fontconfig-fcstat.patch| 23 +++
 3 files changed, 49 insertions(+)
 create mode 100644 gnu/packages/patches/fontconfig-fcdefault.patch
 create mode 100644 gnu/packages/patches/fontconfig-fcstat.patch

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 5f6ff15..2b84523 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -231,6 +231,9 @@ fonts to/from the WOFF2 format.")
 (uri (string-append
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-;
version ".tar.bz2"))
+(patches (list
+  (search-patch "fontconfig-fcdefault.patch")
+  (search-patch "fontconfig-fcstat.patch")))
 (sha256 (base32
  "1psrl4b4gi4wmbvwwh43lk491wsl8lgvqj146prlcha3vwjc0qyp"
(build-system gnu-build-system)
diff --git a/gnu/packages/patches/fontconfig-fcdefault.patch b/gnu/packages/patches/fontconfig-fcdefault.patch
new file mode 100644
index 000..9c3b383
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-fcdefault.patch
@@ -0,0 +1,23 @@
+This patch replaces the use of macro PATH_MAX by *buf constant,
+which allows dynamic memory allocation.
+
+---
+ src/fcdefault.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/fcdefault.c b/src/fcdefault.c
+index 6647a8f..8e2094f 100644
+--- a/src/fcdefault.c
 b/src/fcdefault.c
+@@ -150,7 +150,7 @@ retry:
+ # if defined (HAVE_GETEXECNAME)
+ 	const char *p = getexecname ();
+ # elif defined (HAVE_READLINK)
+-	char buf[PATH_MAX + 1];
++	char *buf;
+ 	int len;
+ 	char *p = NULL;
+ 
+-- 
+2.6.3
+
diff --git a/gnu/packages/patches/fontconfig-fcstat.patch b/gnu/packages/patches/fontconfig-fcstat.patch
new file mode 100644
index 000..e075b17
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-fcstat.patch
@@ -0,0 +1,23 @@
+This patch replaces the use of macro PATH_MAX by *f constant,
+which allows dynamic memory allocation.
+
+---
+ src/fcstat.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/fcstat.c b/src/fcstat.c
+index 1734fa4..8a438eb 100644
+--- a/src/fcstat.c
 b/src/fcstat.c
+@@ -278,7 +278,7 @@ FcDirChecksum (const FcChar8 *dir, time_t *checksum)
+ 	{
+ #endif
+ 	struct stat statb;
+-	char f[PATH_MAX + 1];
++	char *f;
+ 
+ 	memcpy (f, dir, len);
+ 	f[len] = FC_DIR_SEPARATOR;
+-- 
+2.6.3
+
-- 
2.6.3



Re: [PATCH 2/2] gnu: Add gnome-tweak-tool.

2016-05-01 Thread rennes

On 2016-04-27 14:05, Jan Nieuwenhuizen wrote:

Leo Famulari writes:

Hi!

Find attached a new version of gnome-tweak-tool.

Sorry, I still don't understand.  Can you explain why you want to 
remove

python2 from the propagated inputs?


Propagated-inputs are silently installed into the user's profile
alongside the package that propagates them. In this case, installing
gnome-tweak-tool would also install python2 into the user's profile.

Propagation becomes attractive when the software provided by a package
does not have a good mechanism for finding its dependencies. For
example, some software may *only* be able to find a dependency by
looking on PATH. Gnome-tweak-tool, as far as we know, has this
limitation for python2.

The problem with propagating inputs is that only one version of a 
given

package may be installed into a user's profile. This is in contrast to
"regular" inputs, which are not installed into a user's profile. 
Indeed,

every package that you install into your profile could refer to a
different version of, say, libfoo, by linking directly to the various
libfoos' directories in the store.

So, letting gnome-tweak-tool propagate python2 would prevent a Python
programmer from choosing which version of python2 they want in their
profile; they'd be forced to choose between gnome-tweak-tool or their
desired python2.

Does that make sense?


That makes sense.  Thanks for your explanation!  Is this documented
somewhere?  I think it should be.


An alternative to propagated-inputs is to use a wrapper. Actually, all
of our packages using the python-build-system are wrapped 
automatically
[0]. The wrapper makes the dependent packages available in the 
run-time

environment without polluting the user's profile, while introducing a
reference to the dependencies into the store directory, which makes 
sure

that the garbage collector works correctly.

Does that make sense?


Yes.  Moved python to inputs, added python wrapper.

Hopefully, I've got that all right — I'll be happy if somebody 
clarifies

or corrects me!

[0] If gnome-tweak-tool did not break convention by using the 
Autotools

to build Python software, this discussion would not be happening ;)


Hah! ;-)

Greetings,
Jan


Hi,

Now this patch works well for me. Thank you




Re: [PATCH 4/6] gnu: gnome-documents

2016-04-20 Thread rennes

On 2016-04-18 13:44, Leo Famulari wrote:

On Thu, Apr 14, 2016 at 10:35:00AM -0500, ren...@openmailbox.org wrote:

On 2016-03-29 14:25, l...@gnu.org wrote:
>ren...@openmailbox.org skribis:
>
>>+ `(#:configure-flags
>>+   '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
>
>AFAICS glib-networking uses GnuTLS, for which we already had such a
>setting (except that it can read all the .crt files from /etc/ssl/certs,
>not just one bundle.)

I did more tests and remove this part.

>>+   (modify-phases %standard-phases
>>+ (add-before 'check 'use-empty-ssl-cert-file
>>+ (lambda _
>>+   ; Search for ca-certificates.crt files
>>+   ; during the check phase.
>>+   (setenv "SSL_CERT_FILE" "/dev/null")
>
>Does this really have an effect?  This is the environment variable used
>by OpenSSL, but not GnuTLS.

indeed, it works.

Question, to which package module I can add the patch?


I've moved it into web.scm, in the attached revision on your patch. I
can apply it if you think it looks good. What do you think?

I also reorganized the native-inputs a little bit, to put all the
"check" dependencies together.

By the way, thanks for working on this patch series, and SORRY for the
slow review!


Hi, I think it's okay.

Thanks



Re: [PATCH 4/6] gnu: gnome-documents

2016-04-14 Thread rennes

On 2016-03-29 14:25, l...@gnu.org wrote:

ren...@openmailbox.org skribis:


+ `(#:configure-flags
+   '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")


AFAICS glib-networking uses GnuTLS, for which we already had such a
setting (except that it can read all the .crt files from 
/etc/ssl/certs,

not just one bundle.)


I did more tests and remove this part.


+   (modify-phases %standard-phases
+ (add-before 'check 'use-empty-ssl-cert-file
+ (lambda _
+   ; Search for ca-certificates.crt files
+   ; during the check phase.
+   (setenv "SSL_CERT_FILE" "/dev/null")


Does this really have an effect?  This is the environment variable used
by OpenSSL, but not GnuTLS.


indeed, it works.

Question, to which package module I can add the patch?

ThanksFrom d9abadd86ca67bfae8a7563f8c29ef97f6fbc54a Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 14 Apr 2016 09:52:51 -0500
Subject: [PATCH] gnu: Add uhttpmock.

* gnu/packages/uhttpmock.scm (uhttpmock): New file.

---
 gnu/packages/uhttpmock.scm | 65 ++
 1 file changed, 65 insertions(+)
 create mode 100644 gnu/packages/uhttpmock.scm

diff --git a/gnu/packages/uhttpmock.scm b/gnu/packages/uhttpmock.scm
new file mode 100644
index 000..550453e
--- /dev/null
+++ b/gnu/packages/uhttpmock.scm
@@ -0,0 +1,65 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages uhttpmock)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system glib-or-gtk)  
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages pkg-config))
+
+(define-public uhttpmock
+  (package
+(name "uhttpmock")
+(version "0.5.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/;
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"
+(build-system glib-or-gtk-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-before 'check 'use-empty-ssl-cert-file
+   (lambda _
+ ;; Search for ca-certificates.crt files
+ ;; during the check phase.
+ (setenv "SSL_CERT_FILE" "/dev/null")
+ #t)
+(native-inputs
+ `(("glib-networking" ,glib-networking) ;; For check phase.
+   ("gobject-introspection" ,gobject-introspection)
+   ;; For check phase.
+   ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("libsoup" ,libsoup)))
+(home-page "https://gitlab.com/groups/uhttpmock;)
+(synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
+(description
+ "Uhttpmock is a project for mocking web service APIs which use HTTP or
+HTTPS.  It provides a library, libuhttpmock, which implements recording and
+playback of HTTP request/response traces.")
+(license license:lgpl2.1+)))
-- 
2.6.3



Re: [PATCH 2/6] gnu: gnome-documents

2016-04-13 Thread rennes

On 2016-02-28 16:15, ren...@openmailbox.org wrote:

Hi,

I attached tracker patch.

This is the map of non-packaged programs required for gnome-documents:

 1) libzapojit
 2) tracker
 5) libgdata
 3) liboauth
 4) uhttpmock
 6) gnome-documents


Hi,

accompanying the upgrade patch, I added some patches to skip parts of 
the testing phase.


ThanksFrom a9fa68e37bd262a9f0b7ba999c163964beba4995 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 13 Apr 2016 23:45:12 -0500
Subject: [PATCH] gnu: Add tracker.

* gnu/packages/gnome.scm (tracker): New variable.
* gnu/packages/patches/tracker-db-journal.patch: New file.
* gnu/packages/patches/tracker-dbus-test.patch: New file.
* gnu/packages/patches/tracker-gb-737023.patch: New file.
* gnu/packages/patches/tracker-ontology.patch: New file.
* gnu/packages/patches/tracker-steroids-test.patch: New file.
* gnu/packages/patches/tracker-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Court\xc3\xa8s 

---
 gnu-system.am|  1 +
 gnu/packages/gnome.scm   | 69 
 gnu/packages/patches/tracker-db-journal.patch| 18 +++
 gnu/packages/patches/tracker-dbus-test.patch | 14 +
 gnu/packages/patches/tracker-gb-737023.patch | 20 +++
 gnu/packages/patches/tracker-ontology.patch  | 17 ++
 gnu/packages/patches/tracker-steroids-test.patch | 15 ++
 gnu/packages/patches/tracker-test.patch  | 26 +
 8 files changed, 180 insertions(+)
 create mode 100644 gnu/packages/patches/tracker-db-journal.patch
 create mode 100644 gnu/packages/patches/tracker-dbus-test.patch
 create mode 100644 gnu/packages/patches/tracker-gb-737023.patch
 create mode 100644 gnu/packages/patches/tracker-ontology.patch
 create mode 100644 gnu/packages/patches/tracker-steroids-test.patch
 create mode 100644 gnu/packages/patches/tracker-test.patch

diff --git a/gnu-system.am b/gnu-system.am
index 8822d0b..45d6295 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -324,6 +324,7 @@ GNU_SYSTEM_MODULES =\
   gnu/packages/tls.scm\
   gnu/packages/tmux.scm\
   gnu/packages/tor.scm\
+  gnu/packages/tracker.scm			\
   gnu/packages/tre.scm\
   gnu/packages/tv.scm\
   gnu/packages/unrtf.scm			\
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2adf267..eebb51c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -75,6 +75,7 @@
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages libcanberra)
+  #:use-module (gnu packages libunistring)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages lirc)
@@ -4994,3 +4995,71 @@ specified duration and save it as a GIF encoded animated image file.")
  "Libzapojit is a GLib-based library for accessing online service APIs of
 Microsoft SkyDrive and Hotmail, using their REST protocols.")
 (license license:lgpl2.1+)))
+
+(define-public tracker
+  (package
+(name "tracker")
+(version "1.7.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1m6hys71n6faf6qx719vh8n4y2y63x7cygzh1rq56flvwa0fnxxx"))
+   ;; Patches set to skip parts of the testing phase.
+   (patches (list
+ (search-patch "tracker-dbus-test.patch")
+ (search-patch "tracker-db-journal.patch")
+ (search-patch "tracker-ontology.patch")
+ (search-patch "tracker-gb-737023.patch")
+ (search-patch "tracker-test.patch")
+ (search-patch "tracker-steroids-test.patch")
+(build-system glib-or-gtk-build-system)
+(arguments
+ '(#:phases (modify-phases %standard-phases
+  (delete 'check)
+  (add-after 'install 'check
+;; Tests in libtracker-data expect the GLib schemas and
+;; stop-words database to be installed.
+(assoc-ref %standard-phases 'check))
+  (add-before 'check 'pre-check
+(lambda* (#:key outputs #:allow-other-keys)
+  ;; tracker-locale.c insists on checking 'LANG'.
+  (setenv "LANG" "en_US.utf8")
+  ;; No /etc/machine-id.
+  (setenv "DBUS_FATAL_WARNINGS" "0")
+  ;; Help tests find GLib schemas.
+  (setenv "XDG_DATA_DIRS"
+  (string-append (assoc-ref outputs "out")
+ "/share"))
+  #t)
+(native-inputs
+ `(("glib" ,glib) ; For glib-compile-schemas, gio-2.0.
+ 

Re: [PATCH 2/2] gnu: Add gnome-tweak-tool.

2016-04-12 Thread rennes

Hi


On Sun, Apr 03, 2016 at 01:07:34PM +0200, Jan Nieuwenhuizen wrote:

Hi,

Finally gnome-tweak-tool works!  That should make the Gnome desktop a
workable alternative [workspace grid] until we get a nicely hackable
guile-wm up and running.

It needs libnotify to be compiled with gobject-introspection,
attached as [PATCH 1/2].


I still don't understand how all the parts of GNOME fit together, so I
can't give a full review of these patches.

But, with these patches, I can successfully prevent my laptop from
sleeping when the lid is closed. Thank you!


* gnu/packages/gnome.scm (libnotify)[native-inputs]: Add
  gobject-introspection.


Looks okay, but as I said before, I'm no expert on this stuff.


* gnu/packages/patches/gnome-tweak-tool-search-paths.patch: New file.


Can you add some comments explaining this patch (and a link to the 
source, if

applicable)?


* gnu-system.am: Add it.


Please specify which section of gnu-system.am the file is being added
to. In this case, it's dist_patch_DATA. See the commit log for the 
exact

format.


* gnu/packages/gnome.scm (gnome-tweak-tool): New variable.
+ (replace 'install
+   (lambda _
+ (zero? (system* "make"
+ "sysconfdir=/tmp"
+ "localstatedir=/tmp"
+ "install")))


How about setting these variables in #:make-flags instead of replacing
the install phase? Would that work?


+(propagated-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+   ("gnome-shell" ,gnome-shell)
+   ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+   ("gtk+" ,gtk+)
+   ("libnotify" ,libnotify)
+   ("mutter" ,mutter)
+   ("python2" ,python-2)
+   ("python2-pygobject" ,python2-pygobject)))


Oof, do we really have to propagate python-2 (and the others)?


+(synopsis "Gnome Tweak Tool")


Can you paraphrase this? I don't think the synopsis should be the same
as the package name. How about something like this: "GNOME advanced
settings control panel"?



you can take the synopsis and description of the file 
gnome-tweak-tool.doap 
(https://git.gnome.org/browse/gnome-tweak-tool/tree/gnome-tweak-tool.doap).


Thanks





Re: [PATCH 3/6] gnu: gnome-documents

2016-04-09 Thread rennes

On 2016-04-06 17:05, Leo Famulari wrote:

On Wed, Mar 30, 2016 at 07:33:17PM -0600, ren...@openmailbox.org wrote:

* gnu/packages/gnome.scm (liboauth): New variable.


This package looks good, but I think it should either go into an
existing package module, or into a new module called oauth.scm.

Either way, check commit f75bbb028 for an example of how to document
this properly in the commit message, and make sure to include the full
copyright statement in the file.

Can you send an updated patch?

Also, can you give an update on the status of the gnome-documents patch
series? What remains to be done?



Leo, i attach the patch.

Considerations:

a) I created a new file 'gnu/packages/oauth.scm' and added to 
'gnu-system.am' file the line 'gnu/packages/oauth.scm'.
b) Regarding the status of the gnome-documents patch series, I'm still 
working the testing phase of tracker patch, I have not moved forward 
with the following patches to maintain the sequence.


Thanks

From a87e86c75e31d8b1ceb81e550251479bcdc6fe1d Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sat, 9 Apr 2016 23:11:24 -0500
Subject: [PATCH] gnu: Add liboauth.

 * gnu/packages/oauth.scm (liboauth): New file.
 * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
 
---
 gnu-system.am  |  2 ++
 gnu/packages/oauth.scm | 53 ++
 2 files changed, 55 insertions(+)
 create mode 100644 gnu/packages/oauth.scm

diff --git a/gnu-system.am b/gnu-system.am
index e413235..7865089 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -4,6 +4,7 @@
 # Copyright © 2016 Mathieu Lirzin 
 # Copyright © 2013, 2014, 2015, 2016 Mark H Weaver 
 # Copyright © 2016 Chris Marusich 
+# Copyright © 2016 Rene Saavedra 
 #
 # This file is part of GNU Guix.
 #
@@ -246,6 +247,7 @@ GNU_SYSTEM_MODULES =\
   gnu/packages/ntp.scm\
   gnu/packages/nutrition.scm			\
   gnu/packages/nvi.scm\
+  gnu/packages/oauth.scm			\
   gnu/packages/ocaml.scm			\
   gnu/packages/ocr.scm\
   gnu/packages/onc-rpc.scm			\
diff --git a/gnu/packages/oauth.scm b/gnu/packages/oauth.scm
new file mode 100644
index 000..ed93c45
--- /dev/null
+++ b/gnu/packages/oauth.scm
@@ -0,0 +1,53 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages oauth)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages tls))
+
+(define-public liboauth
+  (package
+(name "liboauth")
+(version "1.0.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://sourceforge/liboauth/"
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"
+(build-system gnu-build-system)
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("openssl" ,openssl)))
+(home-page "https://sourceforge.net/projects/liboauth;)
+(synopsis "Collection of s/POSIX-C/C/ functions implementing the OAuth API")
+(description
+ "Liboauth provides functions to escape and encode strings according to
+OAuth specifications and offers high-level functionality built on top to sign
+requests or verify signatures using either NSS or OpenSSL for calculating
+the hash/signatures.")
+(license (list license:gpl2+
+   license:openssl ; OpenSSL library.
-- 
2.6.3



Re: [PATCH 3/6] gnu: gnome-documents

2016-04-09 Thread rennes

On 2016-04-06 17:05, Leo Famulari wrote:

On Wed, Mar 30, 2016 at 07:33:17PM -0600, ren...@openmailbox.org wrote:

* gnu/packages/gnome.scm (liboauth): New variable.


This package looks good, but I think it should either go into an
existing package module, or into a new module called oauth.scm.

Either way, check commit f75bbb028 for an example of how to document
this properly in the commit message, and make sure to include the full
copyright statement in the file.

Can you send an updated patch?

Also, can you give an update on the status of the gnome-documents patch
series? What remains to be done?



---


Hi Leo,

How can i see the commit?




Re: [PATCH 3/6] gnu: gnome-documents

2016-03-30 Thread rennes

Hi,

On 2016-03-29 14:21, l...@gnu.org wrote:

ren...@openmailbox.org skribis:


+(arguments
+ '(#:configure-flags '("--enable-nss"))) ; instead of OpenSSL.


If there’s a particular reason for this choice, could you mention it in
a comment?

+(synopsis "Collection of POSIX-C functions implementing the OAuth 
API")


s/POSIX-C/C/


+(description
+ "Liboauth provides functions to escape and encode stings 
according to

   ^^
*strings


+(license license:gpl2+))) ; distributed under MIT or GPL.


“MIT” is probably either the Expat or the X11 license.  Please check 
the

license texts at:

  http://directory.fsf.org/wiki/License:Expat
  http://directory.fsf.org/wiki/License:X11

Thanks,
Ludo’.


I Attached the patch corrected.

Clarifying, nss had used instead of openssl because I saw it as an 
option. But in the subsequentes packages OpenSSL is required.


On the other hand I have two questions:
a) Regarding the copyright in the 'Submitting Patches' section I can not 
find the part that describes it.
b) I can use the 'gnu/packages/gnome.scm' file to generate the patch or 
is indifferent ?


Thank youFrom cabbfd0d8a0472d60a250e12b49cb10098419d1c Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Wed, 30 Mar 2016 19:03:57 -0600
Subject: [PATCH] gnu: Add liboauth.

* gnu/packages/gnome.scm (liboauth): New variable.

---
 gnu/packages/liboauth.scm | 37 +
 1 file changed, 37 insertions(+)
 create mode 100644 gnu/packages/liboauth.scm

diff --git a/gnu/packages/liboauth.scm b/gnu/packages/liboauth.scm
new file mode 100644
index 000..be6c946
--- /dev/null
+++ b/gnu/packages/liboauth.scm
@@ -0,0 +1,37 @@
+;;; Copyright © 2016 Rene Saavedra 
+
+(define-module (gnu packages liboauth)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages tls))
+
+(define-public liboauth
+  (package
+(name "liboauth")
+(version "1.0.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://sourceforge/liboauth/"
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"
+(build-system gnu-build-system)
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("openssl" ,openssl)))
+(home-page "https://sourceforge.net/projects/liboauth;)
+(synopsis "Collection of s/POSIX-C/C/ functions implementing the OAuth API")
+(description
+ "Liboauth provides functions to escape and encode strings according to
+OAuth specifications and offers high-level functionality built on top to sign
+requests or verify signatures using either NSS or OpenSSL for calculating
+the hash/signatures.")
+(license (list license:gpl2+
+   license:openssl ; OpenSSL library.
-- 
2.6.3



Re: small cursor gnome

2016-03-21 Thread rennes

On 2016-03-21 10:37, l...@gnu.org wrote:

ren...@openmailbox.org skribis:


in the GNOME environment my cursor is small, and did a link as follows
to fix it:

mkdir -p ~/.icons/default
cd ~/.icons/default
ln -s
/gnu/store/zr4vacpl0rlgx6m2hivr2fm2vxhgdppc-adwaita-icon-theme-3.18.0/share/icons/Adwaita/cursors
cursors

My question is, is it necessary to create a patch-icon-theme package
for this detail adwaita?.


This on GuixSD, right?  Isn’t it enough to install adwaita-icon-theme 
in

your profile or in the system profile?

Thanks,
Ludo’.


yes in GuixSD, this is not enough. I'll check the documentation for more 
information.







Re: small cursor gnome

2016-03-20 Thread rennes

On 2016-03-20 16:11, ren...@openmailbox.org wrote:

Hi,

in the GNOME environment my cursor is small, and did a link as follows
to fix it:

mkdir -p ~/.icons/default
cd ~/.icons/default
ln -s
/gnu/store/zr4vacpl0rlgx6m2hivr2fm2vxhgdppc-adwaita-icon-theme-3.18.0/share/icons/Adwaita/cursors
cursors

My question is, is it necessary to create a patch-icon-theme package
for this detail adwaita?.

Thanks


sorry for this:

is it necessary to create a patch for the adwaita-icon-theme package?.




small cursor gnome

2016-03-20 Thread rennes

Hi,

in the GNOME environment my cursor is small, and did a link as follows 
to fix it:


mkdir -p ~/.icons/default
cd ~/.icons/default
ln -s 
/gnu/store/zr4vacpl0rlgx6m2hivr2fm2vxhgdppc-adwaita-icon-theme-3.18.0/share/icons/Adwaita/cursors 
cursors


My question is, is it necessary to create a patch-icon-theme package for 
this detail adwaita?.


Thanks



GNOME

2016-03-20 Thread rennes

Hi,

i reconfigured my system and the touchpad now works in GNOME!.

Thanks



Re: [PATCH] gnu: Add tracker.

2016-03-13 Thread rennes

On 2016-03-08 03:38, l...@gnu.org wrote:

ren...@openmailbox.org skribis:


i made changes to the patch, i disable 'make check' because i found
two errors during this phase:

a) "Tracker-WARNING **: Locale '0' is not set, defaulting to C locale"
   For this case i set LANG "en_US.UTF-8".
b) "Unable to load /var/lib/dbus/machine-id or /etc/machine-id"
   For this i set DBUS_FATAL_WARNINGS" "0", but the error stay.


I’ve addressed these issues in the attached patch.  However, there’s
still a couple of test failures; probably not too hard to address, but
I’m running out of time.  ;-)

Would you or anyone like to continue?

Thanks,
Ludo’.



Hi, i keep trying; thanks for the patch.




[PATCH 4/6] gnu: gnome-documents

2016-02-28 Thread rennes

Hi,

I attached uhttpmock patch.

This is the map of non-packaged programs required for gnome-documents:

 1) libzapojit
 2) tracker
 5) libgdata
 3) liboauth
 4) uhttpmock
 6) gnome-documents

Note:
I use "glib-networking" and "gsettings-desktop-schemas" for check phase.


Thanks
From 8ae39f33c0e10c53c21886bf7cf55c47dbc28214 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 28 Feb 2016 21:57:17 -0600
Subject: [PATCH] gnu: Add uhttpmock.

---
 gnu/packages/uhttpmock.scm | 48 ++
 1 file changed, 48 insertions(+)
 create mode 100644 gnu/packages/uhttpmock.scm

diff --git a/gnu/packages/uhttpmock.scm b/gnu/packages/uhttpmock.scm
new file mode 100644
index 000..65c163e
--- /dev/null
+++ b/gnu/packages/uhttpmock.scm
@@ -0,0 +1,48 @@
+(define-module (gnu packages uhttpmock)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system glib-or-gtk)  
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages pkg-config))
+
+(define-public uhttpmock
+  (package
+(name "uhttpmock")
+(version "0.5.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/;
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"
+(build-system glib-or-gtk-build-system)
+(arguments
+ `(#:configure-flags
+   '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")
+   #:phases
+   (modify-phases %standard-phases
+ (add-before 'check 'use-empty-ssl-cert-file
+ (lambda _
+   ; Search for ca-certificates.crt files
+   ; during the check phase.
+   (setenv "SSL_CERT_FILE" "/dev/null")
+   #t)
+(native-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("glib-networking" ,glib-networking)
+   ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+   ("libsoup" ,libsoup)))
+(home-page "https://gitlab.com/groups/uhttpmock;)
+(synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
+(description
+ "Uhttpmock is a project for mocking web service APIs which use HTTP or
+HTTPS.  It provides a library, libuhttpmock, which implements recording and
+playback of HTTP request/response traces.")
+(license license:lgpl2.1+)))
-- 
2.6.3



[PATCH 3/6] gnu: gnome-documents

2016-02-28 Thread rennes

Hi,

I attached liboauth patch.

This is the map of non-packaged programs required for gnome-documents:

 1) libzapojit
 2) tracker
 5) libgdata
 3) liboauth
 4) uhttpmock
 6) gnome-documents

ThanksFrom 68a4b6d2d28c76ced527d363152afb997a127388 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 28 Feb 2016 16:25:00 -0600
Subject: [PATCH] gnu: Add liboauth.

---
 gnu/packages/liboauth.scm | 36 
 1 file changed, 36 insertions(+)
 create mode 100644 gnu/packages/liboauth.scm

diff --git a/gnu/packages/liboauth.scm b/gnu/packages/liboauth.scm
new file mode 100644
index 000..5552b2d
--- /dev/null
+++ b/gnu/packages/liboauth.scm
@@ -0,0 +1,36 @@
+(define-module (gnu packages liboauth)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages gnuzilla)
+  #:use-module (gnu packages pkg-config))
+
+(define-public liboauth
+  (package
+(name "liboauth")
+(version "1.0.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://sourceforge/liboauth/"
+   name "-" version ".tar.gz"))
+   (sha256
+(base32
+ "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"
+(build-system gnu-build-system)
+(arguments
+ '(#:configure-flags '("--enable-nss"))) ; instead of OpenSSL.
+(native-inputs
+ `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("nss" ,nss)))
+(home-page "https://sourceforge.net/projects/liboauth;)
+(synopsis "Collection of POSIX-C functions implementing the OAuth API")
+(description
+ "Liboauth provides functions to escape and encode stings according to
+OAuth specifications and offers high-level functionality built on top to sign
+requests or verify signatures using either NSS or OpenSSL for calculating
+the hash/signatures.")
+(license license:gpl2+))) ; distributed under MIT or GPL.
-- 
2.6.3



[PATCH 2/6] gnu: gnome-documents

2016-02-28 Thread rennes

Hi,

I attached tracker patch.

This is the map of non-packaged programs required for gnome-documents:

 1) libzapojit
 2) tracker
 5) libgdata
 3) liboauth
 4) uhttpmock
 6) gnome-documents


Note: i disabled make-check due to the following errors:

Error 1:

"Tracker-WARNING **: Locale '0' is not set, defaulting to C locale"


Error 2:

"Tracker-WARNING **: Could not get SPARQL connection: Cannot spawn a 
message bus without a machi
ne-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: 
Failed to open file '/var/lib/dbus

/machine-id': No such file or directory"


thanks.
From 2a52357a2857c1675413e1cbe3afce18102e40a3 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Sun, 28 Feb 2016 16:03:56 -0600
Subject: [PATCH] gnu: Add tracker.

---
 gnu/packages/tracker.scm | 59 
 1 file changed, 59 insertions(+)
 create mode 100644 gnu/packages/tracker.scm

diff --git a/gnu/packages/tracker.scm b/gnu/packages/tracker.scm
new file mode 100644
index 000..f2232d8
--- /dev/null
+++ b/gnu/packages/tracker.scm
@@ -0,0 +1,59 @@
+(define-module (gnu packages tracker)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system glib-or-gtk)  
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages image)  
+  #:use-module (gnu packages libunistring)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pkg-config)  
+  #:use-module (gnu packages xml))
+
+(define-public tracker
+  (package
+(name "tracker")
+(version "1.7.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1m6hys71n6faf6qx719vh8n4y2y63x7cygzh1rq56flvwa0fnxxx"
+(build-system glib-or-gtk-build-system)
+(arguments
+ `(#:tests? #f)) ; fail on set LANG and missing '/etc/machine-id'.
+(native-inputs
+ `(("glib" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
+   ("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)
+   ("uuidgen" ,util-linux)
+   ("xsltproc" ,libxslt)))
+(inputs
+ `(("libpng" ,libpng)
+   ("libunistring" ,libunistring)
+   ("libxml2" ,libxml2)
+   ("sqlite" ,sqlite)
+   ("zlib" ,zlib)))
+(home-page "https://wiki.gnome.org/Projects/Tracker;)
+(synopsis "Desktop neutral user information store, search tool and indexer")
+(description
+ "Tracker is a semantic data storage for desktop and mobile devices.
+Tracker uses W3C standards for RDF ontologies using Nepomuk with SPARQL
+to query and update the data.
+
+Tracker is a central repository of user information, that provides two
+big benefits for the user; shared data between applications and
+information which is relational to other information.")
+(license (list license:lgpl2.1+ ; libtracker, tracker-extract.
+; tracker-utils, gvdb.
+   license:bsd-3; libstemmer.
+   license:gpl2+; everything else.
-- 
2.6.3



[PATCH 1/6] gnu: gnome-documents

2016-02-26 Thread rennes

Hi,

According to observations, I attached the map and the first 
package(libzapojit).


This is the map of non-packaged programs required for gnome-documents:

 1) libzapojit
 2) tracker
 5) libgdata
 3) liboauth
 4) uhttpmock
 6) gnome-documents


I wait your comments, thanks.
From cda9164a3b21e0fe4855c606d6b09140c2a68fe7 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Fri, 26 Feb 2016 18:30:52 -0600
Subject: [PATCH] gnu: Add libzapojit.

---
 gnu/packages/libzapojit.scm | 38 ++
 1 file changed, 38 insertions(+)
 create mode 100644 gnu/packages/libzapojit.scm

diff --git a/gnu/packages/libzapojit.scm b/gnu/packages/libzapojit.scm
new file mode 100644
index 000..590652a
--- /dev/null
+++ b/gnu/packages/libzapojit.scm
@@ -0,0 +1,38 @@
+(define-module (gnu packages libzapojit)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages pkg-config))
+
+(define-public libzapojit
+  (package
+(name "libzapojit")
+(version "0.0.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"
+(build-system gnu-build-system)
+(native-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("gnome-online-accounts" ,gnome-online-accounts)
+   ("json-glib" ,json-glib)
+   ("rest" ,rest)))
+(home-page "https://wiki.gnome.org/Projects/Zapojit;)
+(synopsis "Library for accessing SkyDrive and Hotmail")
+(description
+ "Libzapojit is a GLib-based library for accessing online service APIs
+using the Microsoft SkyDrive and Hotmail REST protocols.")
+(license license:lgpl2.1+)))
-- 
2.6.3



Re: [PATCH] gnu: Add libzapojit.

2016-02-25 Thread rennes

On 2016-02-24 19:14, Leo Famulari wrote:

On Sat, Feb 20, 2016 at 04:25:37PM -0600, ren...@openmailbox.org wrote:

Hi,

i attached libzapojit patch for review.


Thanks for the patch!



This is a library for accessing SkyDrive and Hotmail, necessary for
documents manager(GNOME apps).


Is the documents manager already packaged?

If so, I assume libzapojit is working for you?

If not, I might want to merge it anyways to encourage further work on
GNOME stuff by everyone :)


* gnu/packages/gnome.scm (libzapojit): New variable.


[...]


+(build-system gnu-build-system)


I can't tell — should it use glib-or-gtk-build-system instead? It seems
to build fine as-is, but I wonder because it uses some GLib stuff.

Looks good aside from these questions.


Hi,

GNOME documents is not yet packaged, I started packaging requirements, 
in this sequence. GNOME documents has several requirements not packaged. 
or what is the best strategy to do so?


Thanks





Re: [PATCH] gnu: Add dconf-editor.

2016-02-25 Thread rennes

On 2016-02-24 19:41, Leo Famulari wrote:

On Tue, Feb 23, 2016 at 05:44:39PM -0600, ren...@openmailbox.org wrote:

Hi,

i attached dconf-editor patch for review.

Dconf-editor is a graphical editor for the dconf database.


Awesome!

I don't have a way to check if this works or not (that is, I don't have
a GNOME system). But if you confirm it works for you I think it is 
ready

to be merged, with an updated synopsis and description!


* gnu/packages/gnome.scm (dconf-editor): New variable.


[...]


+(synopsis "Graphical editor for the dconf database")


How about this?

"Graphical editor for GNOME's dconf configuration system"


+(description
+ "Dconf-editor is a graphical tool for browse and edit the dconf 
database.
+Gconf-editor allows you to change the preferences of desktop software 
that

+does not provide any other way to change the default.")


How about this?

"Dconf-editor is a graphical tool for browsing and editing the dconf
configuration system for GNOME.  It allows users to configure desktop
software that do not provide their own configuration interface."

...assuming that description is accurate. I'm not very familiar with 
dconf,

Gsettings, etc.

If this package works for, and these changes are okay, I can make the
changes myself and push. Please let me know!


Hi,

I made the changes and the program works well.

Thanks

From 74d1ab0d917acaf27aa6e74f17fcdbcc688b97fe Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Thu, 25 Feb 2016 07:07:06 -0600
Subject: [PATCH] gnu: Add dconf-editor.

* gnu/packages/gnome.scm (dconf-editor): New variable.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d68633e..578b431 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4742,6 +4742,36 @@ screen, a window or a user defined area of the screen, with optional
 beautifying border effects.")
 (license license:gpl2+)))
 
+(define-public dconf-editor
+  (package
+(name "dconf-editor")
+(version "3.18.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0xdwi7g1xdmgrc9m8ii62fp2zj114gsfpmgazlnhrcmmfi97z5d7"
+(build-system glib-or-gtk-build-system)
+(native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
+   ("intltool" ,intltool)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("dconf" ,dconf)
+   ("gtk+" ,gtk+)
+   ("libxml2" ,libxml2)))
+(home-page "https://git.gnome.org/browse/dconf-editor;)
+(synopsis "Graphical editor for GNOME's dconf configuration system")
+(description
+ "Dconf-editor is a graphical tool for browsing and editing the dconf
+configuration system for GNOME.  It allows users to configure desktop
+software that do not provide their own configuration interface.")
+(license license:lgpl2.1+)))
+
 (define-public gnome
   (package
 (name "gnome")
-- 
2.6.3



  1   2   >