[PATCHv2] gnu: Add python-ply and python2-ply.

2016-06-07 Thread Danny Milosavljevic
gnu: Add python-ply and python2-ply. * gnu/packages/python.scm (python-ply, python2-ply): New variables. --- gnu/packages/python.scm | 28 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dfbf2cc..c78577b 100644

Re: Implementing guix system rollback / switch-generation

2016-06-13 Thread Danny Milosavljevic
Hi, On Sun, 12 Jun 2016 18:46:55 +0200 l...@gnu.org (Ludovic Courtès) wrote: > So we assume the latest GRUB always “works”, and we generate a grub.cfg > with a menu list all the older generations, which is rather convenient > from the UI viewpoint, I think. It's definitely convenient. Back when

Re: [PATCH] gnu: Add awesome.

2016-06-13 Thread Danny Milosavljevic
Hi, thanks for the patch. I think it would be better if it went into wm.scm . > +(arguments `(#:phases (modify-phases %standard-phases > +(replace 'check > + (lambda* _ > +(zero? (system*

Re: [PATCH] gnu: Add python-wcwidth and python2-wcwidth.

2016-06-14 Thread Danny Milosavljevic
On Mon, 13 Jun 2016 16:59:14 -0400 Leo Famulari <l...@famulari.name> wrote: > On Sun, Jun 12, 2016 at 05:40:06PM +0200, Danny Milosavljevic wrote: > > * gnu/packages/python.scm (python-wcwidth, python2-wcwidth): New variables. > > > > Thanks for the pa

[PATCH] gnu: Add python-ply and python2-ply.

2016-06-06 Thread Danny Milosavljevic
gnu: Add python-ply and python2-ply. * gnu/packages/python.scm (python-ply, python2-ply): New variables. --- gnu/packages/python.scm | 27 +++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dfbf2cc..3ca2a86 100644 ---

[PATCH v3] gnu: Add rofi.

2016-05-27 Thread Danny Milosavljevic
I tried with the inputs removed and it still works fine. See below for the new patch. From: Danny Milosavljevic <dan...@scratchpost.org> * gnu/packages/xdisorg.scm (rofi): New variable. --- gnu/packages/xdisorg.scm | 42 ++ 1 file changed, 42 inse

Re: [PATCH v3] gnu: Add rofi.

2016-05-27 Thread Danny Milosavljevic
On Fri, 27 May 2016 14:35:25 -0400 Leo Famulari wrote: > Gah, I forgot to attach my patch. It's attached now, with the unused > packages removed. Yeah, I installed your version and tried it out. Works fine.

Fw: bug#23094: [PATCHv2] Re: bug#23094: icecat is missing a desktop file

2016-05-26 Thread Danny Milosavljevic
Begin forwarded message: Date: Sat, 16 Apr 2016 20:15:16 +0200 From: Danny Milosavljevic <dan...@scratchpost.org> To: 23...@debbugs.gnu.org Subject: bug#23094: [PATCHv2] Re: bug#23094: icecat is missing a desktop file Any news on this? I just got a merge conflict so I was reminded of it

[PATCH v2] gnu: wxwidgets: Enable support for their "advanced" regular expressions.

2016-05-31 Thread Danny Milosavljevic
From: Danny Milosavljevic <danny...@scratchpost.org> * wxwidgets: Enable support for their "advanced" regular expressions. This is required by KiCad. --- gnu/packages/wxwidgets.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/wxw

[PATCH] gnu: Add python-prompt-toolkit, python2-prompt-toolkit.

2016-06-22 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-prompt-toolkit, python2-prompt-toolkit): New variables. --- gnu/packages/python.scm | 36 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4f18680..d1bb862 100644 ---

Re: [PATCH] gnu: Add python-wcwidth and python2-wcwidth.

2016-06-14 Thread Danny Milosavljevic
On Tue, 14 Jun 2016 09:41:01 -0400 Leo Famulari wrote: > > >@code{wcwidth} and @code{wcwidth} Is that twice the same thing?

libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix?

2016-06-17 Thread Danny Milosavljevic
Hi, I'm trying to package libgit2-glib and gnome-builder. - libgit2 has openssl as input. - libgit2-glib installs a pkg-config file. - gnome-builder uses libgit2-glib . Something always complains about missing openssl parts. For example I can get Package 'openssl', required by 'libgit2', not

Re: libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix?

2016-06-18 Thread Danny Milosavljevic
Also, it seems the only thing libgit2 uses openssl for is for the SHA1 hash. But there's also a builtin SHA1 hash in libgit2 under src/hash/hash_generic.c which we could use instead - should we? It seems that Apple already deprecated OpenSSL so the support for libgit2 without OpenSSL should be

Re: libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix?

2016-06-18 Thread Danny Milosavljevic
On Sat, 18 Jun 2016 09:47:19 +0200 Ricardo Wurmus wrote: > This depends on the pkg-config file that the library installs. If this > file contains a section that lists other libraries as private, then > propagation is probably the correct approach. See

Re: Trying to build latest Icedtea / Java 6 [security update]

2016-06-15 Thread Danny Milosavljevic
On Wed, 1 Jun 2016 02:29:54 -0400 Leo Famulari wrote: > On Wed, Jun 01, 2016 at 08:07:53AM +0200, Ricardo Wurmus wrote: > >http://icedtea.classpath.org/hg/icedtea6/rev/60be25a84f2d > > > > we should apply this change to the 1.13.11 sources. > > Tested successfully,

Re: mcron service

2016-06-24 Thread Danny Milosavljevic
Hi, I tried it out and can confirm that it still works. Nice! Just curious, how would I specify the user to run the job under now? How do I read the guix texinfo manual (using info) when the manual is not installed (i.e. read directly from the git checkout)? (Also, I wonder whether it would

[PATCH v2] gnu: Add python-prompt-toolkit, python2-prompt-toolkit.

2016-06-28 Thread Danny Milosavljevic
--- gnu/packages/python.scm | 37 + 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5322be5..6103606 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9664,3 +9664,40 @@ implementation

[PATCH v3] gnu: Add python-prompt-toolkit, python2-prompt-toolkit.

2016-06-29 Thread Danny Milosavljevic
* gnu/packages/python.scm (python-prompt-toolkit, python2-prompt-toolkit): New variables. Signed-off-by: Danny Milosavljevic <danny...@scratchpost.org> --- gnu/packages/python.scm | 38 ++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/pyth

/gnu/store/ corruption on crash

2016-02-22 Thread Danny Milosavljevic
Hi, I've got a problem on an X200 where, after I did standby 3 times, it will wake up fine but at the first larger disk access hang the machine. This E-Mail is not directly about that problem. However, this time, guix did package install when that happened and now /gnu/store/ is corrupted.

Re: Guix on Mobile (Was: Interest check: U-Boot bootloader support)

2016-02-22 Thread Danny Milosavljevic
Hi, On Tue, 23 Feb 2016 06:19:27 +1100 Jookia <166...@gmail.com> wrote: > Basically the bootloader would just be Linux to do some hardware init (touch > screen, etc) Actually, on ARM you usually have to do basic hardware init before Linux runs. Linux doesn't do it all. Often, booting Linux

[PATCH v3] gnu: Add python-psycopg2, python2-psycopg2

2016-02-24 Thread Danny Milosavljevic
, 2016 Efraim Flashner <efr...@flashner.co.il> ;;; Copyright © 2015 Kyle Meyer <k...@kyleam.com> ;;; Copyright © 2015 Chris Marusich <cmmarus...@gmail.com> +;;; Copyright © 2016 Danny Milosavljevic <danny...@scratchpost.org> ;;; ;;; This file is part of GNU Guix.

Re: [PATCH v3] gnu: Add python-psycopg2, python2-psycopg2

2016-02-25 Thread Danny Milosavljevic
Hi, first, thanks for the review and test and commit. On Thu, 25 Feb 2016 09:53:17 -0800 Christopher Allan Webber wrote: > This looks ready to go, though it still lacks a changelog style commit > message, I committed it locally, with a commit message... *shrugs*. I

(pre-)creation of tunnel network interfaces

2016-02-25 Thread Danny Milosavljevic
Hi, I'm using openconnect to connect to a few VPNs. Most of openconnect actually doesn't require root. In order to avoid root, I'd like to pre-create the tunnel interfaces. This would be done by # ip tuntap add vpn0 mode tun user dannym ^ ^--- this is the

guile-emacs build failure

2016-02-26 Thread Danny Milosavljevic
$ ./pre-inst-env guix package -i guile-emacs ... configure: error: C compiler cannot create executables See `config.log' for more details phase `configure' failed after 0.4 seconds builder for `/gnu/store/izc4h0kd4pxh65v7yirshhprv5m13xnq-guile-emacs-20150512.41120e0.drv' failed with exit code 1

crashkernel; was: /gnu/store/ corruption on crash

2016-02-22 Thread Danny Milosavljevic
On Mon, 22 Feb 2016 22:11:25 +0100 Danny Milosavljevic <dan...@scratchpost.org> wrote: > I've got a problem on an X200 where, after I did standby 3 times, it will > wake up fine but at the first larger disk access hang the machine. Also, is kdump crashkernel supported in GuixSD?

[PATCH v2] gnu: Add python-psycopg2, python2-psycopg2

2016-02-24 Thread Danny Milosavljevic
yleam.com> ;;; Copyright © 2015 Chris Marusich <cmmarus...@gmail.com> +;;; Copyright © 2016 Danny Milosavljevic <danny...@scratchpost.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -8156,3 +8157,34 @@ introspection of @code{zope.interface} instances in code.") (define

[PATCH] gnu: add kicad

2016-02-15 Thread Danny Milosavljevic
Hi, this patch adds kicad, an electronics design automation tool, to "engineering.scm". What do I do with the optional stuff like scripting etc? Is there something like Gentoo USE flags? Also, for this to work, wxwidgets.scm needs a 4 character patch. Do I add this here as well? diff --git

[PATCH] wxwidgets: enable extended regexps

2016-02-15 Thread Danny Milosavljevic
Hi, the following patch enables "extended" regexps as required by kicad. It could conceivably inadvertedly change behaviour of other wxwidgets apps. What do you think? Is this the right way? diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index b49fb2f..65adfc1 100644 ---

Re: [PATCH] wxwidgets: enable extended regexps

2016-02-16 Thread Danny Milosavljevic
Hi, On Mon, 15 Feb 2016 17:47:36 -0500 "Thompson, David" wrote: > On Mon, Feb 15, 2016 at 5:07 PM, Andreas Enge wrote: > > On Mon, Feb 15, 2016 at 05:04:09PM -0500, Leo Famulari wrote: > >> Can you test that some of these other apps still work with

Re: The tricky case of "--localstatedir=/var"

2016-02-16 Thread Danny Milosavljevic
Hi, also, even worse, when using a fine git checkout for some time, you will from time to time do this: $ git pull $ make check If this touches stuff autoconf cares about, make will do ./configure again and leave localstatedir off. Then lots (32) of the tests will fail. Just happened

[PATCH] fluxbox window manager

2016-02-18 Thread Danny Milosavljevic
Hi, first a few questions: - How do I specify MIT license? - Is it safe to do $ ./pre-inst-env guix environment guix $ guix system reconfigure /etc/config.scm in GuixSD in a git guix checkout? As a regular user or as root? If as root, how exactly? - It is possible to install git

[PATCH] gnu: Add python-psycopg2, python2-psycopg2

2016-02-19 Thread Danny Milosavljevic
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3dd3862..f121d27 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7529,3 +7529,32 @@ available in Django, but is a standalone package.") (inherit (package-with-python2

Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2

2016-02-21 Thread Danny Milosavljevic
Hi, On Fri, 19 Feb 2016 16:22:58 -0500 Leo Famulari wrote: > > + `(#:tests? #f)) ; TODO re-enable > > Why are the tests disabled? Because it would require a postgresql database "psycopg2_test" and a running postgresql database management service. Not sure what the

Re: Using cups

2016-03-15 Thread Danny Milosavljevic
Hi, On Sun, 13 Mar 2016 23:10:02 +0100 l...@gnu.org (Ludovic Courtès) wrote: > There’s currently no CUPS service for GuixSD—i.e., nothing you could > directly add to the ‘services’ field of your ‘operating-system’ > configuration. > > If you would like to contribute one such service, that’d be

hplip package (work in progress)

2016-03-15 Thread Danny Milosavljevic
Hi, I'm trying to create a package for hplip, and it manages to reach the install phase and then it fails trying to create /etc/cups . Should we put /etc/cups inside the hplip store directory or what should we do with it? diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index

Re: [PATCH] fluxbox window manager

2016-03-11 Thread Danny Milosavljevic
> I went ahead and made the above changes in the attached patch. Please let me > know if the copyright line and git author are appropriate. Yes.

Re: [PATCH] system: grub: Add 'libreboot?' install flag.

2016-03-09 Thread Danny Milosavljevic
Hi, just adding a few bits of information: It's true that libreboot can (and does) source other grub config files. GRUB should also be able to chainload other bootloaders, however I tried that several times now and it just doesn't work. Is this a known limitation? insmod ahci insmod ext2

Re: [PATCH] Fix guile-emacs build failure

2016-03-12 Thread Danny Milosavljevic
I tried this again (with the patch) and it builds now: $ guix package -i guile-emacs The following package will be installed: guile-emacs 20150512.41120e0 /gnu/store/3vdzl2kav2m1nqv6raw0mgh0ak2v9qra-guile-emacs-20150512.41120e0 But it doesn't run: $ emacs Uncaught exception: Throw

Using cups

2016-03-12 Thread Danny Milosavljevic
Usually, to setup cups, I use . However, it doesn't work on GuixSD. Do I need to add a special service to the operating-system config for that to work? Is it not in %desktop-services? What's the preferred way to set up printers?

Re: [PATCH] gnu: simple-scan: Update to 3.19.91.

2016-03-12 Thread Danny Milosavljevic
Note: all the toolbar icons are broken for me in simple-scan. open("/home/dannym/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory) open("/run/current-system/profile/share/icons", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 20

Re: [PATCH] Fix guile-emacs build failure

2016-03-12 Thread Danny Milosavljevic
> If you have another guile in your path, path things might cause > problems. > > Maybe try running it in: > > $ guix environment --ad-hoc guile-emacs --pure > $ emacs -q > > Does it work then? Yes.

Re: [PATCH] gnu: simple-scan: Update to 3.19.91.

2016-03-13 Thread Danny Milosavljevic
> Note: all the toolbar icons are broken for me in simple-scan. > > open("/home/dannym/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/run/current-system/profile/share/icons", > O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 20 >

Re: Patches to add s3cmd and python-magic

2016-03-28 Thread Danny Milosavljevic
> * Do I need to provide setuptools as a native input, or will it be > pulled in automatically? I think you need to provide it. Try removing it. Does your package still build? > * Does setuptools really need to be a native input, or can it be a > regular input? I understand that native

guix package -u --no-substitutes

2016-04-06 Thread Danny Milosavljevic
Hi, I've been having problems doing $ ./pre-inst-env guix package -u lately. I get >guix substitute: error: download from >'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' > failed: 503, "Service Temporarily Unavailable" . When I try $

[PATCH v3] gnu: Add python2-shedskin.

2016-04-07 Thread Danny Milosavljevic
On Wed, 6 Apr 2016 18:19:09 -0400 Leo Famulari <l...@famulari.name> wrote: > On Wed, Mar 30, 2016 at 07:26:59AM +0200, Danny Milosavljevic wrote: > > Patch that does the latter. Is that OK? > > If it works, then I think it's better than propagating pcre and libgc. It

guix lint

2016-04-07 Thread Danny Milosavljevic
Currently, when run from gnome-terminal, "guix lint" prints CR and then writes a shorter text, resulting in a less-than-ideal display. I propose to clear-to-end-of-line before that. Also, at the very end of the lint check it still did this: dannym@dayas ~/src/guix$ -0.9.4 [formatting]...

[PATCH v4] gnu: Add python2-shedskin.

2016-04-07 Thread Danny Milosavljevic
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 25bed2a..cd67083 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -37,7 +37,7 @@ (define-module (gnu packages python) #:use-module ((guix licenses) #:select (asl2.0 bsd-4 bsd-3 bsd-2

[PATCH] guix lint: at the "checking" line, make sure to delete the old line's text before overwriting it (with a possibly shorter text).

2016-04-08 Thread Danny Milosavljevic
2016 Mathieu Lirzin <m...@gnu.org> +;;; Copyright © 2016 Danny Milosavljevic <danny...@scratchpost.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -799,11 +800,14 @@ or a list thereof") (name (package-full-name package))) (for-each (lambda (checker)

Re: [PATCH v7] Add hplip

2016-04-10 Thread Danny Milosavljevic
Hi, On Mon, 04 Apr 2016 23:45:07 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Here’s an improved version of the patch you posted, which removes the > dependency on Autoconf/Automake and keeps using /var as the > localstatedir. I've tested your patched patch and can confirm that the package

Re: guix lint

2016-04-08 Thread Danny Milosavljevic
> There may other places to fix, see . Yeah, there's one at guix/build/download.scm in function "progress-proc". I checked what "string-pad-middle" - which is used by the function "progress-proc" - does and I... object to it in priciple. What it does is add padding

Re: guix import pypi uwsgi

2016-03-19 Thread Danny Milosavljevic
Hi, On Fri, 18 Mar 2016 21:32:44 +0100 Nils Gillmann wrote: > I did not package with python so far, but is it not possible that > you set the url to fetch from with pypi-uri? According to guix/build-system/python.scm the answer is no: (define* (pypi-uri name version

Re: guix import pypi uwsgi

2016-03-19 Thread Danny Milosavljevic
Hi, On Sat, 19 Mar 2016 21:56:45 +0100 l...@gnu.org (Ludovic Courtès) wrote: > So the bug is that ‘guix import’ should emit ‘pypi-uri’ calls if and > only if the URL matches the usual pypi.python.org scheme, right? Yes. guix/import/pypi.scm's make-pypi-sexp even knows the source-url. But then

guix import pypi uwsgi

2016-03-19 Thread Danny Milosavljevic
Hi, I tried to create a package for uwsgi by $ guix import pypi uwsgi ...From https://pypi.python.org/packages/source/u/uWSGI/uwsgi-2.0.12.tar.gz... ... (package (name "python-uwsgi") (version "2.0.12") (source (origin (method url-fetch) (uri (pypi-uri "uWSGI" version))

Re: hplip package (work in progress)

2016-03-19 Thread Danny Milosavljevic
Hi, On Wed, 16 Mar 2016 09:45:12 +0100 Andy Wingo wrote: > > Generally, yes. If it later needs to be merged into a common /etc/cups > ^, put it in the hplip store directory > > directory for some reason, then cups-service needs to create a union > >

[PATCH v2] Add hplip

2016-03-21 Thread Danny Milosavljevic
This is a patch that adds hplip. Note that hplip builds and installs but we don't do any of the merging of different packages' ppds etc yet [the majority of the merging will be in "services" and not in "packages", though]. diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index

[PATCH v3] Add hplip

2016-03-22 Thread Danny Milosavljevic
Fixed some whitespace and added line breaks to make guix lint happy. Also added python-wrapper as input so that hp-setup works. diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index ff3d152..266c741 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -26,6 +26,10 @@

[PATCH v4] Add hplip

2016-03-22 Thread Danny Milosavljevic
(No functional changes) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index ff3d152..93a7828 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -26,6 +26,10 @@ #:use-module (gnu packages) #:use-module (gnu packages avahi) #:use-module (gnu packages

[PATCH] Add stellarium

2016-03-22 Thread Danny Milosavljevic
Hi, this adds a regular file gnu/package/astronomy.scm and the package "stellarium" in it. diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm new file mode 100644 index 000..ac02344 --- /dev/null +++ b/gnu/packages/astronomy.scm @@ -0,0 +1,58 @@ +;;; GNU Guix ---

cups-service

2016-03-22 Thread Danny Milosavljevic
I added a cups-service to actually enable printing eventually, see below. What it should do (and doesn't do yet) is union together several directories of other packages. The generated cups-files.conf should contain as "DataDir" (usually /usr/share) the data directory that cupsd should use,

[PATCH v6] Add hplip

2016-03-23 Thread Danny Milosavljevic
Fiddle with some of the comments: diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index ff3d152..ce90a28 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -26,6 +26,10 @@ #:use-module (gnu packages) #:use-module (gnu packages avahi) #:use-module (gnu packages

Re: [GSoC] Draft proposal for an Install Wizard for Guix

2016-03-23 Thread Danny Milosavljevic
> One more thing to consider. While you write this installer, you might > want to think about how we can make the installation process itself as > reproducible as possible. One of Guix's features is reproducible > software builds. Shouldn't GuixSD also make it possible to reproduce > the

[PATCH v5] Add hplip

2016-03-23 Thread Danny Milosavljevic
Hi, thanks for the review! Here's a new version; it also removes the installer of the proprietary plugin installer. diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index ff3d152..bd85974 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -26,6 +26,10 @@ #:use-module

[PATCH v7] Add hplip

2016-03-23 Thread Danny Milosavljevic
> python-wrapper wraps python, so that python3 is presented to the system > as python and as python3. Does the package really need both? Yes. Many of the hplip scripts use #!/usr/bin/env python and some use #!/usr/bin/env python3 . There's a script "hplip-install" which is kinda like

Re: python general question (setup.py)

2016-03-25 Thread Danny Milosavljevic
Hi, On Fri, 25 Mar 2016 23:02:20 +0100 Nils Gillmann wrote: > Is setup.py the equivalent of a package manager in python or does > it serve more purposes? Not at all. AFAIK, it's the equivalent of configure.ac / a Makefile. pip is the package manager. There's $ guix

Re: security-updates merged

2016-03-26 Thread Danny Milosavljevic
Possibly unrelated, but: guix$ git pull # master branch guix$ guix environment guix guix$ make ... configure: error: Package requirements (sqlite3 >= 3.6.19) were not met: No package 'sqlite3' found

Re: cups-service

2016-03-22 Thread Danny Milosavljevic
>ppds are usually in /usr/share/hplip Oops, I meant in /usr/share/ppd/hplip

Re: [PATCH] Add stellarium

2016-03-23 Thread Danny Milosavljevic
On Tue, 22 Mar 2016 23:45:08 -0500 Eric Bavier wrote: > Is there a reason qt needs to be a native input in addition to a > regular input? If so, include a comment explaining why. Not sure. I thought that when cross compiling we would need (1) Qt-MOC to compile

[PATCH] Add syslog.scm and rsyslog.

2016-03-19 Thread Danny Milosavljevic
Hi, this adds gnu/packages/syslog.scm and rsyslog. If someone knowledgeable about which license text is which license can check the FIXMEs that would be nice. That said, it seems inetutils also contains a syslogd (it also auto-starts; I didn't see it before) - so not sure how useful having

LLVM: "FileCheck" is missing

2016-03-25 Thread Danny Milosavljevic
Hi, is anyone familiar with our LLVM packages? I'm trying to package rust and run into /gnu/store/pmiw7p7a6hwl6k2kblsk3zwhxh3gln21-llvm-3.6.2/bin/FileCheck is missing when configuring rust. Indeed, it is missing in the entire tree /gnu/store/pmiw7p7a6hwl6k2kblsk3zwhxh3gln21-llvm-3.6.2

wip-rox.scm : ROX Desktop

2016-03-08 Thread Danny Milosavljevic
Hello Louis, well, writing the package declaration is easy - if you have the time, it would be nice. But I understand that you have to get guix working for you first. I have a work-in-progress for the ROX Desktop (the ROX-Filer and ROX-Session parts work), see below; you can use it as a

Re: wip-rox.scm : ROX Desktop

2016-03-08 Thread Danny Milosavljevic
Hi Nils, On Tue, 08 Mar 2016 09:16:41 +0100 Nils Gillmann wrote: > for me this part is checkout / pull latest merges, > make clean, ./configure --localstatedir=/var, make > etc > why bootstrap when we are talking about GuixSD (probably)? It just does automake and autoconf

Python2-only packages (shedskin)

2016-03-29 Thread Danny Milosavljevic
Hi, I'm trying to package shedskin, a Python 2 native (to C++) compiler. It only supports python2 in upstream. If I package it the usual way (like other Python packages in Guix), python2-shedskin works fine, however, python-shedskin won't and basically shouldn't be there. How to best

Re: [PATCH] gnu: Add python2-shedskin.

2016-03-29 Thread Danny Milosavljevic
A question about this: Shedskin results always #includes pcre.h and -lgc . Does this mean we should propagate both or is it expected that the user knows about those or should we patch the Shedskin Makefile generator so that it references specific inputs? If the latter, see shedskin/makefile.py

[PATCH] gnu: Add python2-shedskin.

2016-03-29 Thread Danny Milosavljevic
* gnu/packages/python.scm (python2-shedskin): New variable. --- b/gnu/packages/python.scm | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 88aef9d..64000c5 100644 --- a/gnu/packages/python.scm

Re: security-updates merged

2016-03-28 Thread Danny Milosavljevic
Hi Ludo, > Danny: could you check with either --container or --pure? It could be > that some other settings from the outside environment were interfering. I tried $ guix environment guix --container $ ./configure --localstatedir=/var That works. Same for $ guix environment guix

Re: [PATCH] gnu: Add wmbattery

2016-04-04 Thread Danny Milosavljevic
On Mon, 4 Apr 2016 17:04:51 -0400 Kei Yamashita wrote: > The source tarball comes from Debian. Hopefully this patch is formatted > correctly. Spurios tab characters here: (method url-fetch) (uri (string-append

Re: Python and propagation

2016-04-04 Thread Danny Milosavljevic
Or: 3) Use Python importlib[1] metapath functionality[2] in order to register your own module finder early[3]. You can override the entire module loading functionality like this, both the finding of modules and the loading them (off a stone tablet for example ^^). You can even override builtin

[PATCH v2] gnu: Add python2-shedskin.

2016-03-29 Thread Danny Milosavljevic
Patch that does the latter. Is that OK? * gnu/packages/python.scm (python2-shedskin): New variable. --- b/gnu/packages/python.scm | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index

cups-service v2

2016-03-23 Thread Danny Milosavljevic
I think I have most of the parts now. Not sure how to tie them together, though: diff --git a/gnu/services/printing.scm b/gnu/services/printing.scm new file mode 100644 index 000..d8f6924 --- /dev/null +++ b/gnu/services/printing.scm @@ -0,0 +1,147 @@ +;;; GNU Guix --- Functional package

Python2 and Python3 in user profile - how?

2016-03-31 Thread Danny Milosavljevic
How can I have both python2 and python3 in my user profile? 'guix package' seems to always uninstall the other one automatically.

Re: Proposal: Prefix language-name for language library packages

2016-04-24 Thread Danny Milosavljevic
Hi, I've always like the Gentoo approach most. Have a qualified package name like dev-java/ant and if you try to install "ant" and it's unique: good. If you try to install "ant" and there are multiple ones: you get a disambiguation error. If you try to install "dev-java/ant" there's no

Re: GuixSD encrypted root?

2016-04-24 Thread Danny Milosavljevic
On Sun, 24 Apr 2016 16:22:16 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Encrypted root file systems are not supported yet (some people managed > to work around the lack of support, but that’s somewhat fragile.) > > Good news is we’re getting there! You can track progress at >

Re: [PATCH] Add Blender

2016-04-25 Thread Danny Milosavljevic
On Mon, 29 Feb 2016 12:39:11 -0300 "d.4.n.1" wrote: > Attached is the latest version of the patch.  The CPATH hack is still > required.  I also had to disable the tests as the gigabytes of test > files that would be required to run them are not included in the release >

Re: [PATCH] Add Blender

2016-04-26 Thread Danny Milosavljevic
> I suppose Blender needs to use ‘ffmpeg-2.8’ (similar to > .) > > Could you try and report back? Yes, this works: diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index c01eb39..ff17159 100644 --- a/gnu/packages/graphics.scm

Re: GuixSD encrypted root?

2016-04-23 Thread Danny Milosavljevic
guix reconfigure works and doesn't hang if I add (mount? #f) and reboot and mount it manually, like: >(file-system > (device "/dev/mapper/dayas-sys") > (mount-point "/x") > (type "btrfs") >

Re: GuixSD encrypted root?

2016-04-24 Thread Danny Milosavljevic
Hi, > Or, as Leo suggests, it could be that shepherd starts the device-mapping > service, which runs “cryptsetup luksOpen”, which never completes because > you don’t know it’s waiting for you to enter a passphrase. I doubt that it's that. The only change I have to do for it to work just fine is

Re: [PATCH v3] gnu: Add python2-shedskin.

2016-04-24 Thread Danny Milosavljevic
> My instinct is that we should make it refer directly to the libraries > (pcre and libgc) but that user-facing executables like make and g++ > should be installed by the user. Yeah, I did it like that in the existing patch. > The examples may not be 100% relevant; is shedskin totally useless >

cron-service

2016-04-30 Thread Danny Milosavljevic
Hi, I've seen the mcron package but I don't understand how it gets launched. Should there be a cron-service ? How about the configuration which cron jobs to run? mcron can do both the traditional format and S-Expression format, so it would be possible to directly have the system cronjobs

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
Hi, > FWIW, I use SSDs in all my computers and have never run fstrim. Feels > a lot like the "defragment your hard drive" days. If you would run it now then it would free many gigabytes. What it does and why it's needed: Traditionally filesystems on hard disks would just reuse sectors once

Re: fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
> I had never thought of it, but maybe it’s a good idea. How do other > distros handle it? On they say: >Ubuntu 14.10 onwards: >In Ubuntu 14.10 and 15.04, TRIMming happens automatically every week on all >SSDs supported by fstrim. >$

[PATCH] gnu: Add rofi.

2016-05-19 Thread Danny Milosavljevic
From: Danny Milosavljevic <dan...@scratchpost.org> * gnu/packages/xdisorg.scm (rofi): New variable. --- gnu/packages/xdisorg.scm | 32 1 file changed, 32 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ca198c3..9f708e5

Re: [PATCH v2] move libxkbcommon from "gnu/packages/qt.scm" to "gnu/packages/xdisorg.scm"

2016-05-18 Thread Danny Milosavljevic
Hi Ludo, On Wed, 11 May 2016 18:32:51 +0200 l...@gnu.org (Ludovic Courtès) wrote: > BTW, in the future, could you either use ‘git send-email’ $ git send-email git: 'send-email' is not a git command. See 'git --help'. (on GuixSD) > or attach the patch as produced by ‘git format-patch’ to your

Re: [PATCH] gnu: Add rofi.

2016-05-24 Thread Danny Milosavljevic
On Mon, 23 May 2016 00:28:26 -0400 Leo Famulari wrote: > The failing test (helper_expand) seems to fail when it can't find > `which`. The failing test is test/helper-expand.c and it tries to do this: int main ( int argc, char ** argv ) { cmd_set_arguments ( argc, argv

fstrim and SSDs and cron; was: Re: cron-service

2016-05-17 Thread Danny Milosavljevic
Hi Ludo, thanks. I can confirm that this works! I'm using it to regularily call fstrim (one has to regularily call fstrim on SSDs) so the mcron behaviour of, if an appointment was missed, doing it at the first next availability is good for regularity. The man page says that trimming once a

Re: [PATCH] gnu: Add wmbattery

2016-05-16 Thread Danny Milosavljevic
On Mon, 4 Apr 2016 17:04:51 -0400 Kei Yamashita wrote: > The source tarball comes from Debian. The wmbattery version that we use in Guix has a memory leak. It's been eating up all memory of

Re: [PATCH] gnu: graphviz: Enable Guile library.

2016-05-10 Thread Danny Milosavljevic
Hi, On Mon, 09 May 2016 22:54:00 +0200 Roel Janssen wrote: > it is automatically generated using SWIG. I had to experiment a bit to > find out that the functions exposed in Guile did not have a namespace (gv.). You can add a prefix when importing, so the symbols of the module

[PATCH] linux: alsa: update to 1.1.1

2016-04-16 Thread Danny Milosavljevic
Hi, this updates ALSA to 1.1.1. I removed alsa-lib-mips-atomic-fix.patch since I don't have MIPS and thus can't test it. So could someone please check it and re-add? I also added alsa-plugins. It contains shared objects to be loaded in asoundrc or user asoundrc. For example it contains a

[PATCH] gnu: wxwidgets: enable extended regular expressions.

2016-04-16 Thread Danny Milosavljevic
Hi, this patch enables extended regular expression support in wxwidgets. It's needed for kicad. I tried to test the other packages that depend on wxwidgets (wxmaxima and audacity) but even without the patch they are in various states of brokenness. See my bug reports on the problems. These

[PATCH] Add cabextract.

2016-04-16 Thread Danny Milosavljevic
Hi, this patch adds cabextract, an extractor for CAB files. (libmspack is already in, but cabextract isn't) * gnu/packages/compression.scm (cabextract): New variable. --- b/gnu/packages/compression.scm | 23 +++ 1 file changed, 23 insertions(+) diff --git

[PATCHv2] Add cabextract.

2016-04-17 Thread Danny Milosavljevic
* gnu/packages/compression.scm (cabextract): New variable. --- b/gnu/packages/compression.scm | 23 +++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index de5d03a..cd89dfe 100644 ---

  1   2   3   4   5   6   7   8   9   10   >