Re: Update btrfs-progs once again and add static output

2016-04-12 Thread Leo Famulari
On Mon, Apr 11, 2016 at 08:07:09PM -0400, Leo Famulari wrote:
> On Sat, Apr 02, 2016 at 03:29:31PM +0200, Tobias Geerinckx-Rice wrote:
> > Some simple patches to add a ‘static’ output to the btrfs-progs
> > package, containing statically linked versions of all the tools.
> 
> I've applied your patches (with some very minor edits to the commit
> messages), bringing HEAD to 5f3f3ac2874.

I forgot to check how many packages would be rebuilt by the change to
util-linux: 714.

Should I revert the change and put it on core-updates?

Building the following 344 packages would ensure 714 dependent packages
are rebuilt: xboing-2.4 xwd-1.0.6 xkbutils-1.0.4 clusterssh-3.28
guix-0.10.0-0.7611 skribilo-0.9.3 emacs-w3m-1.4.538+0.20141022
hydra-20150407.4c0e3e4 libstdc++-doc-5.3.0 libstdc++-doc-4.9.3
smproxy-1.0.6 xinit-1.3.4 lsh-2.1 x11perf-1.6.0 xhost-1.0.7 xkill-1.0.4
xsetroot-1.1.1 xrdb-1.1.0 wmctrl-1.07 windowmaker-0.95.6 assword-0.8
shroud-0.1.1 xlockmore-5.46 xeyes-1.0.1 xosd-2.2.14 tvtime-1.0.2
r-ztable-0.1.5 r-lattice-0.20-33 r-dt-0.1 r-servr-0.2
r-doparallel-1.0.10 r-rmarkdown-0.8.1 r-devtools-1.10.0 r-plotly-2.0.3
r-dplyr-0.4.3 python2-rpy2-2.7.6 python-rpy2-2.7.6
r-adaptivesparsity-1.4 rsem-1.2.20 r-qtl-1.38-4 r-dnacopy-1.44.0
r-acsnminer-0.15.11 r-org-ce-eg-db-3.2.3 r-org-dm-eg-db-3.2.3
r-topgo-2.22.0 r-org-hs-eg-db-3.2.3 r-org-mm-eg-db-3.2.3
r-genomicfeatures-1.22.13 r-genomation-1.2.2 ratpoison-1.4.8
plotutils-2.6 procmail-3.22 links-2.12 xpdf-3.04 a2ps-4.14 xboard-4.8.0
fvwm-2.6.5 sawfish-1.11 pidgin-otr-4.0.2 ruby-atoulme-antwrap-0.7.5
htsjdk-1.129 icedtea-1.13.10 fluxbox-1.3.7 sxiv-1.3.2 openbox-3.6.1
scrot-0.8 feh-2.14.1 gkrellm-2.3.5 emacs-no-x-toolkit-24.5 i3-wm-4.12
colordiff-1.0.16 perf-4.5 perf-nonfree-4.0 taskwarrior-2.4.3 mu-0.9.13
qemu-minimal-2.5.0 password-store-1.6.5 node-0.12.7 man-db-2.7.1
python2-llfuse-1.0 attic-0.16 borg-1.0.0 fuse-exfat-1.1.0
unionfs-fuse-0.26 sshfs-fuse-2.5 sra-tools-2.5.7 ripperx-2.8.0
abcde-2.7.1 orpheus-1.6 emms-4.0 mpc123-0.2.4 xmp-4.0.10 mdadm-3.3.2
libcanberra-gtk2-0.30 xdriinfo-1.0.5 xf86-video-vesa-2.3.4
xf86-video-fbdev-0.4.4 xf86-video-ati-7.6.1 xf86-video-mach64-6.9.5
xf86-video-neomagic-1.2.9 xf86-input-joystick-1.6.2
xf86-video-suncg6-1.1.2 xf86-video-siliconmotion-1.7.8
xf86-video-vmware-13.1.0 xf86-video-openchrome-0.3.3
xf86-video-nv-2.1.20 xf86-video-savage-2.3.8 xf86-input-keyboard-1.8.1
xf86-video-trident-1.3.7 xf86-video-i128-1.3.6 xf86-video-glint-1.2.8
xf86-video-tdfx-1.4.6 xf86-video-modesetting-0.9.0
xf86-video-cirrus-1.5.3 xf86-video-sis-0.10.8 xf86-video-geode-2.11.18
xf86-video-mga-1.6.4 xf86-video-ark-0.7.5 xf86-video-nouveau-1.0.12
xf86-input-void-1.4.1 xf86-input-mouse-1.9.1 xf86-video-tga-1.2.2
xf86-video-voodoo-1.2.5 xf86-video-sunffb-1.2.2 xf86-input-evdev-2.10.1
xf86-input-synaptics-1.8.3 xf86-video-r128-6.10.1
xf86-video-intel-2.99.917-1-d167280 frescobaldi-2.18.2 keepassx-2.0.2
kccmp-0.3 scribus-1.5.1 python-pyqt-5.5 pumpa-0.9.2
owncloud-client-2.1.1 lxqt-session-0.9.0 lxqt-common-0.9.1
quassel-0.12.3 gpsbabel-1.5.2 tiled-0.15.1 fritzing-0.9.2b
librecad-2.0.9 wine-1.9.4 vtk-6.1.0 sdl2-ttf-2.0.14 sdl2-mixer-2.0.1
gst-plugins-ugly-1.8.0 sdl-gfx-2.0.24 qemu-2.5.0 agg-2.5 fizmo-0.7.9
gzochi-0.9 desmume-0.9.11 soil-1.0.7 mplayer-1.2.1 pianobar-2015.11.22
mpd-0.19.12 gst-libav-1.6.3 guile-gnunet-0.0.383eac2 slim-1.3.6
asymptote-2.35 sdl2-image-2.0.1 wesnoth-1.12.4 gourmet-0.17.4
calibre-2.51.0 raincat-1.1.1.3 brdf-explorer-17 wxmaxima-15.04.0
python2-ipython-3.2.1 python2-numexpr-2.4.4 enblend-enfuse-4.1.3
libreoffice-5.0.5.2 crossmap-0.2.1 seqmagick-0.6.1 macs-2.1.0.20151222
rseqc-2.6.1 python2-statsmodels-0.6.1 python2-seaborn-0.5.1 pepr-1.0.9
grit-2.0.2 pbtranscript-tofu-2.2.3.8f5467fe6 python2-scikit-image-0.11.3
miso-0.5.3 pyicoteo-2.0.7 python2-warpedlmm-0.21 couger-1.8.2
clipper-0.3.0 deeptools-2.1.1 python-ipython-3.2.1 python-numexpr-2.4.4
python-h5py-2.4.0 python-biopython-1.66 python-statsmodels-0.6.1
python-seaborn-0.5.1 python-scikit-learn-0.16.1
python-scikit-image-0.11.3 idr-2.0.0 mate-icon-theme-1.12.0 gmtp-1.3.10
tuxguitar-1.2 conkeror-1.0pre1.20150730 lablgtk-2.18.3 inklingreader-0.8
gxmessage-3.4.3 zathura-cb-0.1.4 zathura-djvu-0.2.4
zathura-pdf-poppler-0.2.5 zathura-ps-0.2.2 pspp-0.10.1 pavucontrol-3.0
vte-0.36.5 devhelp-3.18.1 libzapojit-0.0.3 hexchat-2.10.1
claws-mail-3.13.2 tilda-1.3.1 gnucash-2.6.12 gtk-vnc-0.5.4
gnumeric-1.12.24 gnome-mines-3.18.2 file-roller-3.16.4 baobab-3.18.1
gnunet-gtk-0.10.1 seahorse-3.18.0 byzanz-0.2-1.f7af3a5
gnome-screenshot-3.18.0 aisleriot-3.18.2 d-feet-0.3.10
mate-desktop-1.12.1 libmateweather-1.12.1 ibus-libpinyin-1.7.2
dconf-editor-3.18.2 gnome-klotski-3.18.2 libchamplain-0.12.12
gsegrafix-1.0.6 pioneers-15.3 sfxr-1.2.1 fcitx-4.2.8.6
guile-emacs-20150512.41120e0 hop-2.4.0 proof-general-4.2
emacs-popup-0.5.3 emacs-mit-scheme-doc-20140203 emacs-slime-2.15
emacs-constants-2.2 emacs-butler-0.2.4 emacs-debbugs-0.9
emacs-god-mode-20151005.925.1-6cf0807b6 emacs-typo-1.1 magit-svn-2.1.1
emacs

Re: Calling autogen.sh in a build

2016-04-12 Thread Ricardo Wurmus

Florian Paul Schmidt  writes:
>
> I'm trying to package rapicorn. And it's mostly gnu-build-system based,
> but I need to call autogen.sh (see below for package definitions).
>
> Sadly I suck and it fails. Got any ideas? Seems i need to rerun the
> patch-shebangs phase?

Hi Florian,

I have a rapicorn package ready and I did not need to run autogen at
all.  The only problem with the package is a failing test, which I
reported upstream.

~~ Ricardo



[PATCH 01/14] gnu: Add r-acepack.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-acepack): New variable.
---
 gnu/packages/statistics.scm | 21 +
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9c197f4..2487375 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -944,6 +944,27 @@ matter where it is stored, whether in a data frame, a data 
table or
 database.")
 (license license:expat)))
 
+(define-public r-acepack
+  (package
+(name "r-acepack")
+(version "1.3-3.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "acepack" version))
+   (sha256
+(base32
+ "13ry3vyys12iplb14jfhmkrl9g5fxg3iijiggq4s4zb5m5436b1y"
+(build-system r-build-system)
+(inputs
+ `(("gfortran" ,gfortran)))
+(home-page "http://cran.r-project.org/web/packages/acepack";)
+(synopsis "Functions for regression transformations")
+(description
+ "This package provides ACE and AVAS methods for choosing regression
+transformations.")
+(license license:x11)))
+
 (define-public r-chron
   (package
 (name "r-chron")
-- 
2.1.0




[PATCH 03/14] gnu: Add r-foreign.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-foreign): New variable.
---
 gnu/packages/statistics.scm | 20 
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 0657e86..9f311b5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -987,6 +987,26 @@ It is based on the methods described in Kaufman and 
Rousseeuw (1990) \"Finding
 Groups in Data\".")
 (license license:gpl2+)))
 
+(define-public r-foreign
+  (package
+(name "r-foreign")
+(version "0.8-66")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "foreign" version))
+   (sha256
+(base32
+ "19278jm85728zb20800w6hq9q8jy8ywdn81mgmlnxkmrr9giwh6p"
+(build-system r-build-system)
+(home-page "http://cran.r-project.org/web/packages/foreign";)
+(synopsis "Read data stored by other statistics software in R")
+(description
+ "This package provides functions for reading and writing data stored by
+some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka, and
+for reading and writing some dBase files.")
+(license license:gpl2+)))
+
 (define-public r-chron
   (package
 (name "r-chron")
-- 
2.1.0




[PATCH 02/14] gnu: Add r-cluster.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-cluster): New variable.
---
 gnu/packages/statistics.scm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2487375..0657e86 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -965,6 +965,28 @@ database.")
 transformations.")
 (license license:x11)))
 
+(define-public r-cluster
+  (package
+(name "r-cluster")
+(version "2.0.3")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "cluster" version))
+   (sha256
+(base32
+ "03jfczb3dwg57f164pya0b762xgyswyb9a7s33lw9i0s5dq72ri8"
+(build-system r-build-system)
+(inputs
+ `(("gfortran" ,gfortran)))
+(home-page "http://cran.r-project.org/web/packages/cluster";)
+(synopsis "Methods for data cluster analysis")
+(description
+ "This package provides tools that are useful in finding groups in data.
+It is based on the methods described in Kaufman and Rousseeuw (1990) \"Finding
+Groups in Data\".")
+(license license:gpl2+)))
+
 (define-public r-chron
   (package
 (name "r-chron")
-- 
2.1.0




[PATCH 04/14] gnu: Add r-formula.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-formula): New variable.
---
 gnu/packages/statistics.scm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9f311b5..298739e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1007,6 +1007,28 @@ some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, 
Systat and Weka, and
 for reading and writing some dBase files.")
 (license license:gpl2+)))
 
+(define-public r-formula
+  (package
+(name "r-formula")
+(version "1.2-1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "Formula" version))
+   (sha256
+(base32
+ "02in5325zzrqbhlygx6s0dinj6ymw845q70y56frqacv25ayzcax"
+(properties `((upstream-name . "Formula")))
+(build-system r-build-system)
+(home-page "http://cran.r-project.org/web/packages/Formula";)
+(synopsis "Extended model formulas")
+(description
+ "This package provides a new class @code{Formula}, which extends the base
+class @code{formula}.  It supports extended formulas with multiple parts of
+regressors on the right-hand side and/or multiple responses on the left-hand
+side.")
+(license (list license:gpl2+ license:gpl3+
+
 (define-public r-chron
   (package
 (name "r-chron")
-- 
2.1.0




[PATCH 07/14] gnu: Add r-latticeextra.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-latticeextra): New variable.
---
 gnu/packages/statistics.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index f21cc92..c67c102 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1522,6 +1522,30 @@ multivariate data.  Lattice is sufficient for typical 
graphics needs, and is
 also flexible enough to handle most nonstandard requirements.")
 (license license:gpl2+)))
 
+(define-public r-latticeextra
+  (package
+(name "r-latticeextra")
+(version "0.6-28")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "latticeExtra" version))
+   (sha256
+(base32
+ "1hkyqsa7klk5glj9y1hg3rxr5qilqw8h0017zc4c3nps7lr9a1kq"
+(properties `((upstream-name . "latticeExtra")))
+(build-system r-build-system)
+(propagated-inputs
+ `(("r-lattice" ,r-lattice)
+   ("r-rcolorbrewer" ,r-rcolorbrewer)))
+(home-page "http://latticeextra.r-forge.r-project.org/";)
+(synopsis "Extra graphical utilities based on lattice")
+(description
+ "Building on the infrastructure provided by the lattice package, this
+package provides several new high-level graphics functions and methods, as
+well as additional utilities such as panel and axis annotation functions.")
+(license license:gpl2+)))
+
 (define-public r-rcpparmadillo
   (package
 (name "r-rcpparmadillo")
-- 
2.1.0




[PATCH 08/14] gnu: Add r-irlba.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-irlba): New variable.
---
 gnu/packages/statistics.scm | 20 
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c67c102..db64da6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2029,6 +2029,26 @@ The 'DataTables' library has been included in this R 
package.")
 flexible than the orphaned \"base64\" package.")
 (license license:gpl2+)))
 
+(define-public r-irlba
+  (package
+(name "r-irlba")
+(version "2.0.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "irlba" version))
+   (sha256
+(base32
+ "1gms3rxrm24ri4vjvnpl4v47m7bx0zk63z8y85rbhsvx230xdy0m"
+(build-system r-build-system)
+(home-page "http://cran.r-project.org/web/packages/irlba";)
+(synopsis "Methods for eigendecomposition of large matrices")
+(description
+ "This package provides fast and memory efficient methods for truncated
+singular and eigenvalue decompositions, as well as for principal component
+analysis of large sparse or dense matrices.")
+(license (list license:gpl2+ license:gpl3+
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




[PATCH 05/14] gnu: Add r-locfit.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-locfit): New variable.
---
 gnu/packages/statistics.scm | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 298739e..2715643 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1029,6 +1029,25 @@ regressors on the right-hand side and/or multiple 
responses on the left-hand
 side.")
 (license (list license:gpl2+ license:gpl3+
 
+(define-public r-locfit
+  (package
+(name "r-locfit")
+(version "1.5-9.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "locfit" version))
+   (sha256
+(base32
+ "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m"
+(build-system r-build-system)
+(home-page "http://cran.r-project.org/web/packages/locfit";)
+(synopsis "Local regression, likelihood and density estimation")
+(description
+ "This package provides functions used for local regression, likelihood
+and density estimation.")
+(license (list license:gpl2+ license:gpl3+
+
 (define-public r-chron
   (package
 (name "r-chron")
-- 
2.1.0




[PATCH 06/14] gnu: Add r-xtable.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-xtable): New variable.
---
 gnu/packages/statistics.scm | 20 
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2715643..f21cc92 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1088,6 +1088,26 @@ fast ordered joins, fast add/modify/delete of columns by 
group, column listing
 and fast file reading.")
 (license license:gpl3+)))
 
+(define-public r-xtable
+  (package
+(name "r-xtable")
+(version "1.8-2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "xtable" version))
+   (sha256
+(base32
+ "0398qkpvlw3dv0myz4mjcyqwpwc2m31l127r8vdzwc71wb6s28qn"
+(build-system r-build-system)
+(native-inputs
+ `(("r-knitr" ,r-knitr)))
+(home-page "http://xtable.r-forge.r-project.org/";)
+(synopsis "Export R tables to LaTeX or HTML")
+(description
+ "This package provides tools to export R data as LaTeX and HTML tables.")
+(license license:gpl2+)))
+
 (define-public python-patsy
   (package
 (name "python-patsy")
-- 
2.1.0




[PATCH 10/14] gnu: Add r-registry.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-registry): New variable.
---
 gnu/packages/statistics.scm | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index be13268..72c3918 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2075,6 +2075,25 @@ development.  It currently provides managers for 
multiple package specific
 options and registries, vignette, unit test and bibtex related utilities.")
 (license license:gpl2+)))
 
+ (define-public r-registry
+   (package
+ (name "r-registry")
+ (version "0.3")
+ (source
+  (origin
+(method url-fetch)
+(uri (cran-uri "registry" version))
+(sha256
+ (base32
+  "0c7lscfxncwwd8zp46h2xfw9gw14dypqv6m2kx85xjhjh0xw99aq"
+ (build-system r-build-system)
+ (home-page "http://cran.r-project.org/web/packages/registry";)
+ (synopsis "Infrastructure for R package registries")
+ (description
+  "This package provides a generic infrastructure for creating and using R
+package registries.")
+ (license license:gpl2+)))
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




[PATCH 14/14] gnu: Add r-nnet.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/machine-learning.scm (r-nnet): New variable.
---
 gnu/packages/machine-learning.scm | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 4bc37ad..cbc7509 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -323,3 +323,22 @@ in terms of new algorithms.")
 adaptive sparsity and the Wong algorithm for adaptively sparse gaussian
 geometric models.")
 (license license:lgpl3+)))
+
+(define-public r-nnet
+  (package
+(name "r-nnet")
+(version "7.3-12")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "nnet" version))
+   (sha256
+(base32
+ "17amqnw9dpap2w8ivx53hxha2xrm0drwfnj32li0xk41hlz548r7"
+(build-system r-build-system)
+(home-page "http://www.stats.ox.ac.uk/pub/MASS4/";)
+(synopsis "Feed-forward neural networks and multinomial log-linear models")
+(description
+ "This package provides functions for feed-forward neural networks with a
+single hidden layer, and for multinomial log-linear models.")
+(license (list license:gpl2+ license:gpl3+
-- 
2.1.0




[PATCH 11/14] gnu: Add r-rngtools.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-rngtools): New variable.
---
 gnu/packages/statistics.scm | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 72c3918..182cf93 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2094,6 +2094,32 @@ options and registries, vignette, unit test and bibtex 
related utilities.")
 package registries.")
  (license license:gpl2+)))
 
+(define-public r-rngtools
+  (package
+(name "r-rngtools")
+(version "1.2.4")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "rngtools" version))
+   (sha256
+(base32
+ "1fcgfqrrb48z37xgy8sffx91p9irp39yqzxv7nqp1x2hnwsrh097"
+(build-system r-build-system)
+(propagated-inputs
+ `(("r-digest" ,r-digest)
+   ("r-pkgmaker" ,r-pkgmaker)
+   ("r-stringr" ,r-stringr)))
+(home-page "https://renozao.github.io/rngtools";)
+(synopsis "Utility functions for working with random number generators")
+(description
+ "This package contains a set of functions for working with Random Number
+Generators (RNGs).  In particular, it defines a generic S4 framework for
+getting/setting the current RNG, or RNG data that are embedded into objects
+for reproducibility.  Notably, convenient default methods greatly facilitate
+the way current RNG settings can be changed.")
+(license license:gpl3+)))
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




[PATCH 13/14] gnu: Add r-igraph.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-igraph): New variable.
---
 gnu/packages/statistics.scm | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 419afaa..eb4d8dd 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -40,6 +40,7 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages java)
   #:use-module (gnu packages maths)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -2158,6 +2159,36 @@ optimized in C++, and the main interface function 
provides an easy way of
 performing parallel computations on multicore machines.")
 (license license:gpl2+)))
 
+(define-public r-igraph
+  (package
+(name "r-igraph")
+(version "1.0.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "igraph" version))
+   (sha256
+(base32
+ "00jnm8v3kvxpxav5klld2z2nnkcpj4sdwv4ksipddy5mp04ysr6w"
+(build-system r-build-system)
+(native-inputs
+ `(("gfortran" ,gfortran)))
+(inputs
+ `(("gmp" ,gmp)
+   ("libxml2" ,libxml2)))
+(propagated-inputs
+ `(("r-irlba" ,r-irlba)
+   ("r-magrittr" ,r-magrittr)
+   ("r-nmf" ,r-nmf)))
+(home-page "http://igraph.org";)
+(synopsis "Network analysis and visualization")
+(description
+ "This package provides routines for simple graphs and network analysis.
+It can handle large graphs very well and provides functions for generating
+random and regular graphs, graph visualization, centrality methods and much
+more.")
+(license license:gpl2+)))
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




[PATCH 12/14] gnu: Add r-nmf.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-nmf): New variable.
---
 gnu/packages/statistics.scm | 38 ++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 182cf93..419afaa 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2120,6 +2120,44 @@ for reproducibility.  Notably, convenient default 
methods greatly facilitate
 the way current RNG settings can be changed.")
 (license license:gpl3+)))
 
+(define-public r-nmf
+  (package
+(name "r-nmf")
+(version "0.20.6")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "NMF" version))
+   (sha256
+(base32
+ "0mmh9bz0zjwd8h9jplz4rq3g94npaqj8s4px51vcv47csssd9k6z"
+(properties `((upstream-name . "NMF")))
+(build-system r-build-system)
+(propagated-inputs
+ `(("r-cluster" ,r-cluster)
+   ("r-colorspace" ,r-colorspace)
+   ("r-digest" ,r-digest)
+   ("r-doparallel" ,r-doparallel)
+   ("r-foreach" ,r-foreach)
+   ("r-ggplot2" ,r-ggplot2)
+   ("r-gridbase" ,r-gridbase)
+   ("r-pkgmaker" ,r-pkgmaker)
+   ("r-rcolorbrewer" ,r-rcolorbrewer)
+   ("r-registry" ,r-registry)
+   ("r-reshape2" ,r-reshape2)
+   ("r-rngtools" ,r-rngtools)
+   ("r-stringr" ,r-stringr)))
+(home-page "http://renozao.github.io/NMF";)
+(synopsis "Algorithms and framework for nonnegative matrix factorization")
+(description
+ "This package provides a framework to perform Non-negative Matrix
+Factorization (NMF).  The package implements a set of already published
+algorithms and seeding methods, and provides a framework to test, develop and
+plug new or custom algorithms.  Most of the built-in algorithms have been
+optimized in C++, and the main interface function provides an easy way of
+performing parallel computations on multicore machines.")
+(license license:gpl2+)))
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




[PATCH 09/14] gnu: Add r-pkgmaker.

2016-04-12 Thread Ricardo Wurmus
* gnu/packages/statistics.scm (r-pkgmaker): New variable.
---
 gnu/packages/statistics.scm | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index db64da6..be13268 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2049,6 +2049,32 @@ singular and eigenvalue decompositions, as well as for 
principal component
 analysis of large sparse or dense matrices.")
 (license (list license:gpl2+ license:gpl3+
 
+(define-public r-pkgmaker
+  (package
+(name "r-pkgmaker")
+(version "0.22")
+(source
+ (origin
+   (method url-fetch)
+   (uri (cran-uri "pkgmaker" version))
+   (sha256
+(base32
+ "0vrqnd3kg6liqvpbd969jjsdx0f0rvmmxgdbwwrp6xfmdg0pib8r"
+(build-system r-build-system)
+(propagated-inputs
+ `(("r-codetools" ,r-codetools)
+   ("r-digest" ,r-digest)
+   ("r-registry" ,r-registry)
+   ("r-stringr" ,r-stringr)
+   ("r-xtable" ,r-xtable)))
+(home-page "https://renozao.github.io/pkgmaker";)
+(synopsis "Package development utilities")
+(description
+ "This package provides some low-level utilities to use for R package
+development.  It currently provides managers for multiple package specific
+options and registries, vignette, unit test and bibtex related utilities.")
+(license license:gpl2+)))
+
 (define-public r-r-methodss3
   (package
 (name "r-r-methodss3")
-- 
2.1.0




hydra jobset timeout (Was: GNOME updates)

2016-04-12 Thread 宋文武
l...@gnu.org (Ludovic Courtès) writes:

> iyzs...@member.fsf.org (宋文武) skribis:
>
>> Hi!  With the help of ‘guix refresh -t gnome’ I update many GNOME
>> packages to latest (the 3.20 release) in the ‘gnome-updates’ branch.
>>
>> Also:
>>   glib: Disable tests in build phases instead of patches.
>>   gtk+: Enable SVG support. (by using gdk-pixbuf+svg)
>>   gtk+-2: Look in system data dirs for themes. (by Jookia)
>>
>> I have build some packages locally (nautilus, gnome-terminal) but not
>> all,  I request to start a job for it on hydra.
>
> I think the non-trivial changes have already been discussed and LGTM.
>
> I’ve started a jobset: .
> Please keep an eye on it (M-x guix-hydra-jobsets FTW! :-)) and check for
> build failures.  You can merge it as soon as it’s built, if nobody
> objects.

Thanks!  but the jobset get:
--8<---cut here---start->8---
hydra-eval-guile-jobs returned signal -1:
timeout
--8<---cut here---end--->8---



Re: [PATCH] gnu: Add openttd

2016-04-12 Thread Alex Kost
Leo Famulari (2016-04-12 04:09 +0300) wrote:

> On Tue, Apr 12, 2016 at 12:41:58AM +0200, Albin wrote:
>> Subject: [PATCH] gnu: Add openttd.
>
> Can you add the "changelog" to the commit message? See commit 6dc609985
> for a recent example of the desired format.

Leo means the commit message should look like this:

--8<---cut here---start->8---
gnu: Add openttd.

* gnu/packages/games.scm (openttd): New variable.
--8<---cut here---end--->8---


>> +(source
>> + (origin (method url-fetch)
>> + ;; The official download URL is
>> + ;; 
>> http://binaries.openttd.org/releases/1.6.0/openttd-1.6.0-source.tar.xz
>> + ;; but it doesn't work with `guix download`.  However, it
>> + ;; redirects to the one below (and the SHA sums match).
>
> Is it a problem with `guix download` or with the remote server? Even if
> we don't fix the issue, it would be nice to say what the problem is in
> this comment.

It is not only 'guix download', the same happens with 'guix build'.
I've reported it at .  Thanks for this useful
comment!.

-- 
Alex



Re: Calling autogen.sh in a build

2016-04-12 Thread Florian Paul Schmidt
Care to share? I'm eager to play around with Bease/BSE, that's why I 
pressed forward with it.


Regards,
Flo

On 12.04.2016 09:42, Ricardo Wurmus wrote:


Florian Paul Schmidt  writes:


I'm trying to package rapicorn. And it's mostly gnu-build-system based,
but I need to call autogen.sh (see below for package definitions).

Sadly I suck and it fails. Got any ideas? Seems i need to rerun the
patch-shebangs phase?


Hi Florian,

I have a rapicorn package ready and I did not need to run autogen at
all.  The only problem with the package is a failing test, which I
reported upstream.

~~ Ricardo





Re: Patches to add emacs-rfcview and emacs-ffap-rfc-space

2016-04-12 Thread Alex Kost
Alex Kost (2016-04-05 12:29 +0300) wrote:

> Chris Marusich (2016-04-04 03:58 +0300) wrote:
>
>> Hi,
>>
>> The attached patches add some useful modules for reading RFCs (and STDs)
>> in Emacs.
>
> Overall the patches look good to me, thanks!  But there is a problem
> with both packages: the URL of the origin does not point to a versioned
> file, so when the author will touch the source, the hash will be changed
> and our package will not work anymore.  I suppose there are no mirrors
> where we can fetch the "constant" source code, so we probably have to
> live with this, but it is a potential problem-maker.

Ping for the other reviewers.  I don't know what to do with these
packages: on one hand they are unreliable because their hashes may
change any time.  But OTOH we already have the same potential problems
with 'emacs-mit-scheme-doc' and 'emacs-constants' packages.

I personally wouldn't like to include such packages in Guix at all.  I
think the only hope with them is that they are dead, so their hashes
will not be changed.  Federico, did you have this problem in mind when
you packaged them?

-- 
Alex



shepherd, default /etc/shepherd.scm for other distributions

2016-04-12 Thread Jean Louis
Hello,

According to the page https://www.gnu.org/software/shepherd/ this
mailing list should be right for shepherd.

Shepherd could be a good replacement on other GNU/Linux distributions
for the PID 1 and management of various services. It is now used in
GuixSD, which is good.

I am searching for a sample shepherd /etc/shepherd.scm to be run on
other distributions. If anyone has such file, just a sample, for one
service, with the recent shepherd version, let me know. It would be
enough 

The provided file from wolfgang is no go by default.

Further, I have seen difference between version 0.3 and 0.3.1, which,
which I have run with:

./configure --prefix= --datarootdir=/usr/share

If it is to be used on other distributions, datarootdir is a must, as
otherwise it goes to /share. I guess the configure is missing and
tar.gz package is not yet finished for other systems to adopt it.

shepherd is installed in /bin, maybe should be in /sbin similarly
like /sbin/init.

My configure also gave me 2 versions of files:

diff /bin/shepherd (0.3.1)  /media/out/bin/shepherd (0.3)
5,6c5,6
< (set! %load-path (cons "/sources/shepherd-0.3/modules" %load-path))
< (set! %load-compiled-path (cons "/sources/shepherd-0.3/modules"
%load-compiled-path))
---
> (set! %load-path (cons "/usr/share/guile/site/2.0" %load-path))
> (set! %load-compiled-path (cons "/usr/share/guile/site/2.0"
> %load-compiled-path))

I guess it should by default put "/sources/..." in load-path but rather
as in the 0.3 version "/usr/share/guile/site/2.0".

Jean Louis



Re: [PATCH] gnu: Add openttd

2016-04-12 Thread Albin
Den 2016-04-12 kl. 10:30, skrev Alex Kost:
> Leo Famulari (2016-04-12 04:09 +0300) wrote:
> 
>> On Tue, Apr 12, 2016 at 12:41:58AM +0200, Albin wrote:
>>> Subject: [PATCH] gnu: Add openttd.
>>
>> Can you add the "changelog" to the commit message? See commit 6dc609985
>> for a recent example of the desired format.
> 
> Leo means the commit message should look like this:
> 
> --8<---cut here---start->8---
> gnu: Add openttd.
> 
> * gnu/packages/games.scm (openttd): New variable.
> --8<---cut here---end--->8---

Thanks!

> 
> 
>>> +(source
>>> + (origin (method url-fetch)
>>> + ;; The official download URL is
>>> + ;; 
>>> http://binaries.openttd.org/releases/1.6.0/openttd-1.6.0-source.tar.xz
>>> + ;; but it doesn't work with `guix download`.  However, it
>>> + ;; redirects to the one below (and the SHA sums match).
>>
>> Is it a problem with `guix download` or with the remote server? Even if
>> we don't fix the issue, it would be nice to say what the problem is in
>> this comment.
> 
> It is not only 'guix download', the same happens with 'guix build'.
> I've reported it at .  Thanks for this useful
> comment!.
> 

I see that you've already prepared a patch for this bug so I guess that
I should wait for it to be merged, change to the official URL and then
submit a new openttd patch.

Albin



signature.asc
Description: OpenPGP digital signature


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] gnu: Add openttd

2016-04-12 Thread Albin
Thank you Leo for taking the time to inspect and install the package.

Den 2016-04-12 kl. 03:09, skrev Leo Famulari:
> On Tue, Apr 12, 2016 at 12:41:58AM +0200, Albin wrote:
>> + ;; GNU's not Unix so let's modify the exit dialog.
>> + (substitute* (find-files "src/lang/" "\\.txt")
>> +   ((":Unix") ":GNU"))
> 
> I don't think this is necessary.

Maybe not.  I just wanted to exercise my freedom a little.  The above
snippet lets you see this dialog box:

"Are you sure you want to exit OpenTTD and return to GNU" ...instead of
"...Unix", which I thought would make the Guix users happy.

It works for 54 language versions, but not Arabic, Esperanto, Hebrew and
Urdu where "Unix" is called something else.

I'm not going to insist on keeping it, but remember that the "Words to
avoid" article (https://www.gnu.org/philosophy/words-to-avoid.html)
states: "To call the whole system 'Linux' is both unfair and confusing."
Isn't it likewise wrong to call "GNU" "Unix"?

> 
>> +   (lambda* (#:key outputs #:allow-other-keys)
>> + ;; The build scripts don't understand the option
>> + ;; `--enable-fast-install'.
>> + (let ((out (assoc-ref outputs "out")))
>> +   (zero?
>> +(system* "./configure"
>> + ;; At the moment, `lzo' must be disabled
>> + ;; because the `config.lib' script cannot
>> + ;; find it.  It is only necessary for loading
>> + ;; saved games generated by early versions of
>> + ;; OpenTTD.
>> + (string-append "--prefix=" out)
>> + "--without-liblzo2"
>> + ;; Put the binary in `bin' instead of `games'
>> + "--binary-dir=bin"
> 
> I see this option in `./configure --help`:
> 
> --with-liblzo2[=liblzo2.a] enables liblzo2 support

Nice!

> Does it work to provide the path to that option? Our lzo package does
> build a static library, if that is what OpenTTD requires.

Yes, I could make it work by first installing 'lzo' and then add
`--with-liblzo2=/gnu/store/[...]/liblzo2.a` to the package definition.
What is the proper way to do this?

> 
>> +(description "OpenTTD is a game in which you transport goods and
>> +passengers by land, water and air.  It is a free implementation of
>> +Transport Tycoon Deluxe but with many enhancements including
>> +multiplayer mode, internationalization support, conditional orders and
>> +the ability to clone, autoreplace and autoupdate vehicles.")
> 
> All software in Guix is free software, so I don't think it's necessary
> to call this a "free implementation". How about "re-implementation"?

OK.

>> +;; The software contains an in-game downloader from which the user
>> +;; may find non-functional data licensed under different terms.
> 
> I don't know the significance of this. Hopefully somebody else will
> comment on this subject.
> 
> Upon starting the program, I was prompted to download something related
> to graphics. I agreed, and the game seemed to download OpenGFX [0] and
> launch correctly, although it also warned me about needed to download
> some sound files.

Yes, it's not ideal that you are immediately prompted to download and
install something like this.  As you said, the package that gets
installed when you agree is OpenGFX (8 MiB).  It has the same license as
the game itself, i.e. GPLv2, just like the other available graphics sets
"NightGFX" (3.4 MiB) and "zBase" (273 MiB).

The music files that you can download are:

* Modern Motion (music): CC-BY-NC-ND 3.0
* OpenMSX: GPLv2
* Scott Joplin Anthology: public domain
* Traditional Winter Holiday Music: public domain

For sound effects only one package is currently available:

* OpenSFX: CC Sampling Plus 1.0


I can understand that packages that restrict commercial redistribution
may not be included in Guix, but the FSDG doesn't discuss the particular
case of packages that *recommend* non-free, non-functional data where
only non-commercial redistribution is permitted.

How does other free distros deal with this?  The Arch project
distributes openttd, openttd-opengfx and openttd-opensfx as separate
packages (where the package manager recommends the latter two upon
installation of openttd).  Parabola does the same, but removes
openttd-opensfx from their repository.  You can still download the sound
effects afterwards however.

Do you think we should follow Parabola in this case or take a different
approach?

> 
>> +(license license:gpl2)))
> 
> Section 10.0 of 'readme.txt' describes the licensing of 3rd party
> components. If any of those are included, be sure to add them to a list
> here.

You are right! Thanks.

> 
> [0]
> http://dev.openttdcoop.org/projects/opengfx
> 

Best regards,

Albin



Re: [PATCH] gnu: Add xscreenserver.

2016-04-12 Thread Christopher Allan Webber
Leo Famulari writes:

> On Mon, Apr 11, 2016 at 07:52:25AM -0500, Christopher Allan Webber wrote:
>> Leo Famulari writes:
>> 
>> > On Sat, Apr 09, 2016 at 08:52:12PM -0500, Christopher Allan Webber wrote:
>> >> Leo Famulari writes:
>> >> 
>> >> > Did you try something like this?
>> >> >
>> >> > (arguments
>> >> >  `(#:make-flags (string-append "install_prefix= (assoc-ref %outputs 
>> >> > "out"
>> >> 
>> >> This didn't fix it, but it die send me along the right path.  Working
>> >> xscreensaver attached!
>> >
>> > Awesome! Looking forward to trying this out soon!
>> 
>> Just to be clear, was that also an "awesome, looks good to push"? :)
>
> If it's working for you, then okay!

Great, pushed!

> By the way, how did you enable it and how do you invoke it? I added it
> to my system's services as you described but the daemon isn't running. I
> also tried to add a line for it in 'gnu/services/desktop.scm' along with
> slock and xlockmore.

Adding to the system services just makes it so that you can unlock the
screen... otherwise you won't be able to unlock it!

So to start it, have your window manager launch it as one of its initial
programs.  Running "xscreensaver" is sufficient to start the daemon.

You can run "xscreensaver-demo" to pull up an interface to test things
out.

Happy locking!
 - Chris



Re: [PATCH] gnu: Add gnome-sudoku and qqwing

2016-04-12 Thread kei



 Original Message 
Subject: Re: [PATCH] gnu: Add gnome-sudoku and qqwing
Date: 2016-04-12 12:58
From: k...@openmailbox.org
To: Leo Famulari 

On 2016-04-11 17:57, Leo Famulari wrote:

On Mon, Apr 11, 2016 at 12:06:17PM -0400, k...@openmailbox.org wrote:
I decided to add gnome-sudoku to gnome.scm because of how a new 
version
is released with each new version of GNOME. Also, since qqwing seems 
to

be used only by gnome-sudoku, I moved it over to gnome.scm as well.


Okay, if gnome-sudoku has to stay in sync with GNOME, then I'd say it
makes some sense to put it in gnome.scm. Is there some GNOME package
that sets the version for the rest of our GNOME ecosystem? Should we be
pulling the version from some other package?

I still think the best place is games.scm with the other games.

CC-ing our GNOME expert, 宋文武, for some advice.

I don't think qqwing belongs in gnome.scm. The source code doesn't
mention GNOME in any substantive way and, as far as I can tell, it's 
not

tied to GNOME. Am I wrong? If not, I think that games.scm (or possibly
game-development.scm) are appropriate.


>Why download the source code from Debian instead of https://qqwing.com
>(which redirects to GitHub)?
>
I switched to using the link at the bottom of the page.


Thanks!


>>+(description
>>+ "QQwing is software for generating and solving Sudoku puzzles.")
>
>Sometimes there isn't much to say. But can you try to add a little more
>here? You could look for inspiration in the man page.

This is as extensive as the descriptions for this software get in its 
own
documentation as well as across many different software repositories. 
Any

ideas for what else to put here?


If you thought about it and couldn't come up with anything, then I 
guess

there's nothing else to add :)


QQwing is added to game-development.scm, as it's more of a tool to 
facilitate

gameplay than a game per se.

P.S. Forgot to CC the development mailing list.From 76135d4a75436e569ca0f59623821ac88b5b79fe Mon Sep 17 00:00:00 2001
From: Kei Yamashita 
Date: Tue, 12 Apr 2016 12:47:26 -0400
Subject: [PATCH 1/2] gnu: Add qqwing.

* gnu/packages/game-development.scm (qqwing): New variable.
---
 gnu/packages/game-development.scm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 0a58a7e..3572092 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2015 Alex Kost 
 ;;; Copyright © 2015, 2016 David Thompson 
 ;;; Copyright © 2016 Efraim Flashner 
+;;; Copyright © 2016 Kei Yamashita 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -407,3 +408,24 @@ games.  In addition to basic pixel editing features, Aseprite can assist in
 the creation of animations, tiled graphics, texture atlases, and more.")
 (home-page "http://www.aseprite.org/";)
 (license license:gpl2+)))
+
+(define-public qqwing
+  (package
+(name "qqwing")
+(version "1.3.4")
+(source (origin
+  (method url-fetch)
+  (uri (string-append
+"https://qqwing.com/";
+name "-" version ".tar.gz"))
+  (sha256
+   (base32
+"0bw0papyqjg22z6irf36gs54y8236wa37b6gyn2h1spy65n76lqp"
+(build-system gnu-build-system)
+(native-inputs
+  `(("pkg-config" ,pkg-config)))
+(home-page "https://qqwing.com/";)
+(synopsis "Software for working with Sudoku puzzles")
+(description
+ "QQwing is software for generating and solving Sudoku puzzles.")
+(license license:gpl2+)))
-- 
2.7.3

From 6a2507edf2ea54e19a34acb2177e527ed6ac1e57 Mon Sep 17 00:00:00 2001
From: Kei Yamashita 
Date: Tue, 12 Apr 2016 12:47:57 -0400
Subject: [PATCH 2/2] gnu: Add gnome-sudoku.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5c2cf01..2adf267 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 Rene Saavedra 
 ;;; Copyright © 2016 Jochem Raat 
 ;;; Copyright © 2016 Rene Saavedra 
+;;; Copyright © 2016 Kei Yamashita 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -57,6 +58,7 @@
   #:use-module (gnu packages flex)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages enchant)
+  #:use-module (gnu packages game-development)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
@@ -2207,6 +2209,41 @@ and other secrets.  It communicates with the \"Secret Service\" using DBus.")
 floating in an ocean using only your brain and a little bit of luck.")
 (license license:gpl2+)))
 
+(define-public gnome-sudoku
+  (package
+(name "gnome-sudoku")
+(version "3.18.2")
+(source
+ (origin
+   (method url

Re: [PATCH] gnu: Add openttd

2016-04-12 Thread Alex Kost
Albin (2016-04-12 17:55 +0300) wrote:

> Thank you Leo for taking the time to inspect and install the package.
>
> Den 2016-04-12 kl. 03:09, skrev Leo Famulari:
>> On Tue, Apr 12, 2016 at 12:41:58AM +0200, Albin wrote:
>>> + ;; GNU's not Unix so let's modify the exit dialog.
>>> + (substitute* (find-files "src/lang/" "\\.txt")
>>> +   ((":Unix") ":GNU"))
>> 
>> I don't think this is necessary.
>
> Maybe not.  I just wanted to exercise my freedom a little.  The above
> snippet lets you see this dialog box:
>
> "Are you sure you want to exit OpenTTD and return to GNU" ...instead of
> "...Unix", which I thought would make the Guix users happy.
>
> It works for 54 language versions, but not Arabic, Esperanto, Hebrew and
> Urdu where "Unix" is called something else.
>
> I'm not going to insist on keeping it, but remember that the "Words to
> avoid" article (https://www.gnu.org/philosophy/words-to-avoid.html)
> states: "To call the whole system 'Linux' is both unfair and confusing."
> Isn't it likewise wrong to call "GNU" "Unix"?

I don't have a preference if it will be "GNU" or "Unix" but this is a
cool hack (I admire how much time you devoted to your first package!)

[...]
>> I see this option in `./configure --help`:
>> 
>> --with-liblzo2[=liblzo2.a] enables liblzo2 support
>
> Nice!
>
>> Does it work to provide the path to that option? Our lzo package does
>> build a static library, if that is what OpenTTD requires.
>
> Yes, I could make it work by first installing 'lzo' and then add
> `--with-liblzo2=/gnu/store/[...]/liblzo2.a` to the package definition.
> What is the proper way to do this?

Here it is (don't forget to uncomment "lzo" input):

   (lambda* (#:key inputs outputs #:allow-other-keys)
 (let ((out (assoc-ref outputs "out"))
   (lzo (assoc-ref inputs "lzo")))
   (zero?
(system* "./configure"
 (string-append "--prefix=" out)
 (string-append "--with-liblzo2="
lzo "/lib/liblzo2.a")
 ;; Put the binary in `bin' instead of `games'.
 "--binary-dir=bin"

>>> +;; The software contains an in-game downloader from which the user
>>> +;; may find non-functional data licensed under different terms.
>> 
>> I don't know the significance of this. Hopefully somebody else will
>> comment on this subject.
>> 
>> Upon starting the program, I was prompted to download something related
>> to graphics. I agreed, and the game seemed to download OpenGFX [0] and
>> launch correctly, although it also warned me about needed to download
>> some sound files.
>
> Yes, it's not ideal that you are immediately prompted to download and
> install something like this.  As you said, the package that gets
> installed when you agree is OpenGFX (8 MiB).  It has the same license as
> the game itself, i.e. GPLv2, just like the other available graphics sets
> "NightGFX" (3.4 MiB) and "zBase" (273 MiB).
>
> The music files that you can download are:
>
> * Modern Motion (music): CC-BY-NC-ND 3.0
> * OpenMSX: GPLv2
> * Scott Joplin Anthology: public domain
> * Traditional Winter Holiday Music: public domain
>
> For sound effects only one package is currently available:
>
> * OpenSFX: CC Sampling Plus 1.0
>
>
> I can understand that packages that restrict commercial redistribution
> may not be included in Guix, but the FSDG doesn't discuss the particular
> case of packages that *recommend* non-free, non-functional data where
> only non-commercial redistribution is permitted.
>
> How does other free distros deal with this?  The Arch project
> distributes openttd, openttd-opengfx and openttd-opensfx as separate
> packages (where the package manager recommends the latter two upon
> installation of openttd).  Parabola does the same, but removes
> openttd-opensfx from their repository.  You can still download the sound
> effects afterwards however.
>
> Do you think we should follow Parabola in this case or take a different
> approach?

We have 'freedink' package that is combined of 'freedink-engine' and
'freedink-data'.  I think it would be good to have something similar for
'openttd'.

-- 
Alex



Re: avr-gcc

2016-04-12 Thread Thompson, David
Revitalizing this old thread.

On Fri, Nov 20, 2015 at 9:20 AM, Ludovic Courtès  wrote:
> "Thompson, David"  skribis:
>
>> Not quite.  The avr-gcc build only provides a single version of
>> libgcc.a, whereas Debian's avr-gcc provides a separate libgcc.a for
>> each supported AVR family (avr2, avr3, avr35, etc.)  Mark thought it
>> might be the fault of the --disable-multilib configure flag, so I
>> removed it but it didn't solve anything.  I'm not sure what to do now.
>> I have no idea what flag or patch could be signalling to the gcc build
>> system that it shouldn't try to compile libraries for all of the
>> various AVR models.
>
> Are you sure the removal of --disable-multilib was effective?
>
> Otherwise no specific idea.  :-/ We’ll have to thoroughly study the
> (avr-)gcc doc.

With much help from Manolis, we were finally able to overcome the
multilib issue!  But there's another roadblock: avr-libc doesn't
build:

avr-gcc -DHAVE_CONFIG_H -I. -I../../../../avr-libc-2.0.0/avr/lib/avr2
-I../../..  -I../../../../avr-libc-2.0.0/common
-I../../../../avr-libc-2.0.0/include -I../../../include
-I../../../../avr-libc-2.0.0/common
-I../../../../avr-libc-2.0.0/include -I../../../include -x
assembler-with-cpp  -mmcu=avr2 -D__COMPILING_AVR_LIBC__   -MT abort.o
-MD -MP -MF .deps/abort.Tpo -c -o abort.o
../../../../avr-libc-2.0.0/libc/stdlib/abort.S
In file included from
/gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/features.h:389:0,
 from
/gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/limits.h:25,
 from ../../../../avr-libc-2.0.0/libc/stdlib/strtol.c:33:
/gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/gnu/stubs.h:7:27:
fatal error: gnu/stubs-32.h: No such file or directory
 # include 
   ^
compilation terminated.


I don't know why it's including headers from the host system's libc.
Manolis was able to get past it by including a cross-libc built for
i686.  Does this seem wrong to anyone else?  Any thoughts on what
might be going on here?

We're closer than ever to having a working AVR toolchain.  I hope we
can iron out these last wrinkles.  Attached is the WIP code for the
toolchain.

- Dave
From 9773ef4c013f7a223ea112559f517c3ad9c10ac2 Mon Sep 17 00:00:00 2001
From: David Thompson 
Date: Tue, 5 Apr 2016 12:12:48 -0400
Subject: [PATCH] wip AVR stuff

---
 gnu/packages/avr.scm| 60 +
 gnu/packages/cross-base.scm |  6 -
 2 files changed, 50 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm
index d59816b..7560eec 100644
--- a/gnu/packages/avr.scm
+++ b/gnu/packages/avr.scm
@@ -19,6 +19,7 @@
 
 (define-module (gnu packages avr)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix utils)
   #:use-module (guix download)
   #:use-module (guix packages)
   #:use-module (guix build-system gnu)
@@ -27,31 +28,70 @@
   #:use-module (gnu packages vim)
   #:use-module (gnu packages zip))
 
+(define-public avr-binutils
+  (package
+(inherit (cross-binutils "avr"))
+(name "avr-binutils")
+(arguments
+ '(#:configure-flags '("--target=avr"
+   "--disable-nls")
+
+(define-public avr-gcc
+  (let ((xgcc (cross-gcc "avr" avr-binutils)))
+(package
+  (inherit xgcc)
+  (name "avr-gcc")
+  (arguments
+   (substitute-keyword-arguments (package-arguments xgcc)
+ ((#:phases phases)
+  `(modify-phases ,phases
+ ;; Without a working multilib build, the resulting GCC lacks
+ ;; support for nearly every AVR chip.
+ (add-after 'unpack 'fix-genmultilib
+   (lambda _
+ (substitute* "gcc/genmultilib"
+   (("#!/bin/sh") (string-append "#!" (which "sh"
+ #t
+ ((#:configure-flags flags)
+  '(list "--target=avr"
+ "--enable-languages=c,c++"
+ "--disable-nls"
+ "--disable-libssp"
+ "--with-dwarf2"
+  (native-search-paths
+   (list (search-path-specification
+  (variable "CROSS_CPATH")
+  (files '("avr/include")))
+ (search-path-specification
+  (variable "CROSS_LIBRARY_PATH")
+  (files '("avr/lib"
+
 (define-public avr-libc
   (package
 (name "avr-libc")
-(version "1.8.1")
+(version "2.0.0")
 (source (origin
   (method url-fetch)
-  (uri (string-append
-"mirror://savannah//avr-libc/avr-libc-"
-version ".tar.bz2"))
+  (uri (string-append "mirror://savannah//avr-libc/avr-libc-"
+  version ".tar.bz2"))
   (sha256
(base32
-"0sd9qkvhmk9av4g1f8dsjwc309hf1g0731bhvicnjb3b3d42l1n3"
+"15svr2fx8j6prql2il2fc0ppwlv50rpmyckaxx38d3gxx

Re: shepherd, default /etc/shepherd.scm for other distributions

2016-04-12 Thread Alex Kost
Jean Louis (2016-04-12 14:52 +0300) wrote:

> Hello,
>
> According to the page https://www.gnu.org/software/shepherd/ this
> mailing list should be right for shepherd.
>
> Shepherd could be a good replacement on other GNU/Linux distributions
> for the PID 1 and management of various services. It is now used in
> GuixSD, which is good.
>
> I am searching for a sample shepherd /etc/shepherd.scm to be run on
> other distributions. If anyone has such file, just a sample, for one
> service, with the recent shepherd version, let me know. It would be
> enough.

I don't think anyone uses shepherd as PID 1 on non-GuixSD system, though
some people use it to manage user services (see below).  For a system
config example you may look at "/var/guix/profiles/system/boot" on
GuixSD: there is a link to "/gnu/store/…-shepherd.conf" file.

User Shepherd configs I'm aware of:

https://github.com/alezost/shepherd-config
https://git.dthompson.us/dotfiles.git/blob/HEAD:/dotfiles/.config/shepherd/init.scm

-- 
Alex



Re: [PATCH] gnu: Add openttd

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 04:55:20PM +0200, Albin wrote:
> Thank you Leo for taking the time to inspect and install the package.

Thanks for taking the time to work on it :)

> Den 2016-04-12 kl. 03:09, skrev Leo Famulari:
> > On Tue, Apr 12, 2016 at 12:41:58AM +0200, Albin wrote:
> >> + ;; GNU's not Unix so let's modify the exit dialog.
> >> + (substitute* (find-files "src/lang/" "\\.txt")
> >> +   ((":Unix") ":GNU"))
> > 
> > I don't think this is necessary.
> 
> Maybe not.  I just wanted to exercise my freedom a little.  The above
> snippet lets you see this dialog box:
> 
> "Are you sure you want to exit OpenTTD and return to GNU" ...instead of
> "...Unix", which I thought would make the Guix users happy.

It did make me smile :) I appreciate the motivation behind this change
very much.

> It works for 54 language versions, but not Arabic, Esperanto, Hebrew and
> Urdu where "Unix" is called something else.
> 
> I'm not going to insist on keeping it, but remember that the "Words to
> avoid" article (https://www.gnu.org/philosophy/words-to-avoid.html)
> states: "To call the whole system 'Linux' is both unfair and confusing."
> Isn't it likewise wrong to call "GNU" "Unix"?

I'm open to a wider discussion, but I don't think we should patch
upstream code unless it's to fix bugs.

Plus, I personally think it should say "return to Debian", since that's
what my workstation is running ;)

> > I see this option in `./configure --help`:
> > 
> > --with-liblzo2[=liblzo2.a] enables liblzo2 support
> 
> Nice!
> 
> > Does it work to provide the path to that option? Our lzo package does
> > build a static library, if that is what OpenTTD requires.
> 
> Yes, I could make it work by first installing 'lzo' and then add
> `--with-liblzo2=/gnu/store/[...]/liblzo2.a` to the package definition.
> What is the proper way to do this?

There's a clear example in the package definition of 'apl'. Basically,
make 'lzo' an input, and then build a string like this...:

(string-append "--with-liblzo2=
   (assoc-ref %build-inputs "lzo") "/lib/liblzo2.a")

... and pass that as an argument to ./configure. You typically get a
useful error message from ./configure if there's a mistake.

> >> +;; The software contains an in-game downloader from which the user
> >> +;; may find non-functional data licensed under different terms.
> > 
> > I don't know the significance of this. Hopefully somebody else will
> > comment on this subject.
> > 
> > Upon starting the program, I was prompted to download something related
> > to graphics. I agreed, and the game seemed to download OpenGFX [0] and
> > launch correctly, although it also warned me about needed to download
> > some sound files.
> 
> Yes, it's not ideal that you are immediately prompted to download and
> install something like this.  As you said, the package that gets
> installed when you agree is OpenGFX (8 MiB).  It has the same license as
> the game itself, i.e. GPLv2, just like the other available graphics sets
> "NightGFX" (3.4 MiB) and "zBase" (273 MiB).
> 
> The music files that you can download are:
> 
> * Modern Motion (music): CC-BY-NC-ND 3.0
> * OpenMSX: GPLv2
> * Scott Joplin Anthology: public domain
> * Traditional Winter Holiday Music: public domain
> 
> For sound effects only one package is currently available:
> 
> * OpenSFX: CC Sampling Plus 1.0
> 
> 
> I can understand that packages that restrict commercial redistribution
> may not be included in Guix, but the FSDG doesn't discuss the particular
> case of packages that *recommend* non-free, non-functional data where
> only non-commercial redistribution is permitted.
> 
> How does other free distros deal with this?  The Arch project
> distributes openttd, openttd-opengfx and openttd-opensfx as separate
> packages (where the package manager recommends the latter two upon
> installation of openttd).  Parabola does the same, but removes
> openttd-opensfx from their repository.  You can still download the sound
> effects afterwards however.
> 
> Do you think we should follow Parabola in this case or take a different
> approach?

I don't know the details of how we are supposed to handle these issues.
I'll let more knowledgeable people have this discussion.



Re: [PATCH] gnu: Add openttd

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 08:26:25PM +0300, Alex Kost wrote:
> Here it is (don't forget to uncomment "lzo" input):
> 
>(lambda* (#:key inputs outputs #:allow-other-keys)
>  (let ((out (assoc-ref outputs "out"))
>(lzo (assoc-ref inputs "lzo")))
>(zero?
> (system* "./configure"
>  (string-append "--prefix=" out)
>  (string-append "--with-liblzo2="
> lzo "/lib/liblzo2.a")
>  ;; Put the binary in `bin' instead of `games'.
>  "--binary-dir=bin"

I replied before seeing this message from Alex. He has provided a more
complete answer to this question, so please ignore mine :)



Re: [PATCH 01/14] gnu: Add r-acepack.

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 09:51:14AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-acepack): New variable.

> +(license license:x11)))

>From the home page, I saw that Fedora took the initiative to clear up
the licensing of this package.

I didn't recognize the text of the license, but I found it here, under
"Old Style":
https://fedoraproject.org/wiki/Licensing:MIT

It seems that what we call Expat, Fedora calls MIT. What do you think?



Re: [PATCH 10/14] gnu: Add r-registry.

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 09:51:23AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-registry): New variable.

> + (license license:gpl2+)))

The file 'DESCRIPTION' simply says GPL-2. I don't know exactly how that
is interpreted; Does it imply gpl2+ or merely gpl2?



Re: [PATCH 11/14] gnu: Add r-rngtools.

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 09:51:24AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-rngtools): New variable.

> +(license license:gpl3+)))

Same question as with the 'registry' package. The DESCRIPTION says
GPL-3, and I don't know how we interpret that.



Re: [PATCH 01/14] gnu: Add r-acepack.

2016-04-12 Thread Leo Famulari
On Tue, Apr 12, 2016 at 09:51:14AM +0200, Ricardo Wurmus wrote:
> * gnu/packages/statistics.scm (r-acepack): New variable.

I read this patch series and did a basic license auditing. The packages
seem straightforward. I assume you are already using these in
production, providing a more complete test of the packaging than I could
do.

If so, looks good!



Re: [PATCH] gnu Add r-pracma.

2016-04-12 Thread Leo Famulari
On Fri, Apr 08, 2016 at 10:53:24AM +0200, Roel Janssen wrote:
> * gnu/packages/maths.scm (r-pracma): New variable.

Thanks for the patch!

I applied it as ec8c7e473, adding a colon after "gnu" in the commit
title, and with a simplified but equivalent synopsis.



Re: [PATCH] gnu: Add giac-xcas

2016-04-12 Thread Nicolas Goaziou
Hello,

Mathieu Lirzin  writes:

> with texlive-minimal as input, and without texlive in the environment do
> you get some errors?

Yes, I do. The errors are the same

  sh: pstopnm: command not found
  sh: pnmtopng: command not found

They do not appear with `netpbm' in the environment, so I think
everything is fine, after all.

> The ‘arguments’ field is for general purpose build customization,
> whereas The ‘snippet’ field in origin is meant for removing/modifying
> parts of the code that don't respect GNU FSDG.
>
> It is done this way so that when the user is doing ‘guix build --source
> PACKAGE’ to get the tarball, a freed version is provided instead of the
> one from upstream.

Point taken. Thank you for the explanation.

> I think you are right, could you send an updated patch with two separate
> phases?  Sorry I love nitpicking.  ;)

Here is the new patch.


Regards,

-- 
Nicolas Goaziou0x80A93738
>From a1b91846b69321239b773df433bd679d31d051d6 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou 
Date: Thu, 7 Apr 2016 14:43:15 +0200
Subject: [PATCH 2/2] gnu: Add giac-xcas

* gnu/packages/algebra.scm (giac-xcas): New variable.
---
 gnu/packages/algebra.scm | 67 
 1 file changed, 67 insertions(+)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index abac961..8babe28 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge 
 ;;; Copyright © 2013, 2015 Ludovic Courtès 
+;;; Copyright © 2016 Nicolas Goaziou 
 ;;; Copyright © 2014 Mark H Weaver 
 ;;;
 ;;; This file is part of GNU Guix.
@@ -23,7 +24,10 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages doxygen)
+  #:use-module (gnu packages fltk)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages graphviz)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mpi)
@@ -31,7 +35,9 @@
   #:use-module (gnu packages readline)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages tcsh)
   #:use-module (gnu packages texlive)
+  #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -192,6 +198,67 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
(license license:gpl2)
(home-page "http://pari.math.u-bordeaux.fr/";)))
 
+(define-public giac-xcas
+  (package
+(name "giac-xcas")
+(version "1.2.2-37")
+(source (origin
+  (method url-fetch)
+  ;; "~parisse/giac" is not used because the maintainer regularly
+  ;; overwrites the release tarball there, introducing a checksum
+  ;; mismatch every time.  See
+  ;; 
+  (uri (string-append "https://www-fourier.ujf-grenoble.fr/";
+  "~parisse/debian/dists/stable/main/"
+  "source/giac_" version ".tar.gz"))
+  (sha256
+   (base32
+"0cagh9nnaz7ks299b2bs3lrdclv4xbyis24zc8vf3i25p470bxsf"
+(build-system gnu-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-after 'unpack 'patch-bin-cp
+   (lambda _
+ ;; Some Makefiles contain hard-coded "/bin/cp".
+ (substitute* (find-files "doc" "^Makefile")
+   (("/bin/cp") (which "cp")))
+ #t))
+ (add-after 'unpack 'disable-broken-test
+   (lambda _
+ ;; Disable failing test.  Actually, the results are correct but
+ ;; a sorting discrepancy prevents the test from being validated.
+ (substitute* "check/Makefile.in"
+   (("chk_fhan16") ""))
+ #t)
+(inputs
+ `(("fltk" ,fltk)
+   ("gmp" ,gmp)
+   ("gsl" ,gsl)
+   ("lapack" ,lapack)
+   ("libao" ,ao)
+   ("libjpeg" ,libjpeg)
+   ("libpng" ,libpng)
+   ("libx11" ,libx11)
+   ("libxft" ,libxft)
+   ("libxt" ,libxt)
+   ("mesa" ,mesa)
+   ("mpfi" ,mpfi)
+   ("mpfr" ,mpfr)
+   ("ntl" ,ntl)
+   ("perl" ,perl)
+   ("pari-gp" ,pari-gp)
+   ("tcsh" ,tcsh)
+   ("texlive" ,texlive-minimal)))
+(native-inputs `(("readline" ,readline)))
+(home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html";)
+(synopsis "Computer algebra system")
+(description
+ "Giac/Xcas is a computer algebra system.  It has a compatibility mode for
+maple, mupad and the TI89.  It is available as a standalone program (graphic
+or 

Re: avr-gcc

2016-04-12 Thread Thompson, David
On Tue, Apr 12, 2016 at 2:21 PM, Thompson, David
 wrote:

> I don't know why it's including headers from the host system's libc.
> Manolis was able to get past it by including a cross-libc built for
> i686.  Does this seem wrong to anyone else?  Any thoughts on what
> might be going on here?

Well, with a super nasty hack I've been able to successfully build an
AVR toolchain without using that cross-libc!

The issue is that, at least on x86_64, the avr-libc build happens
without the __x86_64__ preprocessor definition.  Adding it manually
with the make flag 'CFLAGS=-D__x86_64__' yields a successful build.
Does anyone have an idea what is going wrong here?  If so, how can we
make sure that all platforms will build this thing correctly?  I use
avr-gcc on ARM machines, for example.

Thanks,

- Dave



Re: [PATCH 10/14] gnu: Add r-registry.

2016-04-12 Thread Ricardo Wurmus

Leo Famulari  writes:

> On Tue, Apr 12, 2016 at 09:51:23AM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/statistics.scm (r-registry): New variable.
>
>> + (license license:gpl2+)))
>
> The file 'DESCRIPTION' simply says GPL-2. I don't know exactly how that
> is interpreted; Does it imply gpl2+ or merely gpl2?

As far as I know this “GPL-2” is usually understood to be “GPLv2, or
later”.  This is also how it’s done by Debian.

~~ Ricardo



Re: [PATCH 01/14] gnu: Add r-acepack.

2016-04-12 Thread Ricardo Wurmus

Leo Famulari  writes:

> On Tue, Apr 12, 2016 at 09:51:14AM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/statistics.scm (r-acepack): New variable.
>
>> +(license license:x11)))
>
> From the home page, I saw that Fedora took the initiative to clear up
> the licensing of this package.
>
> I didn't recognize the text of the license, but I found it here, under
> "Old Style":
> https://fedoraproject.org/wiki/Licensing:MIT
>
> It seems that what we call Expat, Fedora calls MIT. What do you think?

Yes, you are right.  This really should be Expat.  I’ll have to make
sure that the CRAN importer gets this right the next time.

Thanks for paying attention!

~~ Ricardo



Re: [PATCH] gnu Add r-pracma.

2016-04-12 Thread Roel Janssen

Leo Famulari writes:

> On Fri, Apr 08, 2016 at 10:53:24AM +0200, Roel Janssen wrote:
>> * gnu/packages/maths.scm (r-pracma): New variable.
>
> Thanks for the patch!
>
> I applied it as ec8c7e473, adding a colon after "gnu" in the commit
> title, and with a simplified but equivalent synopsis.

Thanks!



Re: shepherd, default /etc/shepherd.scm for other distributions

2016-04-12 Thread David Michael
On Tue, Apr 12, 2016 at 7:52 AM, Jean Louis  wrote:
> I am searching for a sample shepherd /etc/shepherd.scm to be run on
> other distributions. If anyone has such file, just a sample, for one
> service, with the recent shepherd version, let me know. It would be
> enough

If you just want to see a harebrained example, this is what I am
currently using with non-Guix Shepherd version 0.3.1 (warning: on
Hurd).  It basically attempts to reproduce the system initialization
shell script from upstream Hurd, with a few ideas from other init
systems mixed into it.

http://paste.fedoraproject.org/354821/14604969/

It reads its service definitions from a drop-in configuration
directory that packages can write into when they're installed.  Here
are the contents of a few of those files.

http://paste.fedoraproject.org/354822/97563146/

David



[PATCH 1/2] gnu: add python-django

2016-04-12 Thread Hartmut Goebel
* gnu/packages/django.scm: New file.
* gnu-system.am: Add it.
---
 gnu-system.am   |  1 +
 gnu/packages/django.scm | 60 +
 2 files changed, 61 insertions(+)
 create mode 100644 gnu/packages/django.scm

diff --git a/gnu-system.am b/gnu-system.am
index 8822d0b..09acb64 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -90,6 +90,7 @@ GNU_SYSTEM_MODULES =  \
   gnu/packages/dico.scm\
   gnu/packages/dictionaries.scm\
   gnu/packages/disk.scm\
+  gnu/packages/django.scm  \
   gnu/packages/djvu.scm\
   gnu/packages/dns.scm \
   gnu/packages/docbook.scm \
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
new file mode 100644
index 000..c22830e
--- /dev/null
+++ b/gnu/packages/django.scm
@@ -0,0 +1,60 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Hartmut Goebel 
+;;;
+;;; 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 django)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system python)
+  #:use-module (gnu packages python)
+)
+
+
+(define-public python-django
+(package
+  (name "python-django")
+  (version "1.9.5")
+  (source
+(origin
+  (method url-fetch)
+  (uri (pypi-uri "Django" version))
+  (sha256
+(base32
+  "19kaw9flk9jjz1n7q378waybxnkrrhkq240lby4zaaas62nnfip5"
+  (build-system python-build-system)
+  (inputs
+`(("python-setuptools" ,python-setuptools)))
+  (home-page "http://www.djangoproject.com/";)
+  (synopsis
+"High-level Python Web framework")
+  (description
+"Django is a high-level Python Web framework that encourages rapid
+development and clean, pragmatic design.
+
+Developed and used over the past two years by a fast-moving
+online-news operation, Django was designed from scratch to handle two
+challenges: the intensive deadlines of a newsroom and the stringent
+requirements of experienced Web developers. It has convenient niceties
+for developing content-management systems, but it's an excellent tool
+for building any Web site.
+
+Django focuses on automating as much as possible and adhering to the
+DRY principle.")
+  (license license:bsd-3)))
+
+
-- 
2.7.4




[PATCH 2/2] gnu: add python-django-simple-math-captcha

2016-04-12 Thread Hartmut Goebel
* gnu/packages/django.scm: (python-django-simple-math-captcha) New
  function.
---
 gnu/packages/django.scm | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index c22830e..12e2bb1 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -58,3 +58,26 @@ DRY principle.")
   (license license:bsd-3)))
 
 
+(define-public python-django-simple-math-captcha
+(package
+  (name "python-django-simple-math-captcha")
+  (version "1.0.7")
+  (source
+(origin
+  (method url-fetch)
+  (uri (pypi-uri "django-simple-math-captcha" version))
+  (sha256
+(base32
+  "0906hms6y6znjhpd0g4wmzv9vcla4brkdpsm4zha9zdj8g5vq2hd"
+  (build-system python-build-system)
+  (inputs
+`(("python-django" ,python-django)
+  ("python-setuptools" ,python-setuptools)))
+  (home-page "https://github.com/alsoicode/django-simple-math-captcha";)
+  (synopsis
+"Easy-to-use math field/widget captcha for Django forms")
+  (description
+"A multi-value-field that presents a human answerable question,
+with no settings.py configuration necessary, but instead can be
+configured with arguments to the field constructor.")
+  (license license:asl2.0)))
-- 
2.7.4




[PATCH 0/2] Python Django Framework

2016-04-12 Thread Hartmut Goebel
Hi,

this is my first contribution to Guix.

Thanks to the developers for bringing up the fine software and to the guys at
#guix (esp. davexunit) for the help.

Please let me know if there is something I can enhance for my next
contributions.

Hartmut Goebel (2):
  gnu: add python-django
  gnu: add python-django-simple-math-captcha

 gnu-system.am   |  1 +
 gnu/packages/django.scm | 83 +
 2 files changed, 84 insertions(+)
 create mode 100644 gnu/packages/django.scm

-- 
2.7.4




[PATCH 1/1] gnu: samba: Update to 4.3.8.

2016-04-12 Thread Leo Famulari
Fixes CVE-2015-5730, CVE-2016-2110, CVE-2016-2111, CVE-2016-2112,
CVE-2016-2113, CVE-2016-2114, CVE-2016-2115, CVE-2016-2118.

* gnu/packages/samba.scm (samba): Update to 4.3.8.
---
 gnu/packages/samba.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 8c4f064..8aac6a5 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -99,14 +99,14 @@ anywhere.")
 (define-public samba
   (package
 (name "samba")
-(version "4.3.6")
+(version "4.3.8")
 (source (origin
  (method url-fetch)
  (uri (string-append 
"https://www.samba.org/samba/ftp/stable/samba-";
  version ".tar.gz"))
  (sha256
   (base32
-   "0929fpk2pq4v389naai519xvsm9bzpar4jlgjxwlx1cnn6jyql9j"
+   "041b5frh4ikcka922aqhqjvlv4w2s7jycyykpvsknj0a79ncd79p"
 (build-system gnu-build-system)
 (arguments
  '(#:phases
-- 
2.7.3




[PATCH 0/1] Samba security update

2016-04-12 Thread Leo Famulari
There is a security update of Samba: version 4.3.7 and a regression fix 
in 4.3.8 [0]. I have updated our package to version 4.3.8 with commit
645deac3264744ec09c027a8b9762fdf62aced70.

This update addresses the following vulnerabilities:

o  CVE-2015-5370 (Multiple errors in DCE-RPC code)

o  CVE-2016-2110 (Man in the middle attacks possible with NTLMSSP)

o  CVE-2016-2111 (NETLOGON Spoofing Vulnerability)

o  CVE-2016-2112 (LDAP client and server don't enforce integrity)

o  CVE-2016-2113 (Missing TLS certificate validation)

o  CVE-2016-2114 ("server signing = mandatory" not enforced)

o  CVE-2016-2115 (SMB IPC traffic is not integrity protected)

o  CVE-2016-2118 (SAMR and LSA man in the middle attacks possible)

Please update your installations.

[0]
https://www.samba.org/samba/history/samba-4.3.8.html
https://www.samba.org/samba/history/security.html


Leo Famulari (1):
  gnu: samba: Update to 4.3.8.

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

-- 
2.7.3




[PATCH] gnu: Add openttd-engine

2016-04-12 Thread Albin
Here is a new patch for OpenTTD.

I have

* changed the name to openttd-engine (so that we can later add game data
as companion packages),
* removed the "Unix"->"GNU" hack,
* enabled 'lzo',
* added more licenses,
* rephrased a few comments,
* modified the commit message.

Best regards,

Albin
From 15ca9395ef42c89a0d4d3a3f9f9212e1cb0f1db6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Albin=20S=C3=B6derqvist?= 
Date: Wed, 13 Apr 2016 03:50:36 +0200
Subject: [PATCH] gnu: Add openttd-engine.

* gnu/packages/games.scm (openttd-engine): New variable.
---
 gnu/packages/games.scm | 63 ++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 653e0c7..4338653 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2016 Rodger Fox 
 ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis 
 ;;; Copyright © 2016 Nils Gillmann 
+;;; Copyright © 2016 Albin Söderqvist 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -61,6 +62,7 @@
   #:use-module (gnu packages libunwind)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages python)
@@ -1859,6 +1861,67 @@ and a game metadata scraper.")
 (home-page "http://www.emulationstation.org";)
 (license license:expat)))
 
+(define-public openttd-engine
+  (package
+(name "openttd-engine")
+(version "1.6.0")
+(source
+ (origin (method url-fetch)
+ (uri (string-append "http://binaries.openttd.org/releases/";
+ version "/openttd-" version "-source.tar.xz"))
+ (sha256
+  (base32
+   "1cjf9gz7d0sn7893wv9d00q724sxv3d81bgb0c5f5ppz2ssyc4jc"))
+ (modules '((guix build utils)))
+ (snippet
+  '(begin
+ ;; The DOS port contains proprietary software.
+ (delete-file-recursively "os/dos")
+(build-system gnu-build-system)
+(arguments
+ `(#:tests? #f ;; no "check" target.
+   #:phases
+   (modify-phases %standard-phases
+ ;; The build process fails if the configure script is passed the
+ ;; option "--enable-fast-install".
+ (replace 'configure
+   (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+   (lzo (assoc-ref inputs "lzo")))
+   (zero?
+(system* "./configure"
+ (string-append "--prefix=" out)
+ ;; Provide the "lzo" path.
+ (string-append "--with-liblzo2="
+lzo "/lib/liblzo2.a")
+ ;; Put the symlink to the binary in
+ ;; ".guix-profile/bin/".
+ "--binary-dir=bin"
+(native-inputs `(("pkg-config" ,pkg-config)))
+(inputs
+ `(("allegro" ,allegro-4)
+   ("fontconfig" ,fontconfig)
+   ("freetype" ,freetype)
+   ("icu4c" ,icu4c)
+   ("libpng" ,libpng)
+   ("lzo" ,lzo)
+   ("sdl" ,sdl)
+   ("xz" ,xz)
+   ("zlib" ,zlib)))
+(synopsis "Transportation economics simulator")
+(description "OpenTTD is a game in which you transport goods and
+passengers by land, water and air.  It is a re-implementation of Transport
+Tycoon Deluxe with many enhancements including multiplayer mode,
+internationalization support, conditional orders and the ability to clone,
+autoreplace and autoupdate vehicles.")
+(home-page "http://openttd.org/";)
+;; This package is GPLv2, except for a few files located in
+;; "src/3rdparty/" which are under the 3-clause BSD, LGPLv2.1+ and Zlib
+;; licenses.  In addition, this software contains an in-game downloader
+;; from which the user may find non-functional data licensed under
+;; different terms.
+(license (list license:bsd-3 license:gpl2 license:lgpl2.1+ license:zlib
+
 (define-public pinball
   (package
 (name "pinball")
-- 
2.6.3



signature.asc
Description: OpenPGP digital signature


Re: [PATCH] gnu: Add openttd-engine

2016-04-12 Thread Albin
I've also changed the download URL to the official one and the package
builds fine.

Den 2016-04-13 kl. 04:09, skrev Albin:
> Here is a new patch for OpenTTD.
> 
> I have
> 
> * changed the name to openttd-engine (so that we can later add game data
> as companion packages),
> * removed the "Unix"->"GNU" hack,
> * enabled 'lzo',
> * added more licenses,
> * rephrased a few comments,
> * modified the commit message.
> 
> Best regards,
> 
> Albin
> 



signature.asc
Description: OpenPGP digital signature


Re: [PATCH] gnu: Add gnome-sudoku and qqwing

2016-04-12 Thread 宋文武
k...@openmailbox.org writes:

>  Original Message 
> Subject: Re: [PATCH] gnu: Add gnome-sudoku and qqwing
> Date: 2016-04-12 12:58
> From: k...@openmailbox.org
> To: Leo Famulari 
>
> On 2016-04-11 17:57, Leo Famulari wrote:
>> On Mon, Apr 11, 2016 at 12:06:17PM -0400, k...@openmailbox.org wrote:
>>> I decided to add gnome-sudoku to gnome.scm because of how a new
>>> version
>>> is released with each new version of GNOME. Also, since qqwing
>>> seems to
>>> be used only by gnome-sudoku, I moved it over to gnome.scm as well.
>>
>> Okay, if gnome-sudoku has to stay in sync with GNOME, then I'd say it
>> makes some sense to put it in gnome.scm. Is there some GNOME package
>> that sets the version for the rest of our GNOME ecosystem? Should we be
>> pulling the version from some other package?
>>
>> I still think the best place is games.scm with the other games.
>>
>> CC-ing our GNOME expert, 宋文武, for some advice.
I prefer gnome.scm for it (and gnome-mines, etc) too, since those
packages follow the release cycle of GNOME, and don't have their
own homepages.

> [...]
>
> QQwing is added to game-development.scm, as it's more of a tool to
> facilitate
> gameplay than a game per se.
Agree :-)


I take the description of qqwing from debian:
 .

I think debian take it from the manpage.



Pushed, thanks for the patch and reviews!