forked from tribes/guix
Compare commits
280 Commits
wip-container
...
v0.9.0
| Author | SHA1 | Date | |
|---|---|---|---|
| c8855b9918 | |||
| 47b3124a8e | |||
| f6082affda | |||
| 316d65be0c | |||
| 5ffea4776d | |||
| 00c16d5b84 | |||
| 4f14c628dc | |||
| 9e6b9ea4b1 | |||
| 2666a126ef | |||
| dee7e58e56 | |||
| b871a453a0 | |||
| 29852c8a99 | |||
| 7b543d1ba4 | |||
| 3b6f7a0a6d | |||
| 7e096dd290 | |||
| ae3d99e9da | |||
| b95bcb8ae0 | |||
| e5930e5a13 | |||
| 718c5dd6e1 | |||
| f856fcb558 | |||
| 32728adb95 | |||
| d1cb7e9562 | |||
| b9d044ef7f | |||
| 3931607e4b | |||
| f194445a65 | |||
| 4ebdefc07a | |||
| b18812b6a4 | |||
| d431b23240 | |||
| bab020d7ca | |||
| 465b61fcd6 | |||
| 39d3f2edce | |||
| aee6412ad8 | |||
| a3fc12daa7 | |||
| 2931f46454 | |||
| f4c7dc5582 | |||
| 2ac9ba6a29 | |||
| abf21efcae | |||
| 7477fbb1be | |||
| cbaa6a1e41 | |||
| d8bdd38201 | |||
| 3009334e3b | |||
| f8ae32a26a | |||
| f5dceecb0c | |||
| 6e82863463 | |||
| 1c52181f33 | |||
| 00bfa7ea25 | |||
| b7d48312bb | |||
| 9ff7827a21 | |||
| c869eed1a7 | |||
| 72131606f1 | |||
| a64e5d451b | |||
| 7bc36f8d96 | |||
| 31e021f876 | |||
| c56ab21b2a | |||
| cfd35b4e23 | |||
| 03d521f92e | |||
| ef54b61dc6 | |||
| dc57d527ae | |||
| 6e32aa568c | |||
| 42e8f7345f | |||
| 3195e19de2 | |||
| b485f756e9 | |||
| a70436183a | |||
| beca0807eb | |||
| 1065bed9c4 | |||
| e9b8212414 | |||
| 87f4001146 | |||
| af4c3fd5e3 | |||
| d62e201cfd | |||
| 3a391e68da | |||
| 5adbe65fec | |||
| f133955122 | |||
| 5c2b2f006a | |||
| 8d9e9f2857 | |||
| b86be2ad1a | |||
| 48e6851f2f | |||
| 58b59742f4 | |||
| 2417fce3af | |||
| f13636f291 | |||
| 60af3d8241 | |||
| 7241c2fae6 | |||
| 69b96e5eee | |||
| 6b5b656f71 | |||
| 46c36586fc | |||
| f4044b586d | |||
| 0048552d0d | |||
| 6407ce8ea1 | |||
| 762b1971d8 | |||
| f3674b1c80 | |||
| 6394fe650e | |||
| a83adbf681 | |||
| cb7fed9285 | |||
| 32efa254a8 | |||
| 7c5a442091 | |||
| 0f252e266a | |||
| 6d6e628119 | |||
| b8d2eda4a3 | |||
| 4e720137b2 | |||
| 52d76b64e0 | |||
| 7824d4450d | |||
| b798dfde47 | |||
| 4da85bc3bb | |||
| 2b9e0a948b | |||
| daa3b04cd8 | |||
| 35263cd862 | |||
| 5905114a10 | |||
| 222e3319bd | |||
| 67010dd886 | |||
| 212c664889 | |||
| c51525895a | |||
| 320ca99917 | |||
| 043f4698f0 | |||
| cbe95af712 | |||
| 08859404c0 | |||
| c42e6c6c2f | |||
| 20ce2fee33 | |||
| fbd213a83f | |||
| b0e44d4f7d | |||
| d9b9454c98 | |||
| 375c610844 | |||
| 3c3e69728c | |||
| ef89cb4263 | |||
| c9c282cea0 | |||
| 4fca58a6c6 | |||
| 34760ae703 | |||
| 137d957ed3 | |||
| c8dab7f475 | |||
| 1c8a81b1af | |||
| 8e5999e0b0 | |||
| bd0b4379b2 | |||
| 8a637e79ed | |||
| eed588d997 | |||
| 9fa8f43669 | |||
| b90e7e5d49 | |||
| 7ea3099b05 | |||
| 7f48be419d | |||
| cd4cb1b597 | |||
| 6072523231 | |||
| 0bdab08962 | |||
| 2e437e29b6 | |||
| a241a7ac65 | |||
| 12f92e38d7 | |||
| cc90fbbf39 | |||
| 6726282b20 | |||
| e502bf8953 | |||
| 362f496da9 | |||
| b416aadf74 | |||
| 136787cb4e | |||
| 122c3a1d67 | |||
| 69851c59c7 | |||
| 53e85d0aa5 | |||
| 8a3a9e84cb | |||
| dd169b73e0 | |||
| a0d3eff99c | |||
| b7f16845c8 | |||
| 1fda9b1f46 | |||
| cd6f6c22fb | |||
| b0b9f6e0a6 | |||
| 7191adc5cf | |||
| 9a067efdb2 | |||
| fb8d1be8e1 | |||
| 855038b294 | |||
| fd688c82bf | |||
| 35b50a7535 | |||
| fb4bf72be3 | |||
| c7c5c5ae8b | |||
| 34a1783fc1 | |||
| 5c7bdc9a7f | |||
| 55b2fc1877 | |||
| a89dde1ed8 | |||
| f151298fa0 | |||
| 58301666dd | |||
| 04e0eac1ed | |||
| 0431ed00e4 | |||
| 44a88ce49e | |||
| 726029b2ba | |||
| 6c8d70b0b6 | |||
| b1b9e5c8d2 | |||
| 9f4a249611 | |||
| 6b173ac004 | |||
| c448bf7443 | |||
| 08dcff4744 | |||
| 816a653884 | |||
| 85d4aeacc4 | |||
| a10d3a687d | |||
| 6ffa706b6d | |||
| 7e6b490d04 | |||
| cfd56de3d8 | |||
| e1d3318634 | |||
| 402d73bc75 | |||
| c364a287ad | |||
| 9a9e143b75 | |||
| bce5ae1d26 | |||
| d8c317df26 | |||
| 104c1986ac | |||
| 61d5fd03bf | |||
| c21317d425 | |||
| ff5c33fe71 | |||
| b9cbe31645 | |||
| 7e9b07bdcb | |||
| 7dae1f4301 | |||
| 06d45f4566 | |||
| 3bb168b099 | |||
| 65797bfffd | |||
| 5b516ef369 | |||
| ad18c7e64c | |||
| d50cb56d9b | |||
| deaab8e314 | |||
| e49de93aa5 | |||
| 9685661324 | |||
| 5e1c936712 | |||
| e3e1ecf67c | |||
| 64a719203f | |||
| fd59d2ee65 | |||
| 554093b7e1 | |||
| f862f38ade | |||
| 92e4fbe215 | |||
| 51de92a08e | |||
| d3365d4866 | |||
| 6e4512c470 | |||
| a2651b5477 | |||
| 6747de140d | |||
| 26909789d0 | |||
| cde0402169 | |||
| da51f5bb01 | |||
| 4a663ca4e8 | |||
| 5e3bfe9d01 | |||
| 938ecdfcab | |||
| 8cab7580f5 | |||
| 7c6fb733e9 | |||
| e38a71eea9 | |||
| 20848f3637 | |||
| 1cb16f1ea3 | |||
| 64643b90ab | |||
| b2aab72c14 | |||
| a572dca848 | |||
| 80c7dd1a4e | |||
| 4955ab7d65 | |||
| 7765bfc61f | |||
| 6717c87964 | |||
| 406766c0d0 | |||
| ccb522324b | |||
| 5fba12ecd3 | |||
| 9b0bbb4767 | |||
| 8ce36e81c2 | |||
| ecd9c37f1f | |||
| d18c3c646c | |||
| 3b54548f03 | |||
| 381d3400b1 | |||
| 6410d25700 | |||
| fd730590b6 | |||
| aa8789c012 | |||
| 3e429a86a9 | |||
| f4925a4fb8 | |||
| 5f37e56ba4 | |||
| f43c0e9c44 | |||
| 3ad29c9ef5 | |||
| e75230c1b7 | |||
| 37fe56cff6 | |||
| aa382d7e46 | |||
| b172ea003f | |||
| 256da71fb1 | |||
| 2079087ccc | |||
| 9fe2e17dd1 | |||
| 9fbfb4ecb0 | |||
| f14c0a49a7 | |||
| e945787829 | |||
| 7a2c7808d0 | |||
| 492b0e383b | |||
| 7363cda42d | |||
| 13ddcf404b | |||
| 9b4613d2ad | |||
| 93d809b0df | |||
| fa09ebfa0e | |||
| ed89d90117 | |||
| 3c19c6a4d3 | |||
| 1c255eeec9 | |||
| 25087f60b6 | |||
| 53b5856ac1 | |||
| bbe04ae102 |
@@ -23,6 +23,7 @@
|
||||
(eval . (put 'lambda* 'scheme-indent-function 1))
|
||||
(eval . (put 'substitute* 'scheme-indent-function 1))
|
||||
(eval . (put 'modify-phases 'scheme-indent-function 1))
|
||||
(eval . (put 'modify-services 'scheme-indent-function 1))
|
||||
(eval . (put 'with-directory-excursion 'scheme-indent-function 1))
|
||||
(eval . (put 'package 'scheme-indent-function 0))
|
||||
(eval . (put 'origin 'scheme-indent-function 0))
|
||||
|
||||
+7
-2
@@ -128,6 +128,8 @@ MODULES = \
|
||||
guix/scripts/edit.scm \
|
||||
guix/scripts/size.scm \
|
||||
guix/scripts/graph.scm \
|
||||
guix/scripts/container.scm \
|
||||
guix/scripts/container/exec.scm \
|
||||
guix.scm \
|
||||
$(GNU_SYSTEM_MODULES)
|
||||
|
||||
@@ -337,6 +339,10 @@ AM_V_GUILEC = $(AM_V_GUILEC_$(V))
|
||||
AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY))
|
||||
AM_V_GUILEC_0 = @echo " GUILEC" $@;
|
||||
|
||||
# Flags passed to 'guild compile'.
|
||||
GUILD_COMPILE_FLAGS = \
|
||||
-Wformat -Wunbound-variable -Warity-mismatch
|
||||
|
||||
# Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if
|
||||
# $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in
|
||||
# there that are newer than the local .scm files (for instance because the
|
||||
@@ -352,8 +358,7 @@ AM_V_GUILEC_0 = @echo " GUILEC" $@;
|
||||
LC_ALL=C \
|
||||
$(top_builddir)/pre-inst-env \
|
||||
$(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \
|
||||
-Wformat -Wunbound-variable -Warity-mismatch \
|
||||
--target="$(host)" \
|
||||
$(GUILD_COMPILE_FLAGS) --target="$(host)" \
|
||||
-o "$@" "$<"
|
||||
|
||||
SUFFIXES = .go
|
||||
|
||||
@@ -10,6 +10,264 @@ Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
Please send Guix bug reports to bug-guix@gnu.org.
|
||||
|
||||
* Changes in 0.9.0 (since 0.8.3)
|
||||
|
||||
** Package management
|
||||
|
||||
*** New ‘guix graph’ command, to draw package graphs
|
||||
*** New ‘guix challenge’ command, to challenge the authenticity of binaries
|
||||
*** ‘guix environment’ has a new ‘--container’ option
|
||||
*** ‘guix substitute’ now honors all the specified substitute URLs
|
||||
*** New ‘guix import cran’ command, to import R packages from CRAN
|
||||
*** Package descriptions can now include Texinfo markup rendered on the fly
|
||||
*** ‘guix package’ has a new ‘--install-from-file’ option
|
||||
*** ‘guix package --search’ shows package outputs
|
||||
*** ‘guix refresh’ can refresh selected non-GNU package definitions
|
||||
*** The ‘--ad-hoc’ option of ‘guix environment’ is now positional
|
||||
*** The ‘--exec’ option of ‘guix environment’ is deprecated; use ‘--’ instead
|
||||
*** ‘guix build’ has a new ‘--file’ option
|
||||
*** ‘guix build --log-file’ can now return URLs
|
||||
*** ‘guix size’ now has a ‘--substitute-urls’ option and is much faster
|
||||
*** New ‘guix lint’ checkers: ‘formatting’, ‘license’, ‘source-file-name’
|
||||
*** Download progress report has been improved
|
||||
*** Emacs shell-mode completions for ‘guix’ commands updated
|
||||
*** Emacs: New ‘M-x guix’ popup interface
|
||||
|
||||
** Distribution
|
||||
|
||||
*** New extensible service composition API
|
||||
|
||||
The operating system service API in (gnu services) has been completely
|
||||
rewritten, significantly improving extensibility and modularity, while
|
||||
providing a framework that makes it easy to reason about service composition.
|
||||
Consequently, several sources of redundancy and confusion in
|
||||
‘operating-system’ declarations have been eliminated. See “Service
|
||||
Composition” in the manual.
|
||||
|
||||
*** New ‘extension-graph’ and ‘dmd-graph’ sub-commands for ‘guix system’
|
||||
*** New ‘container’ sub-command for ‘guix system’
|
||||
*** New ‘guix container’ command, to deal with GuixSD containers
|
||||
*** New ‘list-generations’ sub-command for ‘guix system’
|
||||
*** ‘operating-system’ has a new ‘locale-libcs’ field
|
||||
*** New services: ‘nginx-service’, ‘udisks-service’, ‘guix-publish-service’
|
||||
*** ‘%desktop-services’ now includes Polkit, GeoClue, elogind, UDisks, and more
|
||||
*** ‘dbus-daemon’ now has proper support for lazy service activation
|
||||
*** ‘wicd-service’ automatically adds Wicd to the system profile
|
||||
*** ‘slim-service’ automatically adds xterm to the system profile
|
||||
*** hydra.gnu.org now provides substitutes for ‘armhf-linux’
|
||||
*** /run/systemd is mounted as tmpfs by default, for use by elogind
|
||||
*** ‘glibc’ package no longer contains Bash in its bin/ directory
|
||||
*** libc now looks for locale data in a versioned sub-directory
|
||||
*** libc honors the new ‘GUIX_LOCPATH’ environment variable
|
||||
*** Xfce now defaults to the GNOME icon theme
|
||||
*** 543 new packages
|
||||
|
||||
abduco, accountsservice, american-fuzzy-lop, ansible, arandr, attic,
|
||||
autobuild, bash-minimal, bash-static, bio-blastxmlparser, bio-locus,
|
||||
bioperl-minimal, bioruby, bitcoin-core, bspwm, byobu, cabal-install, cityhash,
|
||||
clang-runtime, clang-runtime, cm, cmus, conky, coreutils-minimal, cpphs,
|
||||
cvs-fast-export, d-feet, deeptools, diffoscope, dosbox, dvtm, emacs-butler,
|
||||
emacs-dash, emacs-debbugs, emacs-deferred, emacs-f, emacs-flycheck,
|
||||
emacs-let-alist, emacs-ob-ipython, emacs-s, emacs-typo, enblend-enfuse,
|
||||
epiphany, esmtp, ethtool, evilwm, exfat-utils, express-beta-diversity,
|
||||
extra-cmake-modules, extundelete, fastcap, fasthenry, figlet, file-roller,
|
||||
flann, font-anonymous-pro, font-gnu-unifont, font-inconsolata, font-tex-gyre,
|
||||
font-ubuntu, frescobaldi, fuse-exfat, gajim, gamine, gerbv, gexiv2,
|
||||
ghc-adjunctions, ghc-aeson, ghc-alex, ghc-annotated-wl-pprint,
|
||||
ghc-ansi-terminal, ghc-ansi-wl-pprint, ghc-appar, ghc-async, ghc-attoparsec,
|
||||
ghc-auto-update, ghc-base-compat, ghc-base-orphans, ghc-base64-bytestring,
|
||||
ghc-bifunctors, ghc-blaze-builder, ghc-blaze-html, ghc-blaze-markup,
|
||||
ghc-byteorder, ghc-bytestring-builder, ghc-cereal, ghc-cgi, ghc-charset,
|
||||
ghc-cheapskate, ghc-clock, ghc-cmdargs, ghc-comonad, ghc-contravariant,
|
||||
ghc-cookie, ghc-css-text, ghc-data-default, ghc-data-default-class,
|
||||
ghc-data-default-instances-base, ghc-data-default-instances-containers,
|
||||
ghc-data-default-instances-dlist, ghc-data-default-instances-old-locale,
|
||||
ghc-digest, ghc-distributive, ghc-dlist, ghc-doctest, ghc-easy-file,
|
||||
ghc-exceptions, ghc-extensible-exceptions, ghc-extra, ghc-fast-logger,
|
||||
ghc-fingertree, ghc-free, ghc-generic-deriving, ghc-gluraw, ghc-glut,
|
||||
ghc-haddock, ghc-haddock-api, ghc-haddock-library, ghc-half, ghc-happy,
|
||||
ghc-haskell-src, ghc-haskell-src-exts, ghc-hspec, ghc-hspec-core,
|
||||
ghc-hspec-expectations, ghc-hspec-meta, ghc-html, ghc-http-types, ghc-iproute,
|
||||
ghc-kan-extensions, ghc-lens, ghc-lifted-base, ghc-logict, ghc-mmorph,
|
||||
ghc-monad-control, ghc-multipart, ghc-nats, ghc-objectname, ghc-old-locale,
|
||||
ghc-old-time, ghc-opengl, ghc-openglraw, ghc-optparse-applicative,
|
||||
ghc-parsers, ghc-pcre-light, ghc-polyparse, ghc-prelude-extras,
|
||||
ghc-profunctors, ghc-quickcheck-instances, ghc-quickcheck-io,
|
||||
ghc-quickcheck-unicode, ghc-reducers, ghc-reflection, ghc-regex-base,
|
||||
ghc-regex-compat, ghc-regex-posix, ghc-regex-tdfa-rc, ghc-resourcet, ghc-safe,
|
||||
ghc-scientific, ghc-sdl, ghc-sdl-image, ghc-sdl-mixer, ghc-semigroupoids,
|
||||
ghc-semigroups, ghc-setenv, ghc-silently, ghc-simple-reflect, ghc-smallcheck,
|
||||
ghc-statevar, ghc-streaming-commons, ghc-stringbuilder, ghc-stringsearch,
|
||||
ghc-tagged, ghc-tagsoup, ghc-tasty, ghc-tasty-ant-xml, ghc-tasty-golden,
|
||||
ghc-tasty-hunit, ghc-tasty-quickcheck, ghc-tasty-smallcheck, ghc-temporary,
|
||||
ghc-temporary-rc, ghc-transformers-base, ghc-transformers-compat,
|
||||
ghc-trifecta, ghc-unbounded-delays, ghc-uniplate, ghc-unix-compat,
|
||||
ghc-unix-time, ghc-utf8-string, ghc-vault, ghc-vector-binary-instances,
|
||||
ghc-void, ghc-wai, ghc-wai-extra, ghc-wai-logger, ghc-word8, ghc-x11,
|
||||
ghc-x11-xft, ghc-xhtml, ghc-xml, ghc-xmonad-contrib, ghc-xss-sanitize,
|
||||
ghc-zip-archive, glibc-hurd, glibc-hurd-headers, gmtp, graphios, gtk-doc,
|
||||
guile-next, guile-present, guile-redis, guile-rsvg, guile-wisp, gusb, gvfs,
|
||||
gzochi, haunt, hlint, hscolour, hspec-discover, hurd-minimal, i3-wm, i3status,
|
||||
ibus-libpinyin, idris, ifstatus, keepassx, klick, kwindowsystem, lablgtk,
|
||||
libatasmart, libchamplain, libchop, libconfuse, libcue, libesmtp, libev,
|
||||
libfm, libfm-extra, libgee, libgudev, liblxqt, libndp, libpano13, libpinyin,
|
||||
libraw, libusb-compat, libyajl, lxqt-common, lxqt-session, lxrandr, lxtask,
|
||||
lxterminal, lz4, mafft, manaplus, mars, menu-cache, minixml, mosaik,
|
||||
nestopia-ue, newt, non-sequencer, ntk, openimageio, opusfile, patches, pbzip2,
|
||||
pcmanfm, pcre2, pd, pelican, perl-czplib, perl-date-manip, perl-finance-quote,
|
||||
perl-html-element-extended, perl-html-tableextract, perl-pod-simple, physfs,
|
||||
pidgin, pidgin-otr, pigz, po4a, poppler-qt4, pwgen, python-appdirs,
|
||||
python-bandit, python-blinker, python-ccm, python-chardet,
|
||||
python-cryptography, python-cryptography-vectors, python-debian,
|
||||
python-debtcollector, python-ecdsa, python-file, python-fonttools,
|
||||
python-gnupg, python-hacking, python-httplib2, python-idna,
|
||||
python-ipython-genutils, python-iso8601, python-joblib, python-libarchive-c,
|
||||
python-llfuse, python-ly, python-minimal, python-minimal, python-mistune,
|
||||
python-monotonic, python-mox3, python-msgpack, python-nbxmpp, python-netaddr,
|
||||
python-numexpr, python-os-client-config, python-os-testr, python-oslo.config,
|
||||
python-oslo.context, python-oslo.i18n, python-oslo.log,
|
||||
python-oslo.serialization, python-oslo.utils, python-oslosphinx,
|
||||
python-oslotest, python-paramiko, python-passlib, python-pathpy, python-patsy,
|
||||
python-pbr, python-pbr, python-pexpect, python-pickleshare, python-pip,
|
||||
python-poppler-qt4, python-pretend, python-prettytable, python-ptyprocess,
|
||||
python-py-bcrypt, python-pyasn1, python-pyopenssl, python-pytest-runner,
|
||||
python-requests-mock, python-setuptools-scm, python-simplegeneric,
|
||||
python-statsmodels, python-stevedore, python-tempest-lib, python-terminado,
|
||||
python-tlsh, python-traitlets, python-webob, python-wrapt, python-xlrd,
|
||||
python2-appdirs, python2-bandit, python2-blinker, python2-ccm,
|
||||
python2-chardet, python2-cryptography, python2-cryptography-vectors,
|
||||
python2-debian, python2-debtcollector, python2-ecdsa, python2-file,
|
||||
python2-fonttools, python2-gnupg, python2-hacking, python2-httplib2,
|
||||
python2-idna, python2-ipaddress, python2-ipython-genutils, python2-iso8601,
|
||||
python2-joblib, python2-keyring, python2-libarchive-c, python2-llfuse,
|
||||
python2-mistune, python2-monotonic, python2-mox3, python2-msgpack,
|
||||
python2-nbxmpp, python2-netaddr, python2-notmuch, python2-numexpr,
|
||||
python2-os-client-config, python2-os-testr, python2-oslo.config,
|
||||
python2-oslo.context, python2-oslo.i18n, python2-oslo.log,
|
||||
python2-oslo.serialization, python2-oslo.utils, python2-oslosphinx,
|
||||
python2-oslotest, python2-paramiko, python2-passlib, python2-pathpy,
|
||||
python2-patsy, python2-pbr, python2-pbr, python2-pexpect, python2-pickleshare,
|
||||
python2-pip, python2-pretend, python2-prettytable, python2-ptyprocess,
|
||||
python2-py-bcrypt, python2-pyasn1, python2-pycrypto, python2-pyopenssl,
|
||||
python2-pytest-runner, python2-requests-mock, python2-setuptools-scm,
|
||||
python2-simplegeneric, python2-statsmodels, python2-stevedore,
|
||||
python2-tempest-lib, python2-terminado, python2-tlsh, python2-traitlets,
|
||||
python2-webob, python2-wrapt, python2-xlrd, r-assertthat, r-bh, r-chron,
|
||||
r-codetools, r-colorspace, r-crayon, r-data.table, r-dbi, r-dichromat,
|
||||
r-digest, r-dplyr, r-evaluate, r-formatr, r-ggplot2, r-gtable, r-highr,
|
||||
r-htmltools, r-htmlwidgets, r-httpuv, r-jsonlite, r-knitr, r-labeling,
|
||||
r-lazyeval, r-magrittr, r-markdown, r-memoise, r-microbenchmark, r-mime,
|
||||
r-munsell, r-plyr, r-proto, r-pryr, r-qtl, r-r6, r-rcolorbrewer, r-rcpp,
|
||||
r-reshape2, r-scales, r-servr, r-stringi, r-stringr, r-testthat, r-yaml, rage,
|
||||
raincat, redis, rest, rfkill, rpm, ruby-activesupport, ruby-atoulme-antwrap,
|
||||
ruby-bio-logger, ruby-builder, ruby-byebug, ruby-coderay, ruby-cucumber-core,
|
||||
ruby-diff-lcs, ruby-docile, ruby-ffi, ruby-formatador, ruby-gherkin3,
|
||||
ruby-json, ruby-libxml, ruby-listen, ruby-log4r, ruby-lumberjack,
|
||||
ruby-method-source, ruby-mini-portile, ruby-minitar, ruby-nenv, ruby-nokogiri,
|
||||
ruby-notiffany, ruby-orderedhash, ruby-ox, ruby-permutation, ruby-pg,
|
||||
ruby-pry, ruby-rack, ruby-rb-inotify, ruby-rjb, ruby-rubygems-tasks,
|
||||
ruby-shellany, ruby-shindo, ruby-simplecov-html, ruby-thor, ruby-thread-safe,
|
||||
ruby-tzinfo, ruby-xml-simple, ruby-yard, sassc, scmutils, seqmagick, shotwell,
|
||||
shroud, simple-scan, squashfs-tools, sxhkd, tinc, udisks, unison, vsearch,
|
||||
webkitgtk-gtk2, wesnoth, wpa-supplicant-minimal, xcb-util-cursor, xcompmgr,
|
||||
xfce4-pulseaudio-plugin, xjackfreak, xlsfonts, xmonad, yapet, yelp,
|
||||
yelp-tools, yelp-xsl, znc, zynaddsubfx
|
||||
|
||||
*** 268 package updates
|
||||
|
||||
abcde-2.7, arb-2.7.0, ardour-4.2, at-spi2-atk-2.18.1, at-spi2-core-2.18.1,
|
||||
ath9k-htc-firmware-1.4.0, atk-2.18.0, atkmm-2.24.1, autogen-5.18.6,
|
||||
avidemux-2.6.10, bedtools-2.24.0, binutils-2.25.1,
|
||||
binutils-static-stripped-tarball-2.25.1, bison-3.0.4, bluez-5.35,
|
||||
bundler-1.10.6, c-reduce-2.3.0, cairomm-1.12.0, calcurse-4.0.0,
|
||||
calibre-2.41.0, camlp5-6.14, cgal-4.6.3, chess-6.2.2, clang-3.6.2,
|
||||
claws-mail-3.13.0, cmake-3.3.2, complexity-1.3, conkeror-1.0pre1.20150730,
|
||||
cpio-2.12, crossmap-0.2.1, csound-6.05, cups-2.1.0, cups-filters-1.0.75,
|
||||
cups-minimal-2.1.0, curl-7.45.0, dbus-1.10.0, dbus-1.10.0.a, ddrescue-1.20,
|
||||
dmd-0.2.01, docbook-xml-4.4, docbook-xml-4.5, dosfstools-3.0.28,
|
||||
e2fsck-static-1.42.13, e2fsprogs-1.42.13, efl-1.15.2, eigen-3.2.6,
|
||||
elementary-1.15.2, emotion-generic-players-1.15.0, enlightenment-0.19.12,
|
||||
eudev-3.1.5, evas-generic-loaders-1.15.0, feh-2.14, ffmpeg-2.8, fish-2.2.0,
|
||||
flint-2.5.2, fontconfig-2.11.94, freeglut-3.0.0, freeimage-3.17.0,
|
||||
freeipmi-1.4.11, gcc-4.9.3, gcc-4.9.3, gcc-4.9.3, gcc-5.2.0,
|
||||
gcc-toolchain-5.2.0, gcj-4.9.3, gdb-7.10, gdk-pixbuf-2.32.1, geiser-0.8.1,
|
||||
gettext-0.19.6, ghc-7.10.2, ghc-hashable-1.2.3.3, ghc-http-4000.2.20,
|
||||
ghc-mtl-2.2.1, ghc-network-2.6.2.1, ghc-network-uri-2.6.0.3,
|
||||
ghc-primitive-0.6.1.0, ghc-quickcheck-2.8.1, ghc-syb-0.6, ghc-text-1.2.1.3,
|
||||
ghc-vector-0.11.0.0, giflib-5.1.1, git-2.5.0, git-manpages-2.5.0,
|
||||
git-modes-1.2.0, glib-2.46.1, glib-networking-2.46.1, glibc-2.22,
|
||||
glibc-locales-2.22, glibc-stripped-tarball-2.22, glibc-utf8-locales-2.22,
|
||||
glibmm-2.46.1, global-6.5.1, glpk-4.56, gnome-desktop-3.16.2,
|
||||
gnome-themes-standard-3.16.2, gnu-pw-mgr-1.6, gnumach-headers-1.6,
|
||||
gnupg-2.1.9, gnurl-7.45.0, gnutls-3.4.5, gobject-introspection-1.46.0,
|
||||
gp2c-0.0.9pl3, graphite2-1.3.3, graphviz-2.38.0,
|
||||
gsettings-desktop-schemas-3.18.0, gsl-2.0, gst-libav-1.6.1,
|
||||
gst-plugins-base-1.6.1, gst-plugins-good-1.6.1, gst-plugins-ugly-1.6.1,
|
||||
gstreamer-1.6.1, gtk+-3.18.2, gtkmm-3.18.0, guile-ssh-0.8.0, guitarix-0.33.0,
|
||||
guix-0.8.3, guix-0.8.3.b485f75, harfbuzz-1.0.5, help2man-1.47.2,
|
||||
hurd-headers-0.7, ibus-1.5.11, icecat-38.3.0-gnu1, icedtea6-1.13.8,
|
||||
icedtea7-2.6.2, imagemagick-6.9.2-1, intltool-0.51.0, json-glib-1.0.4,
|
||||
leptonica-1.72, less-481, libbluray-0.9.0, libcap-2.24, libdrm-2.4.65,
|
||||
libdvdcss-1.3.99, libedit-20150325-3.1, libgcrypt-1.6.3, libgsf-1.14.34,
|
||||
libidn-1.32, libinput-0.21.0, libmicrohttpd-0.9.45, libmtp-1.1.9,
|
||||
libotr-4.1.0, libpcap-1.7.4, libpciaccess-0.13.4, libqtxdg-1.2.0,
|
||||
librsvg-2.40.11, libsigc++-2.6.1, libsoup-2.52.1, libssh-0.6.5, libtiff-4.0.5,
|
||||
libtorrent-0.13.6, libva-1.6.1, lilypond-2.19.27, links-2.12,
|
||||
linux-libre-4.2.5, linux-pam-1.2.1, lirc-0.9.3, llvm-3.6.2, lua-5.2.3,
|
||||
lzo-2.09, magit-2.3.0, mesa-11.0.3, mesa-headers-11.0.3, mig-1.6,
|
||||
minetest-0.4.13, mosh-1.2.5, mpg123-1.22.4, mplayer-1.2, mpv-0.11.0,
|
||||
mu-0.9.13, mutt-1.5.24, ncdu-1.11, ncmpcpp-0.6.7, ncurses-6.0, node-0.12.7,
|
||||
notmuch-0.20.2, ntp-4.2.8p4, ocaml-4.02.3, offlineimap-6.5.7, openblas-0.2.15,
|
||||
openjpeg-2.1.0, openldap-2.4.42, openssh-7.0p1, orc-0.4.24, pango-1.38.1,
|
||||
pangomm-2.38.1, parallel-20151022, pavucontrol-3.0,
|
||||
pbtranscript-tofu-2.2.3.8f5467fe6, pciutils-3.3.1, perf-4.2.5,
|
||||
perl-xml-parser-2.44, pixman-0.32.8, poppler-0.37.0, powertop-2.7,
|
||||
python-cffi-1.2.1, python-dateutil-2.2, python-fixtures-1.3.1,
|
||||
python-ipython-3.2.1, python-pyflakes-0.9.2, python-pygobject-3.18.0,
|
||||
python-pyqt-4.11.4, python-pyqt-5.5, python-requests-2.8.0,
|
||||
python-scipy-0.16.0, python-setuptools-18.3.1, python-sip-4.16.9,
|
||||
python-six-1.9.0, python2-cffi-1.2.1, python2-dateutil-2.2,
|
||||
python2-fixtures-1.3.1, python2-ipython-3.2.1, python2-pygobject-3.18.0,
|
||||
python2-pyqt-4.11.4, python2-pyqt-5.5, python2-requests-2.8.0,
|
||||
python2-scipy-0.16.0, python2-setuptools-18.3.1, python2-sip-4.16.9,
|
||||
python2-six-1.9.0, qemu-2.4.0.1, qemu-headless-2.4.0.1, qpdf-5.1.3,
|
||||
qsynth-0.4.0, qt-5.5.1, r-3.2.2, racket-6.2.1, ratpoison-1.4.8, readline-6.3,
|
||||
retroarch-1.2.2, ripperx-2.8.0, rtorrent-0.9.6, ruby-2.2.3, ruby-arel-6.0.3,
|
||||
ruby-bacon-1.2.0, ruby-i18n-0.7.0, samtools-1.2, sfarklib-2.24, sfml-2.3.2,
|
||||
shadow-4.2.1, sipwitch-1.9.14, sqlite-3.8.11.1, subversion-1.8.14,
|
||||
synergy-1.7.4, tcl-8.6.4, tcpdump-4.7.4, teckit-2.5.4, terminology-0.9.1,
|
||||
texlive-2015, texlive-bin-2015, texlive-texmf-2015, tiled-0.13.1, tk-8.6.4,
|
||||
tmux-2.0, tor-0.2.6.10, ucommon-6.6.2, units-2.12, util-linux-2.27,
|
||||
vala-0.30.0, valgrind-3.11.0, vlc-2.2.1, webkitgtk-2.8.5, weechat-1.3,
|
||||
wine-1.7.52, wpa-supplicant-2.5, xapian-1.2.21, xterm-320,
|
||||
youtube-dl-2015.11.01, zsh-5.1.1
|
||||
|
||||
** Programming interfaces
|
||||
|
||||
*** Rewritten (gnu services) module; (gnu services …) modules adjusted
|
||||
*** New Emacs development tools, see “Development” in the manual
|
||||
*** (guix gexp) provides the declarative ‘computed-file’, ‘program-file’, etc.
|
||||
*** New (guix upstream) module, for generalized upstream release tracking
|
||||
|
||||
** Noteworthy bug fixes
|
||||
|
||||
*** Passwords in /etc/shadow are SHA512-hashed (http://bugs.gnu.org/21318)
|
||||
*** daemon: Require a signature for imports made by root
|
||||
(http://bugs.gnu.org/21354)
|
||||
*** emacs: Fix guix-guile-program default value (http://bugs.gnu.org/21127)
|
||||
*** Compressed initrds no longer include timestamps
|
||||
*** Partly fix handling of encrypted root partitions
|
||||
(http://bugs.gnu.org/19190)
|
||||
*** Python now includes tkinter (http://bugs.gnu.org/20889)
|
||||
*** Memoize the results of ‘package-with-python2’ (http://bugs.gnu.org/21675)
|
||||
*** Use the daemon's substitute URLs by default (http://bugs.gnu.org/20217)
|
||||
*** ‘guix system --no-grub’ works correctly for ‘init’ and ‘reconfigure’
|
||||
(http://bugs.gnu.org/21068)
|
||||
|
||||
** Native language support
|
||||
|
||||
*** Updated translations: da
|
||||
|
||||
* Changes in 0.8.3 (since 0.8.2)
|
||||
|
||||
** Package management
|
||||
|
||||
@@ -27,6 +27,7 @@ the installation instructions (@pxref{Requirements}).
|
||||
@item @url{http://gnu.org/software/autoconf/, GNU Autoconf};
|
||||
@item @url{http://gnu.org/software/automake/, GNU Automake};
|
||||
@item @url{http://gnu.org/software/gettext/, GNU Gettext};
|
||||
@item @url{http://gnu.org/software/texinfo/, GNU Texinfo};
|
||||
@item @url{http://www.graphviz.org/, Graphviz};
|
||||
@item @url{http://www.gnu.org/software/help2man/, GNU Help2man (optional)}.
|
||||
@end itemize
|
||||
@@ -86,11 +87,40 @@ Similarly, for a Guile session using the Guix modules:
|
||||
|
||||
@example
|
||||
$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'
|
||||
|
||||
;;; ("x86_64-linux")
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
@cindex REPL
|
||||
@cindex read-eval-print loop
|
||||
@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile
|
||||
Reference Manual}):
|
||||
|
||||
@example
|
||||
$ ./pre-inst-env guile
|
||||
scheme@@(guile-user)> ,use(guix)
|
||||
scheme@@(guile-user)> ,use(gnu)
|
||||
scheme@@(guile-user)> (define snakes
|
||||
(fold-packages
|
||||
(lambda (package lst)
|
||||
(if (string-prefix? "python"
|
||||
(package-name package))
|
||||
(cons package lst)
|
||||
lst))
|
||||
'()))
|
||||
scheme@@(guile-user)> (length snakes)
|
||||
$1 = 361
|
||||
@end example
|
||||
|
||||
The @command{pre-inst-env} script sets up all the environment variables
|
||||
necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}.
|
||||
|
||||
Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the
|
||||
local source tree; it simply updates the @file{~/.config/guix/latest}
|
||||
symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if
|
||||
you want to upgrade your local source tree.
|
||||
|
||||
|
||||
@node The Perfect Setup
|
||||
@section The Perfect Setup
|
||||
|
||||
+7
-6
@@ -227,6 +227,8 @@ prefix argument is used. This has the same meaning as @code{--manifest}
|
||||
option (@pxref{Invoking guix package}).
|
||||
|
||||
@item C-c C-z
|
||||
@cindex REPL
|
||||
@cindex read-eval-print loop
|
||||
Go to the Guix REPL (@pxref{The REPL,,, geiser, Geiser User Manual}).
|
||||
|
||||
@item h
|
||||
@@ -644,12 +646,11 @@ Toggle (show/hide) the bodies of all build phases.
|
||||
@end table
|
||||
|
||||
There is also @kbd{M-x guix-build-log-minor-mode} which also provides
|
||||
the same highlighting (but not key bindings). And as it is a minor
|
||||
mode, it can be enabled in any buffer. For example, if you are building
|
||||
some package in a shell buffer (@pxref{Interactive Shell,,, emacs, The
|
||||
GNU Emacs Manual}), you may enable @command{guix-build-log-minor-mode}
|
||||
to make it more colorful. Guix build output is rather specific, so this
|
||||
new highlighting shouldn't conflict with the existing one.
|
||||
the same highlighting and the same key bindings as the major mode, but
|
||||
prefixed with @kbd{C-c}. By default, this minor mode is enabled in
|
||||
shell buffers (@pxref{Interactive Shell,,, emacs, The GNU Emacs
|
||||
Manual}). If you don't like it, set
|
||||
@code{guix-build-log-minor-mode-activate} to nil.
|
||||
|
||||
|
||||
@node Emacs Completions
|
||||
|
||||
+422
-47
@@ -144,6 +144,7 @@ Utilities
|
||||
* Invoking guix environment:: Setting up development environments.
|
||||
* Invoking guix publish:: Sharing substitutes.
|
||||
* Invoking guix challenge:: Challenging substitute servers.
|
||||
* Invoking guix container:: Process isolation.
|
||||
|
||||
GNU Distribution
|
||||
|
||||
@@ -233,7 +234,8 @@ software packages, etc.
|
||||
|
||||
@cindex functional package management
|
||||
The term @dfn{functional} refers to a specific package management
|
||||
discipline. In Guix, the package build and installation process is seen
|
||||
discipline pioneered by Nix (@pxref{Acknowledgments}).
|
||||
In Guix, the package build and installation process is seen
|
||||
as a function, in the mathematical sense. That function takes inputs,
|
||||
such as build scripts, a compiler, and libraries, and
|
||||
returns an installed package. As a pure function, its result depends
|
||||
@@ -1812,7 +1814,9 @@ On completion, @command{guix package} will use packages and package
|
||||
versions from this just-retrieved copy of Guix. Not only that, but all
|
||||
the Guix commands and Scheme modules will also be taken from that latest
|
||||
version. New @command{guix} sub-commands added by the update also
|
||||
become available.
|
||||
become available@footnote{Under the hood, @command{guix pull} updates
|
||||
the @file{~/.config/guix/latest} symbolic link to point to the latest
|
||||
Guix, and the @command{guix} command loads code from there.}.
|
||||
|
||||
The @command{guix pull} command is usually invoked with no arguments,
|
||||
but it supports the following options:
|
||||
@@ -3582,6 +3586,7 @@ programming interface of Guix in a convenient way.
|
||||
* Invoking guix environment:: Setting up development environments.
|
||||
* Invoking guix publish:: Sharing substitutes.
|
||||
* Invoking guix challenge:: Challenging substitute servers.
|
||||
* Invoking guix container:: Process isolation.
|
||||
@end menu
|
||||
|
||||
@node Invoking guix build
|
||||
@@ -3615,6 +3620,19 @@ The @var{options} may be zero or more of the following:
|
||||
|
||||
@table @code
|
||||
|
||||
@item --file=@var{file}
|
||||
@itemx -f @var{file}
|
||||
|
||||
Build the package or derivation that the code within @var{file}
|
||||
evaluates to.
|
||||
|
||||
As an example, @var{file} might contain a package definition like this
|
||||
(@pxref{Defining Packages}):
|
||||
|
||||
@example
|
||||
@verbatiminclude package-hello.scm
|
||||
@end example
|
||||
|
||||
@item --expression=@var{expr}
|
||||
@itemx -e @var{expr}
|
||||
Build the package or derivation @var{expr} evaluates to.
|
||||
@@ -4263,8 +4281,8 @@ inconvenient.
|
||||
|
||||
@item --type=@var{updater}
|
||||
@itemx -t @var{updater}
|
||||
Select only packages handled by @var{updater}. Currently, @var{updater}
|
||||
may be one of:
|
||||
Select only packages handled by @var{updater} (may be a comma-separated
|
||||
list of updaters). Currently, @var{updater} may be one of:
|
||||
|
||||
@table @code
|
||||
@item gnu
|
||||
@@ -4272,14 +4290,16 @@ the updater for GNU packages;
|
||||
@item elpa
|
||||
the updater for @uref{http://elpa.gnu.org/, ELPA} packages;
|
||||
@item cran
|
||||
the updater fro @uref{http://cran.r-project.org/, CRAN} packages.
|
||||
the updater for @uref{http://cran.r-project.org/, CRAN} packages;
|
||||
@item pypi
|
||||
the updater for @uref{https://pypi.python.org, PyPI} packages.
|
||||
@end table
|
||||
|
||||
For instance, the following commands only checks for updates of Emacs
|
||||
packages hosted at @code{elpa.gnu.org} and updates of CRAN packages:
|
||||
|
||||
@example
|
||||
$ guix refresh -t elpa -t cran
|
||||
$ guix refresh --type=elpa,cran
|
||||
gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0
|
||||
gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9
|
||||
@end example
|
||||
@@ -4305,6 +4325,10 @@ be used when passing @command{guix refresh} one or more package names:
|
||||
|
||||
@table @code
|
||||
|
||||
@item --list-updaters
|
||||
@itemx -L
|
||||
List available updaters and exit (see @option{--type} above.)
|
||||
|
||||
@item --list-dependent
|
||||
@itemx -l
|
||||
List top-level dependent packages that would need to be rebuilt as a
|
||||
@@ -4681,6 +4705,20 @@ NumPy:
|
||||
guix environment --ad-hoc python2-numpy python-2.7 -- python
|
||||
@end example
|
||||
|
||||
Furthermore, one might want the dependencies of a package and also some
|
||||
additional packages that are not build-time or runtime dependencies, but
|
||||
are useful when developing nonetheless. Because of this, the
|
||||
@code{--ad-hoc} flag is positional. Packages appearing before
|
||||
@code{--ad-hoc} are interpreted as packages whose dependencies will be
|
||||
added to the environment. Packages appearing after are interpreted as
|
||||
packages that will be added to the environment directly. For example,
|
||||
the following command creates a Guix development environment that
|
||||
additionally includes Git and strace:
|
||||
|
||||
@example
|
||||
guix environment guix --ad-hoc git strace
|
||||
@end example
|
||||
|
||||
Sometimes it is desirable to isolate the environment as much as
|
||||
possible, for maximal purity and reproducibility. In particular, when
|
||||
using Guix on a host distro that is not GuixSD, it is desirable to
|
||||
@@ -4693,12 +4731,17 @@ working directory are mounted:
|
||||
guix environment --ad-hoc --container guile -- guile
|
||||
@end example
|
||||
|
||||
@quotation Note
|
||||
The @code{--container} option requires Linux-libre 3.19 or newer.
|
||||
@end quotation
|
||||
|
||||
The available options are summarized below.
|
||||
|
||||
@table @code
|
||||
@item --expression=@var{expr}
|
||||
@itemx -e @var{expr}
|
||||
Create an environment for the package that @var{expr} evaluates to.
|
||||
Create an environment for the package or list of packages that
|
||||
@var{expr} evaluates to.
|
||||
|
||||
For example, running:
|
||||
|
||||
@@ -4709,10 +4752,18 @@ guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'
|
||||
starts a shell with the environment for this specific variant of the
|
||||
PETSc package.
|
||||
|
||||
Running:
|
||||
|
||||
@example
|
||||
guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'
|
||||
@end example
|
||||
|
||||
starts a shell with all the GuixSD base packages available.
|
||||
|
||||
@item --load=@var{file}
|
||||
@itemx -l @var{file}
|
||||
Create an environment for the package that the code within @var{file}
|
||||
evaluates to.
|
||||
Create an environment for the package or list of packages that the code
|
||||
within @var{file} evaluates to.
|
||||
|
||||
As an example, @var{file} might contain a definition like this
|
||||
(@pxref{Defining Packages}):
|
||||
@@ -4741,6 +4792,12 @@ Note that this example implicitly asks for the default output of
|
||||
specific output---e.g., @code{glib:bin} asks for the @code{bin} output
|
||||
of @code{glib} (@pxref{Packages with Multiple Outputs}).
|
||||
|
||||
This option may be composed with the default behavior of @command{guix
|
||||
environment}. Packages appearing before @code{--ad-hoc} are interpreted
|
||||
as packages whose dependencies will be added to the environment, the
|
||||
default behavior. Packages appearing after are interpreted as packages
|
||||
that will be added to the environment directly.
|
||||
|
||||
@item --pure
|
||||
Unset existing environment variables when building the new environment.
|
||||
This has the effect of creating an environment in which search paths
|
||||
@@ -4783,7 +4840,7 @@ directory:
|
||||
guix environment --container --expose=$HOME=/exchange guile -- guile
|
||||
@end example
|
||||
|
||||
@item --share
|
||||
@item --share=@var{source}[=@var{target}]
|
||||
For containers, share the file system @var{source} from the host system
|
||||
as the writable file system @var{target} within the container. If
|
||||
@var{target} is not specified, @var{source} is used as the target mount
|
||||
@@ -4820,6 +4877,10 @@ their authenticity and integrity (@pxref{Substitutes}). Because
|
||||
readable by the system administrator, it must be started as root; the
|
||||
@code{--user} option makes it drop root privileges early on.
|
||||
|
||||
The signing key pair must be generated before @command{guix publish} is
|
||||
launched, using @command{guix archive --generate-key} (@pxref{Invoking
|
||||
guix archive}).
|
||||
|
||||
The general syntax is:
|
||||
|
||||
@example
|
||||
@@ -4863,6 +4924,11 @@ Reference Manual}) on @var{port} (37146 by default). This is used
|
||||
primarily for debugging a running @command{guix publish} server.
|
||||
@end table
|
||||
|
||||
Enabling @command{guix publish} on a GuixSD system is a one-liner: just
|
||||
add a call to @code{guix-publish-service} in the @code{services} field
|
||||
of the @code{operating-system} declaration (@pxref{guix-publish-service,
|
||||
@code{guix-publish-service}}).
|
||||
|
||||
|
||||
@node Invoking guix challenge
|
||||
@section Invoking @command{guix challenge}
|
||||
@@ -4937,7 +5003,7 @@ these lines (@pxref{Invoking guix archive}):
|
||||
@example
|
||||
$ wget -q -O - http://hydra.gnu.org/nar/@dots{}-git-2.5.0 \
|
||||
| guix archive -x /tmp/git
|
||||
$ diff -ur /gnu/store/@dots{}-git.2.5.0 /tmp/git
|
||||
$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git
|
||||
@end example
|
||||
|
||||
This command shows the difference between the files resulting from the
|
||||
@@ -4985,6 +5051,60 @@ URLs to compare to.
|
||||
@end table
|
||||
|
||||
|
||||
@node Invoking guix container
|
||||
@section Invoking @command{guix container}
|
||||
@cindex container
|
||||
|
||||
@quotation Note
|
||||
As of version @value{VERSION}, this tool is experimental. The interface
|
||||
is subject to radical change in the future.
|
||||
@end quotation
|
||||
|
||||
The purpose of @command{guix container} is to manipulate processes
|
||||
running within an isolated environment, commonly known as a
|
||||
``container'', typically created by the @command{guix environment}
|
||||
(@pxref{Invoking guix environment}) and @command{guix system container}
|
||||
(@pxref{Invoking guix system}) commands.
|
||||
|
||||
The general syntax is:
|
||||
|
||||
@example
|
||||
guix container @var{action} @var{options}@dots{}
|
||||
@end example
|
||||
|
||||
@var{action} specifies the operation to perform with a container, and
|
||||
@var{options} specifies the context-specific arguments for the action.
|
||||
|
||||
The following actions are available:
|
||||
|
||||
@table @code
|
||||
@item exec
|
||||
Execute a command within the context of a running container.
|
||||
|
||||
The syntax is:
|
||||
|
||||
@example
|
||||
guix container exec @var{pid} @var{program} @var{arguments}@dots{}
|
||||
@end example
|
||||
|
||||
@var{pid} specifies the process ID of the running container.
|
||||
@var{program} specifies an executable file name within the container's
|
||||
root file system. @var{arguments} are the additional options that will
|
||||
be passed to @var{program}.
|
||||
|
||||
The following command launches an interactive login shell inside a
|
||||
GuixSD container, started by @command{guix system container}, and whose
|
||||
process ID is 9001:
|
||||
|
||||
@example
|
||||
guix container exec 9001 /run/current-system/profile/bin/bash --login
|
||||
@end example
|
||||
|
||||
Note that the @var{pid} cannot be the parent process of a container. It
|
||||
must be the container's PID 1 or one of its child processes.
|
||||
|
||||
@end table
|
||||
|
||||
@c *********************************************************************
|
||||
@node GNU Distribution
|
||||
@chapter GNU Distribution
|
||||
@@ -5190,14 +5310,25 @@ Setting up network access is almost always a requirement because the
|
||||
image does not contain all the software and tools that may be needed.
|
||||
|
||||
@item
|
||||
Unless this has already been done, you must partition and format the
|
||||
target partitions.
|
||||
Unless this has already been done, you must partition, and then format
|
||||
the target partition.
|
||||
|
||||
Preferably, assign partitions a label so that you can easily and
|
||||
reliably refer to them in @code{file-system} declarations (@pxref{File
|
||||
Systems}). This is typically done using the @code{-L} option of
|
||||
@command{mkfs.ext4} and related commands.
|
||||
|
||||
@c FIXME: Uncomment this once GRUB fully supports encrypted roots.
|
||||
@c A typical command sequence may be:
|
||||
@c
|
||||
@c @example
|
||||
@c # fdisk /dev/sdX
|
||||
@c @dots{} Create partitions etc.@dots{}
|
||||
@c # cryptsetup luksFormat /dev/sdX1
|
||||
@c # cryptsetup open --type luks /dev/sdX1 my-partition
|
||||
@c # mkfs.ext4 -L my-root /dev/mapper/my-partition
|
||||
@c @end example
|
||||
|
||||
The installation image includes Parted (@pxref{Overview,,, parted, GNU
|
||||
Parted User Manual}), @command{fdisk}, Cryptsetup/LUKS for disk
|
||||
encryption, and e2fsprogs, the suite of tools to manipulate
|
||||
@@ -5338,7 +5469,7 @@ addition to the per-user profiles (@pxref{Invoking guix package}). The
|
||||
for basic user and administrator tasks---including the GNU Core
|
||||
Utilities, the GNU Networking Utilities, the GNU Zile lightweight text
|
||||
editor, @command{find}, @command{grep}, etc. The example above adds
|
||||
Emacs to those, taken from the @code{(gnu packages emacs)} module
|
||||
tcpdump to those, taken from the @code{(gnu packages admin)} module
|
||||
(@pxref{Package Modules}).
|
||||
|
||||
@vindex %base-services
|
||||
@@ -5346,16 +5477,40 @@ The @code{services} field lists @dfn{system services} to be made
|
||||
available when the system starts (@pxref{Services}).
|
||||
The @code{operating-system} declaration above specifies that, in
|
||||
addition to the basic services, we want the @command{lshd} secure shell
|
||||
daemon listening on port 2222, and allowing remote @code{root} logins
|
||||
(@pxref{Invoking lshd,,, lsh, GNU lsh Manual}). Under the hood,
|
||||
daemon listening on port 2222 (@pxref{Networking Services,
|
||||
@code{lsh-service}}). Under the hood,
|
||||
@code{lsh-service} arranges so that @code{lshd} is started with the
|
||||
right command-line options, possibly with supporting configuration files
|
||||
generated as needed (@pxref{Defining Services}). @xref{operating-system
|
||||
Reference}, for details about the available @code{operating-system}
|
||||
fields.
|
||||
generated as needed (@pxref{Defining Services}).
|
||||
|
||||
@cindex customization, of services
|
||||
@findex modify-services
|
||||
Occasionally, instead of using the base services as is, you will want to
|
||||
customize them. For instance, to change the configuration of
|
||||
@code{guix-daemon} and Mingetty (the console log-in), you may write the
|
||||
following instead of @var{%base-services}:
|
||||
|
||||
@lisp
|
||||
(modify-services %base-services
|
||||
(guix-service-type config =>
|
||||
(guix-configuration
|
||||
(inherit config)
|
||||
(use-substitutes? #f)
|
||||
(extra-options '("--gc-keep-outputs"))))
|
||||
(mingetty-service-type config =>
|
||||
(mingetty-configuration
|
||||
(inherit config)
|
||||
(motd (plain-file "motd" "Hi there!")))))
|
||||
@end lisp
|
||||
|
||||
@noindent
|
||||
The effect here is to change the options passed to @command{guix-daemon}
|
||||
when it is started, as well as the ``message of the day'' that appears
|
||||
when logging in at the console. @xref{Service Reference,
|
||||
@code{modify-services}}, for more on that.
|
||||
|
||||
The configuration for a typical ``desktop'' usage, with the X11 display
|
||||
server, a desktop environment, network management, an SSH server, and
|
||||
server, a desktop environment, network management, power management, and
|
||||
more, would look like this:
|
||||
|
||||
@lisp
|
||||
@@ -5365,13 +5520,30 @@ more, would look like this:
|
||||
@xref{Desktop Services}, for the exact list of services provided by
|
||||
@var{%desktop-services}. @xref{X.509 Certificates}, for background
|
||||
information about the @code{nss-certs} package that is used here.
|
||||
@xref{operating-system Reference}, for details about all the available
|
||||
@code{operating-system} fields.
|
||||
|
||||
Assuming the above snippet is stored in the @file{my-system-config.scm}
|
||||
file, the @command{guix system reconfigure my-system-config.scm} command
|
||||
instantiates that configuration, and makes it the default GRUB boot
|
||||
entry (@pxref{Invoking guix system}). The normal way to change the
|
||||
system's configuration is by updating this file and re-running the
|
||||
@command{guix system} command.
|
||||
entry (@pxref{Invoking guix system}).
|
||||
|
||||
The normal way to change the system's configuration is by updating this
|
||||
file and re-running @command{guix system reconfigure}. One should never
|
||||
have to touch files in @command{/etc} or to run commands that modify the
|
||||
system state such as @command{useradd} or @command{grub-install}. In
|
||||
fact, you must avoid that since that would not only void your warranty
|
||||
but also prevent you from rolling back to previous versions of your
|
||||
system, should you ever need to.
|
||||
|
||||
@cindex roll-back, of the operating system
|
||||
Speaking of roll-back, each time you run @command{guix system
|
||||
reconfigure}, a new @dfn{generation} of the system is created---without
|
||||
modifying or deleting previous generations. Old system generations get
|
||||
an entry in the GRUB boot menu, allowing you to boot them in case
|
||||
something went wrong with the latest generation. Reassuring, no? The
|
||||
@command{guix system list-generations} command lists the system
|
||||
generations available on disk.
|
||||
|
||||
At the Scheme level, the bulk of an @code{operating-system} declaration
|
||||
is instantiated with the following monadic procedure (@pxref{The Store
|
||||
@@ -5483,6 +5655,11 @@ Library Reference Manual}). @xref{Locales}, for more information.
|
||||
The list of locale definitions to be compiled and that may be used at
|
||||
run time. @xref{Locales}.
|
||||
|
||||
@item @code{locale-libcs} (default: @code{(list @var{glibc})})
|
||||
The list of GNU@tie{}libc packages whose locale data and tools are used
|
||||
to build the locale definitions. @xref{Locales}, for compatibility
|
||||
considerations that justify this option.
|
||||
|
||||
@item @code{name-service-switch} (default: @var{%default-nss})
|
||||
Configuration of libc's name service switch (NSS)---a
|
||||
@code{<name-service-switch>} object. @xref{Name Service Switch}, for
|
||||
@@ -5941,6 +6118,57 @@ instance it has @code{uk_UA.utf8} but @emph{not}, say,
|
||||
@code{uk_UA.UTF-8}.
|
||||
@end defvr
|
||||
|
||||
@subsubsection Locale Data Compatibility Considerations
|
||||
|
||||
@cindex incompatibility, of locale data
|
||||
@code{operating-system} declarations provide a @code{locale-libcs} field
|
||||
to specify the GNU@tie{}libc packages that are used to compile locale
|
||||
declarations (@pxref{operating-system Reference}). ``Why would I
|
||||
care?'', you may ask. Well, it turns out that the binary format of
|
||||
locale data is occasionally incompatible from one libc version to
|
||||
another.
|
||||
|
||||
@c See <https://sourceware.org/ml/libc-alpha/2015-09/msg00575.html>
|
||||
@c and <https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00737.html>.
|
||||
For instance, a program linked against libc version 2.21 is unable to
|
||||
read locale data produced with libc 2.22; worse, that program
|
||||
@emph{aborts} instead of simply ignoring the incompatible locale
|
||||
data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip
|
||||
the incompatible locale data, which is already an improvement.}.
|
||||
Similarly, a program linked against libc 2.22 can read most, but not
|
||||
all, the locale data from libc 2.21 (specifically, @code{LC_COLLATE}
|
||||
data is incompatible); thus calls to @code{setlocale} may fail, but
|
||||
programs will not abort.
|
||||
|
||||
The ``problem'' in GuixSD is that users have a lot of freedom: They can
|
||||
choose whether and when to upgrade software in their profiles, and might
|
||||
be using a libc version different from the one the system administrator
|
||||
used to build the system-wide locale data.
|
||||
|
||||
Fortunately, unprivileged users can also install their own locale data
|
||||
and define @var{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath,
|
||||
@code{GUIX_LOCPATH} and locale packages}).
|
||||
|
||||
Still, it is best if the system-wide locale data at
|
||||
@file{/run/current-system/locale} is built for all the libc versions
|
||||
actually in use on the system, so that all the programs can access
|
||||
it---this is especially crucial on a multi-user system. To do that, the
|
||||
administrator can specify several libc packages in the
|
||||
@code{locale-libcs} field of @code{operating-system}:
|
||||
|
||||
@example
|
||||
(use-package-modules base)
|
||||
|
||||
(operating-system
|
||||
;; @dots{}
|
||||
(locale-libcs (list glibc-2.21 (canonical-package glibc))))
|
||||
@end example
|
||||
|
||||
This example would lead to a system containing locale definitions for
|
||||
both libc 2.21 and the current version of libc in
|
||||
@file{/run/current-system/locale}.
|
||||
|
||||
|
||||
@node Services
|
||||
@subsection Services
|
||||
|
||||
@@ -6185,6 +6413,9 @@ Whether to authorize the substitute key for @code{hydra.gnu.org}
|
||||
@item @code{use-substitutes?} (default: @code{#t})
|
||||
Whether to use substitutes.
|
||||
|
||||
@item @code{substitute-urls} (default: @var{%default-substitute-urls})
|
||||
The list of URLs where to look for substitutes by default.
|
||||
|
||||
@item @code{extra-options} (default: @code{'()})
|
||||
List of extra command-line options for @command{guix-daemon}.
|
||||
|
||||
@@ -6209,6 +6440,17 @@ Return a service to load console keymap from @var{file} using
|
||||
@command{loadkeys} command.
|
||||
@end deffn
|
||||
|
||||
@anchor{guix-publish-service}
|
||||
@deffn {Scheme Procedure} guix-publish-service [#:guix @var{guix}] @
|
||||
[#:port 80] [#:host "localhost"]
|
||||
Return a service that runs @command{guix publish} listening on @var{host}
|
||||
and @var{port} (@pxref{Invoking guix publish}).
|
||||
|
||||
This assumes that @file{/etc/guix} already contains a signing key pair as
|
||||
created by @command{guix archive --generate-key} (@pxref{Invoking guix
|
||||
archive}). If that is not the case, the service will fail to start.
|
||||
@end deffn
|
||||
|
||||
|
||||
@node Networking Services
|
||||
@subsubsection Networking Services
|
||||
@@ -6230,9 +6472,15 @@ gateway.
|
||||
@end deffn
|
||||
|
||||
@cindex wicd
|
||||
@cindex network management
|
||||
@deffn {Scheme Procedure} wicd-service [#:wicd @var{wicd}]
|
||||
Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a
|
||||
network manager that aims to simplify wired and wireless networking.
|
||||
Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network
|
||||
management daemon that aims to simplify wired and wireless networking.
|
||||
|
||||
This service adds the @var{wicd} package to the global profile, providing
|
||||
several commands to interact with the daemon and configure networking:
|
||||
@command{wicd-client}, a graphical user interface, and the @command{wicd-cli}
|
||||
and @command{wicd-curses} user interfaces.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} ntp-service [#:ntp @var{ntp}] @
|
||||
@@ -6246,11 +6494,13 @@ keep the system clock synchronized with that of @var{servers}.
|
||||
List of host names used as the default NTP servers.
|
||||
@end defvr
|
||||
|
||||
@deffn {Scheme Procedure} tor-service [#:tor tor]
|
||||
Return a service to run the @uref{https://torproject.org,Tor} daemon.
|
||||
@deffn {Scheme Procedure} tor-service [@var{config-file}] [#:tor @var{tor}]
|
||||
Return a service to run the @uref{https://torproject.org, Tor} anonymous
|
||||
networking daemon.
|
||||
|
||||
The daemon runs with the default settings (in particular the default exit
|
||||
policy) as the @code{tor} unprivileged user.
|
||||
The daemon runs as the @code{tor} unprivileged user. It is passed
|
||||
@var{config-file}, a file-like object, with an additional @code{User tor}
|
||||
line. Run @command{man tor} for information about the configuration file.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} bitlbee-service [#:bitlbee bitlbee] @
|
||||
@@ -6346,7 +6596,9 @@ mDNS/DNS-SD responder that allows for service discovery and
|
||||
"zero-configuration" host name lookups (see @uref{http://avahi.org/}), and
|
||||
extends the name service cache daemon (nscd) so that it can resolve
|
||||
@code{.local} host names using
|
||||
@uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}.
|
||||
@uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. Additionally,
|
||||
add the @var{avahi} package to the system profile so that commands such as
|
||||
@command{avahi-browse} are directly usable.
|
||||
|
||||
If @var{host-name} is different from @code{#f}, use that as the host name to
|
||||
publish for this machine; otherwise, use the machine's actual host name.
|
||||
@@ -6434,6 +6686,19 @@ Last, @var{extra-config} is a list of strings or objects appended to the
|
||||
verbatim to the configuration file.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} screen-locker-service @var{package} [@var{name}]
|
||||
Add @var{package}, a package for a screen-locker or screen-saver whose
|
||||
command is @var{program}, to the set of setuid programs and add a PAM entry
|
||||
for it. For example:
|
||||
|
||||
@lisp
|
||||
(screen-locker-service xlockmore "xlock")
|
||||
@end lisp
|
||||
|
||||
makes the good ol' XlockMore usable.
|
||||
@end deffn
|
||||
|
||||
|
||||
@node Desktop Services
|
||||
@subsubsection Desktop Services
|
||||
|
||||
@@ -6451,7 +6716,8 @@ This is a list of services that builds upon @var{%base-services} and
|
||||
adds or adjust services for a typical ``desktop'' setup.
|
||||
|
||||
In particular, it adds a graphical login manager (@pxref{X Window,
|
||||
@code{slim-service}}), a network management tool (@pxref{Networking
|
||||
@code{slim-service}}), screen lockers,
|
||||
a network management tool (@pxref{Networking
|
||||
Services, @code{wicd-service}}), energy and color management services,
|
||||
the @code{elogind} login and seat manager, the Polkit privilege service,
|
||||
the GeoClue location service, an NTP client (@pxref{Networking
|
||||
@@ -6553,12 +6819,13 @@ their default values are:
|
||||
|
||||
@deffn {Scheme Procedure} polkit-service @
|
||||
[#:polkit @var{polkit}]
|
||||
Return a service that runs the Polkit privilege manager.
|
||||
@uref{http://www.freedesktop.org/wiki/Software/polkit/, Polkit} allows
|
||||
system administrators to grant access to privileged operations in a
|
||||
structured way. For example, polkit rules can allow a logged-in user
|
||||
whose session is active to shut down the machine, if there are no other
|
||||
users active.
|
||||
Return a service that runs the
|
||||
@uref{http://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege
|
||||
management service}, which allows system administrators to grant access to
|
||||
privileged operations in a structured way. By querying the Polkit service, a
|
||||
privileged system component can know when it should grant additional
|
||||
capabilities to ordinary users. For example, an ordinary user can be granted
|
||||
the capability to suspend the system if the user is logged in locally.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} upower-service [#:upower @var{upower}] @
|
||||
@@ -6580,6 +6847,13 @@ levels, with the given configuration settings. It implements the
|
||||
GNOME.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} udisks-service [#:udisks @var{udisks}]
|
||||
Return a service for @uref{http://udisks.freedesktop.org/docs/latest/,
|
||||
UDisks}, a @dfn{disk management} daemon that provides user interfaces with
|
||||
notifications and ways to mount/unmount disks. Programs that talk to UDisks
|
||||
include the @command{udisksctl} command, part of UDisks, and GNOME Disks.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} colord-service [#:colord @var{colord}]
|
||||
Return a service that runs @command{colord}, a system service with a D-Bus
|
||||
interface to manage the color profiles of input and output devices such as
|
||||
@@ -7077,7 +7351,7 @@ supported:
|
||||
@item reconfigure
|
||||
Build the operating system described in @var{file}, activate it, and
|
||||
switch to it@footnote{This action is usable only on systems already
|
||||
running GNU.}.
|
||||
running GuixSD.}.
|
||||
|
||||
This effects all the configuration specified in @var{file}: user
|
||||
accounts, system services, global package list, setuid programs, etc.
|
||||
@@ -7168,6 +7442,31 @@ using the following command:
|
||||
# dd if=$(guix system disk-image my-os.scm) of=/dev/sdc
|
||||
@end example
|
||||
|
||||
@item container
|
||||
Return a script to run the operating system declared in @var{file}
|
||||
within a container. Containers are a set of lightweight isolation
|
||||
mechanisms provided by the kernel Linux-libre. Containers are
|
||||
substantially less resource-demanding than full virtual machines since
|
||||
the kernel, shared objects, and other resources can be shared with the
|
||||
host system; this also means they provide thinner isolation.
|
||||
|
||||
Currently, the script must be run as root in order to support more than
|
||||
a single user and group. The container shares its store with the host
|
||||
system.
|
||||
|
||||
As with the @code{vm} action (@pxref{guix system vm}), additional file
|
||||
systems to be shared between the host and container can be specified
|
||||
using the @option{--share} and @option{--expose} options:
|
||||
|
||||
@example
|
||||
guix system container my-config.scm \
|
||||
--expose=$HOME --share=$HOME/tmp=/exchange
|
||||
@end example
|
||||
|
||||
@quotation Note
|
||||
This option requires Linux-libre 3.19 or newer.
|
||||
@end quotation
|
||||
|
||||
@end table
|
||||
|
||||
@var{options} can contain any of the common build options provided by
|
||||
@@ -7218,6 +7517,30 @@ KVM kernel module should be loaded, and the @file{/dev/kvm} device node
|
||||
must exist and be readable and writable by the user and by the daemon's
|
||||
build users.
|
||||
|
||||
Once you have built, configured, re-configured, and re-re-configured
|
||||
your GuixSD installation, you may find it useful to list the operating
|
||||
system generations available on disk---and that you can choose from the
|
||||
GRUB boot menu:
|
||||
|
||||
@table @code
|
||||
|
||||
@item list-generations
|
||||
List a summary of each generation of the operating system available on
|
||||
disk, in a human-readable way. This is similar to the
|
||||
@option{--list-generations} option of @command{guix package}
|
||||
(@pxref{Invoking guix package}).
|
||||
|
||||
Optionally, one can specify a pattern, with the same syntax that is used
|
||||
in @command{guix package --list-generations}, to restrict the list of
|
||||
generations displayed. For instance, the following command displays
|
||||
generations up to 10-day old:
|
||||
|
||||
@example
|
||||
$ guix system list-generations 10d
|
||||
@end example
|
||||
|
||||
@end table
|
||||
|
||||
The @command{guix system} command has even more to offer! The following
|
||||
sub-commands allow you to visualize how your system services relate to
|
||||
each other:
|
||||
@@ -7299,8 +7622,11 @@ as arrows, a typical system might provide something like this:
|
||||
|
||||
@image{images/service-graph,,5in,Typical service extension graph.}
|
||||
|
||||
At the bottom, we see the @dfn{boot service}, which produces the boot
|
||||
script that is executed at boot time from the initial RAM disk.
|
||||
@cindex system service
|
||||
At the bottom, we see the @dfn{system service}, which produces the
|
||||
directory containing everything to run and boot the system, as returned
|
||||
by the @command{guix system build} command. @xref{Service Reference},
|
||||
to learn about the other service types shown here.
|
||||
@xref{system-extension-graph, the @command{guix system extension-graph}
|
||||
command}, for information on how to generate this representation for a
|
||||
particular operating system definition.
|
||||
@@ -7480,6 +7806,41 @@ Here is an example of how a service is created and manipulated:
|
||||
@result{} #t
|
||||
@end example
|
||||
|
||||
The @code{modify-services} form provides a handy way to change the
|
||||
parameters of some of the services of a list such as
|
||||
@var{%base-services} (@pxref{Base Services, @code{%base-services}}). Of
|
||||
course, you could always use standard list combinators such as
|
||||
@code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,,
|
||||
guile, GNU Guile Reference Manual}); @code{modify-services} simply
|
||||
provides a more concise form for this common pattern.
|
||||
|
||||
@deffn {Scheme Syntax} modify-services @var{services} @
|
||||
(@var{type} @var{variable} => @var{body}) @dots{}
|
||||
|
||||
Modify the services listed in @var{services} according to the given
|
||||
clauses. Each clause has the form:
|
||||
|
||||
@example
|
||||
(@var{type} @var{variable} => @var{body})
|
||||
@end example
|
||||
|
||||
where @var{type} is a service type, such as @var{guix-service-type}, and
|
||||
@var{variable} is an identifier that is bound within @var{body} to the
|
||||
value of the service of that @var{type}. @xref{Using the Configuration
|
||||
System}, for an example.
|
||||
|
||||
This is a shorthand for:
|
||||
|
||||
@example
|
||||
(map (lambda (service) @dots{}) @var{services})
|
||||
@end example
|
||||
@end deffn
|
||||
|
||||
Next comes the programming interface for service types. This is
|
||||
something you want to know when writing new service definitions, but not
|
||||
necessarily when simply looking for ways to customize your
|
||||
@code{operating-system} declaration.
|
||||
|
||||
@deftp {Data Type} service-type
|
||||
@cindex service type
|
||||
This is the representation of a @dfn{service type} (@pxref{Service Types
|
||||
@@ -7528,12 +7889,14 @@ Return true if @var{obj} is a service extension.
|
||||
|
||||
At the core of the service abstraction lies the @code{fold-services}
|
||||
procedure, which is responsible for ``compiling'' a list of services
|
||||
down to a single boot script. In essence, it propagates service
|
||||
extensions down the service graph, updating each node parameters on the
|
||||
way, until it reaches the root node.
|
||||
down to a single directory that contains everything needed to boot and
|
||||
run the system---the directory shown by the @command{guix system build}
|
||||
command (@pxref{Invoking guix system}). In essence, it propagates
|
||||
service extensions down the service graph, updating each node parameters
|
||||
on the way, until it reaches the root node.
|
||||
|
||||
@deffn {Scheme Procedure} fold-services @var{services} @
|
||||
[#:target-type @var{boot-service-type}]
|
||||
[#:target-type @var{system-service-type}]
|
||||
Fold @var{services} by propagating their extensions down to the root of
|
||||
type @var{target-type}; return the root service adjusted accordingly.
|
||||
@end deffn
|
||||
@@ -7541,9 +7904,14 @@ type @var{target-type}; return the root service adjusted accordingly.
|
||||
Lastly, the @code{(gnu services)} module also defines several essential
|
||||
service types, some of which are listed below.
|
||||
|
||||
@defvr {Scheme Variable} system-service-type
|
||||
This is the root of the service graph. It produces the system directory
|
||||
as returned by the @command{guix system build} command.
|
||||
@end defvr
|
||||
|
||||
@defvr {Scheme Variable} boot-service-type
|
||||
The type of the ``boot service'', which is the root of the service
|
||||
graph.
|
||||
The type of the ``boot service'', which produces the @dfn{boot script}.
|
||||
The boot script is what the initial RAM disk runs when booting.
|
||||
@end defvr
|
||||
|
||||
@defvr {Scheme Variable} etc-service-type
|
||||
@@ -7564,6 +7932,12 @@ executable file names, passed as gexps, and adds them to the set of
|
||||
setuid-root programs on the system (@pxref{Setuid Programs}).
|
||||
@end defvr
|
||||
|
||||
@defvr {Scheme Variable} profile-service-type
|
||||
Type of the service that populates the @dfn{system profile}---i.e., the
|
||||
programs under @file{/run/current-system/profile}. Other services can
|
||||
extend it by passing it lists of packages to add to the system profile.
|
||||
@end defvr
|
||||
|
||||
|
||||
@node dmd Services
|
||||
@subsubsection dmd Services
|
||||
@@ -8301,7 +8675,8 @@ reason.
|
||||
@node Acknowledgments
|
||||
@chapter Acknowledgments
|
||||
|
||||
Guix is based on the Nix package manager, which was designed and
|
||||
Guix is based on the @uref{http://nixos.org/nix/, Nix package manager},
|
||||
which was designed and
|
||||
implemented by Eelco Dolstra, with contributions from other people (see
|
||||
the @file{nix/AUTHORS} file in Guix.) Nix pioneered functional package
|
||||
management, and promoted unprecedented features, such as transactional
|
||||
|
||||
@@ -2,9 +2,11 @@ digraph "Service Type Dependencies" {
|
||||
dmd [shape = box, fontname = Helvetica];
|
||||
pam [shape = box, fontname = Helvetica];
|
||||
etc [shape = box, fontname = Helvetica];
|
||||
profile [shape = box, fontname = Helvetica];
|
||||
accounts [shape = box, fontname = Helvetica];
|
||||
activation [shape = box, fontname = Helvetica];
|
||||
boot [shape = house, fontname = Helvetica];
|
||||
boot [shape = box, fontname = Helvetica];
|
||||
system [shape = house, fontname = Helvetica];
|
||||
lshd -> dmd;
|
||||
lshd -> pam;
|
||||
udev -> dmd;
|
||||
@@ -32,4 +34,7 @@ digraph "Service Type Dependencies" {
|
||||
guix -> dmd;
|
||||
guix -> activation;
|
||||
guix -> accounts;
|
||||
boot -> system;
|
||||
etc -> system;
|
||||
profile -> system;
|
||||
}
|
||||
|
||||
+5
-1
@@ -186,6 +186,10 @@ For the meaning of location, see `guix-find-location'."
|
||||
"Return a list of names of available graph node types."
|
||||
(guix-eval-read (guix-make-guile-expression 'graph-type-names)))
|
||||
|
||||
(guix-memoized-defun guix-refresh-updater-names ()
|
||||
"Return a list of names of available refresh updater types."
|
||||
(guix-eval-read (guix-make-guile-expression 'refresh-updater-names)))
|
||||
|
||||
(guix-memoized-defun guix-lint-checker-names ()
|
||||
"Return a list of names of available lint checkers."
|
||||
(guix-eval-read (guix-make-guile-expression 'lint-checker-names)))
|
||||
@@ -1035,7 +1039,7 @@ Each element from GENERATIONS is a generation number."
|
||||
profile generation)))
|
||||
(guix-eval-in-repl
|
||||
(guix-make-guile-expression
|
||||
'switch-to-generation profile generation)
|
||||
'switch-to-generation* profile generation)
|
||||
operation-buffer)))
|
||||
|
||||
(defun guix-package-source-path (package-id)
|
||||
|
||||
+44
-7
@@ -102,10 +102,13 @@
|
||||
"Face for the number of seconds for a phase."
|
||||
:group 'guix-build-log-faces)
|
||||
|
||||
(defcustom guix-build-log-mode-hook
|
||||
;; Not using `compilation-minor-mode' because it rebinds some standard
|
||||
;; keys, including M-n/M-p.
|
||||
'(compilation-shell-minor-mode view-mode)
|
||||
(defcustom guix-build-log-minor-mode-activate t
|
||||
"If non-nil, then `guix-build-log-minor-mode' is automatically
|
||||
activated in `shell-mode' buffers."
|
||||
:type 'boolean
|
||||
:group 'guix-build-log)
|
||||
|
||||
(defcustom guix-build-log-mode-hook '()
|
||||
"Hook run after `guix-build-log-mode' is entered."
|
||||
:type 'hook
|
||||
:group 'guix-build-log)
|
||||
@@ -178,9 +181,8 @@ STATE is a symbol denoting how a build phase was ended. It should be
|
||||
(3 'guix-build-log-phase-seconds prepend)))
|
||||
"A list of `font-lock-keywords' for `guix-build-log-mode'.")
|
||||
|
||||
(defvar guix-build-log-mode-map
|
||||
(defvar guix-build-log-common-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(set-keymap-parent map special-mode-map)
|
||||
(define-key map (kbd "M-n") 'guix-build-log-next-phase)
|
||||
(define-key map (kbd "M-p") 'guix-build-log-previous-phase)
|
||||
(define-key map (kbd "TAB") 'guix-build-log-phase-toggle)
|
||||
@@ -188,8 +190,26 @@ STATE is a symbol denoting how a build phase was ended. It should be
|
||||
(define-key map (kbd "<backtab>") 'guix-build-log-phase-toggle-all)
|
||||
(define-key map [(shift tab)] 'guix-build-log-phase-toggle-all)
|
||||
map)
|
||||
"Parent keymap for 'build-log' buffers.
|
||||
For `guix-build-log-mode' this map is used as is.
|
||||
For `guix-build-log-minor-mode' this map is prefixed with 'C-c'.")
|
||||
|
||||
(defvar guix-build-log-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(set-keymap-parent
|
||||
map (make-composed-keymap (list guix-build-log-common-map)
|
||||
special-mode-map))
|
||||
(define-key map (kbd "c") 'compilation-shell-minor-mode)
|
||||
(define-key map (kbd "v") 'view-mode)
|
||||
map)
|
||||
"Keymap for `guix-build-log-mode' buffers.")
|
||||
|
||||
(defvar guix-build-log-minor-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(define-key map (kbd "C-c") guix-build-log-common-map)
|
||||
map)
|
||||
"Keymap for `guix-build-log-minor-mode' buffers.")
|
||||
|
||||
(defun guix-build-log-phase-start (&optional with-header?)
|
||||
"Return the start point of the current build phase.
|
||||
If WITH-HEADER? is non-nil, do not skip 'starting phase ...' header.
|
||||
@@ -319,9 +339,12 @@ When Guix Build Log minor mode is enabled, it highlights build
|
||||
log in the current buffer. This mode can be enabled
|
||||
programmatically using hooks:
|
||||
|
||||
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode)"
|
||||
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode)
|
||||
|
||||
\\{guix-build-log-minor-mode-map}"
|
||||
:init-value nil
|
||||
:lighter " Guix-Build-Log"
|
||||
:keymap guix-build-log-minor-mode-map
|
||||
:group 'guix-build-log
|
||||
(if guix-build-log-minor-mode
|
||||
(font-lock-add-keywords nil guix-build-log-font-lock-keywords)
|
||||
@@ -329,6 +352,20 @@ programmatically using hooks:
|
||||
(when font-lock-mode
|
||||
(font-lock-fontify-buffer)))
|
||||
|
||||
;;;###autoload
|
||||
(defun guix-build-log-minor-mode-activate-maybe ()
|
||||
"Activate `guix-build-log-minor-mode' depending on
|
||||
`guix-build-log-minor-mode-activate' variable."
|
||||
(when guix-build-log-minor-mode-activate
|
||||
(guix-build-log-minor-mode)))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'auto-mode-alist
|
||||
;; Regexp for log files (usually placed in /var/log/guix/...)
|
||||
(cons (rx "/guix/drvs/" (= 2 alnum) "/" (= 30 alnum)
|
||||
"-" (+ (any alnum "-+.")) ".drv" string-end)
|
||||
'guix-build-log-mode))
|
||||
|
||||
(provide 'guix-build-log)
|
||||
|
||||
;;; guix-build-log.el ends here
|
||||
|
||||
@@ -241,6 +241,7 @@ to be modified."
|
||||
(guix-command-define-argument-improver
|
||||
guix-command-improve-refresh-argument
|
||||
'(("--select" :fun guix-read-refresh-subset)
|
||||
("--type" :fun guix-read-refresh-updater-names-string)
|
||||
("--key-server" :char ?S)))
|
||||
|
||||
(guix-command-define-argument-improver
|
||||
@@ -364,8 +365,9 @@ to be modified."
|
||||
:name "-- " :char ?= :option? t args)))
|
||||
(let ((command (car commands)))
|
||||
(cond
|
||||
((member command '("archive" "build" "graph" "edit"
|
||||
"environment" "lint" "refresh"))
|
||||
((member command
|
||||
'("archive" "build" "challenge" "edit" "environment"
|
||||
"graph" "lint" "refresh"))
|
||||
(argument :doc "Packages" :fun 'guix-read-package-names-string))
|
||||
((string= command "download")
|
||||
(argument :doc "URL"))
|
||||
|
||||
@@ -198,6 +198,7 @@ to find 'modify-phases' keywords."
|
||||
"mbegin"
|
||||
"mlet"
|
||||
"mlet*"
|
||||
"modify-services"
|
||||
"munless"
|
||||
"mwhen"
|
||||
"run-with-state"
|
||||
@@ -288,6 +289,7 @@ Each rule should have a form (SYMBOL VALUE). See `put' for details."
|
||||
(mlet 2)
|
||||
(mlet* 2)
|
||||
(modify-phases 1)
|
||||
(modify-services 1)
|
||||
(munless 1)
|
||||
(mwhen 1)
|
||||
(operating-system 0)
|
||||
|
||||
@@ -15,5 +15,6 @@ avoid loading autoloads of Emacs packages installed in
|
||||
(guix-emacs-load-autoloads 'all))
|
||||
|
||||
(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)
|
||||
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode-activate-maybe)
|
||||
|
||||
(provide 'guix-init)
|
||||
|
||||
@@ -991,6 +991,11 @@ Return #t if the shell command was executed successfully."
|
||||
"Return a list of names of available graph node types."
|
||||
(map node-type-name %node-types))
|
||||
|
||||
(define (refresh-updater-names)
|
||||
"Return a list of names of available refresh updater types."
|
||||
(map (@ (guix upstream) upstream-updater-name)
|
||||
(@ (guix scripts refresh) %updaters)))
|
||||
|
||||
(define (lint-checker-names)
|
||||
"Return a list of names of available lint checkers."
|
||||
(map (lambda (checker)
|
||||
|
||||
+16
-5
@@ -128,6 +128,13 @@ subcommands, actions, etc. for this guix COMMAND."
|
||||
guix-help-parse-regexp-group
|
||||
"graph" "--list-types"))
|
||||
|
||||
(guix-memoized-defun guix-pcomplete-refresh-updaters ()
|
||||
"Return a list of all available refresh updater types."
|
||||
(guix-pcomplete-run-guix-and-search
|
||||
guix-help-parse-list-regexp
|
||||
guix-help-parse-regexp-group
|
||||
"refresh" "--list-updaters"))
|
||||
|
||||
|
||||
;;; Completing
|
||||
|
||||
@@ -209,8 +216,8 @@ group - the argument.")
|
||||
"Complete argument for guix COMMAND."
|
||||
(cond
|
||||
((member command
|
||||
'("archive" "build" "graph" "edit" "environment"
|
||||
"lint" "refresh" "size"))
|
||||
'("archive" "build" "challenge" "edit" "environment"
|
||||
"graph" "lint" "refresh" "size"))
|
||||
(while t
|
||||
(pcomplete-here (guix-pcomplete-all-packages))))
|
||||
(t (pcomplete-here* (pcomplete-entries)))))
|
||||
@@ -287,9 +294,13 @@ INPUT is the current partially completed string."
|
||||
(option? "-u" "--user"))
|
||||
(complete* (pcmpl-unix-user-names)))
|
||||
|
||||
((and (command? "refresh")
|
||||
(option? "-s" "--select"))
|
||||
(complete* guix-help-refresh-subsets))
|
||||
((command? "refresh")
|
||||
(cond
|
||||
((option? "-s" "--select")
|
||||
(complete* guix-help-refresh-subsets))
|
||||
((option? "-t" "--type")
|
||||
(guix-pcomplete-complete-comma-args
|
||||
(guix-pcomplete-refresh-updaters)))))
|
||||
|
||||
((and (command? "size")
|
||||
(option? "-m" "--map-file"))
|
||||
|
||||
@@ -136,6 +136,12 @@ keywords are available:
|
||||
:single-reader guix-read-refresh-subset
|
||||
:single-prompt "Refresh subset: ")
|
||||
|
||||
(guix-define-readers
|
||||
:completions-getter guix-refresh-updater-names
|
||||
:multiple-reader guix-read-refresh-updater-names
|
||||
:multiple-prompt "Refresh updater,s: "
|
||||
:multiple-separator ",")
|
||||
|
||||
(guix-define-readers
|
||||
:completions-var guix-help-key-policies
|
||||
:single-reader guix-read-key-policy
|
||||
|
||||
+11
-7
@@ -25,7 +25,6 @@ GNU_SYSTEM_MODULES = \
|
||||
gnu.scm \
|
||||
gnu/artwork.scm \
|
||||
gnu/packages.scm \
|
||||
gnu/packages/aarddict.scm \
|
||||
gnu/packages/abduco.scm \
|
||||
gnu/packages/abiword.scm \
|
||||
gnu/packages/acct.scm \
|
||||
@@ -121,7 +120,6 @@ GNU_SYSTEM_MODULES = \
|
||||
gnu/packages/gcc.scm \
|
||||
gnu/packages/gd.scm \
|
||||
gnu/packages/gdb.scm \
|
||||
gnu/packages/gdbm.scm \
|
||||
gnu/packages/geeqie.scm \
|
||||
gnu/packages/gettext.scm \
|
||||
gnu/packages/ghostscript.scm \
|
||||
@@ -361,11 +359,11 @@ GNU_SYSTEM_MODULES = \
|
||||
gnu/system/file-systems.scm \
|
||||
gnu/system/grub.scm \
|
||||
gnu/system/install.scm \
|
||||
gnu/system/linux.scm \
|
||||
gnu/system/linux-container.scm \
|
||||
gnu/system/linux-initrd.scm \
|
||||
gnu/system/locale.scm \
|
||||
gnu/system/nss.scm \
|
||||
gnu/system/pam.scm \
|
||||
gnu/system/shadow.scm \
|
||||
gnu/system/vm.scm \
|
||||
\
|
||||
@@ -411,7 +409,9 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/binutils-ld-new-dtags.patch \
|
||||
gnu/packages/patches/binutils-loongson-workaround.patch \
|
||||
gnu/packages/patches/bitlbee-configure-doc-fix.patch \
|
||||
gnu/packages/patches/bluez-tests.patch \
|
||||
gnu/packages/patches/boost-mips-avoid-m32.patch \
|
||||
gnu/packages/patches/byobu-writable-status.patch \
|
||||
gnu/packages/patches/calibre-drop-unrar.patch \
|
||||
gnu/packages/patches/calibre-no-updates-dialog.patch \
|
||||
gnu/packages/patches/cdparanoia-fpic.patch \
|
||||
@@ -427,7 +427,7 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/cssc-missing-include.patch \
|
||||
gnu/packages/patches/clucene-contribs-lib.patch \
|
||||
gnu/packages/patches/cursynth-wave-rand.patch \
|
||||
gnu/packages/patches/dbus-localstatedir.patch \
|
||||
gnu/packages/patches/dbus-helper-search-path.patch \
|
||||
gnu/packages/patches/dealii-p4est-interface.patch \
|
||||
gnu/packages/patches/diffutils-gets-undeclared.patch \
|
||||
gnu/packages/patches/dfu-programmer-fix-libusb.patch \
|
||||
@@ -486,8 +486,6 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/grep-CVE-2015-1345.patch \
|
||||
gnu/packages/patches/grub-gets-undeclared.patch \
|
||||
gnu/packages/patches/grub-freetype.patch \
|
||||
gnu/packages/patches/gsl-poly-test-fix-pt1.patch \
|
||||
gnu/packages/patches/gsl-poly-test-fix-pt2.patch \
|
||||
gnu/packages/patches/guile-1.8-cpp-4.5.patch \
|
||||
gnu/packages/patches/guile-arm-fixes.patch \
|
||||
gnu/packages/patches/guile-default-utf8.patch \
|
||||
@@ -495,6 +493,7 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/guile-present-coding.patch \
|
||||
gnu/packages/patches/guile-relocatable.patch \
|
||||
gnu/packages/patches/guile-rsvg-pkgconfig.patch \
|
||||
gnu/packages/patches/guitarix-c++11.patch \
|
||||
gnu/packages/patches/gtkglext-disable-disable-deprecated.patch \
|
||||
gnu/packages/patches/hop-bigloo-4.0b.patch \
|
||||
gnu/packages/patches/hop-linker-flags.patch \
|
||||
@@ -521,6 +520,7 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/libarchive-mtree-filename-length-fix.patch \
|
||||
gnu/packages/patches/libbonobo-activation-test-race.patch \
|
||||
gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch \
|
||||
gnu/packages/patches/libdrm-symbol-check.patch \
|
||||
gnu/packages/patches/libevent-dns-tests.patch \
|
||||
gnu/packages/patches/libmtp-devices.patch \
|
||||
gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
|
||||
@@ -529,6 +529,7 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/libmad-armv7-thumb-pt2.patch \
|
||||
gnu/packages/patches/libmad-frame-length.patch \
|
||||
gnu/packages/patches/libmad-mips-newgcc.patch \
|
||||
gnu/packages/patches/librsvg-tests.patch \
|
||||
gnu/packages/patches/libtheora-config-guess.patch \
|
||||
gnu/packages/patches/libtool-skip-tests2.patch \
|
||||
gnu/packages/patches/libssh-CVE-2014-0017.patch \
|
||||
@@ -648,9 +649,11 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/unzip-CVE-2014-8140.patch \
|
||||
gnu/packages/patches/unzip-CVE-2014-8141.patch \
|
||||
gnu/packages/patches/unzip-CVE-2014-9636.patch \
|
||||
gnu/packages/patches/unzip-CVE-2015-7696.patch \
|
||||
gnu/packages/patches/unzip-CVE-2015-7697.patch \
|
||||
gnu/packages/patches/unzip-allow-greater-hostver-values.patch \
|
||||
gnu/packages/patches/unzip-attribs-overflow.patch \
|
||||
gnu/packages/patches/unzip-fix-overflows-and-infloop.patch \
|
||||
gnu/packages/patches/unzip-overflow-on-invalid-input.patch \
|
||||
gnu/packages/patches/unzip-format-secure.patch \
|
||||
gnu/packages/patches/unzip-initialize-symlink-flag.patch \
|
||||
gnu/packages/patches/unzip-overflow-long-fsize.patch \
|
||||
@@ -688,6 +691,7 @@ dist_patch_DATA = \
|
||||
gnu/packages/patches/xf86-video-trident-remove-mibstore.patch \
|
||||
gnu/packages/patches/xf86-video-vmware-glibc-2.20.patch \
|
||||
gnu/packages/patches/xfce4-panel-plugins.patch \
|
||||
gnu/packages/patches/xfce4-session-fix-xflock4.patch \
|
||||
gnu/packages/patches/xfce4-settings-defaults.patch \
|
||||
gnu/packages/patches/xmodmap-asprintf.patch \
|
||||
gnu/packages/patches/zathura-plugindir-environment-variable.patch
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
'((gnu system)
|
||||
(gnu system file-systems)
|
||||
(gnu system grub) ; 'grub-configuration'
|
||||
(gnu system linux) ; 'base-pam-services'
|
||||
(gnu system pam)
|
||||
(gnu system shadow) ; 'user-account'
|
||||
(gnu system linux-initrd)
|
||||
(gnu system nss)
|
||||
|
||||
@@ -19,16 +19,36 @@
|
||||
(define-module (gnu build linux-container)
|
||||
#:use-module (ice-9 format)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (ice-9 rdelim)
|
||||
#:use-module (srfi srfi-98)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build utils)
|
||||
#:use-module (guix build syscalls)
|
||||
#:use-module ((gnu build file-systems) #:select (mount-file-system))
|
||||
#:export (%namespaces
|
||||
#:export (user-namespace-supported?
|
||||
unprivileged-user-namespace-supported?
|
||||
setgroups-supported?
|
||||
%namespaces
|
||||
run-container
|
||||
call-with-container
|
||||
container-excursion))
|
||||
|
||||
(define (user-namespace-supported?)
|
||||
"Return #t if user namespaces are supported on this system."
|
||||
(file-exists? "/proc/self/ns/user"))
|
||||
|
||||
(define (unprivileged-user-namespace-supported?)
|
||||
"Return #t if user namespaces can be created by unprivileged users."
|
||||
(let ((userns-file "/proc/sys/kernel/unprivileged_userns_clone"))
|
||||
(if (file-exists? userns-file)
|
||||
(string=? "1" (call-with-input-file userns-file read-string))
|
||||
#t)))
|
||||
|
||||
(define (setgroups-supported?)
|
||||
"Return #t if the setgroups proc file, introduced in Linux-libre 3.19,
|
||||
exists."
|
||||
(file-exists? "/proc/self/setgroups"))
|
||||
|
||||
(define %namespaces
|
||||
'(mnt pid ipc uts user net))
|
||||
|
||||
@@ -165,7 +185,7 @@ host user identifiers to map into the user namespace."
|
||||
"Return the number suitable for the 'flags' argument of 'clone' that
|
||||
corresponds to the symbols in NAMESPACES."
|
||||
;; Use the same flags as fork(3) in addition to the namespace flags.
|
||||
(apply logior SIGCHLD CLONE_CHILD_CLEARTID CLONE_CHILD_SETTID
|
||||
(apply logior SIGCHLD
|
||||
(map (match-lambda
|
||||
('mnt CLONE_NEWNS)
|
||||
('uts CLONE_NEWUTS)
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages aarddict)
|
||||
#:use-module ((guix licenses) #:select (gpl3))
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages qt))
|
||||
|
||||
(define-public aarddict
|
||||
(package
|
||||
(name "aarddict")
|
||||
(version "0.9.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/aarddict/desktop/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"12h7m0z7nd7rg8avpi9syd265k0rhh4vbdh464nq0jzdg8m9p28c"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python2-pyicu" ,python2-pyicu)
|
||||
("python2-pyqt-4" ,python2-pyqt-4)
|
||||
("python2-setuptools" ,python2-setuptools)
|
||||
("python2-simplejson" ,python2-simplejson)
|
||||
("python2-sip" ,python2-sip)))
|
||||
(arguments
|
||||
`(#:python ,python-2 ; incompatible with Python 3
|
||||
#:phases
|
||||
(alist-cons-before
|
||||
'build 'configure
|
||||
;; Force data into the output instead of the python package.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute* "setup.py"
|
||||
(("sys.prefix") (string-append "'" out "'")))))
|
||||
%standard-phases)))
|
||||
(home-page "http://aarddict.org/index.html")
|
||||
(synopsis
|
||||
"Dictionary program and offline Wikipedia reader")
|
||||
(description
|
||||
"Aard Dictionary is a free, fast, easy to use word lookup program that
|
||||
looks up words fast even with huge dictionaries like English Wikipedia;
|
||||
looks up words in multiple dictionaries in multiple languages without
|
||||
switching;
|
||||
works great as offline Wikipedia reader;
|
||||
is keyboard navigation friendly;
|
||||
has efficient, highly compressed dictionary data storage format with
|
||||
ability to verify data integrity built-in.")
|
||||
(license gpl3)))
|
||||
@@ -485,14 +485,14 @@ tools: server, client, and relay agent.")
|
||||
(define-public libpcap
|
||||
(package
|
||||
(name "libpcap")
|
||||
(version "1.5.3")
|
||||
(version "1.7.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.tcpdump.org/release/libpcap-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"14wyjywrdi1ikaj6yc9c72m6m2r64z94lb0gm7k1a3q6q5cj3scs"))))
|
||||
"1c28ykkizd7jqgzrfkg7ivqjlqs9p6lygp26bsw2i0z8hwhi3lvs"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("bison" ,bison) ("flex" ,flex)))
|
||||
(arguments '(#:configure-flags '("--with-pcap=linux")
|
||||
@@ -510,14 +510,14 @@ network statistics collection, security monitoring, network debugging, etc.")
|
||||
(define-public tcpdump
|
||||
(package
|
||||
(name "tcpdump")
|
||||
(version "4.5.1")
|
||||
(version "4.7.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.tcpdump.org/release/tcpdump-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"15hb7zkzd66nag102qbv100hcnf7frglbkylmr8adwr8f5jkkaql"))))
|
||||
"1byr8w6grk08fsq0444jmcz9ar89lq9nf4mjq2cny0w9k8k21rbb"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("libpcap" ,libpcap)
|
||||
("openssl" ,openssl)))
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
@@ -125,6 +126,7 @@ solve the shortest vector problem.")
|
||||
"0k1qqagfl6zn7gvwmsqffj6g9yrzqvszwh2mblhmxpjlw1pigfh8"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("gmp" ,gmp)
|
||||
("libx11" ,libx11)
|
||||
("perl" ,perl)
|
||||
("readline" ,readline)))
|
||||
(arguments
|
||||
|
||||
+26
-39
@@ -152,13 +152,11 @@ streams from live audio.")
|
||||
libdir "/vamp" "\"]"))))
|
||||
#t))
|
||||
|
||||
(define-public ardour-3
|
||||
(define-public ardour
|
||||
(package
|
||||
(name "ardour")
|
||||
(version "3.5.403")
|
||||
(version "4.2")
|
||||
(source (origin
|
||||
;; The project only provides tarballs upon individual request
|
||||
;; (or after payment) so we take the code from git.
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "git://git.ardour.org/ardour/ardour.git")
|
||||
@@ -171,14 +169,15 @@ streams from live audio.")
|
||||
"libs/ardour/revision.cc"
|
||||
(lambda (port)
|
||||
(format port "#include \"ardour/revision.h\"
|
||||
namespace ARDOUR { const char* revision = \"3.5-403-gec2cb31\" ; }"))))
|
||||
namespace ARDOUR { const char* revision = \"4.2\" ; }"))))
|
||||
(sha256
|
||||
(base32
|
||||
"01b0wxh0wlxjfz5j8gcwwqhxc6q2kn4njz2fcmzv9fr3xaya5dbp"))
|
||||
"1j8zw0bvh16qwyy8qrqynpak9nghl9j3qhjjcdl7wh9raafjqc00"))
|
||||
(file-name (string-append name "-" version))))
|
||||
(build-system waf-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:configure-flags '("--cxx11") ; required by gtkmm
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'set-rpath-in-LDFLAGS
|
||||
@@ -230,35 +229,6 @@ record, edit, mix and master audio and MIDI projects. It is targeted at audio
|
||||
engineers, musicians, soundtrack editors and composers.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public ardour
|
||||
(package (inherit ardour-3)
|
||||
(name "ardour")
|
||||
(version "4.2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "git://git.ardour.org/ardour/ardour.git")
|
||||
(commit version)))
|
||||
(snippet
|
||||
;; Ardour expects this file to exist at build time. It can be
|
||||
;; created from a git checkout with:
|
||||
;; ./waf create_stored_revision
|
||||
'(call-with-output-file
|
||||
"libs/ardour/revision.cc"
|
||||
(lambda (port)
|
||||
(format port "#include \"ardour/revision.h\"
|
||||
namespace ARDOUR { const char* revision = \"4.2\" ; }"))))
|
||||
(sha256
|
||||
(base32
|
||||
"1j8zw0bvh16qwyy8qrqynpak9nghl9j3qhjjcdl7wh9raafjqc00"))
|
||||
(file-name (string-append name "-" version))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments ardour-3)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'set-rpath-in-LDFLAGS
|
||||
,(ardour-rpath-phase (version-prefix version 1)))))))))
|
||||
|
||||
(define-public azr3
|
||||
(package
|
||||
(name "azr3")
|
||||
@@ -350,6 +320,12 @@ tools (analyzer, mono/stereo tools, crossovers).")
|
||||
(base32
|
||||
"0a1sni6lr7qpwywpggbkp0ia3h9bwwgf9i87gsag8ra2h30v82hd"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
;; Work around this error on x86_64 with libc 2.22+:
|
||||
;; libmvec.so.1: error adding symbols: DSO missing from command line
|
||||
(if (string-prefix? "x86_64" (or (%current-target-system) (%current-system)))
|
||||
'(#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-lmvec"))
|
||||
'()))
|
||||
(inputs
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
("boost" ,boost)
|
||||
@@ -566,7 +542,8 @@ patches that can be used with softsynths such as Timidity and WildMidi.")
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1w6dg2n0alfjsx1iy6s53783invygwxk11p1i65cc3nq3zlidcgx"))))
|
||||
"1w6dg2n0alfjsx1iy6s53783invygwxk11p1i65cc3nq3zlidcgx"))
|
||||
(patches (list (search-patch "guitarix-c++11.patch")))))
|
||||
(build-system waf-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
@@ -574,7 +551,8 @@ patches that can be used with softsynths such as Timidity and WildMidi.")
|
||||
#:configure-flags
|
||||
(list
|
||||
;; Add the output lib directory to the RUNPATH.
|
||||
(string-append "--ldflags=-Wl,-rpath=" %output "/lib"))))
|
||||
(string-append "--ldflags=-Wl,-rpath=" %output "/lib")
|
||||
"--cxxflags=-std=c++11")))
|
||||
(inputs
|
||||
`(("libsndfile" ,libsndfile)
|
||||
("boost" ,boost)
|
||||
@@ -745,7 +723,16 @@ synchronous execution of all clients, and low latency operation.")
|
||||
(base32
|
||||
"1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9"))))
|
||||
(build-system waf-build-system)
|
||||
(arguments `(#:tests? #f)) ; no check target
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'set-flags
|
||||
(lambda _
|
||||
;; Compile with C++11, required by gtkmm.
|
||||
(setenv "CXXFLAGS" "-std=c++11")
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("lv2" ,lv2)
|
||||
("lilv" ,lilv)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages libdaemon)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages glib)
|
||||
|
||||
@@ -30,9 +30,12 @@
|
||||
#:use-module (gnu packages acl)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages dejagnu)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages gperf)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages mcrypt)
|
||||
#:use-module (gnu packages nettle)
|
||||
@@ -147,6 +150,7 @@ backups (called chunks) to allow easy burning to CD/DVD.")
|
||||
(search-patch "libarchive-fix-lzo-test-case.patch")
|
||||
(search-patch "libarchive-CVE-2013-0211.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
;; TODO: Add -L/path/to/nettle in libarchive.pc.
|
||||
(inputs
|
||||
`(("zlib" ,zlib)
|
||||
("nettle" ,nettle)
|
||||
@@ -352,3 +356,44 @@ deduplication technique used makes Attic suitable for daily backups since only
|
||||
changes are stored.")
|
||||
(home-page "https://attic-backup.org/")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public libchop
|
||||
(package
|
||||
(name "libchop")
|
||||
(version "0.5.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://savannah/libchop/libchop-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g"))
|
||||
(patches
|
||||
(list (search-patch "diffutils-gets-undeclared.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("guile" ,guile-2.0)
|
||||
("gperf" ,gperf)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("guile" ,guile-2.0)
|
||||
("util-linux" ,util-linux)
|
||||
("gnutls" ,gnutls)
|
||||
("tdb" ,tdb)
|
||||
("bdb" ,bdb)
|
||||
("gdbm" ,gdbm)
|
||||
("libgcrypt" ,libgcrypt)
|
||||
("lzo" ,lzo)
|
||||
("bzip2" ,bzip2)
|
||||
("zlib" ,zlib)))
|
||||
(home-page "http://nongnu.org/libchop/")
|
||||
(synopsis "Tools & library for data backup and distributed storage")
|
||||
(description
|
||||
"Libchop is a set of utilities and library for data backup and
|
||||
distributed storage. Its main application is @command{chop-backup}, an
|
||||
encrypted backup program that supports data integrity checks, versioning,
|
||||
distribution among several sites, selective sharing of stored data, adaptive
|
||||
compression, and more. The library itself implements storage techniques such
|
||||
as content-addressable storage, content hash keys, Merkle trees, similarity
|
||||
detection, and lossless compression.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
@@ -633,6 +633,21 @@ with the Linux kernel.")
|
||||
(license lgpl2.0+)
|
||||
(home-page "http://www.gnu.org/software/libc/")))
|
||||
|
||||
(define-public glibc-2.21
|
||||
;; The old libc, which we use mostly to build locale data in the old format
|
||||
;; (which the new libc can cope with.)
|
||||
(package
|
||||
(inherit glibc)
|
||||
(version "2.21")
|
||||
(source (origin
|
||||
(inherit (package-source glibc))
|
||||
(uri (string-append "mirror://gnu/glibc/glibc-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1f135546j34s9bfkydmx2nhh9vwxlx60jldi80zmsnln6wj3dsxf"))
|
||||
(patches (list (search-patch "glibc-ldd-x86_64.patch")))))))
|
||||
|
||||
(define-public glibc-locales
|
||||
(package
|
||||
(inherit glibc)
|
||||
|
||||
@@ -805,15 +805,16 @@ time.")
|
||||
(define-public crossmap
|
||||
(package
|
||||
(name "crossmap")
|
||||
(version "0.1.6")
|
||||
(version "0.2.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/crossmap/CrossMap-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"163hi5gjgij6cndxlvbkp5jjwr0k4wbm9im6d2210278q7k9kpnp"))
|
||||
;; patch has been sent upstream already
|
||||
"07y179f63d7qnzdvkqcziwk9bs3k4zhp81q392fp1hwszjdvy22f"))
|
||||
;; This patch has been sent upstream already and is available
|
||||
;; for download from Sourceforge, but it has not been merged.
|
||||
(patches (list
|
||||
(search-patch "crossmap-allow-system-pysam.patch")))
|
||||
(modules '((guix build utils)))
|
||||
@@ -1089,6 +1090,51 @@ analysis (from RNA-Seq), transcription factor binding quantification in
|
||||
ChIP-Seq, and analysis of metagenomic data.")
|
||||
(license license:artistic2.0)))
|
||||
|
||||
(define-public express-beta-diversity
|
||||
(package
|
||||
(name "express-beta-diversity")
|
||||
(version "1.0.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append
|
||||
"https://github.com/dparks1134/ExpressBetaDiversity/archive/v"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1djvdlmqvjf6h0zq7w36y8cl5cli6rgj86x65znl48agnwmzxfxr"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'enter-source (lambda _ (chdir "source") #t))
|
||||
(replace 'check
|
||||
(lambda _ (zero? (system* "../bin/ExpressBetaDiversity"
|
||||
"-u"))))
|
||||
(add-after 'check 'exit-source (lambda _ (chdir "..") #t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append (assoc-ref outputs "out")
|
||||
"/bin")))
|
||||
(mkdir-p bin)
|
||||
(copy-file "scripts/convertToEBD.py"
|
||||
(string-append bin "/convertToEBD.py"))
|
||||
(copy-file "bin/ExpressBetaDiversity"
|
||||
(string-append bin "/ExpressBetaDiversity"))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("python" ,python-2)))
|
||||
(home-page "http://kiwi.cs.dal.ca/Software/ExpressBetaDiversity")
|
||||
(synopsis "Taxon- and phylogenetic-based beta diversity measures")
|
||||
(description
|
||||
"Express Beta Diversity (EBD) calculates ecological beta diversity
|
||||
(dissimilarity) measures between biological communities. EBD implements a
|
||||
variety of diversity measures including those that make use of phylogenetic
|
||||
similarity of community members.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public fasttree
|
||||
(package
|
||||
(name "fasttree")
|
||||
@@ -1328,6 +1374,9 @@ estimates transcript expression.")
|
||||
`(("perl" ,perl)
|
||||
("python" ,python)
|
||||
("zlib" ,zlib)))
|
||||
;; Non-portable SSE instructions are used so building fails on platforms
|
||||
;; other than x86_64.
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(home-page "http://ccb.jhu.edu/software/hisat/index.shtml")
|
||||
(synopsis "Hierarchical indexing for spliced alignment of transcripts")
|
||||
(description
|
||||
@@ -1838,19 +1887,25 @@ the phenotype as it models the data.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public pbtranscript-tofu
|
||||
(let ((commit "c7bbd5472"))
|
||||
(let ((commit "8f5467fe6"))
|
||||
(package
|
||||
(name "pbtranscript-tofu")
|
||||
(version (string-append "0.4.1." commit))
|
||||
(version (string-append "2.2.3." commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/PacificBiosciences/cDNA_primer.git")
|
||||
(commit commit)))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"148xkzi689c49g6fdhckp6mnmj2qhjdf1j4wifm6ja7ij95d7fxx"))))
|
||||
"1lgnpi35ihay42qx0b6yl3kkgra723i413j33kvs0kvs61h82w0f"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; remove bundled Cython sources
|
||||
(delete-file "pbtranscript-tofu/pbtranscript/Cython-0.20.1.tar.gz")
|
||||
#t))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
@@ -1860,34 +1915,29 @@ the phenotype as it models the data.")
|
||||
#:configure-flags '("--single-version-externally-managed"
|
||||
"--record=pbtranscript-tofu.txt")
|
||||
#:phases
|
||||
(alist-cons-after
|
||||
'unpack 'enter-directory-and-clean-up
|
||||
(lambda _
|
||||
(chdir "pbtranscript-tofu/pbtranscript/")
|
||||
;; Delete clutter
|
||||
(delete-file-recursively "dist/")
|
||||
(delete-file-recursively "build/")
|
||||
(delete-file-recursively "setuptools_cython-0.2.1-py2.6.egg/")
|
||||
(delete-file-recursively "pbtools.pbtranscript.egg-info")
|
||||
(delete-file "Cython-0.20.1.tar.gz")
|
||||
(delete-file "setuptools_cython-0.2.1-py2.7.egg")
|
||||
(delete-file "setuptools_cython-0.2.1.tar.gz")
|
||||
(delete-file "setup.cfg")
|
||||
(for-each delete-file
|
||||
(find-files "." "\\.so$"))
|
||||
;; files should be writable for install phase
|
||||
(for-each (lambda (f) (chmod f #o755))
|
||||
(find-files "." "\\.py$")))
|
||||
%standard-phases)))
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-directory
|
||||
(lambda _
|
||||
(chdir "pbtranscript-tofu/pbtranscript/")
|
||||
#t))
|
||||
;; With setuptools version 18.0 and later this setup.py hack causes
|
||||
;; a build error, so we disable it.
|
||||
(add-after 'enter-directory 'patch-setuppy
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("if 'setuptools.extension' in sys.modules:")
|
||||
"if False:"))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("python-cython" ,python2-cython)
|
||||
("python-numpy" ,python2-numpy)
|
||||
`(("python-numpy" ,python2-numpy)
|
||||
("python-bx-python" ,python2-bx-python)
|
||||
("python-networkx" ,python2-networkx)
|
||||
("python-scipy" ,python2-scipy)
|
||||
("python-pbcore" ,python2-pbcore)))
|
||||
("python-pbcore" ,python2-pbcore)
|
||||
("python-h5py" ,python2-h5py)))
|
||||
(native-inputs
|
||||
`(("python-nose" ,python2-nose)
|
||||
`(("python-cython" ,python2-cython)
|
||||
("python-nose" ,python2-nose)
|
||||
("python-setuptools" ,python2-setuptools)))
|
||||
(home-page "https://github.com/PacificBiosciences/cDNA_primer")
|
||||
(synopsis "Analyze transcriptome data generated with the Iso-Seq protocol")
|
||||
@@ -2703,7 +2753,24 @@ sequences.")
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;no "check" target
|
||||
#:make-flags '("-f" "Makefile.Linux")
|
||||
;; The CC and CCFLAGS variables are set to contain a lot of x86_64
|
||||
;; optimizations by default, so we override these flags such that x86_64
|
||||
;; flags are only added when the build target is an x86_64 system.
|
||||
#:make-flags
|
||||
(list (let ((system ,(or (%current-target-system)
|
||||
(%current-system)))
|
||||
(flags '("-ggdb" "-fomit-frame-pointer"
|
||||
"-ffast-math" "-funroll-loops"
|
||||
"-fmessage-length=0"
|
||||
"-O9" "-Wall" "-DMAKE_FOR_EXON"
|
||||
"-DMAKE_STANDALONE"
|
||||
"-DSUBREAD_VERSION=\\\"${SUBREAD_VERSION}\\\""))
|
||||
(flags64 '("-mmmx" "-msse" "-msse2" "-msse3")))
|
||||
(if (string-prefix? "x86_64" system)
|
||||
(string-append "CCFLAGS=" (string-join (append flags flags64)))
|
||||
(string-append "CCFLAGS=" (string-join flags))))
|
||||
"-f" "Makefile.Linux"
|
||||
"CC=gcc ${CCFLAGS}")
|
||||
#:phases
|
||||
(alist-cons-after
|
||||
'unpack 'enter-dir
|
||||
|
||||
@@ -36,15 +36,15 @@
|
||||
(define-public cmake
|
||||
(package
|
||||
(name "cmake")
|
||||
(version "3.3.1")
|
||||
(version "3.3.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://www.cmake.org/files/v"
|
||||
(version-major+minor version)
|
||||
"/cmake-" version ".tar.gz"))
|
||||
(uri (string-append "https://www.cmake.org/files/v"
|
||||
(version-major+minor version)
|
||||
"/cmake-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1mp32dqywk4dfw7zmpgp31axszv7h74yk69g273z21q7d8n04rfd"))
|
||||
(base32
|
||||
"08pwy9ip9cgwgynhn5vrjw8drw29gijy1rmziq22n65zds6ifnp7"))
|
||||
(patches (list (search-patch "cmake-fix-tests.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
|
||||
@@ -263,8 +263,10 @@ compressed with pbzip2 can be decompressed with bzip2).")
|
||||
(version "5.0.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://tukaani.org/xz/xz-" version
|
||||
".tar.gz"))
|
||||
(uri (list (string-append "http://tukaani.org/xz/xz-" version
|
||||
".tar.gz")
|
||||
(string-append "http://multiprecision.org/guix/xz-"
|
||||
version ".tar.gz")))
|
||||
(sha256
|
||||
(base32
|
||||
"1dl35ca8fdss9z2d6y234gxh24ixq904xksizrjmjr5dimwhax6n"))))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
|
||||
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
@@ -39,14 +39,14 @@
|
||||
(define-public curl
|
||||
(package
|
||||
(name "curl")
|
||||
(version "7.44.0")
|
||||
(version "7.45.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://curl.haxx.se/download/curl-"
|
||||
version ".tar.lzma"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gjnaav9vmwwwza451na1643br7i0kxgd4002pwqh3xk5ywvdap7"))))
|
||||
"0bamqik0mi2rmai016iakwrwmsz0s5xad1ghkbwsd3zkv08rgkcn"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"doc")) ;1.2 MiB of man3 pages
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
(define-module (gnu packages cyrus-sasl)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages mit-krb5)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
|
||||
@@ -53,6 +53,28 @@
|
||||
#:use-module (srfi srfi-26)
|
||||
#:use-module (ice-9 match))
|
||||
|
||||
(define-public gdbm
|
||||
(package
|
||||
(name "gdbm")
|
||||
(version "1.11")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/gdbm/gdbm-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hz3jgh3pd4qzp6jy0l8pd8x01g9abw7csnrlnj1a2sxy122z4cd"))))
|
||||
(arguments `(#:configure-flags '("--enable-libgdbm-compat")))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://www.gnu.org/software/gdbm/")
|
||||
(synopsis
|
||||
"Hash library of database functions compatible with traditional dbm")
|
||||
(description
|
||||
"GDBM is a library for manipulating hashed databases. It is used to
|
||||
store key/value pairs in a file in a manner similar to the Unix dbm library
|
||||
and provides interfaces to the traditional file format.")
|
||||
(license gpl3+)))
|
||||
|
||||
(define-public bdb
|
||||
(package
|
||||
(name "bdb")
|
||||
|
||||
+21
-3
@@ -141,6 +141,24 @@ intended for use by people who discover and report bugs in compilers and other
|
||||
tools that process C/C++ code.")
|
||||
(license ncsa)))
|
||||
|
||||
(define qemu-2.3.0
|
||||
(package
|
||||
(inherit qemu-headless)
|
||||
(version "2.3.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://wiki.qemu-project.org/download/qemu-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"120m53c3p28qxmfzllicjzr8syjv6v4d9rsyrgkp7gnmcgvvgfmn"))))
|
||||
(arguments
|
||||
;; XXX: Disable tests because of GTester's rejection of duplicate test
|
||||
;; names, which wasn't addressed in this version of QEMU.
|
||||
`(#:tests? #f
|
||||
,@(package-arguments qemu-headless)))))
|
||||
|
||||
(define-public american-fuzzy-lop
|
||||
(let ((machine (match (or (%current-target-system)
|
||||
(%current-system))
|
||||
@@ -164,11 +182,11 @@ tools that process C/C++ code.")
|
||||
(inputs
|
||||
`(("custom-qemu"
|
||||
;; The afl-qemu tool builds qemu 2.3.0 with a few patches applied.
|
||||
,(package (inherit qemu-headless)
|
||||
,(package (inherit qemu-2.3.0)
|
||||
(name "afl-qemu")
|
||||
(inputs
|
||||
`(("afl-src" ,source)
|
||||
,@(package-inputs qemu-headless)))
|
||||
,@(package-inputs qemu-2.3.0)))
|
||||
;; afl only supports using a single afl-qemu-trace executable, so
|
||||
;; we only build qemu for the native target.
|
||||
(arguments
|
||||
@@ -176,7 +194,7 @@ tools that process C/C++ code.")
|
||||
(list (string-append "--target-list=" ,machine "-linux-user"))
|
||||
#:modules ((srfi srfi-1)
|
||||
,@%gnu-build-system-modules)
|
||||
,@(substitute-keyword-arguments (package-arguments qemu-headless)
|
||||
,@(substitute-keyword-arguments (package-arguments qemu-2.3.0)
|
||||
((#:phases qemu-phases)
|
||||
`(modify-phases ,qemu-phases
|
||||
(add-after
|
||||
|
||||
@@ -124,7 +124,7 @@ to recover data more efficiently by only reading the necessary blocks.")
|
||||
(define-public dosfstools
|
||||
(package
|
||||
(name "dosfstools")
|
||||
(version "3.0.27")
|
||||
(version "3.0.28")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -133,7 +133,7 @@ to recover data more efficiently by only reading the necessary blocks.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1a2qs5g2zqbk1gzaaf4v3fw3yny6jgbzddpgcamkp3fjifn8wxl5"))))
|
||||
"1qkya6lald91c8nsf29jwnk0k5v42wlj24gacfdp3wpc8hq935gf"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags (list (string-append "PREFIX=" %output)
|
||||
|
||||
@@ -316,7 +316,7 @@ configuration files, such as .gitattributes, .gitignore, and .git/config.")
|
||||
(define-public magit
|
||||
(package
|
||||
(name "magit")
|
||||
(version "2.2.2")
|
||||
(version "2.3.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -324,7 +324,7 @@ configuration files, such as .gitattributes, .gitignore, and .git/config.")
|
||||
version "/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1imkj4prprnivhbpdn1mdpiryxkckzy5hbnqaahv7gixwac1irh8"))))
|
||||
"0bi0vqp9802f00vnii3x80iqycji20bw4pjysy6al0d86mkggjx5"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("texinfo" ,texinfo)
|
||||
("emacs" ,emacs-no-x)))
|
||||
@@ -372,7 +372,7 @@ operations.")
|
||||
(define-public magit-svn
|
||||
(package
|
||||
(name "magit-svn")
|
||||
(version "2.1.0")
|
||||
(version "2.1.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -381,7 +381,7 @@ operations.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"09sz93g7x7g9q75jsw8bdh7yr4jr1igfb4fpg5i302a7l2ahxfr8"))))
|
||||
"04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
|
||||
(build-system trivial-build-system)
|
||||
(native-inputs `(("emacs" ,emacs-no-x)
|
||||
("tar" ,tar)
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#:use-module (guix licenses)
|
||||
#:use-module (gnu packages doxygen)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix utils)
|
||||
@@ -45,7 +46,8 @@
|
||||
(native-inputs
|
||||
`(("doxygen" ,doxygen)))
|
||||
(inputs
|
||||
`(("ncurses" ,ncurses)))
|
||||
`(("ncurses" ,ncurses)
|
||||
("python" ,python-wrapper))) ;for fish_config and manpage completions
|
||||
(arguments
|
||||
'(#:tests? #f ; no check target
|
||||
#:configure-flags '("--sysconfdir=/etc")))
|
||||
|
||||
@@ -390,17 +390,17 @@ for long (8 and more hours per day) work with computers.")
|
||||
(define-public font-adobe-source-han-sans
|
||||
(package
|
||||
(name "font-adobe-source-han-sans")
|
||||
(version "1.001R")
|
||||
(version "1.004")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/adobe-fonts/source-han-sans/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append "source-han-sans-" version ".tar.gz"))
|
||||
version "R.tar.gz"))
|
||||
(file-name (string-append "source-han-sans-" version "R.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cwz3d8jancl0a7vbjxhnh1vgwsjba62lahfjya9yrjkp1ndxlap"))))
|
||||
(outputs '("out" ; OpenType/CFF Collection (OTC), 119 MiB.
|
||||
"1ssx0fw90sy6mj8fv8fv4dgzszpqwbmwpjnlx16g4pvaqzdmybbz"))))
|
||||
(outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB.
|
||||
"cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF.
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
@@ -421,12 +421,13 @@ for long (8 and more hours per day) work with computers.")
|
||||
"/share/fonts/opentype")))))
|
||||
(setenv "PATH" PATH)
|
||||
(system* tar "xvf" (assoc-ref %build-inputs "source"))
|
||||
(chdir (string-append "source-han-sans-" ,version))
|
||||
(chdir (string-append "source-han-sans-" ,version "R"))
|
||||
(install-opentype-fonts "OTC" "out")
|
||||
(install-opentype-fonts "SubsetOTF/CN" "cn")
|
||||
(install-opentype-fonts "SubsetOTF/JP" "jp")
|
||||
(install-opentype-fonts "SubsetOTF/KR" "kr")
|
||||
(install-opentype-fonts "SubsetOTF/TW" "tw")))))
|
||||
(install-opentype-fonts "SubsetOTF/TW" "tw")
|
||||
(for-each delete-file (find-files %output "\\.zip$"))))))
|
||||
(native-inputs
|
||||
`(("gzip" ,gzip)
|
||||
("tar" ,tar)))
|
||||
@@ -439,7 +440,7 @@ And in several OpenType/CFF-based deployment configurations to accommodate
|
||||
various system requirements or limitations. As the name suggests, Pan-CJK
|
||||
fonts are intended to support the characters necessary to render or display
|
||||
text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.")
|
||||
(license license:asl2.0)))
|
||||
(license license:silofl1.1)))
|
||||
|
||||
(define-public font-wqy-zenhei
|
||||
(package
|
||||
|
||||
@@ -203,7 +203,7 @@ applications should be.")
|
||||
(define-public graphite2
|
||||
(package
|
||||
(name "graphite2")
|
||||
(version "1.3.1")
|
||||
(version "1.3.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -212,7 +212,7 @@ applications should be.")
|
||||
version ".tgz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0xvhmlyyxg2qmbwyl8k2f9w7mrbjyl59823pnjd8xmxpyl6976d5"))))
|
||||
"1n22vvi4jl83m4sqhvd7v31bhyhyd8j6c3yjgh4zjfyrvid16jrg"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("python" ,python-2) ; because of "import imap" in tests
|
||||
|
||||
@@ -157,7 +157,10 @@ the freedesktop.org XDG Base Directory specification.")
|
||||
(assoc-ref %build-inputs "libcap"))
|
||||
(string-append "--with-udevrulesdir="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib/udev/rules.d"))
|
||||
"/lib/udev/rules.d")
|
||||
;; XXX: fail with:
|
||||
;; src/shared/clean-ipc.c:315: undefined reference to `mq_unlink'
|
||||
"LDFLAGS=-lrt")
|
||||
#:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")))
|
||||
(native-inputs
|
||||
`(("intltool" ,intltool)
|
||||
@@ -340,12 +343,19 @@ Analysis and Reporting Technology) functionality.")
|
||||
`(("acl" ,acl)
|
||||
("libatasmart" ,libatasmart)
|
||||
("libgudev" ,libgudev)
|
||||
("polkit" ,polkit)))
|
||||
("polkit" ,polkit)
|
||||
("util-linux" ,util-linux)))
|
||||
(outputs '("out"
|
||||
"doc")) ;5 MiB of gtk-doc HTML
|
||||
(arguments
|
||||
`(#:tests? #f ; requiring system message dbus
|
||||
#:configure-flags
|
||||
(list "--disable-man"
|
||||
"--localstatedir=/var"
|
||||
"--enable-fhs-media" ;mount devices in /media, not /run/media
|
||||
(string-append "--with-html-dir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/doc/udisks/html")
|
||||
(string-append "--with-udevdir=" %output "/lib/udev"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
@@ -357,7 +367,18 @@ Analysis and Reporting Technology) functionality.")
|
||||
(("girdir = .*")
|
||||
"girdir = $(datadir)/gir-1.0\n")
|
||||
(("typelibsdir = .*")
|
||||
"typelibsdir = $(libdir)/girepository-1.0\n")))))))
|
||||
"typelibsdir = $(libdir)/girepository-1.0\n"))))
|
||||
(add-after 'install 'set-mount-file-name
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
;; Tell 'udisksd' where to find the 'mount' command.
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(utils (assoc-ref inputs "util-linux")))
|
||||
(wrap-program (string-append out "/libexec/udisks2/udisksd")
|
||||
`("PATH" ":" prefix
|
||||
(,(string-append utils "/bin") ;for 'mount'
|
||||
"/run/current-system/profile/bin"
|
||||
"/run/current-system/profile/sbin")))
|
||||
#t))))))
|
||||
(home-page "http://www.freedesktop.org/wiki/Software/udisks/")
|
||||
(synopsis "Disk manager service")
|
||||
(description
|
||||
|
||||
@@ -27,14 +27,14 @@
|
||||
(define-public freeipmi
|
||||
(package
|
||||
(name "freeipmi")
|
||||
(version "1.4.10")
|
||||
(version "1.4.11")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/freeipmi/freeipmi-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1l98l8g8lha85q1d288wr7dyx00x36smh9g5wza15n4wm35c9wqs"))))
|
||||
"0bkghpbj1zkxcgmx2crg0mf97y6dhnxdqvdk5mkw1pyqdxncwq3l"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("readline" ,readline) ("libgcrypt" ,libgcrypt)))
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#:use-module (guix svn-download)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages backup)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages audio)
|
||||
@@ -1212,3 +1213,68 @@ world}, @uref{http://evolonline.org, Evol Online} and
|
||||
;; "data/themes/{golden-delicious,jewelry}/*" are under CC-BY-SA.
|
||||
;; The rest is under GPL2+.
|
||||
(license (list license:gpl2+ license:zlib license:cc-by-sa4.0))))
|
||||
|
||||
(define-public nestopia-ue
|
||||
(package
|
||||
(name "nestopia-ue")
|
||||
(version "1.46.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/rdanbrook/nestopia/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; We don't need libretro for the GNU/Linux build.
|
||||
(delete-file-recursively "libretro")
|
||||
;; Use system zlib.
|
||||
(delete-file-recursively "source/zlib")
|
||||
(substitute* "source/core/NstZlib.cpp"
|
||||
(("#include \"../zlib/zlib.h\"") "#include <zlib.h>"))))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("ao" ,ao)
|
||||
("glu" ,glu)
|
||||
("gtk+" ,gtk+)
|
||||
("libarchive" ,libarchive)
|
||||
("mesa" ,mesa)
|
||||
("sdl2" ,sdl2)
|
||||
("zlib" ,zlib)))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; The Nestopia build system consists solely of a Makefile.
|
||||
(delete 'configure)
|
||||
;; XXX Should be unnecessary with the next release.
|
||||
(add-before
|
||||
'build 'patch-makefile
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("@mkdir \\$@") "@mkdir -p $@")
|
||||
(("CC =") "CC ?=")
|
||||
(("CXX =") "CXX ?=")
|
||||
(("PREFIX =") "PREFIX ?=")
|
||||
(("^install:\n$") "install:\n\tmkdir -p $(BINDIR)\n"))))
|
||||
(add-before
|
||||
'build 'remove-xdg-desktop-menu-call
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("xdg-desktop-menu install .*") "")))))
|
||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||
(list "CC=gcc" "CXX=g++" (string-append "PREFIX=" out)))
|
||||
;; There are no tests.
|
||||
#:tests? #f))
|
||||
(home-page "http://0ldsk00l.ca/nestopia/")
|
||||
(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
|
||||
(description
|
||||
"Nestopia UE (Undead Edition) is a fork of the Nintendo Entertainment
|
||||
System (NES/Famicom) emulator Nestopia, with enhancements from members of the
|
||||
emulation community. It provides highly accurate emulation.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2014 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2014, 2015 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
@@ -27,6 +27,7 @@
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages multiprecision)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages dejagnu)
|
||||
#:use-module (gnu packages doxygen)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages docbook)
|
||||
@@ -460,6 +461,9 @@ using compilers other than GCC."
|
||||
("javac.in" ,javac.in)
|
||||
("ecj-bootstrap" ,ecj-bootstrap)
|
||||
,@(package-inputs gcc)))
|
||||
(native-inputs
|
||||
`(("dejagnu" ,dejagnu)
|
||||
,@(package-native-inputs gcc)))
|
||||
;; Suppress the separate "lib" output, because otherwise the
|
||||
;; "lib" and "out" outputs would refer to each other, creating
|
||||
;; a cyclic dependency. <http://debbugs.gnu.org/18101>
|
||||
@@ -471,7 +475,9 @@ using compilers other than GCC."
|
||||
(ice-9 regex)
|
||||
(srfi srfi-1)
|
||||
(srfi srfi-26))
|
||||
,@(package-arguments gcc))
|
||||
#:test-target "check-target-libjava"
|
||||
,@(package-arguments gcc))
|
||||
((#:tests? _) #t)
|
||||
((#:configure-flags flags)
|
||||
`(let ((ecj (assoc-ref %build-inputs "ecj-bootstrap")))
|
||||
`("--enable-java-home"
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages gdbm)
|
||||
#:use-module (guix licenses)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu))
|
||||
|
||||
(define-public gdbm
|
||||
(package
|
||||
(name "gdbm")
|
||||
(version "1.11")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/gdbm/gdbm-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hz3jgh3pd4qzp6jy0l8pd8x01g9abw7csnrlnj1a2sxy122z4cd"))))
|
||||
(arguments `(#:configure-flags '("--enable-libgdbm-compat")))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://www.gnu.org/software/gdbm/")
|
||||
(synopsis
|
||||
"Hash library of database functions compatible with traditional dbm")
|
||||
(description
|
||||
"GDBM is a library for manipulating hashed databases. It is used to
|
||||
store key/value pairs in a file in a manner similar to the Unix dbm library
|
||||
and provides interfaces to the traditional file format.")
|
||||
(license gpl3+)))
|
||||
+16
-11
@@ -26,6 +26,7 @@
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages autotools)
|
||||
@@ -74,14 +75,15 @@ as ASCII text.")
|
||||
(define-public freeglut
|
||||
(package
|
||||
(name "freeglut")
|
||||
(version "2.8.1")
|
||||
(version "3.0.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/project/freeglut/freeglut/"
|
||||
version "/freeglut-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x"))))
|
||||
(build-system gnu-build-system)
|
||||
(base32 "18knkyczzwbmyg8hr4zh8a1i5ga01np2jzd1rwmsh7mh2n2vwhra"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments '(#:tests? #f)) ; no test target
|
||||
(inputs `(("mesa" ,mesa)
|
||||
("libx11" ,libx11)
|
||||
("libxi" ,libxi)
|
||||
@@ -185,7 +187,7 @@ also known as DXTn or DXTC) for Mesa.")
|
||||
(define-public mesa
|
||||
(package
|
||||
(name "mesa")
|
||||
(version "10.5.4")
|
||||
(version "11.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -193,7 +195,7 @@ also known as DXTn or DXTC) for Mesa.")
|
||||
version "/mesa-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"00v89jna7m6r2w1yrnx09isc97r2bd1hkn4jib445n1078zp47mm"))))
|
||||
"1mikw0biw0wxq0fn3cp18bm6kjrkd66fy84774yc5b91rvp94adb"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
`(("glproto" ,glproto)
|
||||
@@ -257,12 +259,10 @@ also known as DXTn or DXTC) for Mesa.")
|
||||
"src/mesa/main/texcompress_s3tc.c")
|
||||
(("\"libtxc_dxtn\\.so")
|
||||
(string-append "\"" s2tc "/lib/libtxc_dxtn.so")))
|
||||
(substitute* "src/gallium/targets/egl-static/egl_st.c"
|
||||
(("\"libglapi\"")
|
||||
(string-append "\"" out "/lib/libglapi\"")))
|
||||
(substitute* "src/loader/loader.c"
|
||||
(("dlopen\\(\"libudev\\.so")
|
||||
(string-append "dlopen(\"" udev "/lib/libudev.so")))
|
||||
(("udev_handle = dlopen\\(name")
|
||||
(string-append "udev_handle = dlopen(\""
|
||||
udev "/lib/libudev.so\"")))
|
||||
(substitute* "src/glx/dri_common.c"
|
||||
(("dlopen\\(\"libGL\\.so")
|
||||
(string-append "dlopen(\"" out "/lib/libGL.so")))
|
||||
@@ -327,7 +327,12 @@ emulation to complete hardware acceleration for modern GPUs.")
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(arguments
|
||||
'(#:phases
|
||||
'(;; XXX: fails to build against latest mesa:
|
||||
;; eglut.c: error: 'EGL_SCREEN_BIT_MESA' undeclared
|
||||
;;
|
||||
;; <https://bugs.freedesktop.org/show_bug.cgi?id=91643>
|
||||
#:configure-flags '("--disable-egl")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace
|
||||
'install
|
||||
|
||||
+72
-38
@@ -57,36 +57,44 @@
|
||||
(define dbus
|
||||
(package
|
||||
(name "dbus")
|
||||
(version "1.8.16")
|
||||
(version "1.10.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "http://dbus.freedesktop.org/releases/dbus/dbus-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01rba8mp8kqvmy6ibdmi806kjr3m14swnskqk02gyhykxxl54ybz"))
|
||||
(patches (list (search-patch "dbus-localstatedir.patch")))))
|
||||
;; TODO: Apply patch from DBUS/ACTIVATION below.
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://dbus.freedesktop.org/releases/dbus/dbus-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0jwj7wlrhq5y0fwfh8k2d9rgdpfax06lj8698g6iqbwrzd2rgyqx"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags (list ;; Install the system bus socket under /var.
|
||||
"--localstatedir=/var"
|
||||
'(#:configure-flags
|
||||
(list
|
||||
;; Install the system bus socket under /var.
|
||||
"--localstatedir=/var"
|
||||
|
||||
;; XXX: Fix the following to allow system-wide
|
||||
;; config.
|
||||
;; "--sysconfdir=/etc"
|
||||
;; Install the session bus socket under /tmp.
|
||||
"--with-session-socket-dir=/tmp"
|
||||
|
||||
"--with-session-socket-dir=/tmp")
|
||||
#:phases (alist-cons-after
|
||||
'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; 'dbus-launch' bails out if the 'session.d' directory
|
||||
;; below is missing, so create it along with its companion.
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(mkdir (string-append out "/etc/dbus-1/session.d"))
|
||||
(mkdir (string-append out "/etc/dbus-1/system.d"))
|
||||
#t))
|
||||
%standard-phases)))
|
||||
;; Use /etc/dbus-1 for system-wide config.
|
||||
;; Look for configuration file under
|
||||
;; /etc/dbus-1. This is notably required by
|
||||
;; 'dbus-daemon-launch-helper', which looks for
|
||||
;; the 'system.conf' file in that place,
|
||||
;; regardless of what '--config-file' was
|
||||
;; passed to 'dbus-daemon' on the command line;
|
||||
;; see <https://bugs.freedesktop.org/show_bug.cgi?id=92458>.
|
||||
"--sysconfdir=/etc")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'install
|
||||
(lambda _
|
||||
;; Don't try to create /var and /etc.
|
||||
(system* "make"
|
||||
"localstatedir=/tmp/dummy"
|
||||
"sysconfdir=/tmp/dummy"
|
||||
"install"))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
@@ -116,10 +124,21 @@ or through unencrypted TCP/IP suitable for use behind a firewall with
|
||||
shared NFS home directories.")
|
||||
(license license:gpl2+))) ; or Academic Free License 2.1
|
||||
|
||||
(define-public dbus/activation
|
||||
;; D-Bus with a patch to fix service activation.
|
||||
;; TODO: Merge with DBUS above.
|
||||
(package
|
||||
(inherit dbus)
|
||||
(version (string-append (package-version dbus) ".a"))
|
||||
(source (origin
|
||||
(inherit (package-source dbus))
|
||||
(patches
|
||||
(list (search-patch "dbus-helper-search-path.patch")))))))
|
||||
|
||||
(define glib
|
||||
(package
|
||||
(name "glib")
|
||||
(version "2.44.1")
|
||||
(version "2.46.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/"
|
||||
@@ -127,7 +146,7 @@ shared NFS home directories.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01yabrfp64i11mrks3p1gcks99lw0zm7f5vhkc53sl4amyndw4c8"))
|
||||
"1yzxr1ip3l0m9ydk5nq32piq70c9f17p5f0jyvlsghzbaawh67ss"))
|
||||
(patches (list (search-patch "glib-tests-homedir.patch")
|
||||
(search-patch "glib-tests-desktop.patch")
|
||||
(search-patch "glib-tests-prlimit.patch")
|
||||
@@ -207,14 +226,18 @@ dynamic loading, and an object system.")
|
||||
(define gobject-introspection
|
||||
(package
|
||||
(name "gobject-introspection")
|
||||
(version "1.44.0")
|
||||
(version "1.46.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/"
|
||||
"gobject-introspection/" (version-major+minor version)
|
||||
"/gobject-introspection-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1b972qg2yb51sdavfvb6kc19akwc15c1bwnbg81vadxamql2q33g"))
|
||||
(base32 "0cs27r18fga44ypp8icy62fwx6nh70r1bvhi4lzfn4w85cybsn36"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "tools/g-ir-tool-template.in"
|
||||
(("#!/usr/bin/env @PYTHON@") "#!@PYTHON@")))
|
||||
(patches (list
|
||||
(search-patch "gobject-introspection-cc.patch")
|
||||
(search-patch
|
||||
@@ -258,7 +281,7 @@ bindings to call into the C library.")
|
||||
(define intltool
|
||||
(package
|
||||
(name "intltool")
|
||||
(version "0.50.2")
|
||||
(version "0.51.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://launchpad.net/intltool/trunk/"
|
||||
@@ -266,7 +289,7 @@ bindings to call into the C library.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01j4yd7i84n9nk4ccs6yifg84pp68nr9by57jdbhj7dpdxf5rwk7"))))
|
||||
"1karx4sb7bnm2j67q0q74hspkfn6lqprpy5r99vkn5bb36a4viv7"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("file" ,file)))
|
||||
@@ -382,7 +405,7 @@ by GDBus included in Glib.")
|
||||
(define libsigc++
|
||||
(package
|
||||
(name "libsigc++")
|
||||
(version "2.4.1")
|
||||
(version "2.6.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/libsigc++/"
|
||||
@@ -390,7 +413,7 @@ by GDBus included in Glib.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1v0rvkzglzmf67y9nkcppwjwi68j1cy5yhldvcq7xrv8594l612l"))))
|
||||
"06xyvxaaxh3nbpjg86gcq5zcc2qnpx354wcfrqlhbndkq5kj2vqq"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)
|
||||
("m4" ,m4)))
|
||||
@@ -409,7 +432,7 @@ has an ease of use unmatched by other C++ callback libraries.")
|
||||
(define glibmm
|
||||
(package
|
||||
(name "glibmm")
|
||||
(version "2.44.0")
|
||||
(version "2.46.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/glibmm/"
|
||||
@@ -417,7 +440,7 @@ has an ease of use unmatched by other C++ callback libraries.")
|
||||
"/glibmm-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1a1fczy7hcpn24fglyn4i79f4yjc8s50is70q03mb294bm1c02hv"))))
|
||||
"1an4v1yk06svlmcyp1psk2a3bsn29s1a4gdx0ai2w788q6bfaiwn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases (alist-cons-before
|
||||
@@ -491,7 +514,7 @@ useful for C++.")
|
||||
(define-public python-pygobject
|
||||
(package
|
||||
(name "python-pygobject")
|
||||
(version "3.16.1")
|
||||
(version "3.18.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -500,7 +523,7 @@ useful for C++.")
|
||||
"/pygobject-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hqyma73w0lnjcgx68kawhnq84aq92xlkdqphrlc2ppia38dm5kx"))))
|
||||
"1jbd2m39vcjh5h3m33l0317ziq8dxfzi40r6hrfcs4rp5l8s2fqw"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("which" ,which)
|
||||
@@ -551,7 +574,18 @@ useful for C++.")
|
||||
"telepathy-glib-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))))
|
||||
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))
|
||||
(patches
|
||||
(list
|
||||
;; Don't use the same test name for multiple tests.
|
||||
;; <https://bugs.freedesktop.org/show_bug.cgi?id=92245>
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri "https://bugs.freedesktop.org/attachment.cgi?id=118608")
|
||||
(file-name (string-append "telepathy-glib-duplicate-tests.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0z261fwrszxb28ccg3hsg9rizig4s84zvwmx6y31a4pyv7bvs5w3")))))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("glib" ,glib "bin") ; uses glib-mkenums
|
||||
|
||||
+38
-19
@@ -446,7 +446,7 @@ on the GNOME Desktop with a single simple application.")
|
||||
(define-public gsettings-desktop-schemas
|
||||
(package
|
||||
(name "gsettings-desktop-schemas")
|
||||
(version "3.16.0")
|
||||
(version "3.18.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -455,7 +455,7 @@ on the GNOME Desktop with a single simple application.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"02dp1hl38k16m9abydfca1n236mdazqdz0p3n92s7haf9mdqsf16"))))
|
||||
"1szc857f46spdhrbnq9ci3kwfqg5vwpikbf0hprq6vd94rr369xs"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("glib" ,glib)))
|
||||
@@ -821,7 +821,7 @@ dealing with different structured file formats.")
|
||||
(define-public librsvg
|
||||
(package
|
||||
(name "librsvg")
|
||||
(version "2.40.10")
|
||||
(version "2.40.11")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -829,7 +829,9 @@ dealing with different structured file formats.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0y9lvnb9ij9mjg8cyp7xysi0c5ms5v4q1zrhx42b546f71s80p4n"))))
|
||||
"00ifd9wjjjsw0ybk5j6qs4yyh66jj34hjmggy6dhrgfy8ksw06k1"))
|
||||
(patches
|
||||
(list (search-patch "librsvg-tests.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
@@ -1204,6 +1206,8 @@ creating interactive structured graphics.")
|
||||
(base32
|
||||
"0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
|
||||
(propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
|
||||
(native-inputs
|
||||
`(("gtkmm-2" ,gtkmm-2)
|
||||
@@ -1625,7 +1629,7 @@ passwords in the GNOME keyring.")
|
||||
(define-public vala
|
||||
(package
|
||||
(name "vala")
|
||||
(version "0.28.0")
|
||||
(version "0.30.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -1633,14 +1637,16 @@ passwords in the GNOME keyring.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0zwpzhkhfk3piya14m7p2hl2vaabahprphppfm46ci91z39kp7hd"))))
|
||||
"1pyyhfw3zzbhxfscbn8xz70dg6vx0kh8gshzikpxczhg01xk7w31"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'set-cc
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "CC" "gcc")
|
||||
;; For missing '/etc/machine-id'.
|
||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
@@ -1771,7 +1777,7 @@ configuration storage systems.")
|
||||
(define-public json-glib
|
||||
(package
|
||||
(name "json-glib")
|
||||
(version "1.0.2")
|
||||
(version "1.0.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -1779,7 +1785,14 @@ configuration storage systems.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
|
||||
"1k85vvb2prmk8aa8hmr2rp9rnbhffjgnmr18b13g24xxnqy5kww0"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Don't duplicate test names.
|
||||
;; <https://bugzilla.gnome.org/show_bug.cgi?id=755977>.
|
||||
'(substitute* "json-glib/tests/builder.c"
|
||||
(("\"/builder/complex\", test_builder_empty")
|
||||
"\"/builder/empty\", test_builder_empty")))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
|
||||
@@ -1871,7 +1884,7 @@ library.")
|
||||
(define-public glib-networking
|
||||
(package
|
||||
(name "glib-networking")
|
||||
(version "2.44.0")
|
||||
(version "2.46.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/glib-networking/"
|
||||
@@ -1879,7 +1892,7 @@ library.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ij33bhvn7y5gagx4sbrw906dsjjjs9dllxn73pzv6x97c6k92lg"))
|
||||
"1cchmi08jpjypgmm9i7xzh5qfg2q5k61kry9ns8mhw3z44a440ym"))
|
||||
(patches
|
||||
(list (search-patch "glib-networking-ssl-cert-file.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
@@ -1953,7 +1966,7 @@ libxml to ease remote use of the RESTful API.")
|
||||
(define-public libsoup
|
||||
(package
|
||||
(name "libsoup")
|
||||
(version "2.50.0")
|
||||
(version "2.52.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/libsoup/"
|
||||
@@ -1961,18 +1974,14 @@ libxml to ease remote use of the RESTful API.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y"))))
|
||||
"0j6cnnpqqgnb9nj2r0j8j6898np4z503hrnpis7b4l5d8yhbq68f"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list (string-append "--with-html-dir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/gtk-doc/html")
|
||||
;; To find GIO modules from glib-networking.
|
||||
(string-append "GIO_EXTRA_MODULES="
|
||||
(assoc-ref %build-inputs "glib-networking")
|
||||
"/lib/gio/modules"))
|
||||
"/share/gtk-doc/html"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'disable-unconnected-socket-test
|
||||
@@ -1990,13 +1999,22 @@ libxml to ease remote use of the RESTful API.")
|
||||
;; The ca-certificates.crt is not available in the build
|
||||
;; environment.
|
||||
(setenv "SSL_CERT_FILE" "/dev/null")
|
||||
#t)))))
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(zero?
|
||||
(system* "make"
|
||||
;; Install vala bindings into $out.
|
||||
(string-append "vapidir=" %output
|
||||
"/share/vala/vapi")
|
||||
"install")))))))
|
||||
(native-inputs
|
||||
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
||||
("gobject-introspection" ,gobject-introspection)
|
||||
("intltool" ,intltool)
|
||||
("pkg-config" ,pkg-config)
|
||||
("python" ,python-wrapper)
|
||||
("vala" ,vala)
|
||||
;; These are needed for the tests.
|
||||
;; FIXME: Add PHP once available.
|
||||
("curl" ,curl)
|
||||
@@ -2210,6 +2228,7 @@ keyboard shortcuts.")
|
||||
("lcms" ,lcms)))
|
||||
(inputs
|
||||
`(("dbus-glib" ,dbus-glib)
|
||||
("libgudev" ,libgudev)
|
||||
("libusb" ,libusb)
|
||||
("sqlite" ,sqlite)
|
||||
("polkit" ,polkit)
|
||||
|
||||
@@ -111,14 +111,14 @@ tool to extract metadata from a file and print the results.")
|
||||
(define-public libmicrohttpd
|
||||
(package
|
||||
(name "libmicrohttpd")
|
||||
(version "0.9.44")
|
||||
(version "0.9.45")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07j1p21rvbrrfpxngk8xswzkmjkh94bp1971xfjh1p0ja709qwzj"))))
|
||||
"0saawnamxjp7nr5gpg7l5fp9y5941m3a7x214ki7ncm9ipsdwx8h"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("curl" ,curl)
|
||||
|
||||
@@ -110,7 +110,7 @@ generation.")
|
||||
(define-public libassuan
|
||||
(package
|
||||
(name "libassuan")
|
||||
(version "2.2.1")
|
||||
(version "2.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -118,7 +118,7 @@ generation.")
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1pp2kl5gc2vja41g3wk03h1hgh7gxy6pj354fb5n4lrlg6xqb4ll"))))
|
||||
"08l4261r56kv7w9qyq021s905bplh2m8h52qlkq46m7w8y9y932d"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
`(("libgpg-error" ,libgpg-error) ("pth" ,pth)))
|
||||
|
||||
+20
-12
@@ -1,5 +1,6 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -28,6 +29,8 @@
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages qemu)
|
||||
#:use-module (gnu packages man)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages cdrom)
|
||||
#:use-module (srfi srfi-1))
|
||||
@@ -84,30 +87,35 @@
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--disable-werror")
|
||||
#:phases (alist-cons-before
|
||||
'patch-source-shebangs 'patch-stuff
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "grub-core/Makefile.in"
|
||||
(("/bin/sh") (which "sh")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'patch-stuff
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "grub-core/Makefile.in"
|
||||
(("/bin/sh") (which "sh")))
|
||||
|
||||
;; Make the font visible.
|
||||
(copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz")
|
||||
(system* "gunzip" "unifont.bdf.gz")
|
||||
;; Make the font visible.
|
||||
(copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz")
|
||||
(system* "gunzip" "unifont.bdf.gz")
|
||||
|
||||
;; TODO: Re-enable this test when we have Parted.
|
||||
(substitute* "tests/partmap_test.in"
|
||||
(("set -e") "exit 77")))
|
||||
%standard-phases)))
|
||||
;; TODO: Re-enable this test when we have Parted.
|
||||
(substitute* "tests/partmap_test.in"
|
||||
(("set -e") "exit 77"))
|
||||
|
||||
#t)))))
|
||||
(inputs
|
||||
`(;; ("lvm2" ,lvm2)
|
||||
("gettext" ,gnu-gettext)
|
||||
("freetype" ,freetype)
|
||||
;; ("libusb" ,libusb)
|
||||
;; ("fuse" ,fuse)
|
||||
("ncurses" ,ncurses)))
|
||||
(native-inputs
|
||||
`(("unifont" ,unifont)
|
||||
("bison" ,bison)
|
||||
("flex" ,flex)
|
||||
("texinfo" ,texinfo)
|
||||
("help2man" ,help2man)
|
||||
|
||||
;; Dependencies for the test suite. The "real" QEMU is needed here,
|
||||
;; because several targets are used.
|
||||
|
||||
+15
-17
@@ -83,7 +83,7 @@ arrays of data.")
|
||||
(define-public gstreamer
|
||||
(package
|
||||
(name "gstreamer")
|
||||
(version "1.4.5")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -91,12 +91,11 @@ arrays of data.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"))))
|
||||
"172w1bpnkn6mm1wi37n03apdbb6cdkykhzjf1vfxchcd7hhkyflp"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
`(#:make-flags '("CC=gcc") ; for g-ir-scanner.
|
||||
#:configure-flags
|
||||
`(#:configure-flags
|
||||
(list (string-append "--with-html-dir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/gtk-doc/html"))))
|
||||
@@ -131,7 +130,7 @@ This package provides the core library and elements.")
|
||||
(define-public gst-plugins-base
|
||||
(package
|
||||
(name "gst-plugins-base")
|
||||
(version "1.4.5")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -139,7 +138,7 @@ This package provides the core library and elements.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp"))))
|
||||
"18sbyjcp281zb3bsqji3pglsdsxi0s6ai7rx90sx8cpflkxdqcwm"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(propagated-inputs
|
||||
@@ -162,7 +161,8 @@ This package provides the core library and elements.")
|
||||
("gobject-introspection" ,gobject-introspection)
|
||||
("python-wrapper" ,python-wrapper)))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
`(#:parallel-tests? #f ; 'pipelines/tcp' fails in parallel
|
||||
#:configure-flags
|
||||
(list (string-append "--with-html-dir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/gtk-doc/html"))
|
||||
@@ -171,9 +171,7 @@ This package provides the core library and elements.")
|
||||
'configure 'patch
|
||||
(lambda _
|
||||
(substitute* "tests/check/libs/pbutils.c"
|
||||
(("/bin/sh") (which "sh")))
|
||||
;; for g-ir-scanner.
|
||||
(setenv "CC" "gcc"))
|
||||
(("/bin/sh") (which "sh"))))
|
||||
%standard-phases)))
|
||||
(home-page "http://gstreamer.freedesktop.org/")
|
||||
(synopsis
|
||||
@@ -186,7 +184,7 @@ for the GStreamer multimedia library.")
|
||||
(define-public gst-plugins-good
|
||||
(package
|
||||
(name "gst-plugins-good")
|
||||
(version "1.4.5")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -195,7 +193,7 @@ for the GStreamer multimedia library.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr"))))
|
||||
"0darc3058kbnql3mnlpizl0sq0hhli7vkm0rpqb7nywz14abim46"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("aalib" ,aalib)
|
||||
@@ -229,7 +227,7 @@ for the GStreamer multimedia library.")
|
||||
'unpack 'disable-failing-rtprtx-tests
|
||||
(lambda _
|
||||
;; Disable rtprtx tests that frequently fail.
|
||||
;; XXX FIXME: Try removing this for version > 1.4.5.
|
||||
;; XXX FIXME: Try removing this for version > 1.6.1.
|
||||
(substitute* "tests/check/elements/rtprtx.c"
|
||||
(("tcase_add_test \\(tc_chain,\
|
||||
(test_rtxsender_max_size_packets|test_rtxreceive_data_reconstruction)\\);" all)
|
||||
@@ -246,7 +244,7 @@ developers consider to have good quality code and correct functionality.")
|
||||
(define-public gst-plugins-ugly
|
||||
(package
|
||||
(name "gst-plugins-ugly")
|
||||
(version "1.4.5")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -254,7 +252,7 @@ developers consider to have good quality code and correct functionality.")
|
||||
name "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0rwhljn3f8mp2pfchzfcx4pvps1546dndw9mr56lz50qyqffimaw"))))
|
||||
"0mvasl1pwq70w2kmrkcrg77kggl5q7jqybi7fkvy3vr28c7gkhqc"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("gst-plugins-base" ,gst-plugins-base)
|
||||
@@ -284,7 +282,7 @@ distribution problems in some jurisdictions, e.g. due to patent threats.")
|
||||
(define-public gst-libav
|
||||
(package
|
||||
(name "gst-libav")
|
||||
(version "1.4.5")
|
||||
(version "1.6.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -292,7 +290,7 @@ distribution problems in some jurisdictions, e.g. due to patent threats.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30"))))
|
||||
"1a9pc7zp5rg0cvpx8gqkr21w73i6p9xa505a34day9f8p3lfim94"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--with-system-libav")
|
||||
|
||||
+45
-28
@@ -60,7 +60,7 @@
|
||||
(define-public atk
|
||||
(package
|
||||
(name "atk")
|
||||
(version "2.16.0")
|
||||
(version "2.18.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -68,7 +68,7 @@
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0qp5i91kfk6rhrlam3s8ha0cz88lkyp89vsyn4pb5856c1h9hpq9"))))
|
||||
"0ay9s137x49f0akx658p7kznz0rdapfrd8ym54q0hlgrggblhv6f"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
@@ -144,7 +144,7 @@ affine transformation (scale, rotation, shear, etc.).")
|
||||
(define-public harfbuzz
|
||||
(package
|
||||
(name "harfbuzz")
|
||||
(version "1.0.3")
|
||||
(version "1.0.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.freedesktop.org/software/"
|
||||
@@ -152,7 +152,7 @@ affine transformation (scale, rotation, shear, etc.).")
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xrxlrvgyr6mm9qjxmkif2kvcah082y94gf1vqi0f0bdl1g8gp7b"))))
|
||||
"0h2l362qzkck5dnnj7zlz593hf1ni3k25dfaii9mbjwflp3d56ad"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"bin")) ; 160K, only hb-view depend on cairo
|
||||
@@ -182,7 +182,7 @@ affine transformation (scale, rotation, shear, etc.).")
|
||||
(define-public pango
|
||||
(package
|
||||
(name "pango")
|
||||
(version "1.36.8")
|
||||
(version "1.38.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/pango/"
|
||||
@@ -190,7 +190,7 @@ affine transformation (scale, rotation, shear, etc.).")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01rdzjh68w8l5zn0648yibyarj8p6g7yfn59nw5awaz1i8dvbnqq"))))
|
||||
"1dsf45m51i4rcyvh5wlxxrjfhvn5b67d5ckjc6vdcxbddjgmc80k"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
`(("cairo" ,cairo)
|
||||
@@ -253,8 +253,10 @@ functions which were removed.")
|
||||
(build-system waf-build-system)
|
||||
(arguments
|
||||
`(#:phases (alist-cons-before
|
||||
'configure 'set-ldflags
|
||||
'configure 'set-flags
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Compile with C++11, required by gtkmm.
|
||||
(setenv "CXXFLAGS" "-std=c++11")
|
||||
;; Allow 'bin/ganv_bench' to find libganv-1.so.
|
||||
(setenv "LDFLAGS"
|
||||
(string-append "-Wl,-rpath="
|
||||
@@ -381,7 +383,7 @@ in the GNOME project.")
|
||||
(define-public at-spi2-core
|
||||
(package
|
||||
(name "at-spi2-core")
|
||||
(version "2.16.0")
|
||||
(version "2.18.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -389,7 +391,7 @@ in the GNOME project.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1l3l39mw23zyjlcqidvkyqlr4gwbhplzw2hcv3qvn6p8ikxpf2qw"))))
|
||||
"1kq17w4fm51d49vzmglkxqdm6s0yvjvrpgw78r2hajf69jz5bmap"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
@@ -402,6 +404,8 @@ in the GNOME project.")
|
||||
(replace 'check
|
||||
;; Run test-suite under a dbus session.
|
||||
(lambda _
|
||||
;; Don't fail on missing '/etc/machine-id'.
|
||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||
(zero? (system* "dbus-launch" "make" "check")))))))
|
||||
(propagated-inputs
|
||||
;; atspi-2.pc refers to all these.
|
||||
@@ -424,7 +428,7 @@ is part of the GNOME accessibility project.")
|
||||
(define-public at-spi2-atk
|
||||
(package
|
||||
(name "at-spi2-atk")
|
||||
(version "2.16.0")
|
||||
(version "2.18.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -432,7 +436,7 @@ is part of the GNOME accessibility project.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1y9gfz1iz3wpja7s000f0bmyyvc6im5fcdl6bxwbz0v3qdgc9vvq"))))
|
||||
"0bf1g5cj84rmx7p1q547vwbc0hlpcs2wrxnmv96lckfkhs9mzcf4"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
@@ -440,6 +444,7 @@ is part of the GNOME accessibility project.")
|
||||
(replace 'check
|
||||
;; Run test-suite under a dbus session.
|
||||
(lambda _
|
||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||
(zero? (system* "dbus-launch" "make" "check")))))))
|
||||
(propagated-inputs
|
||||
`(("at-spi2-core" ,at-spi2-core))) ; required by atk-bridge-2.0.pc
|
||||
@@ -514,7 +519,7 @@ application suites.")
|
||||
(define-public gtk+
|
||||
(package (inherit gtk+-2)
|
||||
(name "gtk+")
|
||||
(version "3.16.6")
|
||||
(version "3.18.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -522,12 +527,13 @@ application suites.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gpzlnfrifc17yfk0zki6b2vmsfpf5cmrbh232s6iaan11np44jd"))))
|
||||
"0lp1hn0qydxx03bianzzr0a4maqzsvylrkzr7c3p0050qihwbgjx"))))
|
||||
(propagated-inputs
|
||||
`(("at-spi2-atk" ,at-spi2-atk)
|
||||
("atk" ,atk)
|
||||
("gdk-pixbuf" ,gdk-pixbuf)
|
||||
("libepoxy" ,libepoxy)
|
||||
("libxcursor" ,libxcursor)
|
||||
("libxi" ,libxi)
|
||||
("libxinerama" ,libxinerama)
|
||||
("libxdamage" ,libxdamage)
|
||||
@@ -535,7 +541,13 @@ application suites.")
|
||||
(inputs
|
||||
`(("librsvg" ,librsvg) ;for gtk-encode-symbolic-svg
|
||||
("libxml2" ,libxml2)
|
||||
("cups" ,cups))) ;for printing support
|
||||
;; XXX: colord depends on mozjs (through polkit), which fails on
|
||||
;; on non-intel systems now.
|
||||
;;("colord" ,colord)
|
||||
("cups" ,cups) ;for printing support
|
||||
;; XXX: rest depends on p11-kit, which fails on mips64el now.
|
||||
;;("rest" ,rest)
|
||||
("json-glib" ,json-glib)))
|
||||
(native-inputs
|
||||
`(("perl" ,perl)
|
||||
("glib" ,glib "bin")
|
||||
@@ -731,14 +743,15 @@ documents.")
|
||||
(define-public cairomm
|
||||
(package
|
||||
(name "cairomm")
|
||||
(version "1.11.2")
|
||||
(version "1.12.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://cairographics.org/releases/cairomm-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"138052ybc58q5yl92m2p0br0k0a9g1pi9gfhmn4y220yih4pgxnc"))))
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/cairomm/"
|
||||
(version-major+minor version) "/"
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rmgs6zjj2vaxh9hsa0944m23fdn1psycqh7bi984qd8jj1xljm5"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; The examples lack -lcairo.
|
||||
@@ -759,7 +772,7 @@ library.")
|
||||
(define-public pangomm
|
||||
(package
|
||||
(name "pangomm")
|
||||
(version "2.36.0")
|
||||
(version "2.38.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -767,7 +780,7 @@ library.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1w11d05nkxglzg67rfa81vqghm75xhy6j396xmmp5mq8qx96knd8"))))
|
||||
"12xwjvqfxhqblcv7641k0l6r8n3qifnrx8w9571izn1nbd81iyzg"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
@@ -785,7 +798,7 @@ library.")
|
||||
(define-public atkmm
|
||||
(package
|
||||
(name "atkmm")
|
||||
(version "2.22.7")
|
||||
(version "2.24.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -793,7 +806,7 @@ library.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"06zrf2ymml2dzp53sss0d4ch4dk9v09jm8rglnrmwk4v81mq9gxz"))))
|
||||
"08zd6s5c1q90wm8310mdrb5f2lj8v63wxihrybwyw13xlf6ivi16"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
@@ -808,7 +821,7 @@ toolkit.")
|
||||
(define-public gtkmm
|
||||
(package
|
||||
(name "gtkmm")
|
||||
(version "3.16.0")
|
||||
(version "3.18.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
@@ -816,9 +829,10 @@ toolkit.")
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"036xn22jkaf3akpid7w23b8vkqa3xxqz93mwacmyar5vw7slm3cv"))))
|
||||
"0sxq700invkjpksn790gbnl8px8751kvgwn39663jx7dv89s37w2"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)
|
||||
("glib" ,glib "bin"))) ;for 'glib-compile-resources'
|
||||
(propagated-inputs
|
||||
`(("pangomm" ,pangomm)
|
||||
("cairomm" ,cairomm)
|
||||
@@ -849,6 +863,9 @@ extensive documentation, including API reference and a tutorial.")
|
||||
(sha256
|
||||
(base32
|
||||
"1vpmjqv0aqb1ds0xi6nigxnhlr0c74090xzi15b92amlzkrjyfj4"))))
|
||||
(arguments
|
||||
'(#:configure-flags '("CPPFLAGS=-std=c++11"))) ; required by libsigc++
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
`(("pangomm" ,pangomm)
|
||||
("cairomm" ,cairomm)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
@@ -189,15 +189,15 @@ without requiring the source code to be rewritten.")
|
||||
(define-public guile-next
|
||||
(package (inherit guile-2.0)
|
||||
(name "guile-next")
|
||||
(version "20150815.00884bb")
|
||||
(version "20151025.e5bccb6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "git://git.sv.gnu.org/guile.git")
|
||||
(commit "00884bb79fff41fdf5f22f24a74e366a94a14c9b")))
|
||||
(commit "e5bccb6e5df3485152bc6501e1f36275e09c6352")))
|
||||
(sha256
|
||||
(base32
|
||||
"0qk8m9aq3i7pzw6npim58xmsvjqfz5kl1pkyb6b43awn2vydydi5"))))
|
||||
"0z7ywryfcargrpz8hdrz6sfs06c2h2y9baqin3mbjvvg96a5bx47"))))
|
||||
|
||||
(arguments
|
||||
(substitute-keyword-arguments `(;; Tests aren't passing for now.
|
||||
@@ -296,6 +296,10 @@ many readers as needed).")
|
||||
(string-append "--with-guilesitedir="
|
||||
(assoc-ref %outputs "out")
|
||||
"/share/guile/site/2.0"))
|
||||
|
||||
;; Work around <http://bugs.gnu.org/21677>.
|
||||
#:make-flags '("XFAIL_TESTS=curses_034_util.test")
|
||||
|
||||
#:phases (alist-cons-after
|
||||
'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
||||
@@ -865,14 +865,6 @@ OpenAL.")
|
||||
(base32
|
||||
"1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'fix-/bin/sh
|
||||
(lambda _
|
||||
;; Use `sh', not `/bin/sh'.
|
||||
(setenv "CONFIG_SHELL" "sh"))))))
|
||||
(inputs
|
||||
`(("sdl" ,sdl)))
|
||||
(home-page "https://hackage.haskell.org/package/SDL")
|
||||
@@ -903,14 +895,7 @@ award winning Linux port of \"Civilization: Call To Power.\"")
|
||||
`(#:configure-flags
|
||||
(let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
|
||||
(sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
|
||||
(list (string-append "--extra-include-dirs=" sdl-mixer-include)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'fix-/bin/sh
|
||||
(lambda _
|
||||
;; Use `sh', not `/bin/sh'.
|
||||
(setenv "CONFIG_SHELL" "sh"))))))
|
||||
(list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
|
||||
(propagated-inputs
|
||||
`(("ghc-sdl" ,ghc-sdl)))
|
||||
(inputs
|
||||
@@ -942,14 +927,7 @@ MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
|
||||
`(#:configure-flags
|
||||
(let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
|
||||
(sdl-image-include (string-append sdl-image "/include/SDL")))
|
||||
(list (string-append "--extra-include-dirs=" sdl-image-include)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'fix-/bin/sh
|
||||
(lambda _
|
||||
;; Use `sh', not `/bin/sh'.
|
||||
(setenv "CONFIG_SHELL" "sh"))))))
|
||||
(list (string-append "--extra-include-dirs=" sdl-image-include)))))
|
||||
(propagated-inputs
|
||||
`(("ghc-sdl" ,ghc-sdl)))
|
||||
(inputs
|
||||
@@ -1031,10 +1009,10 @@ found at runtime, a userError is thrown.")
|
||||
(build-system haskell-build-system)
|
||||
(propagated-inputs
|
||||
`(("ghc-statevar" ,ghc-statevar)
|
||||
("ghc-openglraw" ,ghc-openglraw)))
|
||||
(inputs
|
||||
`(("ghc-opengl" ,ghc-opengl)
|
||||
("ghc-openglraw" ,ghc-openglraw)
|
||||
("freeglut" ,freeglut)))
|
||||
(inputs
|
||||
`(("ghc-opengl" ,ghc-opengl)))
|
||||
(home-page "http://www.haskell.org/haskellwiki/Opengl")
|
||||
(synopsis "Haskell bindings for the OpenGL Utility Toolkit")
|
||||
(description "This library provides Haskell bindings for the OpenGL
|
||||
@@ -1216,12 +1194,6 @@ date and time formats.")
|
||||
(base32
|
||||
"1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-/bin/sh
|
||||
(lambda _
|
||||
(setenv "CONFIG_SHELL" "sh"))))))
|
||||
(propagated-inputs
|
||||
`(("ghc-old-locale" ,ghc-old-locale)))
|
||||
(home-page "http://hackage.haskell.org/package/old-time")
|
||||
@@ -1433,12 +1405,6 @@ environment variables.")
|
||||
"X11-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-before 'configure 'set-sh
|
||||
(lambda _
|
||||
(setenv "CONFIG_SHELL" "sh")
|
||||
#t)))))
|
||||
(build-system haskell-build-system)
|
||||
(inputs
|
||||
`(("libx11" ,libx11)
|
||||
@@ -1801,13 +1767,8 @@ but also need those types.")
|
||||
"0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; FIXME: Test fails with "System.Time not found". This is
|
||||
; weird, that should be provided by GHC 7.10.2.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-/bin/sh
|
||||
(lambda _
|
||||
(setenv "CONFIG_SHELL" "sh"))))))
|
||||
`(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
|
||||
; is weird, that should be provided by GHC 7.10.2.
|
||||
(propagated-inputs
|
||||
`(("ghc-old-time" ,ghc-old-time)
|
||||
("ghc-old-locale" ,ghc-old-locale)))
|
||||
@@ -3162,11 +3123,7 @@ boxed and storable vectors.")
|
||||
(inputs
|
||||
`(("ghc-hunit" ,ghc-hunit)))
|
||||
(arguments
|
||||
`(#:tests? #f ; FIXME: currently missing libraries used for tests.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'set-sh
|
||||
(lambda _ (setenv "CONFIG_SHELL" "sh"))))))
|
||||
`(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
|
||||
(home-page "https://github.com/haskell/network")
|
||||
(synopsis "Low-level networking interface")
|
||||
(description
|
||||
@@ -3645,7 +3602,7 @@ library for Haskell.")
|
||||
(home-page "https://github.com/simonmar/async")
|
||||
(synopsis "Library to run IO operations asynchronously")
|
||||
(description "Async provides a library to run IO operations
|
||||
asynchronously, and wait for their results. It is a higher-level interface
|
||||
asynchronously, and wait for their results. It is a higher-level interface
|
||||
over threads in Haskell, in which @code{Async a} is a concurrent thread that
|
||||
will eventually deliver a value of type @code{a}.")
|
||||
(license bsd-3)))
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
(define-public gnumach-headers
|
||||
(package
|
||||
(name "gnumach-headers")
|
||||
(version "1.5")
|
||||
(version "1.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -40,7 +40,7 @@
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0wsf57q4h6xl2jn28d423qx7zplmhpnf9ssm4f1c0sf8513xm81j"))))
|
||||
"1m7xwsrv6x6gk9xi5phs104rdn9q3lr63p348vyv0dzd6r3zyncb"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases (alist-replace
|
||||
@@ -66,7 +66,7 @@
|
||||
(define-public mig
|
||||
(package
|
||||
(name "mig")
|
||||
(version "1.5")
|
||||
(version "1.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -74,7 +74,7 @@
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"13r1pg8icyc0pl082z7k36i440pr1f3nr7ahig3rrc0r7qndqmk9"))))
|
||||
"1i9qd6j5g8wsv9k9n6vpdqflyw0284wyayb2s2h7pp4yyi2jsksk"))))
|
||||
(build-system gnu-build-system)
|
||||
;; Flex is needed both at build and run time.
|
||||
(inputs `(("gnumach-headers" ,gnumach-headers)
|
||||
@@ -97,14 +97,14 @@ communication.")
|
||||
(define-public hurd-headers
|
||||
(package
|
||||
(name "hurd-headers")
|
||||
(version "0.6")
|
||||
(version "0.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/hurd/hurd-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"059lbspbpcjpcq5jf98f47jw9sm0ngs3x6phxax53m3rwca1fk7y"))))
|
||||
"1q2pyc16vb5plqi8hlwnnc9jk8zlifm91cavz6x7vhbwy0nh2yvh"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(;; Autoconf shouldn't be necessary but there seems to be a bug in the
|
||||
|
||||
+15
-6
@@ -184,14 +184,14 @@ the W3C's XML-based Scaleable Vector Graphic (SVG) format.")
|
||||
(define-public leptonica
|
||||
(package
|
||||
(name "leptonica")
|
||||
(version "1.71")
|
||||
(version "1.72")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.leptonica.com/source/leptonica-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0j5qgrff6im5n9waflbi7w643q1p6mahyf2z35gb4vj9h5p76pfc"))
|
||||
(base32 "0mhzvqs0im04y1cpcc1yma70hgdac1frf33h73m9z3356bfymmbr"))
|
||||
(modules '((guix build utils)))
|
||||
;; zlib and openjpg should be under Libs, not Libs.private. See:
|
||||
;; https://code.google.com/p/tesseract-ocr/issues/detail?id=1436
|
||||
@@ -216,7 +216,8 @@ the W3C's XML-based Scaleable Vector Graphic (SVG) format.")
|
||||
`(("openjpeg" ,openjpeg)
|
||||
("zlib" ,zlib)))
|
||||
(arguments
|
||||
'(#:phases
|
||||
'(#:parallel-tests? #f ; XXX: cause fpix1_reg to fail
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Prevent make from trying to regenerate config.h.in.
|
||||
(add-after
|
||||
@@ -228,7 +229,15 @@ the W3C's XML-based Scaleable Vector Graphic (SVG) format.")
|
||||
(lambda _
|
||||
(substitute* "prog/reg_wrapper.sh"
|
||||
((" /bin/sh ")
|
||||
(string-append " " (which "sh") " "))))))))
|
||||
(string-append " " (which "sh") " "))
|
||||
(("which gnuplot") (which "gnuplot")))))
|
||||
(add-before
|
||||
'check 'disable-failing-tests
|
||||
;; XXX: 2 of 9 tests from webpio_reg fails.
|
||||
(lambda _
|
||||
(substitute* "prog/webpio_reg.c"
|
||||
((".*DoWebpTest2.* 90.*") "")
|
||||
((".*DoWebpTest2.* 100.*") "")))))))
|
||||
(home-page "http://www.leptonica.com/")
|
||||
(synopsis "Library and tools for image processing and analysis")
|
||||
(description
|
||||
@@ -337,14 +346,14 @@ error-resilience, a Java-viewer for j2k-images, ...")
|
||||
(define-public giflib
|
||||
(package
|
||||
(name "giflib")
|
||||
(version "4.2.3")
|
||||
(version "5.1.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/giflib/giflib-"
|
||||
(first (string-split version #\.))
|
||||
".x/giflib-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32 "0rmp7ipzk42r841bggd7bfqk4p8qsssbp4wcck4qnz7p4rkxbj0a"))))
|
||||
(base32 "1z1gzq16sdya8xnl5qjc07634kkwj5m0n3bvvj4v9j11xfn1841r"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("bin" ; utility programs
|
||||
"out")) ; library
|
||||
|
||||
@@ -74,7 +74,11 @@
|
||||
("perl" ,perl)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(arguments
|
||||
`(#:phases (alist-cons-after
|
||||
`(;; Add '-std=c++11', required by recent versions of GLibmm & co.
|
||||
;; Use '-g0' to reduce disk usage during the build.
|
||||
#:configure-flags '("CXXFLAGS=-g0 -O2 -fopenmp -std=c++11")
|
||||
|
||||
#:phases (alist-cons-after
|
||||
'unpack 'fix-test-includes
|
||||
(lambda _
|
||||
(substitute* "src/cxxtests.cpp"
|
||||
|
||||
@@ -576,7 +576,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public icedtea7
|
||||
(let* ((version "2.6.1")
|
||||
(let* ((version "2.6.2")
|
||||
(drop (lambda (name hash)
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -594,7 +594,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0s107vi1530a5dyxacysc4m64zshgg2d3xpndsc0ws99wz0zmr6c"))
|
||||
"0xi0w8gpxx3r68hyi7fb991hxb3rqfp7895nfsl4wj3sa1f5ds5y"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "Makefile.in"
|
||||
@@ -728,24 +728,24 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
||||
(native-inputs
|
||||
`(("openjdk-drop"
|
||||
,(drop "openjdk"
|
||||
"0gs6vbj5c09516r460r68i7vm652sb25h973kq9hfx749qbs0s01"))
|
||||
"0jabxc8iw7ciz6f2qshcpla66qniy686vnxnfx3h2yw7syvas4a9"))
|
||||
("corba-drop"
|
||||
,(drop "corba"
|
||||
"1y7nf6hqry1az28i3b6ln5cs82cww1jj4r61jk54ab8s2xydj0yd"))
|
||||
"1bw22djg8mfqqn8kp8mpbj9vi4pl8dk67qwwrny67d0fvirixylj"))
|
||||
("jaxp-drop"
|
||||
,(drop "jaxp"
|
||||
"1szs2w0p496k1qi3yl1fymj0g10lgq31am35zlalcz7pi4l4q360"))
|
||||
"1h3g2dwbj8ihicl73qbr4cvvc3i5bs5ckrpja1nx6g5b56xa7kcl"))
|
||||
("jaxws-drop"
|
||||
,(drop "jaxws"
|
||||
"17xfy9q2zdpap7m2prbf937x55jm3pwrqpp1fdlridraqrfzjprd"))
|
||||
"1m1h7455qn4pdhb5yamdl9965iz9260lzwl3njcs35vi14v7fihl"))
|
||||
("jdk-drop"
|
||||
,(drop "jdk"
|
||||
"0qskhwr4nml49zhbppnq8ldj0x001bl37mrcpxslbnsdw5skw258"))
|
||||
"1wcaxf2chnlpk34q04c23im6z32dy8fr6f9giz3ih65nyvah3n3s"))
|
||||
("langtools-drop"
|
||||
,(drop "langtools"
|
||||
"0hyxrrb0zrx1pq1s90bmim94hwfligr0ajzs1874da4gclbbvfbd"))
|
||||
"0da3cmm8nwz7dk2sqnywvidaa0kjnyzzi33p2lkdi4415f8yhgx5"))
|
||||
("hotspot-drop"
|
||||
,(drop "hotspot"
|
||||
"1cv8df2s89mnjzg4rja4i89d4fr8n0c3v5y2cqbww1ma1463n100"))
|
||||
"0fn3cjhqsgbkfzychkvvw6whxil2n9dr6q0196ywxzkinny1hjcq"))
|
||||
,@(fold alist-delete (package-native-inputs icedtea6)
|
||||
'("openjdk6-src")))))))
|
||||
|
||||
+16
-17
@@ -1,5 +1,6 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright 2014 John Darrington <jmd@gnu.org>
|
||||
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
||||
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -23,6 +24,7 @@
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages libevent)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (guix download)
|
||||
@@ -31,21 +33,21 @@
|
||||
(define-public links
|
||||
(package
|
||||
(name "links")
|
||||
(version "2.8")
|
||||
(version "2.12")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://links.twibright.com/download/"
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32 "15h07498z52jfdahzgvkphg1f7qvxnpbyfn2xmsls0d2dwwdll3r"))))
|
||||
(base32 "0knq15yrp60s4jh92aacw8yfc2pcv3bqsw7dba7h5s6ivq8ihhcq"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases (alist-replace
|
||||
'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; The tarball uses a very old version of autconf. It doesn't understand
|
||||
;; extra flags like `--enable-fast-install', so we need to
|
||||
;; invoke it with just what it understand.
|
||||
;; The tarball uses a very old version of autconf. It doesn't
|
||||
;; understand extra flags like `--enable-fast-install', so
|
||||
;; we need to invoke it with just what it understands.
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
;; 'configure' doesn't understand '--host'.
|
||||
,@(if (%current-target-system)
|
||||
@@ -55,28 +57,25 @@
|
||||
(zero?
|
||||
(system* "./configure"
|
||||
(string-append "--prefix=" out)
|
||||
"--enable-graphics"
|
||||
))))
|
||||
"--enable-graphics"))))
|
||||
%standard-phases)))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("openssl" ,openssl)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libtiff" ,libtiff)
|
||||
("libevent" ,libevent)
|
||||
("libpng" ,libpng)
|
||||
("libxt" ,libxt)))
|
||||
(synopsis "Text and graphics mode web browser")
|
||||
(description "Links is a graphics and text mode web browser, with many
|
||||
features including, tables, builtin image display, bookmarks, SSL and more.")
|
||||
(home-page "http://links.twibright.com")
|
||||
;; The distribution contains a copy of GPLv2
|
||||
;; However, the copyright notices simply say:
|
||||
;; The distribution contains a copy of GPLv2
|
||||
;; However, the copyright notices simply say:
|
||||
;; "This file is a part of the Links program, released under GPL."
|
||||
;; Therefore, under the provisions of Section 9, we can choose
|
||||
;; any version ever published by the FSF
|
||||
;; One file (https.c) contains an exception permitting
|
||||
;; linking of the program with openssl
|
||||
(license license:gpl1+)))
|
||||
|
||||
|
||||
|
||||
;; any version ever published by the FSF.
|
||||
;; One file (https.c) contains an exception permitting
|
||||
;; linking of the program with openssl.
|
||||
(license license:gpl1+)))
|
||||
|
||||
+15
-51
@@ -210,7 +210,7 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
|
||||
#f)))
|
||||
|
||||
(define-public linux-libre
|
||||
(let* ((version "4.2.4")
|
||||
(let* ((version "4.2.5")
|
||||
(build-phase
|
||||
'(lambda* (#:key system inputs #:allow-other-keys #:rest args)
|
||||
;; Apply the neat patch.
|
||||
@@ -220,6 +220,7 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
|
||||
(let ((arch (car (string-split system #\-))))
|
||||
(setenv "ARCH"
|
||||
(cond ((string=? arch "i686") "i386")
|
||||
((string=? arch "mips64el") "mips")
|
||||
(else arch)))
|
||||
(format #t "`ARCH' set to `~a'~%" (getenv "ARCH")))
|
||||
|
||||
@@ -266,7 +267,7 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
|
||||
(for-each (lambda (file)
|
||||
(copy-file file
|
||||
(string-append out "/" (basename file))))
|
||||
(find-files "." "^(bzImage|System\\.map)$"))
|
||||
(find-files "." "^(bzImage|vmlinuz|System\\.map)$"))
|
||||
(copy-file ".config" (string-append out "/config"))
|
||||
(zero? (system* "make"
|
||||
(string-append "DEPMOD=" mit "/sbin/depmod")
|
||||
@@ -283,8 +284,9 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
|
||||
(uri (linux-libre-urls version))
|
||||
(sha256
|
||||
(base32
|
||||
"11r9yhi4c2zwfb8i21zk014gcm1kvnabq410wjy6g6a015d5v37w"))))
|
||||
"13ar9sghm2g5w2km9x2d07q3lh81rz286d6slklv56qanm24chzx"))))
|
||||
(build-system gnu-build-system)
|
||||
(supported-systems '("x86_64-linux" "i686-linux"))
|
||||
(native-inputs `(("perl" ,perl)
|
||||
("bc" ,bc)
|
||||
("module-init-tools" ,module-init-tools)
|
||||
@@ -1568,7 +1570,7 @@ from the module-init-tools project.")
|
||||
;; The post-systemd fork, maintained by Gentoo.
|
||||
(package
|
||||
(name "eudev")
|
||||
(version "2.1.1")
|
||||
(version "3.1.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -1576,55 +1578,15 @@ from the module-init-tools project.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0shf5vqiz9fdxl95aa1a8vh0xjxwim3psc39wr2xr8lnahf11vva"))
|
||||
(patches (list (search-patch "eudev-rules-directory.patch")))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; 'configure' checks uses <linux/btrfs.h> as an indication of
|
||||
;; whether Linux headers are available, but it doesn't actually
|
||||
;; use it, and our 'linux-libre-headers' package doesn't
|
||||
;; provide it. So just remove that.
|
||||
'(substitute* "configure"
|
||||
(("linux/btrfs\\.h")
|
||||
"")))))
|
||||
"0akg9gcc3c2p56xbhlvbybqavcprly5q0bvk655zwl6d62j8an7p"))
|
||||
(patches (list (search-patch "eudev-rules-directory.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("gperf" ,gperf)
|
||||
("glib" ,glib "bin") ; glib-genmarshal, etc.
|
||||
("perl" ,perl) ; for the tests
|
||||
("python" ,python-2))) ; ditto
|
||||
("perl" ,perl)
|
||||
("gperf" ,gperf)))
|
||||
(inputs
|
||||
`(("kmod" ,kmod)
|
||||
("pciutils" ,pciutils)
|
||||
("usbutils" ,usbutils)
|
||||
("util-linux" ,util-linux)
|
||||
("glib" ,glib)
|
||||
("gobject-introspection" ,gobject-introspection)))
|
||||
(arguments
|
||||
`(#:configure-flags (list "--enable-libkmod"
|
||||
|
||||
(string-append
|
||||
"--with-pci-ids-path="
|
||||
(assoc-ref %build-inputs "pciutils")
|
||||
"/share/pci.ids.gz")
|
||||
|
||||
"--with-firmware-path=/no/firmware"
|
||||
|
||||
;; Work around undefined reference to
|
||||
;; 'mq_getattr' in sc-daemon.c.
|
||||
"LDFLAGS=-lrt")
|
||||
#:phases
|
||||
(alist-cons-before
|
||||
'build 'pre-build
|
||||
;; The program 'g-ir-scanner' (part of the package
|
||||
;; 'gobject-introspection'), to generate .gir files, makes some
|
||||
;; library pre-processing. During that phase it looks for the C
|
||||
;; compiler as either 'cc' or as defined by the environment variable
|
||||
;; 'CC' (with code in 'giscanner/dumper.py').
|
||||
(lambda* _
|
||||
(setenv "CC" "gcc"))
|
||||
%standard-phases)))
|
||||
`(("kmod" ,kmod)))
|
||||
(home-page "http://www.gentoo.org/proj/en/eudev/")
|
||||
(synopsis "Userspace device management")
|
||||
(description "Udev is a daemon which dynamically creates and removes
|
||||
@@ -2355,7 +2317,7 @@ applications.")
|
||||
(define-public bluez
|
||||
(package
|
||||
(name "bluez")
|
||||
(version "5.30")
|
||||
(version "5.35")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -2363,7 +2325,9 @@ applications.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0b1qbnq1xzcdw5rajg9yyg31bf21jnff0n6gnf1snz89bbdllfhy"))))
|
||||
"1qphz25hganfnd5ipfscbj7s70anv5favmwqmi9ig2saciaf1zhs"))
|
||||
(patches
|
||||
(list (search-patch "bluez-tests.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
|
||||
@@ -87,7 +87,10 @@ of programming tools as well as libraries with equivalent functionality.")
|
||||
functions for C and C++ programs. It also provides header files that allow C
|
||||
and C++ source code to interface with the \"sanitization\" passes of the clang
|
||||
compiler. In LLVM this library is called \"compiler-rt\".")
|
||||
(license ncsa)))
|
||||
(license ncsa)
|
||||
|
||||
;; <http://compiler-rt.llvm.org/> doesn't list MIPS as supported.
|
||||
(supported-systems (delete "mips64el-linux" %supported-systems))))
|
||||
|
||||
(define (clang-from-llvm llvm clang-runtime hash)
|
||||
(package
|
||||
|
||||
@@ -278,6 +278,9 @@ sample proximities between pairs of cases.")
|
||||
("zlib" ,zlib)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
;; Non-portable SSE instructions are used so building fails on platforms
|
||||
;; other than x86_64.
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(home-page "http://shogun-toolbox.org/")
|
||||
(synopsis "Machine learning toolbox")
|
||||
(description
|
||||
|
||||
+79
-6
@@ -30,13 +30,13 @@
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages backup)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages bison)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages cyrus-sasl)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages dejagnu)
|
||||
#:use-module (gnu packages emacs)
|
||||
#:use-module (gnu packages enchant)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages ghostscript)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnome)
|
||||
@@ -44,11 +44,11 @@
|
||||
#:use-module (gnu packages gsasl)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages libcanberra)
|
||||
#:use-module (gnu packages libidn)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages m4)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages pcre)
|
||||
#:use-module (gnu packages perl)
|
||||
@@ -70,6 +70,7 @@
|
||||
(expat . license:expat)))
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system perl)
|
||||
@@ -306,6 +307,15 @@ can read the same mailbox from multiple computers. It supports IMAP as REMOTE
|
||||
repository and Maildir/IMAP as LOCAL repository.")
|
||||
(license gpl2+)))
|
||||
|
||||
(define %mu-gtester-patch
|
||||
;; Ensure tests have unique names, to placate GLib 2.6's gtester.
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri "https://github.com/djcb/mu/commit/b44039ed.patch")
|
||||
(sha256
|
||||
(base32
|
||||
"165hryqqhx3wah8a4f5jaq465azx1pm9r4jid7880pys9gd88qlv"))))
|
||||
|
||||
(define-public mu
|
||||
(package
|
||||
(name "mu")
|
||||
@@ -317,7 +327,8 @@ repository and Maildir/IMAP as LOCAL repository.")
|
||||
(file-name (string-append "mu-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51"))))
|
||||
"0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51"))
|
||||
(patches (list %mu-gtester-patch))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
@@ -505,14 +516,14 @@ MailCore 2.")
|
||||
(define-public claws-mail
|
||||
(package
|
||||
(name "claws-mail")
|
||||
(version "3.11.1")
|
||||
(version "3.13.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://sourceforge/claws-mail/claws-mail-" version
|
||||
"http://www.claws-mail.org/releases/" name "-" version
|
||||
".tar.xz"))
|
||||
(sha256
|
||||
(base32 "0cyixz1jgfpi8abh9fbb8ylx9mcvw4jqj81cms666wpqr6v828yp"))))
|
||||
(base32 "0fpr9gdgrs5yggm61a6135ca06x0cflddsh8dwfqmpb3dj07cl1n"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs `(("bogofilter" ,bogofilter)
|
||||
@@ -931,4 +942,66 @@ Email::Send library.")
|
||||
format and headers.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public libesmtp
|
||||
(package
|
||||
(name "libesmtp")
|
||||
(version "1.0.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
`(("openssl" ,openssl)))
|
||||
(home-page "http://www.stafford.uklinux.net/libesmtp/")
|
||||
(synopsis "Library for sending mail via remote hosts using SMTP")
|
||||
(description "libESMTP is an SMTP client which manages posting (or
|
||||
submission of) electronic mail via a preconfigured Mail Transport Agent (MTA).
|
||||
It may be used as part of a Mail User Agent (MUA) or other program that must
|
||||
be able to post electronic mail where mail functionality may not be that
|
||||
program's primary purpose.")
|
||||
(license (list lgpl2.1+ gpl2+))))
|
||||
|
||||
(define-public esmtp
|
||||
(package
|
||||
(name "esmtp")
|
||||
(version "1.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/andywingo/esmtp.git")
|
||||
(commit "01bf9fc")))
|
||||
(sha256
|
||||
(base32
|
||||
"1ay282rrl92h0m0m8z5zzjnwiiagi7c78aq2qvhia5mw7prwfyw2"))
|
||||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'autoconf
|
||||
(lambda _ (zero? (system* "autoreconf" "-vfi")))))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("bison" ,bison)
|
||||
("flex" ,flex)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("libtool" ,libtool)))
|
||||
(inputs
|
||||
`(("libesmtp" ,libesmtp)))
|
||||
(home-page "http://sourceforge.net/projects/esmtp/")
|
||||
(synopsis "Relay-only mail transfer agent (MTA)")
|
||||
(description "Esmtp is a simple relay-only mail transfer agent built using
|
||||
libESMTP. It sends e-mail via a remote SMTP server using credentials from the
|
||||
user's @file{$HOME/.esmtprc} configuration file; see the @command{esmtprc} man
|
||||
page for more on configuration. This package also provides minimal
|
||||
compatibility shims for the @command{sendmail}, @command{mailq}, and
|
||||
@command{newaliases} commands.")
|
||||
(license gpl2+)))
|
||||
|
||||
;;; mail.scm ends here
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages gawk)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages groff)
|
||||
#:use-module (gnu packages less)
|
||||
#:use-module (gnu packages lynx)
|
||||
|
||||
+20
-26
@@ -8,6 +8,7 @@
|
||||
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -149,7 +150,7 @@ semiconductors.")
|
||||
(define-public gsl
|
||||
(package
|
||||
(name "gsl")
|
||||
(version "1.16")
|
||||
(version "2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -157,24 +158,10 @@ semiconductors.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k"))
|
||||
(patches (map search-patch '("gsl-poly-test-fix-pt1.patch"
|
||||
"gsl-poly-test-fix-pt2.patch")))))
|
||||
"0bfahlsgil0695104a44c3c8vjkyvxmg3s92371fddcrj6qz0qg3"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:parallel-tests? #f
|
||||
#:phases
|
||||
(alist-replace
|
||||
'configure
|
||||
(lambda* (#:key target system outputs #:allow-other-keys #:rest args)
|
||||
(let ((configure (assoc-ref %standard-phases 'configure)))
|
||||
;; disable numerically unstable test on i686, see thread at
|
||||
;; http://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html
|
||||
(if (string=? (or target system) "i686-linux")
|
||||
(substitute* "ode-initval2/Makefile.in"
|
||||
(("TESTS = \\$\\(check_PROGRAMS\\)") "TESTS =")))
|
||||
(apply configure args)))
|
||||
%standard-phases)))
|
||||
`(#:parallel-tests? #f))
|
||||
(home-page "http://www.gnu.org/software/gsl/")
|
||||
(synopsis "Numerical library for C and C++")
|
||||
(description
|
||||
@@ -1461,7 +1448,7 @@ constant parts of it.")
|
||||
(define-public openblas
|
||||
(package
|
||||
(name "openblas")
|
||||
(version "0.2.14")
|
||||
(version "0.2.15")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -1470,17 +1457,18 @@ constant parts of it.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0av3pd96j8rx5i65f652xv9wqfkaqn0w4ma1gvbyz73i6j2hi9db"))))
|
||||
"1k5f6vjlk54qlplk5m7xkbaw6g2y7dl50lwwdv6xsbcsgsbxfcpy"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;no "check" target
|
||||
;; DYNAMIC_ARCH is only supported on x86. When it is disabled,
|
||||
;; OpenBLAS will tune itself to the build host, so we need to disable
|
||||
;; substitutions.
|
||||
;; DYNAMIC_ARCH is only supported on x86. When it is disabled and no
|
||||
;; TARGET is specified, OpenBLAS will tune itself to the build host, so
|
||||
;; we need to disable substitutions.
|
||||
#:substitutable?
|
||||
,(let ((system (or (%current-target-system) (%current-system))))
|
||||
(or (string-prefix? "x86_64" system)
|
||||
(string-prefix? "i686" system)))
|
||||
(string-prefix? "i686" system)
|
||||
(string-prefix? "mips" system)))
|
||||
#:make-flags
|
||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||
"SHELL=bash"
|
||||
@@ -1491,10 +1479,16 @@ constant parts of it.")
|
||||
;; Unfortunately, this is not supported on non-x86 architectures,
|
||||
;; where it leads to failed builds.
|
||||
,@(let ((system (or (%current-target-system) (%current-system))))
|
||||
(if (or (string-prefix? "x86_64" system)
|
||||
(cond
|
||||
((or (string-prefix? "x86_64" system)
|
||||
(string-prefix? "i686" system))
|
||||
'("DYNAMIC_ARCH=1")
|
||||
'())))
|
||||
'("DYNAMIC_ARCH=1"))
|
||||
;; On MIPS we force the "SICORTEX" TARGET, as for the other
|
||||
;; two available MIPS targets special extended instructions
|
||||
;; for Loongson cores are used.
|
||||
((string-prefix? "mips" system)
|
||||
'("TARGET=SICORTEX"))
|
||||
(else '()))))
|
||||
;; no configure script
|
||||
#:phases (alist-delete 'configure %standard-phases)))
|
||||
(inputs
|
||||
|
||||
@@ -346,6 +346,14 @@ Guile.")
|
||||
(%current-system))))
|
||||
'("--disable-sse")
|
||||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'set-flags
|
||||
(lambda _
|
||||
;; Compile with C++11, required by libsigc++.
|
||||
(setenv "CXXFLAGS" "-std=c++11")
|
||||
#t)))
|
||||
#:python ,python-2))
|
||||
(inputs
|
||||
`(("jack" ,jack-1)
|
||||
|
||||
@@ -460,6 +460,11 @@ provers.")
|
||||
("librsvg" ,librsvg)))
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
|
||||
;; Occasionally we would get "Error: Unbound module GtkThread" when
|
||||
;; compiling 'gtkThInit.ml', with 'make -j'. So build sequentially.
|
||||
#:parallel-build? #f
|
||||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'install
|
||||
|
||||
+185
-1
@@ -100,6 +100,40 @@ manner.")
|
||||
(define-public python2-debtcollector
|
||||
(package-with-python2 python-debtcollector))
|
||||
|
||||
(define-public python-hacking
|
||||
(package
|
||||
(name "python-hacking")
|
||||
(version "0.10.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "hacking" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-flake8-2.2.4" ,python-flake8-2.2.4)
|
||||
("python-mccabe-0.2.1" ,python-mccabe-0.2.1)
|
||||
("python-pbr" ,python-pbr)
|
||||
("python-pep8-1.5.7" ,python-pep8-1.5.7)
|
||||
("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1)
|
||||
("python-six" ,python-six)))
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)
|
||||
;; Tests
|
||||
("python-testscenarios" ,python-testscenarios)))
|
||||
(home-page "http://github.com/openstack-dev/hacking")
|
||||
(synopsis "OpenStack hacking guideline enforcement")
|
||||
(description
|
||||
"Python-hacking is a set of flake8 plugins that test and enforce the
|
||||
@uref{http://docs.openstack.org/developer/hacking/, OpenStack style
|
||||
guidelines}.")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-hacking
|
||||
(package-with-python2 python-hacking))
|
||||
|
||||
(define-public python-mox3
|
||||
(package
|
||||
(name "python-mox3")
|
||||
@@ -172,6 +206,40 @@ tested on Python version 3.2, 2.7 and 2.6.")
|
||||
(define-public python2-mox3
|
||||
(package-with-python2 python-mox3))
|
||||
|
||||
(define-public python-os-testr
|
||||
(package
|
||||
(name "python-os-testr")
|
||||
(version "0.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "os-testr" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
;; os-testr uses itself to run the tests. It seems like pbr writes the
|
||||
;; exectuable in the virtualenv when using tox. Not sure how to do this
|
||||
;; when building the package. Skip the tests for now.
|
||||
`(#:tests? #f))
|
||||
(propagated-inputs
|
||||
`(("python-pbr" ,python-pbr)
|
||||
("python-subunit" ,python-subunit)
|
||||
("python-testtools" ,python-testtools)))
|
||||
(inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://www.openstack.org/")
|
||||
(synopsis "Testr wrapper to provide functionality for OpenStack projects")
|
||||
(description
|
||||
"Os-testr provides developers with a testr wrapper and an output filter
|
||||
for subunit.")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-os-testr
|
||||
(package-with-python2 python-os-testr))
|
||||
|
||||
(define-public python-pbr
|
||||
(package
|
||||
(name "python-pbr")
|
||||
@@ -286,6 +354,51 @@ extensions.")
|
||||
(define-public python2-stevedore
|
||||
(package-with-python2 python-stevedore))
|
||||
|
||||
(define-public python-tempest-lib
|
||||
(package
|
||||
(name "python-tempest-lib")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "tempest-lib" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1s32rpxw86p41ip9nr7zbqxd60mw1cqz2isirby36rh4vl68bfhx"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'check 'pre-check
|
||||
(lambda _
|
||||
(substitute* "tempest_lib/tests/cli/test_execute.py"
|
||||
(("/bin/ls") (which "ls"))))))))
|
||||
(propagated-inputs
|
||||
`(("python-fixtures" ,python-fixtures)
|
||||
("python-httplib2" ,python-httplib2)
|
||||
("python-iso8601" ,python-iso8601)
|
||||
("python-jsonschema" ,python-jsonschema)
|
||||
("python-oslo.log" ,python-oslo.log)
|
||||
("python-paramiko" ,python-paramiko)
|
||||
("python-pbr" ,python-pbr)
|
||||
("python-six" ,python-six)))
|
||||
(inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-mock" ,python-mock)
|
||||
("python-os-testr" ,python-os-testr)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://www.openstack.org/")
|
||||
(synopsis "OpenStack functional testing library")
|
||||
(description
|
||||
"Tempest-lib is a functional testing library for OpenStack. It provides
|
||||
common features used in Tempest.")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-tempest-lib
|
||||
(package-with-python2 python-tempest-lib))
|
||||
|
||||
;; Packages from the Oslo library
|
||||
(define-public python-oslo.config
|
||||
(package
|
||||
@@ -392,6 +505,47 @@ in an application or library.")
|
||||
(define-public python2-oslo.i18n
|
||||
(package-with-python2 python-oslo.i18n))
|
||||
|
||||
(define-public python-oslo.log
|
||||
(package
|
||||
(name "python-oslo.log")
|
||||
(version "1.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/o/oslo.log/oslo.log-"
|
||||
version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-debtcollector" ,python-debtcollector)
|
||||
("python-oslo.config" ,python-oslo.config)
|
||||
("python-oslo.context" ,python-oslo.context)
|
||||
("python-oslo.i18n" ,python-oslo.i18n)
|
||||
("python-oslo.utils" ,python-oslo.utils)
|
||||
("python-oslo.serialization" ,python-oslo.serialization)
|
||||
("python-six" ,python-six)))
|
||||
(inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-iso8601" ,python-iso8601)
|
||||
("python-mock" ,python-mock)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("python-pbr" ,python-pbr)
|
||||
("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://launchpad.net/oslo")
|
||||
(synopsis "Python logging library of the Oslo project")
|
||||
(description
|
||||
"The oslo.log (logging) configuration library provides standardized
|
||||
configuration for all OpenStack projects. It also provides custom formatters,
|
||||
handlers and support for context specific logging (like resource id’s etc).")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-oslo.log
|
||||
(package-with-python2 python-oslo.log))
|
||||
|
||||
(define-public python-oslo.serialization
|
||||
(package
|
||||
(name "python-oslo.serialization")
|
||||
@@ -431,6 +585,36 @@ in transmittable and storable formats, such as JSON and MessagePack.")
|
||||
(define-public python2-oslo.serialization
|
||||
(package-with-python2 python-oslo.serialization))
|
||||
|
||||
(define-public python-oslosphinx
|
||||
(package
|
||||
(name "python-oslosphinx")
|
||||
(version "3.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "oslosphinx" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0zcshdc9s1f7hnvg0fm2ps5rak3dpnm8kqg4i21lknhmsvb7p5cb"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-requests" ,python-requests)))
|
||||
(inputs
|
||||
`(("python-pbr" ,python-pbr)
|
||||
("python-docutils" ,python-docutils)
|
||||
("python-hacking" ,python-hacking)
|
||||
("python-setuptools" ,python-setuptools)
|
||||
("python-sphinx" ,python-sphinx)))
|
||||
(home-page "http://www.openstack.org/")
|
||||
(synopsis "OpenStack sphinx extensions and theme")
|
||||
(description
|
||||
"This package provides themes and extensions for Sphinx documentation
|
||||
from the OpenStack project.")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-oslosphinx
|
||||
(package-with-python2 python-oslosphinx))
|
||||
|
||||
(define-public python-oslotest
|
||||
(package
|
||||
(name "python-oslotest")
|
||||
@@ -449,10 +633,10 @@ in transmittable and storable formats, such as JSON and MessagePack.")
|
||||
(propagated-inputs
|
||||
`(("python-fixtures" ,python-fixtures)
|
||||
("python-mock" ,python-mock)
|
||||
("python-mox3" ,python-mox3)
|
||||
("python-six" ,python-six)))
|
||||
(inputs
|
||||
`(("python-pbr" ,python-pbr)
|
||||
("python-mox3" ,python-mox3)
|
||||
("python-os-client-config" ,python-os-client-config)
|
||||
("python-setuptools" ,python-setuptools)
|
||||
("python-subunit" ,python-subunit)
|
||||
|
||||
@@ -23,9 +23,12 @@
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+))
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0))
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages file)
|
||||
#:use-module (gnu packages backup)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages databases)
|
||||
@@ -34,12 +37,17 @@
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages nettle)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (gnu packages man)
|
||||
#:use-module (gnu packages emacs)
|
||||
#:use-module (gnu packages bdw-gc)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages popt)
|
||||
#:use-module (gnu packages gnuzilla)
|
||||
#:use-module (gnu packages cpio)
|
||||
#:use-module (gnu packages tls))
|
||||
|
||||
(define (boot-guile-uri arch)
|
||||
@@ -74,6 +82,7 @@
|
||||
(string-append "--with-libgcrypt-prefix="
|
||||
(assoc-ref %build-inputs
|
||||
"libgcrypt")))
|
||||
#:parallel-tests? #f ;work around <http://bugs.gnu.org/21097>
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'copy-bootstrap-guile
|
||||
@@ -109,7 +118,17 @@
|
||||
(substitute* "tests/containers.scm"
|
||||
(("^\\(test-assert" all)
|
||||
(string-append "(test-skip 1)\n" all)))
|
||||
(when (file-exists? "tests/guix-environment-container.sh")
|
||||
(substitute* "tests/guix-environment-container.sh"
|
||||
(("guix environment --version")
|
||||
"exit 77\n")))
|
||||
#t))
|
||||
(add-before 'check 'set-SHELL
|
||||
(lambda _
|
||||
;; 'guix environment' tests rely on 'SHELL' having a
|
||||
;; correct value, so set it.
|
||||
(setenv "SHELL" (which "sh"))
|
||||
#t))
|
||||
(add-after
|
||||
'install 'wrap-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
@@ -176,7 +195,7 @@ the Nix package manager.")
|
||||
;;
|
||||
;; Note: use a short commit id; when using the long one, the limit on socket
|
||||
;; file names is exceeded while running the tests.
|
||||
(let ((commit "abbe2c6"))
|
||||
(let ((commit "b485f75"))
|
||||
(package (inherit guix-0.8.3)
|
||||
(version (string-append "0.8.3." commit))
|
||||
(source (origin
|
||||
@@ -186,10 +205,15 @@ the Nix package manager.")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"1zgjj5knpz3qbbqdjm4yh436bzfgasc6p0k3xnx58hfjd88mdsga"))
|
||||
"1frn74y5c3n91qxs5b3sxbr8ai43s6svlb2djfnp7nqbr1ax3mph"))
|
||||
(file-name (string-append "guix-" version "-checkout"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments guix-0.8.3)
|
||||
((#:configure-flags flags)
|
||||
;; Set 'DOT_USER_PROGRAM' to the empty string so we don't keep a
|
||||
;; reference to Graphviz, whose closure is pretty big (too big for
|
||||
;; the GuixSD installation image.)
|
||||
`(cons "ac_cv_path_DOT_USER_PROGRAM=dot" ,flags))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after
|
||||
@@ -275,3 +299,130 @@ typically used for managing software packages installed from source, by
|
||||
letting you install them apart in distinct directories and then create
|
||||
symlinks to the files in a common directory such as /usr/local.")
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public rpm
|
||||
(package
|
||||
(name "rpm")
|
||||
(version "4.12.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://rpm.org/releases/rpm-4.12.x/rpm-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"18hk47hc755nslvb7xkq4jb095z7va0nlcyxdpxayc4lmb8mq3bp"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--with-external-db" ;use the system's bdb
|
||||
"--enable-python"
|
||||
"--without-lua")
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'configure 'set-nspr-search-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; nspr.pc contains the right -I flag pointing to
|
||||
;; 'include/nspr', but unfortunately 'configure' doesn't
|
||||
;; use 'pkg-config'. Thus, augment CPATH.
|
||||
;; Likewise for NSS.
|
||||
(let ((nspr (assoc-ref inputs "nspr"))
|
||||
(nss (assoc-ref inputs "nss")))
|
||||
(setenv "CPATH"
|
||||
(string-append (getenv "CPATH") ":"
|
||||
nspr "/include/nspr:"
|
||||
nss "/include/nss"))
|
||||
(setenv "LIBRARY_PATH"
|
||||
(string-append (getenv "LIBRARY_PATH") ":"
|
||||
nss "/lib/nss"))
|
||||
#t)))
|
||||
(add-after 'install 'fix-rpm-symlinks
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; 'make install' gets these symlinks wrong. Fix them.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(with-directory-excursion bin
|
||||
(for-each (lambda (file)
|
||||
(delete-file file)
|
||||
(symlink "rpm" file))
|
||||
'("rpmquery" "rpmverify"))
|
||||
#t)))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("python" ,python-2)
|
||||
("xz" ,xz)
|
||||
("bdb" ,bdb)
|
||||
("popt" ,popt)
|
||||
("nss" ,nss)
|
||||
("nspr" ,nspr)
|
||||
("libarchive" ,libarchive)
|
||||
("nettle" ,nettle) ;XXX: actually a dependency of libarchive
|
||||
("file" ,file)
|
||||
("bzip2" ,bzip2)
|
||||
("zlib" ,zlib)
|
||||
("cpio" ,cpio)))
|
||||
(home-page "http://www.rpm.org/")
|
||||
(synopsis "The RPM Package Manager")
|
||||
(description
|
||||
"The RPM Package Manager (RPM) is a command-line driven package
|
||||
management system capable of installing, uninstalling, verifying, querying,
|
||||
and updating computer software packages. Each software package consists of an
|
||||
archive of files along with information about the package like its version, a
|
||||
description. There is also a library permitting developers to manage such
|
||||
transactions from C or Python.")
|
||||
|
||||
;; The whole is GPLv2+; librpm itself is dual-licensed LGPLv2+ | GPLv2+.
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public diffoscope
|
||||
(package
|
||||
(name "diffoscope")
|
||||
(version "34")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url
|
||||
"https://anonscm.debian.org/cgit/reproducible/diffoscope.git")
|
||||
(commit version)))
|
||||
(sha256
|
||||
(base32
|
||||
"1g8b7bpkmns0355gkr3a244affwx4xzqwahwsl6ivw4z0qv7dih8"))
|
||||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'build 'disable-egg-zipping
|
||||
(lambda _
|
||||
;; Leave the .egg file uncompressed.
|
||||
(let ((port (open-file "setup.cfg" "a")))
|
||||
(display "\n[easy_install]\nzip_ok = 0\n"
|
||||
port)
|
||||
(close-port port)
|
||||
#t)))
|
||||
(add-before 'build 'dependency-on-rpm
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
;; Somehow this requirement is reported as not met,
|
||||
;; even though rpm.py is in the search path. So
|
||||
;; delete it.
|
||||
(("'rpm-python',") ""))
|
||||
#t)))
|
||||
;; FIXME: Some obscure test failures.
|
||||
#:tests? #f))
|
||||
(inputs `(("rpm" ,rpm) ;for rpm-python
|
||||
("python-file" ,python2-file)
|
||||
("python-debian" ,python2-debian)
|
||||
("python-libarchive-c" ,python2-libarchive-c)
|
||||
("python-tlsh" ,python2-tlsh)
|
||||
|
||||
;; Below are modules used for tests.
|
||||
("python-pytest" ,python2-pytest)
|
||||
("python-chardet" ,python2-chardet)))
|
||||
(native-inputs `(("python-setuptools" ,python2-setuptools)))
|
||||
(home-page "http://diffoscope.org/")
|
||||
(synopsis "Compare files, archives, and directories in depth")
|
||||
(description
|
||||
"Diffoscope tries to get to the bottom of what makes files or directories
|
||||
different. It recursively unpacks archives of many kinds and transforms
|
||||
various binary formats into more human readable forms to compare them. It can
|
||||
compare two tarballs, ISO images, or PDFs just as easily.")
|
||||
(license gpl3+)))
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
(define-public parallel
|
||||
(package
|
||||
(name "parallel")
|
||||
(version "20150922")
|
||||
(version "20151022")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -36,7 +36,7 @@
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"05zf3jhjmswfr63lgxw8q26kysd72b8m0zy5jbc94r6appx8bd7j"))))
|
||||
"07cyq3lapbbxf27b47wv1yjqsz48jidqr595r1pq77ajzy4i7zl4"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("perl" ,perl)))
|
||||
(home-page "http://www.gnu.org/software/parallel/")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Steve Sprang <scs@stevesprang.com>
|
||||
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015 Aljosha Papsch <misc@rpapsch.de>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -26,6 +27,9 @@
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages xorg))
|
||||
@@ -104,3 +108,31 @@ For copying and pasting secrets into web browsers and other graphical
|
||||
applications, there is xclip integration." )
|
||||
(home-page "http://dthompson.us/pages/software/shroud.html")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public yapet
|
||||
(package
|
||||
(name "yapet")
|
||||
(version "1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.guengel.ch/myapps/yapet/downloads/yapet-"
|
||||
version
|
||||
".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ydbnqw6icdh07pnv2w6dhvq501bdfvrklv4xmyr8znca9d753if"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("ncurses" ,ncurses)
|
||||
("openssl" ,openssl)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(synopsis "Yet Another Password Encryption Tool")
|
||||
(description "YAPET is a text based password manager using the Blowfish
|
||||
encryption algorithm. Because of its small footprint and very few library
|
||||
dependencies, it is suited for installing on desktop and server systems alike.
|
||||
The text based user interface allows you to run YAPET easily in a Secure Shell
|
||||
session. Two companion utilities enable users to convert CSV files to YAPET
|
||||
and vice versa.")
|
||||
(home-page "http://www.guengel.ch/myapps/yapet/")
|
||||
(license license:gpl3+)))
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From 484ad8c9263bb524051a999ce19a994960e69572 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
|
||||
Date: Fri, 23 Oct 2015 20:48:57 +0800
|
||||
Subject: [PATCH] unit/test-gobex-header: Fix duplicate test names
|
||||
|
||||
---
|
||||
unit/test-gobex-header.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
|
||||
index 6f49312..8705892 100644
|
||||
--- a/unit/test-gobex-header.c
|
||||
+++ b/unit/test-gobex-header.c
|
||||
@@ -554,7 +554,7 @@ int main(int argc, char *argv[])
|
||||
test_header_encode_name_umlaut);
|
||||
g_test_add_func("/gobex/test_header_encode_body",
|
||||
test_header_encode_body);
|
||||
- g_test_add_func("/gobex/test_header_encode_connid",
|
||||
+ g_test_add_func("/gobex/test_header_encode_actionid",
|
||||
test_header_encode_actionid);
|
||||
g_test_add_func("/gobex/test_header_encode_apparam",
|
||||
test_header_encode_apparam);
|
||||
--
|
||||
2.5.0
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Skeleton status files are installed read-only. When copying to the config dir
|
||||
upon initialization, make sure they end up writable.
|
||||
|
||||
--- byobu-5.98/usr/bin/byobu-janitor.in
|
||||
+++ byobu-5.98/usr/bin/byobu-janitor.in
|
||||
@@ -82,6 +82,7 @@
|
||||
if [ ! -r "$BYOBU_CONFIG_DIR/$f" ]; then
|
||||
# Copy from skeleton, if possible
|
||||
cp -f "$BYOBU_PREFIX/share/$PKG/status/$f" "$BYOBU_CONFIG_DIR/$f"
|
||||
+ chmod +w "$BYOBU_CONFIG_DIR/$f"
|
||||
# Enable ec2_cost, if we're in ec2 and seeding a new setup
|
||||
if metadata_available; then
|
||||
$BYOBU_SED_INLINE -e "s/#ec2_cost/ec2_cost/g" "$($BYOBU_READLINK -f $BYOBU_CONFIG_DIR/$f)"
|
||||
@@ -0,0 +1,18 @@
|
||||
The setuid helper of D-Bus is responsible for "service activation".
|
||||
It looks for '.service' files in fixed locations, but the default locations
|
||||
make no sense (see below), so replace them with /etc/dbus-1/system-services.
|
||||
|
||||
--- dbus-1.10.0/dbus/dbus-sysdeps-util-unix.c 2015-10-22 00:07:03.829251854 +0200
|
||||
+++ dbus-1.10.0/dbus/dbus-sysdeps-util-unix.c 2015-10-22 00:07:14.893445175 +0200
|
||||
@@ -1410,10 +1410,7 @@ _dbus_get_standard_system_servicedirs (D
|
||||
* be available.
|
||||
*/
|
||||
static const char standard_search_path[] =
|
||||
- "/usr/local/share:"
|
||||
- "/usr/share:"
|
||||
- DBUS_DATADIR ":"
|
||||
- "/lib";
|
||||
+ "/etc";
|
||||
DBusString servicedir_path;
|
||||
|
||||
_dbus_string_init_const (&servicedir_path, standard_search_path);
|
||||
@@ -1,30 +0,0 @@
|
||||
Do not try to create $localstatedir and $sysconfdir since we cannot do this
|
||||
when they are /var and /etc.
|
||||
|
||||
--- dbus-1.6.4/bus/Makefile.in 2013-09-11 16:15:13.000000000 +0200
|
||||
+++ dbus-1.6.4/bus/Makefile.in 2013-09-11 16:15:15.000000000 +0200
|
||||
@@ -1510,9 +1510,6 @@ clean-local:
|
||||
/bin/rm *.bb *.bbg *.da *.gcov || true
|
||||
|
||||
install-data-hook:
|
||||
- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus
|
||||
- $(mkinstalldirs) $(DESTDIR)$(configdir)/system.d
|
||||
- $(mkinstalldirs) $(DESTDIR)$(configdir)/session.d
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services
|
||||
$(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/system-services
|
||||
# Install dbus.socket as default implementation of a D-Bus stack.
|
||||
|
||||
--- dbus-1.6.4/tools/Makefile.in 2013-09-11 16:10:31.000000000 +0200
|
||||
+++ dbus-1.6.4/tools/Makefile.in 2013-09-11 16:10:32.000000000 +0200
|
||||
@@ -757,11 +757,6 @@ uninstall-am: uninstall-binPROGRAMS
|
||||
|
||||
|
||||
# create the /var/lib/dbus directory for dbus-uuidgen
|
||||
-install-data-local:
|
||||
- $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/dbus
|
||||
-
|
||||
-installcheck-local:
|
||||
- test -d $(DESTDIR)$(localstatedir)/lib/dbus
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
@@ -4,9 +4,9 @@ The old udev 182 supported $UDEV_CONFIG_FILE, which in turn allowed
|
||||
the search path to be customized, but eudev no longer has this, hence
|
||||
this hack.
|
||||
|
||||
--- eudev-1.9/src/udev/udev-rules.c 2014-09-13 10:21:59.615980259 +0200
|
||||
+++ eudev-1.9/src/udev/udev-rules.c 2014-09-13 10:24:13.839976335 +0200
|
||||
@@ -46,15 +46,11 @@
|
||||
--- eudev-3.1.5/src/udev/udev-rules.c 2015-10-13 06:22:14.000000000 +0800
|
||||
+++ eudev-3.1.5/src/udev/udev-rules.c 2015-10-16 20:45:38.491934336 +0800
|
||||
@@ -47,15 +47,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
@@ -14,23 +14,23 @@ this hack.
|
||||
+static const char* rules_dirs[] = {
|
||||
UDEV_CONF_DIR "/rules.d",
|
||||
UDEV_RULES_DIR,
|
||||
- "/run/udev/rules.d",
|
||||
- UDEV_ROOT_RUN "/udev/rules.d",
|
||||
UDEV_LIBEXEC_DIR "/rules.d",
|
||||
-#ifdef HAVE_SPLIT_USR
|
||||
- "/lib/udev/rules.d",
|
||||
- "/usr/lib/udev/rules.d",
|
||||
-#endif
|
||||
+ NULL, /* placeholder for $EUDEV_RULES_DIRECTORY */
|
||||
+ NULL, /* placeholder for $EUDEV_RULES_DIRECTORY */
|
||||
NULL};
|
||||
|
||||
struct udev_rules {
|
||||
@@ -1637,6 +1633,9 @@
|
||||
@@ -1704,6 +1700,9 @@
|
||||
|
||||
udev_rules_check_timestamp(rules);
|
||||
|
||||
+ /* Allow the user to specify an additional rules directory. */
|
||||
+ rules_dirs[3] = getenv("EUDEV_RULES_DIRECTORY");
|
||||
+ /* Allow the user to specify an additional rules directory. */
|
||||
+ rules_dirs[3] = getenv("EUDEV_RULES_DIRECTORY");
|
||||
+
|
||||
r = conf_files_list_strv(&files, ".rules", NULL, rules_dirs);
|
||||
if (r < 0) {
|
||||
log_error("failed to enumerate rules files: %s", strerror(-r));
|
||||
log_error_errno(r, "failed to enumerate rules files: %m");
|
||||
|
||||
@@ -56,11 +56,12 @@ database, the `update-desktop-database' program, which we don't provide.
|
||||
|
||||
-----------------------------
|
||||
The hunk below removes tests that depend on `gdbus-testserver.py',
|
||||
because that script depends on python-gobject.
|
||||
because that script depends on python-gobject. The second hunk
|
||||
disables a test that expects /etc/machine-id in the build environment.
|
||||
|
||||
--- glib-2.39.1/gio/tests/Makefile.in 2014-01-20 00:18:16.000000000 +0100
|
||||
+++ glib-2.39.1/gio/tests/Makefile.in 2014-01-20 00:18:47.000000000 +0100
|
||||
@@ -171,20 +171,13 @@ check_PROGRAMS = $(am__EXEEXT_14)
|
||||
--- glib-2.46.0/gio/tests/Makefile.in 2015-10-14 14:11:00.928809504 +0200
|
||||
+++ glib-2.46.0/gio/tests/Makefile.in 2015-10-14 14:12:13.157291092 +0200
|
||||
@@ -186,20 +186,13 @@ check_PROGRAMS = $(am__EXEEXT_16)
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gdbus-auth \
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gdbus-bz627724 \
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gdbus-close-pending \
|
||||
@@ -79,7 +80,16 @@ because that script depends on python-gobject.
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gdbus-test-codegen-old \
|
||||
-@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gdbus-threading \
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gmenumodel \
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ gnotification \
|
||||
@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@ $(NULL)
|
||||
@@ -321,8 +314,7 @@ libresourceplugin_la_LINK = $(LIBTOOL) $
|
||||
am__EXEEXT_1 =
|
||||
@OS_UNIX_TRUE@am__EXEEXT_2 = contenttype$(EXEEXT) file$(EXEEXT) \
|
||||
@OS_UNIX_TRUE@ gdbus-peer-object-manager$(EXEEXT) \
|
||||
-@OS_UNIX_TRUE@ gdbus-unix-addresses$(EXEEXT) \
|
||||
@OS_UNIX_TRUE@ live-g-file$(EXEEXT) socket-address$(EXEEXT) \
|
||||
@OS_UNIX_TRUE@ stream-rw_all$(EXEEXT) unix-fd$(EXEEXT) \
|
||||
@OS_UNIX_TRUE@ unix-streams$(EXEEXT) $(am__EXEEXT_1) \
|
||||
|
||||
|
||||
The test below depends on the availability /etc/passwd to dbus-daemon.
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
From 9cc12d0377dd634b1b97954d076b715f982853b7 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Alken <alken@colorado.edu>
|
||||
Date: Fri, 4 Apr 2014 13:36:16 -0600
|
||||
Subject: [PATCH] bug fix in sorting of complex numbers (bug #39055)
|
||||
|
||||
---
|
||||
poly/test.c | 49 ++++++++++++++++++++++++++++++-------------------
|
||||
1 file changed, 30 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/poly/test.c b/poly/test.c
|
||||
index 9c147f6..d090802 100644
|
||||
--- a/poly/test.c
|
||||
+++ b/poly/test.c
|
||||
@@ -25,11 +25,21 @@
|
||||
#include <gsl/gsl_poly.h>
|
||||
#include <gsl/gsl_heapsort.h>
|
||||
|
||||
+/* sort by Re(z) then by Im(z) */
|
||||
static int
|
||||
cmp_cplx(const double *a, const double *b)
|
||||
{
|
||||
- double t = (a[0] * a[0] + a[1] * a[1]) - (b[0] * b[0] + b[1] * b[1]);
|
||||
- return t < 0.0 ? -1 : t > 0.0 ? 1 : 0;
|
||||
+ double r = a[0] - b[0];
|
||||
+
|
||||
+ if (r == 0.0)
|
||||
+ {
|
||||
+ double t = a[1] - b[1];
|
||||
+ return t < 0.0 ? -1 : t > 0.0 ? 1 : 0;
|
||||
+ }
|
||||
+ else if (r < 0.0)
|
||||
+ return -1;
|
||||
+ else
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
int
|
||||
@@ -534,25 +544,26 @@ main (void)
|
||||
Problem reported by Munagala Ramanath (bug #39055)
|
||||
*/
|
||||
|
||||
- double a[16] = { 32, -48, -8, 28, -8, 16, -16, 12, -16, 6, 10, -17, 10, 2, -4, 1 };
|
||||
+ double a[16] = { 32, -48, -8, 28, -8, 16, -16, 12,
|
||||
+ -16, 6, 10, -17, 10, 2, -4, 1 };
|
||||
double z[16*2];
|
||||
|
||||
- double expected[16*20] = {
|
||||
- 1.0000000000000000, 0.00000000000000000,
|
||||
- 1.0000000000000000, 0.00000000000000000,
|
||||
- -1.0000000000000000, 0.00000000000000000,
|
||||
- -0.65893856175240950, 0.83459757287426684,
|
||||
- -0.65893856175240950, -0.83459757287426684,
|
||||
- -0.070891117403341281, -1.1359249087587791,
|
||||
- -0.070891117403341281, 1.1359249087587791,
|
||||
- 1.1142366961812986, -0.48083981203389980,
|
||||
- 1.1142366961812986, 0.48083981203389980,
|
||||
- -1.3066982484920768, 0.00000000000000000,
|
||||
- 0.57284747839410854, 1.1987808988289705,
|
||||
- 0.57284747839410854, -1.1987808988289705,
|
||||
- -1.6078107423472359, 0.00000000000000000,
|
||||
- 2.0000000000000000, 0.00000000000000000,
|
||||
- 2.0000000000000000, 0.00000000000000000 };
|
||||
+ double expected[16*2] = {
|
||||
+ -1.6078107423472359, 0.00000000000000000,
|
||||
+ -1.3066982484920768, 0.00000000000000000,
|
||||
+ -1.0000000000000000, 0.00000000000000000,
|
||||
+ -0.65893856175240950, -0.83459757287426684,
|
||||
+ -0.65893856175240950, 0.83459757287426684,
|
||||
+ -0.070891117403341281, -1.1359249087587791,
|
||||
+ -0.070891117403341281, 1.1359249087587791,
|
||||
+ 0.57284747839410854, -1.1987808988289705,
|
||||
+ 0.57284747839410854, 1.1987808988289705,
|
||||
+ 1.0000000000000000, 0.00000000000000000,
|
||||
+ 1.0000000000000000, 0.00000000000000000,
|
||||
+ 1.1142366961812986, -0.48083981203389980,
|
||||
+ 1.1142366961812986, 0.48083981203389980,
|
||||
+ 2.0000000000000000, 0.00000000000000000,
|
||||
+ 2.0000000000000000, 0.00000000000000000 };
|
||||
|
||||
int i;
|
||||
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
From 0466df8660a7b6ddf2e082a1ec38bc6ea25a3c5c Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Alken <alken@colorado.edu>
|
||||
Date: Mon, 7 Apr 2014 10:59:58 -0600
|
||||
Subject: [PATCH] change error test for 15th degree polynomial (bug #39055)
|
||||
|
||||
---
|
||||
poly/test.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/poly/test.c b/poly/test.c
|
||||
index d090802..f6a7e3f 100644
|
||||
--- a/poly/test.c
|
||||
+++ b/poly/test.c
|
||||
@@ -579,8 +579,8 @@ main (void)
|
||||
|
||||
for (i = 0; i<15; i++)
|
||||
{
|
||||
- gsl_test_abs (z[2*i], expected[2*i], 1e-7, "z%d.real, 15th-order polynomial", i);
|
||||
- gsl_test_abs (z[2*i+1], expected[2*i+1], 1e-7, "z%d.imag, 15th-order polynomial", i);
|
||||
+ gsl_test_rel (z[2*i], expected[2*i], 1e-7, "z%d.real, 15th-order polynomial", i);
|
||||
+ gsl_test_rel (z[2*i+1], expected[2*i+1], 1e-7, "z%d.imag, 15th-order polynomial", i);
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -0,0 +1,297 @@
|
||||
Work around a C++11 incompatibility when compiling the gperf-generated
|
||||
'jsonrpc_methods.cc' with -std=c++11:
|
||||
|
||||
default/src/gx_head/engine/jsonrpc_methods.cc: In function ‘const CmdConnection::methodnames* in_word_set(const char*, unsigned int)’:
|
||||
default/src/gx_head/engine/jsonrpc_methods.cc:211:26: error: reference to ‘hash’ is ambiguous
|
||||
register int key = hash (str, len);
|
||||
^
|
||||
The solution is to run 'gperf -L C++' so that it generates code with
|
||||
appropriate C++ name-spacing to avoid the ambiguity.
|
||||
|
||||
--- guitarix-0.33.0/tools/make_jsonrpc_methods 2015-10-31 12:45:52.756587435 +0100
|
||||
+++ guitarix-0.33.0/tools/make_jsonrpc_methods 2015-10-31 12:47:02.801103366 +0100
|
||||
@@ -14,7 +14,7 @@ def add_enums(template_name, hashtable_n
|
||||
hashtable = open(hashtable_name, "w")
|
||||
hashtable.write(headline)
|
||||
hashtable.flush()
|
||||
- gperf = Popen(gperf_program, stdin=PIPE, stdout=hashtable)
|
||||
+ gperf = Popen([gperf_program, "-L", "C++"], stdin=PIPE, stdout=hashtable)
|
||||
enumlist = []
|
||||
section = 0
|
||||
in_comment = False
|
||||
|
||||
--- guitarix-0.33.0/src/gx_head/engine/jsonrpc.cpp 2015-10-31 12:50:33.934647842 +0100
|
||||
+++ guitarix-0.33.0/src/gx_head/engine/jsonrpc.cpp 2015-10-31 12:50:51.238773730 +0100
|
||||
@@ -1171,7 +1171,7 @@ bool CmdConnection::request(gx_system::J
|
||||
}
|
||||
}
|
||||
jp.next(gx_system::JsonParser::end_object);
|
||||
- const methodnames *p = in_word_set(method.c_str(), method.size());
|
||||
+ const methodnames *p = Perfect_Hash::in_word_set(method.c_str(), method.size());
|
||||
if (!p) {
|
||||
throw RpcError(-32601, Glib::ustring::compose("Method not found -- '%1'", method));
|
||||
}
|
||||
|
||||
|
||||
The following part is adapted from an upstream patch for the new libsigc++.
|
||||
|
||||
commit 001aa683814a7bf4537882c7c3acf1dafd851cd5
|
||||
Author: Hermann Meyer <brummer-@web.de>
|
||||
Date: Sat Oct 31 09:33:16 2015 +0100
|
||||
|
||||
* fix libsigc++ removes sigc::group
|
||||
|
||||
diff --git a/src/gx_head/gui/avahi_discover.cpp b/src/gx_head/gui/avahi_discover.cpp
|
||||
index c49746e..88993c2 100644
|
||||
--- a/src/gx_head/gui/avahi_discover.cpp
|
||||
+++ b/src/gx_head/gui/avahi_discover.cpp
|
||||
@@ -193,7 +193,9 @@ SelectInstance::SelectInstance(gx_system::CmdlineOptions& options, Gtk::Window *
|
||||
win->signal_response().connect(sigc::mem_fun(this, &SelectInstance::on_response));
|
||||
bld->get_widget("treeview", view);
|
||||
view->signal_row_activated().connect(
|
||||
- sigc::group(sigc::mem_fun(win, &Gtk::Dialog::response), 1));
|
||||
+ sigc::mem_fun(this,&SelectInstance::on_row));
|
||||
+ //view->signal_row_activated().connect(
|
||||
+ //sigc::group(sigc::mem_fun(win, &Gtk::Dialog::response), 1));
|
||||
view->set_model(Gtk::ListStore::create(cols));
|
||||
view->get_selection()->set_mode(Gtk::SELECTION_BROWSE);
|
||||
view->get_selection()->signal_changed().connect(
|
||||
@@ -242,6 +244,10 @@ void SelectInstance::on_avahi_changed() {
|
||||
}
|
||||
}
|
||||
|
||||
+void SelectInstance::on_row(const Gtk::TreePath& path, Gtk::TreeViewColumn* column) {
|
||||
+ on_response(1);
|
||||
+}
|
||||
+
|
||||
void SelectInstance::on_response(int response_id) {
|
||||
if (response_id == 1) {
|
||||
Gtk::TreeIter i = view->get_selection()->get_selected();
|
||||
diff --git a/src/gx_head/gui/gx_main.cpp b/src/gx_head/gui/gx_main.cpp
|
||||
index d1ad329..a207aa6 100644
|
||||
--- a/src/gx_head/gui/gx_main.cpp
|
||||
+++ b/src/gx_head/gui/gx_main.cpp
|
||||
@@ -281,8 +281,10 @@ void ErrorPopup::show_msg() {
|
||||
align->set_padding(50,20,0,10);
|
||||
Gtk::VBox *vbox = dynamic_cast<Gtk::VBox *>(dialog->get_child());
|
||||
vbox->set_redraw_on_allocate(true);
|
||||
- vbox->signal_expose_event().connect(
|
||||
- sigc::group(&gx_cairo::error_box_expose,GTK_WIDGET(vbox->gobj()),sigc::_1,(void*)0),false);
|
||||
+ g_signal_connect(GTK_WIDGET(vbox->gobj()), "expose-event",
|
||||
+ G_CALLBACK(gx_cairo::error_box_expose), NULL);
|
||||
+ // vbox->signal_expose_event().connect(
|
||||
+ //sigc::group(&gx_cairo::error_box_expose,GTK_WIDGET(vbox->gobj()),sigc::_1,(void*)0),false);
|
||||
dialog->set_title(_("GUITARIX ERROR"));
|
||||
dialog->signal_response().connect(
|
||||
sigc::mem_fun(*this, &ErrorPopup::on_response));
|
||||
@@ -306,9 +308,11 @@ GxSplashBox::GxSplashBox()
|
||||
: Gtk::Window(Gtk::WINDOW_POPUP) {
|
||||
set_redraw_on_allocate(true);
|
||||
set_app_paintable();
|
||||
- signal_expose_event().connect(
|
||||
- sigc::group(&gx_cairo::splash_expose, GTK_WIDGET(gobj()),
|
||||
- sigc::_1, (void*)0), false);
|
||||
+ g_signal_connect(GTK_WIDGET(gobj()), "expose-event",
|
||||
+ G_CALLBACK(gx_cairo::splash_expose), NULL);
|
||||
+ //signal_expose_event().connect(
|
||||
+ // sigc::group(&gx_cairo::splash_expose, GTK_WIDGET(gobj()),
|
||||
+ // sigc::_1, (void*)0), false);
|
||||
set_decorated(false);
|
||||
set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
|
||||
set_position(Gtk::WIN_POS_CENTER );
|
||||
diff --git a/src/gx_head/gui/gx_main_window.cpp b/src/gx_head/gui/gx_main_window.cpp
|
||||
index 23c9ae6..eb0e201 100644
|
||||
--- a/src/gx_head/gui/gx_main_window.cpp
|
||||
+++ b/src/gx_head/gui/gx_main_window.cpp
|
||||
@@ -1303,6 +1303,23 @@ void MainWindow::on_log_activate() {
|
||||
fLoggingWindow.hide();
|
||||
}
|
||||
}
|
||||
+// show loggingbox
|
||||
+bool MainWindow::on_log_activated(GdkEventButton* ev) {
|
||||
+ if (ev->type == GDK_BUTTON_PRESS && ev->button == 1) {
|
||||
+ if (!actions.loggingbox->get_active()) {
|
||||
+ actions.loggingbox->set_active(true);
|
||||
+ gint rxorg, ryorg;
|
||||
+ window->get_position(rxorg, ryorg);
|
||||
+ fLoggingWindow.move(rxorg+5, ryorg+272);
|
||||
+ fLoggingWindow.show_all();
|
||||
+ on_msg_level_changed();
|
||||
+ } else {
|
||||
+ fLoggingWindow.hide();
|
||||
+ actions.loggingbox->set_active(false);
|
||||
+ }
|
||||
+ }
|
||||
+ return true;
|
||||
+}
|
||||
|
||||
void MainWindow::on_engine_toggled() {
|
||||
gx_engine::GxEngineState s;
|
||||
@@ -2119,6 +2136,14 @@ bool MainWindow::on_toggle_mute(GdkEventButton* ev) {
|
||||
return true;
|
||||
}
|
||||
|
||||
+bool MainWindow::on_jackserverconnection(GdkEventButton* ev) {
|
||||
+ if (ev->type == GDK_BUTTON_PRESS && ev->button == 1) {
|
||||
+ bool v = actions.jackserverconnection->get_active();
|
||||
+ actions.jackserverconnection->set_active(!v);
|
||||
+ }
|
||||
+ return true;
|
||||
+}
|
||||
+
|
||||
void MainWindow::on_msg_level_changed() {
|
||||
switch (fLoggingWindow.get_unseen_msg_level()) {
|
||||
case GxLogger::kWarning: logstate_image->set(pixbuf_log_yellow); break;
|
||||
@@ -2683,12 +2708,14 @@ MainWindow::MainWindow(gx_engine::GxMachineBase& machine_, gx_system::CmdlineOpt
|
||||
*/
|
||||
if (jack) {
|
||||
jackd_image->set(pixbuf_jack_disconnected);
|
||||
- jackd_image->get_parent()->signal_button_press_event().connect(
|
||||
- sigc::bind_return(
|
||||
- sigc::group(
|
||||
- sigc::ptr_fun(toggle_action),
|
||||
- actions.jackserverconnection),
|
||||
- true));
|
||||
+ jackd_image->get_parent()->signal_button_press_event().connect(
|
||||
+ sigc::mem_fun(*this, &MainWindow::on_jackserverconnection));
|
||||
+ //jackd_image->get_parent()->signal_button_press_event().connect(
|
||||
+ // sigc::bind_return(
|
||||
+ // sigc::group(
|
||||
+ // sigc::ptr_fun(toggle_action),
|
||||
+ // actions.jackserverconnection),
|
||||
+ // true));
|
||||
} else {
|
||||
jackd_image->hide();
|
||||
}
|
||||
@@ -2823,11 +2850,14 @@ MainWindow::MainWindow(gx_engine::GxMachineBase& machine_, gx_system::CmdlineOpt
|
||||
false));
|
||||
on_msg_level_changed();
|
||||
logstate_image->get_parent()->signal_button_press_event().connect(
|
||||
- sigc::bind_return(
|
||||
- sigc::group(
|
||||
- sigc::ptr_fun(toggle_action),
|
||||
- actions.loggingbox),
|
||||
- true));
|
||||
+ sigc::mem_fun(*this, &MainWindow::on_log_activated));
|
||||
+
|
||||
+ //logstate_image->get_parent()->signal_button_press_event().connect(
|
||||
+ //sigc::bind_return(
|
||||
+ // sigc::group(
|
||||
+ // sigc::ptr_fun(toggle_action),
|
||||
+ // actions.loggingbox),
|
||||
+ // true));
|
||||
|
||||
/*
|
||||
** load plugin definitions into plugin_dict, add to effects_toolpalette
|
||||
diff --git a/src/gx_head/gui/gx_portmap.cpp b/src/gx_head/gui/gx_portmap.cpp
|
||||
index d8a6ae6..e711ee7 100644
|
||||
--- a/src/gx_head/gui/gx_portmap.cpp
|
||||
+++ b/src/gx_head/gui/gx_portmap.cpp
|
||||
@@ -578,12 +578,16 @@ PortMapWindow::PortMapWindow(Glib::RefPtr<gx_gui::GxBuilder> bld, gx_jack::GxJac
|
||||
b->set_name("rack_button");
|
||||
Gtk::VBox *vbox1;
|
||||
bld->find_widget("dialog-vbox1", vbox1);
|
||||
- vbox1->signal_expose_event().connect(
|
||||
- sigc::group(&gx_cairo::rectangle_skin_color_expose,GTK_WIDGET(vbox1->gobj()),sigc::_1,(void*)0),false);
|
||||
+ g_signal_connect(GTK_WIDGET(vbox1->gobj()), "expose-event",
|
||||
+ G_CALLBACK(gx_cairo::rectangle_skin_color_expose), NULL);
|
||||
+ // vbox1->signal_expose_event().connect(
|
||||
+ //sigc::group(&gx_cairo::rectangle_skin_color_expose,GTK_WIDGET(vbox1->gobj()),sigc::_1,(void*)0),false);
|
||||
Gtk::VBox *vbox2;
|
||||
bld->find_widget("dialog-vbox2", vbox2);
|
||||
- vbox2->signal_expose_event().connect(
|
||||
- sigc::group(&gx_cairo::rectangle_skin_color_expose,GTK_WIDGET(vbox2->gobj()),sigc::_1,(void*)0),false);
|
||||
+ g_signal_connect(GTK_WIDGET(vbox2->gobj()), "expose-event",
|
||||
+ G_CALLBACK(gx_cairo::rectangle_skin_color_expose), NULL);
|
||||
+ // vbox2->signal_expose_event().connect(
|
||||
+// sigc::group(&gx_cairo::rectangle_skin_color_expose,GTK_WIDGET(vbox2->gobj()),sigc::_1,(void*)0),false);
|
||||
vbox1->set_redraw_on_allocate(true);
|
||||
vbox2->set_redraw_on_allocate(true);
|
||||
for (int i = 0; i < number_of_ports; ++i) {
|
||||
diff --git a/src/headers/avahi_discover.h b/src/headers/avahi_discover.h
|
||||
index 5af5949..b6f523a 100644
|
||||
--- a/src/headers/avahi_discover.h
|
||||
+++ b/src/headers/avahi_discover.h
|
||||
@@ -91,6 +91,7 @@ private:
|
||||
} cols;
|
||||
private:
|
||||
void on_response(int response_id);
|
||||
+ void on_row(const Gtk::TreePath& path, Gtk::TreeViewColumn* column);
|
||||
void on_avahi_changed();
|
||||
void on_selection_changed();
|
||||
public:
|
||||
diff --git a/src/headers/gx_main_window.h b/src/headers/gx_main_window.h
|
||||
index 3b54285..e7c02ce 100644
|
||||
--- a/src/headers/gx_main_window.h
|
||||
+++ b/src/headers/gx_main_window.h
|
||||
@@ -720,6 +720,7 @@ private:
|
||||
void on_load_ladspa();
|
||||
void delete_select_jack_control();
|
||||
void on_log_activate();
|
||||
+ bool on_log_activated(GdkEventButton* ev);
|
||||
void do_program_change(int pgm);
|
||||
void on_engine_toggled();
|
||||
void on_engine_state_change(gx_engine::GxEngineState state);
|
||||
@@ -728,6 +729,7 @@ private:
|
||||
void setup_tuner_temperament(Gxw::RackTuner& tuner);
|
||||
void setup_tuner(Gxw::RackTuner& tuner);
|
||||
bool on_toggle_mute(GdkEventButton* ev);
|
||||
+ bool on_jackserverconnection(GdkEventButton* ev);
|
||||
void on_msg_level_changed();
|
||||
void on_ampdetail_switch(bool compress, bool setparam);
|
||||
void on_show_oscilloscope(bool v);
|
||||
|
||||
The following is adapted from this upstream patch, which does a whole
|
||||
bunch of unrelated things.
|
||||
|
||||
commit 44ab541a5a846c0b3832f4225d1ae92183d55550
|
||||
Author: Hermann Meyer <brummer-@web.de>
|
||||
Date: Fri Oct 30 08:47:42 2015 +0100
|
||||
|
||||
* add 53 tet tuner option
|
||||
* add online preset download widget (requiers libwebkit-1.0
|
||||
* fix bug #27
|
||||
* fix build fail with c++11 system libs (make c++11 default)
|
||||
|
||||
--- a/src/LV2/gx_amp.lv2/gxamp_gui.cpp
|
||||
+++ b/src/LV2/gx_amp.lv2/gxamp_gui.cpp
|
||||
@@ -124,7 +124,7 @@ void GXPluginGUI::set_skin()
|
||||
gtk_rc_parse_string (toparse.c_str());
|
||||
}
|
||||
|
||||
-inline std::string to_string(long long _Val)
|
||||
+inline std::string t_string(long long _Val)
|
||||
{ // convert int to string
|
||||
char _Buf[128];
|
||||
sprintf(_Buf, "%lld", _Val);
|
||||
@@ -136,7 +136,7 @@ void GXPluginGUI::set_plug_name()
|
||||
// Here the plugin should have different name for different amp.....
|
||||
addKnob = "";
|
||||
plugskin = "amp21.png";
|
||||
- plug_name = "GUITARIXLV2" + to_string(reinterpret_cast<long long>(this));
|
||||
+ plug_name = "GUITARIXLV2" + t_string(reinterpret_cast<long long>(this));
|
||||
//fprintf(stderr,"%s",plug_name.c_str());
|
||||
}
|
||||
|
||||
diff --git a/src/LV2/gx_amp_stereo.lv2/gxamp_stereo_gui.cpp b/src/LV2/gx_amp_stereo.lv2/gxamp_stereo_gui.cpp
|
||||
index d5947ee..edc1caa 100644
|
||||
--- a/src/LV2/gx_amp_stereo.lv2/gxamp_stereo_gui.cpp
|
||||
+++ b/src/LV2/gx_amp_stereo.lv2/gxamp_stereo_gui.cpp
|
||||
@@ -124,7 +124,7 @@ void GXPluginGUI::set_skin()
|
||||
gtk_rc_parse_string (toparse.c_str());
|
||||
}
|
||||
|
||||
-inline std::string to_string(long long _Val)
|
||||
+inline std::string t_string(long long _Val)
|
||||
{ // convert int to string
|
||||
char _Buf[128];
|
||||
sprintf(_Buf, "%lld", _Val);
|
||||
@@ -135,7 +135,7 @@ void GXPluginGUI::set_plug_name()
|
||||
{
|
||||
addKnob = "";
|
||||
plugskin = "amp21.png";
|
||||
- plug_name = "GUITARIXLV2" + to_string(reinterpret_cast<long long>(this));
|
||||
+ plug_name = "GUITARIXLV2" + t_string(reinterpret_cast<long long>(this));
|
||||
}
|
||||
|
||||
GtkWidget* GXPluginGUI::make_gui()
|
||||
@@ -0,0 +1,195 @@
|
||||
Augment the list of expected symbols to fix the symbol-check tests on
|
||||
mips64el-linux and armhf-linux.
|
||||
|
||||
--- libdrm-2.4.65/freedreno/freedreno-symbol-check.orig 2015-09-04 11:07:40.000000000 -0400
|
||||
+++ libdrm-2.4.65/freedreno/freedreno-symbol-check 2015-10-18 23:57:15.288416229 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_freedreno.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
fd_bo_cpu_fini
|
||||
fd_bo_cpu_prep
|
||||
fd_bo_del
|
||||
--- libdrm-2.4.65/nouveau/nouveau-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/nouveau/nouveau-symbol-check 2015-10-18 23:55:26.078327118 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.sources/LIBDRM_NOUVEAU_H_FILES
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_nouveau.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
nouveau_bo_map
|
||||
nouveau_bo_name_get
|
||||
nouveau_bo_name_ref
|
||||
--- libdrm-2.4.65/libkms/kms-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/libkms/kms-symbol-check 2015-10-18 23:46:10.683869471 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
kms_bo_create
|
||||
kms_bo_destroy
|
||||
kms_bo_get_prop
|
||||
--- libdrm-2.4.65/intel/intel-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/intel/intel-symbol-check 2015-10-18 23:55:53.309558508 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_intel.so} | awk '{print $3}' | while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
drm_intel_bo_alloc
|
||||
drm_intel_bo_alloc_for_render
|
||||
drm_intel_bo_alloc_tiled
|
||||
--- libdrm-2.4.65/amdgpu/amdgpu-symbol-check.orig 2015-08-17 10:08:11.000000000 -0400
|
||||
+++ libdrm-2.4.65/amdgpu/amdgpu-symbol-check 2015-10-18 23:56:10.606917723 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '{print $3}' | while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
amdgpu_bo_alloc
|
||||
amdgpu_bo_cpu_map
|
||||
amdgpu_bo_cpu_unmap
|
||||
--- libdrm-2.4.65/exynos/exynos-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/exynos/exynos-symbol-check 2015-10-18 23:56:32.025486153 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
exynos_bo_create
|
||||
exynos_bo_destroy
|
||||
exynos_bo_from_name
|
||||
--- libdrm-2.4.65/omap/omap-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/omap/omap-symbol-check 2015-10-18 23:56:44.834438626 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_omap.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
omap_bo_cpu_fini
|
||||
omap_bo_cpu_prep
|
||||
omap_bo_del
|
||||
--- libdrm-2.4.65/tegra/tegra-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
|
||||
+++ libdrm-2.4.65/tegra/tegra-symbol-check 2015-10-18 23:57:00.756759698 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
-# The following symbols (past the first five) are taken from the public headers.
|
||||
+# The following symbols (past the first 12) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
|
||||
|
||||
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
|
||||
@@ -10,6 +10,13 @@
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
+_fbss
|
||||
+_fdata
|
||||
+_ftext
|
||||
+__bss_start__
|
||||
+__bss_end__
|
||||
+_bss_end__
|
||||
+__end__
|
||||
drm_tegra_bo_get_flags
|
||||
drm_tegra_bo_get_handle
|
||||
drm_tegra_bo_get_tiling
|
||||
@@ -0,0 +1,27 @@
|
||||
From e06fc71a57156123e4e50a39957100a651ab632b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
|
||||
Date: Sat, 17 Oct 2015 10:20:33 +0800
|
||||
Subject: [PATCH] tests/styles: Don't duplicate test names.
|
||||
|
||||
---
|
||||
tests/styles.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/styles.c b/tests/styles.c
|
||||
index d09b1f2..a938835 100644
|
||||
--- a/tests/styles.c
|
||||
+++ b/tests/styles.c
|
||||
@@ -97,8 +97,8 @@ static const FixtureData fixtures[] =
|
||||
{"/styles/selectors/2 or more selectors (stroke)", "592207", "styles/bug592207.svg", "#target", "stroke", .expected.color = 0xff0000ff},
|
||||
{"/styles/svg-element-style", "615701", "styles/svg-class.svg", "#svg", "fill", .expected.color = 0xff0000ff},
|
||||
{"/styles/presentation attribute in svg element", "620693", "styles/bug620693.svg", "#svg", "stroke", .expected.color = 0xffff0000},
|
||||
- {"/styles/!important", "379629", "styles/bug379629.svg", "#base_shadow", "stroke", .expected.color = 0xffffc0cb /* pink */},
|
||||
- {"/styles/!important", "379629", "styles/bug379629.svg", "#base_shadow", "stroke-width", .expected.length = {POINTS_LENGTH(5.), 'i'}},
|
||||
+ {"/styles/!important/1", "379629", "styles/bug379629.svg", "#base_shadow", "stroke", .expected.color = 0xffffc0cb /* pink */},
|
||||
+ {"/styles/!important/2", "379629", "styles/bug379629.svg", "#base_shadow", "stroke-width", .expected.length = {POINTS_LENGTH(5.), 'i'}},
|
||||
{"/styles/!important/class", "614606", "styles/bug614606.svg", "#path6306", "fill", .expected.color = 0xffff0000 /* red */ },
|
||||
{"/styles/!important/element", "614606", "styles/bug614606.svg", "#path6308", "fill", .expected.color = 0xff000000},
|
||||
{"/styles/!important/#id prior than class", NULL, "styles/important.svg", "#red", "fill", .expected.color = 0xffff0000 },
|
||||
--
|
||||
2.5.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
Copied from Debian.
|
||||
|
||||
From: Petr Stodulka <pstodulk@redhat.com>
|
||||
Date: Mon, 14 Sep 2015 18:23:17 +0200
|
||||
Subject: Upstream fix for heap overflow
|
||||
Bug-Debian: https://bugs.debian.org/802162
|
||||
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1260944
|
||||
Origin: https://bugzilla.redhat.com/attachment.cgi?id=1073002
|
||||
Forwarded: yes
|
||||
|
||||
---
|
||||
crypt.c | 12 +++++++++++-
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/crypt.c
|
||||
+++ b/crypt.c
|
||||
@@ -465,7 +465,17 @@
|
||||
GLOBAL(pInfo->encrypted) = FALSE;
|
||||
defer_leftover_input(__G);
|
||||
for (n = 0; n < RAND_HEAD_LEN; n++) {
|
||||
- b = NEXTBYTE;
|
||||
+ /* 2012-11-23 SMS. (OUSPG report.)
|
||||
+ * Quit early if compressed size < HEAD_LEN. The resulting
|
||||
+ * error message ("unable to get password") could be improved,
|
||||
+ * but it's better than trying to read nonexistent data, and
|
||||
+ * then continuing with a negative G.csize. (See
|
||||
+ * fileio.c:readbyte()).
|
||||
+ */
|
||||
+ if ((b = NEXTBYTE) == (ush)EOF)
|
||||
+ {
|
||||
+ return PK_ERR;
|
||||
+ }
|
||||
h[n] = (uch)b;
|
||||
Trace((stdout, " (%02x)", h[n]));
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
Copied from Debian.
|
||||
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Mon, 14 Sep 2015 18:24:56 +0200
|
||||
Subject: fix infinite loop when extracting empty bzip2 data
|
||||
Bug-Debian: https://bugs.debian.org/802160
|
||||
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1260944
|
||||
Origin: other, https://bugzilla.redhat.com/attachment.cgi?id=1073339
|
||||
|
||||
---
|
||||
extract.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- a/extract.c
|
||||
+++ b/extract.c
|
||||
@@ -2728,6 +2728,12 @@
|
||||
int repeated_buf_err;
|
||||
bz_stream bstrm;
|
||||
|
||||
+ if (G.incnt <= 0 && G.csize <= 0L) {
|
||||
+ /* avoid an infinite loop */
|
||||
+ Trace((stderr, "UZbunzip2() got empty input\n"));
|
||||
+ return 2;
|
||||
+ }
|
||||
+
|
||||
#if (defined(DLL) && !defined(NO_SLIDE_REDIR))
|
||||
if (G.redirect_slide)
|
||||
wsize = G.redirect_size, redirSlide = G.redirect_buffer;
|
||||
@@ -1,108 +0,0 @@
|
||||
Copied from Fedora.
|
||||
|
||||
http://pkgs.fedoraproject.org/cgit/unzip.git/tree/unzip-6.0-heap-overflow-infloop.patch?id=d18f821e
|
||||
|
||||
From bdd4a0cecd745cb4825e4508b5bdf2579731086a Mon Sep 17 00:00:00 2001
|
||||
From: Petr Stodulka <pstodulk@redhat.com>
|
||||
Date: Mon, 14 Sep 2015 18:23:17 +0200
|
||||
Subject: [PATCH 1/3] upstream fix for heap overflow
|
||||
|
||||
https://bugzilla.redhat.com/attachment.cgi?id=1073002
|
||||
---
|
||||
crypt.c | 12 +++++++++++-
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/crypt.c b/crypt.c
|
||||
index 784e411..a8975f2 100644
|
||||
--- a/crypt.c
|
||||
+++ b/crypt.c
|
||||
@@ -465,7 +465,17 @@ int decrypt(__G__ passwrd)
|
||||
GLOBAL(pInfo->encrypted) = FALSE;
|
||||
defer_leftover_input(__G);
|
||||
for (n = 0; n < RAND_HEAD_LEN; n++) {
|
||||
- b = NEXTBYTE;
|
||||
+ /* 2012-11-23 SMS. (OUSPG report.)
|
||||
+ * Quit early if compressed size < HEAD_LEN. The resulting
|
||||
+ * error message ("unable to get password") could be improved,
|
||||
+ * but it's better than trying to read nonexistent data, and
|
||||
+ * then continuing with a negative G.csize. (See
|
||||
+ * fileio.c:readbyte()).
|
||||
+ */
|
||||
+ if ((b = NEXTBYTE) == (ush)EOF)
|
||||
+ {
|
||||
+ return PK_ERR;
|
||||
+ }
|
||||
h[n] = (uch)b;
|
||||
Trace((stdout, " (%02x)", h[n]));
|
||||
}
|
||||
--
|
||||
2.4.6
|
||||
|
||||
|
||||
From 4b48844661ff9569f2ecf582a387d46a5775b5d8 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Mon, 14 Sep 2015 18:24:56 +0200
|
||||
Subject: [PATCH 2/3] fix infinite loop when extracting empty bzip2 data
|
||||
|
||||
Bug: https://sourceforge.net/p/infozip/patches/23/
|
||||
---
|
||||
extract.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/extract.c b/extract.c
|
||||
index 7134bfe..29db027 100644
|
||||
--- a/extract.c
|
||||
+++ b/extract.c
|
||||
@@ -2733,6 +2733,12 @@ __GDEF
|
||||
int repeated_buf_err;
|
||||
bz_stream bstrm;
|
||||
|
||||
+ if (G.incnt <= 0 && G.csize <= 0L) {
|
||||
+ /* avoid an infinite loop */
|
||||
+ Trace((stderr, "UZbunzip2() got empty input\n"));
|
||||
+ return 2;
|
||||
+ }
|
||||
+
|
||||
#if (defined(DLL) && !defined(NO_SLIDE_REDIR))
|
||||
if (G.redirect_slide)
|
||||
wsize = G.redirect_size, redirSlide = G.redirect_buffer;
|
||||
--
|
||||
2.4.6
|
||||
|
||||
|
||||
From bd150334fb4084f5555a6be26b015a0671cb5b74 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Tue, 22 Sep 2015 18:52:23 +0200
|
||||
Subject: [PATCH 3/3] extract: prevent unsigned overflow on invalid input
|
||||
|
||||
Suggested-by: Stefan Cornelius
|
||||
---
|
||||
extract.c | 11 ++++++++++-
|
||||
1 file changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/extract.c b/extract.c
|
||||
index 29db027..b9ae667 100644
|
||||
--- a/extract.c
|
||||
+++ b/extract.c
|
||||
@@ -1257,8 +1257,17 @@ static int extract_or_test_entrylist(__G__ numchunk,
|
||||
if (G.lrec.compression_method == STORED) {
|
||||
zusz_t csiz_decrypted = G.lrec.csize;
|
||||
|
||||
- if (G.pInfo->encrypted)
|
||||
+ if (G.pInfo->encrypted) {
|
||||
+ if (csiz_decrypted <= 12) {
|
||||
+ /* handle the error now to prevent unsigned overflow */
|
||||
+ Info(slide, 0x401, ((char *)slide,
|
||||
+ LoadFarStringSmall(ErrUnzipNoFile),
|
||||
+ LoadFarString(InvalidComprData),
|
||||
+ LoadFarStringSmall2(Inflate)));
|
||||
+ return PK_ERR;
|
||||
+ }
|
||||
csiz_decrypted -= 12;
|
||||
+ }
|
||||
if (G.lrec.ucsize != csiz_decrypted) {
|
||||
Info(slide, 0x401, ((char *)slide,
|
||||
LoadFarStringSmall2(WrnStorUCSizCSizDiff),
|
||||
--
|
||||
2.5.2
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
Extracted from a patch in Fedora.
|
||||
|
||||
http://pkgs.fedoraproject.org/cgit/unzip.git/tree/unzip-6.0-heap-overflow-infloop.patch?id=d18f821e
|
||||
|
||||
From bd150334fb4084f5555a6be26b015a0671cb5b74 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Tue, 22 Sep 2015 18:52:23 +0200
|
||||
Subject: [PATCH 3/3] extract: prevent unsigned overflow on invalid input
|
||||
|
||||
Suggested-by: Stefan Cornelius
|
||||
---
|
||||
extract.c | 11 ++++++++++-
|
||||
1 file changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/extract.c b/extract.c
|
||||
index 29db027..b9ae667 100644
|
||||
--- a/extract.c
|
||||
+++ b/extract.c
|
||||
@@ -1257,8 +1257,17 @@ static int extract_or_test_entrylist(__G__ numchunk,
|
||||
if (G.lrec.compression_method == STORED) {
|
||||
zusz_t csiz_decrypted = G.lrec.csize;
|
||||
|
||||
- if (G.pInfo->encrypted)
|
||||
+ if (G.pInfo->encrypted) {
|
||||
+ if (csiz_decrypted <= 12) {
|
||||
+ /* handle the error now to prevent unsigned overflow */
|
||||
+ Info(slide, 0x401, ((char *)slide,
|
||||
+ LoadFarStringSmall(ErrUnzipNoFile),
|
||||
+ LoadFarString(InvalidComprData),
|
||||
+ LoadFarStringSmall2(Inflate)));
|
||||
+ return PK_ERR;
|
||||
+ }
|
||||
csiz_decrypted -= 12;
|
||||
+ }
|
||||
if (G.lrec.ucsize != csiz_decrypted) {
|
||||
Info(slide, 0x401, ((char *)slide,
|
||||
LoadFarStringSmall2(WrnStorUCSizCSizDiff),
|
||||
--
|
||||
2.5.2
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From cbb9c769316b4d32956a2c78aa01a38b473f0cfc Mon Sep 17 00:00:00 2001
|
||||
From: David Thompson <dthompson2@worcester.edu>
|
||||
Date: Fri, 30 Oct 2015 08:30:43 -0400
|
||||
Subject: [PATCH] xflock4: Do not override PATH with hardcoded value.
|
||||
|
||||
The PATH "/bin:/usr/bin" may not be a valid search path on the user's
|
||||
machine. The screen locking program may be in /usr/local/bin or
|
||||
elsewhere. Distros that do not conform to the FHS, such as GuixSD and
|
||||
NixOS, will not have their executables in either location. Thus, we
|
||||
simply leave PATH alone.
|
||||
---
|
||||
scripts/xflock4 | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/scripts/xflock4 b/scripts/xflock4
|
||||
index ec4d05d..e7981ac 100644
|
||||
--- a/scripts/xflock4
|
||||
+++ b/scripts/xflock4
|
||||
@@ -21,9 +21,6 @@
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
-PATH=/bin:/usr/bin
|
||||
-export PATH
|
||||
-
|
||||
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
|
||||
for lock_cmd in \
|
||||
"xscreensaver-command -lock" \
|
||||
--
|
||||
2.5.0
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -57,3 +58,37 @@ own native API, as well as a set of wrapper functions that correspond to the
|
||||
POSIX regular expression API.")
|
||||
(license license:bsd-3)
|
||||
(home-page "http://www.pcre.org/")))
|
||||
|
||||
(define-public pcre2
|
||||
(package
|
||||
(name "pcre2")
|
||||
(version "10.20")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/pcre/pcre2/"
|
||||
version "/pcre2-" version ".tar.bz2"))
|
||||
|
||||
(sha256
|
||||
(base32
|
||||
"0yj8mm9ll9zj3v47rvmmqmr1ybxk72rr2lym3rymdsf905qjhbik"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("bzip2" ,bzip2)
|
||||
("readline" ,readline)
|
||||
("zlib" ,zlib)))
|
||||
(arguments
|
||||
`(#:configure-flags '("--enable-unicode"
|
||||
"--enable-pcregrep-libz"
|
||||
"--enable-pcregrep-libbz2"
|
||||
"--enable-pcretest-libreadline"
|
||||
"--enable-unicode-properties"
|
||||
"--enable-pcre2-16"
|
||||
"--enable-pcre2-32"
|
||||
"--enable-jit")))
|
||||
(synopsis "Perl Compatible Regular Expressions")
|
||||
(description
|
||||
"The PCRE library is a set of functions that implement regular expression
|
||||
pattern matching using the same syntax and semantics as Perl 5. PCRE has its
|
||||
own native API, as well as a set of wrapper functions that correspond to the
|
||||
POSIX regular expression API.")
|
||||
(license license:bsd-3)
|
||||
(home-page "http://www.pcre.org/")))
|
||||
|
||||
@@ -52,13 +52,13 @@
|
||||
(define-public poppler
|
||||
(package
|
||||
(name "poppler")
|
||||
(version "0.36.0")
|
||||
(version "0.37.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://poppler.freedesktop.org/poppler-"
|
||||
version ".tar.xz"))
|
||||
(sha256 (base32
|
||||
"13i440kv873wgmw50rs4d1v05cj0r7bqnghd70hp9vy44dxhdk4k"))))
|
||||
"1vjvd0md8y37hlq3lsj0l01a3v3mzm572rzpn1311frvmrg9r7xq"))))
|
||||
(build-system gnu-build-system)
|
||||
;; FIXME: more dependencies could be added
|
||||
;; cairo output: no (requires cairo >= 1.10.0)
|
||||
@@ -68,7 +68,7 @@
|
||||
;; use libcurl: no
|
||||
(inputs `(("fontconfig" ,fontconfig)
|
||||
("freetype" ,freetype)
|
||||
("libjpeg-8" ,libjpeg-8)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libpng" ,libpng)
|
||||
("libtiff" ,libtiff)
|
||||
("lcms" ,lcms)
|
||||
@@ -87,8 +87,7 @@
|
||||
(arguments
|
||||
`(#:tests? #f ; no test data provided with the tarball
|
||||
#:configure-flags
|
||||
'("--enable-libopenjpeg"
|
||||
"--enable-xpdf-headers" ; to install header files
|
||||
'("--enable-xpdf-headers" ; to install header files
|
||||
"--enable-zlib")
|
||||
#:phases
|
||||
(alist-cons-before
|
||||
|
||||
+8
-10
@@ -65,18 +65,16 @@
|
||||
(substitute* "src/polkitbackend/polkitbackendjsauthority.c"
|
||||
(("systemd") "elogind"))
|
||||
|
||||
(substitute* "src/polkitagent/polkitagentsession.c"
|
||||
(("PACKAGE_PREFIX \"/lib/polkit-1/polkit-agent-helper-1\"")
|
||||
"\"/run/setuid-programs/polkit-agent-helper-1\""))
|
||||
;; GuixSD's polkit service stores actions under
|
||||
;; /etc/polkit-1/actions.
|
||||
(substitute* "src/polkitbackend/polkitbackendinteractiveauthority.c"
|
||||
(("PACKAGE_DATA_DIR \"/polkit-1/actions\"")
|
||||
"\"/run/current-system/profile/share/polkit-1/actions\""))
|
||||
(substitute* "src/polkitbackend/polkitbackendjsauthority.c"
|
||||
(("PACKAGE_SYSCONF_DIR \"/polkit-1/rules.d\"")
|
||||
"\"/run/current-system/profile/etc/polkit-1/rules.d\""))
|
||||
(substitute* "src/polkitbackend/polkitbackendjsauthority.c"
|
||||
(("PACKAGE_DATA_DIR \"/polkit-1/rules.d\"")
|
||||
"\"/run/current-system/profile/share/polkit-1/rules.d\""))))))
|
||||
"PACKAGE_SYSCONF_DIR \"/polkit-1/actions\""))
|
||||
|
||||
;; Set the setuid helper's real location.
|
||||
(substitute* "src/polkitagent/polkitagentsession.c"
|
||||
(("PACKAGE_PREFIX \"/lib/polkit-1/polkit-agent-helper-1\"")
|
||||
"\"/run/setuid-programs/polkit-agent-helper-1\""))))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("expat" ,expat)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages avahi)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages libcanberra)
|
||||
@@ -199,6 +199,8 @@ sound server.")
|
||||
(base32
|
||||
"14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
|
||||
(inputs
|
||||
`(("libcanberra" ,libcanberra)
|
||||
("gtkmm" ,gtkmm)
|
||||
|
||||
+151
-6
@@ -39,8 +39,8 @@
|
||||
#:use-module (gnu packages backup)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages file)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages gcc)
|
||||
#:use-module (gnu packages ghostscript)
|
||||
#:use-module (gnu packages glib)
|
||||
@@ -413,9 +413,10 @@ John the Ripper).")
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(propagated-inputs
|
||||
`(("python-pycrypto" ,python-pycrypto)))
|
||||
(inputs
|
||||
`(("python-ecdsa" ,python-ecdsa)
|
||||
("python-pycrypto" ,python-pycrypto)))
|
||||
`(("python-ecdsa" ,python-ecdsa)))
|
||||
(home-page "http://www.paramiko.org/")
|
||||
(synopsis "SSHv2 protocol library")
|
||||
(description "Paramiko is a python implementation of the SSHv2 protocol,
|
||||
@@ -2073,7 +2074,7 @@ with sensible defaults out of the box.")
|
||||
(define-public python-requests
|
||||
(package
|
||||
(name "python-requests")
|
||||
(version "2.4.0")
|
||||
(version "2.8.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
@@ -2082,7 +2083,7 @@ with sensible defaults out of the box.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh"))))
|
||||
"0yrvj8hfnabrdxds59w6d6887sn5j0jlgpmcq04lk4k0kdc07w5j"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)
|
||||
@@ -3961,7 +3962,8 @@ PickleShare.")
|
||||
(base32 "0wwi1c6md4vkbcsfsf8dklf3vr4mcdj4mpxkanwgb6jb1432x5yw"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("unzip" ,unzip)))
|
||||
`(("python-setuptools" ,python-setuptools)
|
||||
("unzip" ,unzip)))
|
||||
(home-page "http://cheeseshop.python.org/pypi/simplegeneric")
|
||||
(synopsis "Python module for simple generic functions")
|
||||
(description
|
||||
@@ -4248,6 +4250,17 @@ features useful for text console applications.")
|
||||
(sha256
|
||||
(base32 "1py62qir966lvdkngg0v8k1khsqxwk5m4s8nflpk1agk5f5nqb71"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'check 'pre-check
|
||||
(lambda _
|
||||
;; XXX: For the missing '/etc/machine-id'.
|
||||
(substitute* "test/run-test.sh"
|
||||
(("DBUS_FATAL_WARNINGS=1")
|
||||
"DBUS_FATAL_WARNINGS=0"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
@@ -4883,6 +4896,20 @@ complexity of Python source code.")
|
||||
(define-public python2-mccabe
|
||||
(package-with-python2 python-mccabe))
|
||||
|
||||
(define-public python-mccabe-0.2.1
|
||||
(package (inherit python-mccabe)
|
||||
(version "0.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mccabe" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))))
|
||||
|
||||
(define-public python2-mccabe-0.2.1
|
||||
(package-with-python2 python-mccabe-0.2.1))
|
||||
|
||||
;; Flake8 2.4.1 requires an older version of pep8.
|
||||
;; This should be removed ASAP.
|
||||
(define-public python-pep8-1.5.7
|
||||
@@ -4953,6 +4980,29 @@ complexity of Python source code.")
|
||||
(define-public python2-flake8
|
||||
(package-with-python2 python-flake8))
|
||||
|
||||
;; This will only be needed by the python-hacking package and will not be
|
||||
;; necessary once python-hacking > 0.10.2 is released.
|
||||
(define-public python-flake8-2.2.4
|
||||
(package (inherit python-flake8)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)
|
||||
("python-pep8" ,python-pep8-1.5.7)
|
||||
("python-pyflakes" ,python-pyflakes-0.8.1)
|
||||
("python-mccabe" ,python-mccabe-0.2.1)
|
||||
("python-mock" ,python-mock)
|
||||
("python-nose" ,python-nose)))
|
||||
(version "2.2.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "flake8" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8"))))))
|
||||
|
||||
(define-public python2-flake8-2.2.4
|
||||
(package-with-python2 python-flake8-2.2.4))
|
||||
|
||||
(define-public python-mistune
|
||||
(package
|
||||
(name "python-mistune")
|
||||
@@ -5750,3 +5800,98 @@ Python's @code{ctypes} foreign function interface (FFI).")
|
||||
|
||||
(define-public python2-libarchive-c
|
||||
(package-with-python2 python-libarchive-c))
|
||||
|
||||
(define-public python-file
|
||||
(package
|
||||
(inherit file)
|
||||
(name "python-file")
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ;no tests
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'build 'change-directory
|
||||
(lambda _
|
||||
(chdir "python")
|
||||
#t))
|
||||
(add-before 'build 'set-library-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((file (assoc-ref inputs "file")))
|
||||
(substitute* "magic.py"
|
||||
(("find_library\\('magic'\\)")
|
||||
(string-append "'" file "/lib/libmagic.so'")))
|
||||
#t))))))
|
||||
(inputs `(("file" ,file)))
|
||||
(self-native-input? #f)
|
||||
(synopsis "Python bindings to the libmagic file type guesser")))
|
||||
|
||||
(define-public python2-file
|
||||
(package-with-python2 python-file))
|
||||
|
||||
(define-public python-debian
|
||||
(package
|
||||
(name "python-debian")
|
||||
(version "0.1.23")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/p/python-debian/python-debian-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-six" ,python-six)))
|
||||
(native-inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://packages.debian.org/sid/python-debian")
|
||||
(synopsis "Debian package related modules")
|
||||
(description
|
||||
;; XXX: Use @enumerate instead of @itemize to work around
|
||||
;; <http://bugs.gnu.org/21772>.
|
||||
"This package provides Python modules that abstract many formats of
|
||||
Debian-related files, such as:
|
||||
|
||||
@enumerate
|
||||
@item Debtags information;
|
||||
@item @file{debian/changelog} files;
|
||||
@item packages files, pdiffs;
|
||||
@item control files of single or multiple RFC822-style paragraphs---e.g.
|
||||
@file{debian/control}, @file{.changes}, @file{.dsc};
|
||||
@item Raw @file{.deb} and @file{.ar} files, with (read-only) access to
|
||||
contained files and meta-information.
|
||||
@end enumerate\n")
|
||||
|
||||
;; Modules are either GPLv2+ or GPLv3+.
|
||||
(license gpl3+)))
|
||||
|
||||
(define-public python2-debian
|
||||
(package-with-python2 python-debian))
|
||||
|
||||
(define-public python-chardet
|
||||
(package
|
||||
(name "python-chardet")
|
||||
(version "2.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/c/chardet/chardet-"
|
||||
version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1ak87ikcw34fivcgiz2xvi938dmclh078az65l9x3rmgljrkhgp5"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "https://github.com/chardet/chardet")
|
||||
(synopsis "Universal encoding detector for Python 2 and 3")
|
||||
(description
|
||||
"This package provides @code{chardet}, a Python module that can
|
||||
automatically detect a wide range of file encodings.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public python2-chardet
|
||||
(package-with-python2 python-chardet))
|
||||
|
||||
+28
-1
@@ -40,6 +40,28 @@
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages perl))
|
||||
|
||||
(define (qemu-patch commit file-name sha256)
|
||||
"Return an origin for COMMIT."
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://git.qemu.org/?p=qemu.git;a=commitdiff_plain;h="
|
||||
commit))
|
||||
(sha256 sha256)
|
||||
(file-name file-name)))
|
||||
|
||||
(define %glib-memory-vtable-patch
|
||||
(qemu-patch "deb847bf"
|
||||
"qemu-glib-memory-vtable.patch"
|
||||
(base32
|
||||
"0afb7rvxy14104jxmhr7m02w5baiz0c7vhq3h642h09jgxrcmzzi")))
|
||||
|
||||
(define %glib-duplicate-test-patch
|
||||
(qemu-patch "98cf48f6"
|
||||
"qemu-glib-duplicate-test.patch"
|
||||
(base32
|
||||
"1aicbplzdj5s5y13jmqyvfajay05x9dnkzd197waz8v6kha7d9d5")))
|
||||
|
||||
(define-public qemu-headless
|
||||
;; This is QEMU without GUI support.
|
||||
(package
|
||||
@@ -52,7 +74,12 @@
|
||||
(sha256
|
||||
(base32
|
||||
"1nqv5p94zpnhcaqkifnn83ap7dd0qrb0qiicswbyhhby0f48pzpc"))
|
||||
(patches (map search-patch '("qemu-CVE-2015-6855.patch")))))
|
||||
(patches (list (search-patch "qemu-CVE-2015-6855.patch")
|
||||
|
||||
;; These two patches allow QEMU's tests to run
|
||||
;; correctly with 'gtester' from the latest GLib.
|
||||
%glib-memory-vtable-patch
|
||||
%glib-duplicate-test-patch))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (alist-replace
|
||||
|
||||
+2
-2
@@ -95,7 +95,7 @@ X11 (yet).")
|
||||
(define-public qt
|
||||
(package
|
||||
(name "qt")
|
||||
(version "5.5.0")
|
||||
(version "5.5.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
@@ -107,7 +107,7 @@ X11 (yet).")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1by2l8wxbqwvs7anb5ggmqhn2cfmhyw3a23bp1yyd240rdpa38ky"))
|
||||
"0615cn4n3n78v48lnmapqz2jizm2pzrjwvsjlnsf4awrsiiqw0kg"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
||||
+155
-2
@@ -1,6 +1,6 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2014, 2015 Pjotr Prins <pjotr.guix@thebird.nl>
|
||||
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
||||
@@ -30,7 +30,6 @@
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages java)
|
||||
#:use-module (gnu packages libffi)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages version-control)
|
||||
#:use-module (guix packages)
|
||||
@@ -650,6 +649,36 @@ and inspect the environment.")
|
||||
(home-page "https://github.com/e2/nenv")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-permutation
|
||||
(package
|
||||
(name "ruby-permutation")
|
||||
(version "0.1.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "permutation" version))
|
||||
(sha256
|
||||
(base32
|
||||
"13crwk2vfbzv99czva7881027dbcnidihmvx2jc58z2vm3bp9sl8"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-rakefile
|
||||
(lambda _
|
||||
(substitute* "Rakefile"
|
||||
(("require 'rake/gempackagetask'")
|
||||
"require 'rubygems/package_task'")
|
||||
(("include Config") ""))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(zero? (system* "ruby" "-Ilib" "test/test.rb")))))))
|
||||
(synopsis "Library to perform operations with sequence permutations")
|
||||
(description "This package provides a Ruby library to perform different
|
||||
operations with permutations of sequences, such as strings and arrays.")
|
||||
(home-page "http://flori.github.io/permutation")
|
||||
(license license:gpl2))) ; GPL 2 only
|
||||
|
||||
(define-public ruby-shellany
|
||||
(package
|
||||
(name "ruby-shellany")
|
||||
@@ -753,6 +782,75 @@ standard output stream.")
|
||||
(home-page "https://github.com/geemus/shindo")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-rubygems-tasks
|
||||
(package
|
||||
(name "ruby-rubygems-tasks")
|
||||
(version "0.2.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "rubygems-tasks" version))
|
||||
(sha256
|
||||
(base32
|
||||
"16cp45qlbcglnqdm4f1vj3diywdz4v024saqpgrz6palf0wmgz2j"))))
|
||||
(build-system ruby-build-system)
|
||||
;; Tests need Internet access.
|
||||
(arguments `(#:tests? #f))
|
||||
(native-inputs
|
||||
`(("ruby-rspec" ,ruby-rspec)
|
||||
("ruby-yard" ,ruby-yard)))
|
||||
(synopsis "Rake tasks for managing and releasing Ruby Gems")
|
||||
(description "Rubygems-task provides Rake tasks for managing and releasing
|
||||
Ruby Gems.")
|
||||
(home-page "https://github.com/postmodern/rubygems-tasks")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-ffi
|
||||
(package
|
||||
(name "ruby-ffi")
|
||||
(version "1.9.10")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "ffi" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1m5mprppw0xcrv2mkim5zsk70v089ajzqiq5hpyb0xg96fcyzyxj"))))
|
||||
(build-system ruby-build-system)
|
||||
;; FIXME: Before running tests the build system attempts to build libffi
|
||||
;; from sources.
|
||||
(arguments `(#:tests? #f))
|
||||
(native-inputs
|
||||
`(("ruby-rake-compiler" ,ruby-rake-compiler)
|
||||
("ruby-rspec" ,ruby-rspec)
|
||||
("ruby-rubygems-tasks" ,ruby-rubygems-tasks)))
|
||||
(inputs
|
||||
`(("libffi" ,libffi)))
|
||||
(synopsis "Ruby foreign function interface library")
|
||||
(description "Ruby-FFI is a Ruby extension for programmatically loading
|
||||
dynamic libraries, binding functions within them, and calling those functions
|
||||
from Ruby code. Moreover, a Ruby-FFI extension works without changes on Ruby
|
||||
and JRuby.")
|
||||
(home-page "http://wiki.github.com/ffi/ffi")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public ruby-simplecov-html
|
||||
(package
|
||||
(name "ruby-simplecov-html")
|
||||
(version "0.10.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "simplecov-html" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1m5mprppw0xcrv2mkim5zsk70v089ajzqiq5hpyb0xg96fcyzyxj"))))
|
||||
(build-system ruby-build-system)
|
||||
(native-inputs
|
||||
`(("bundler" ,bundler)))
|
||||
(synopsis "Default HTML formatter for SimpleCov code coverage tool")
|
||||
(description "This package provides the default HTML formatter for
|
||||
the SimpleCov code coverage tool for Ruby version 1.9 and above.")
|
||||
(home-page "https://github.com/colszowka/simplecov-html")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-useragent
|
||||
(package
|
||||
(name "ruby-useragent")
|
||||
@@ -1211,6 +1309,39 @@ aware transformations between times in different time zones.")
|
||||
(home-page "http://tzinfo.github.io")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-rb-inotify
|
||||
(package
|
||||
(name "ruby-rb-inotify")
|
||||
(version "0.9.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "rb-inotify" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0kddx2ia0qylw3r52nhg83irkaclvrncgy2m1ywpbhlhsz1rymb9"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; there are no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Building the gemspec with rake is not working here since it is
|
||||
;; generated with Jeweler. It is also unnecessary because the
|
||||
;; existing gemspec does not use any development tools to generate a
|
||||
;; list of files.
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(zero? (system* "gem" "build" "rb-inotify.gemspec")))))))
|
||||
(propagated-inputs
|
||||
`(("ruby-ffi" ,ruby-ffi)))
|
||||
(native-inputs
|
||||
`(("ruby-yard" ,ruby-yard)))
|
||||
(synopsis "Ruby wrapper for Linux's inotify")
|
||||
(description "rb-inotify is a simple wrapper over the @code{inotify} Linux
|
||||
kernel subsystem for monitoring changes to files and directories.")
|
||||
(home-page "https://github.com/nex3/rb-inotify")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-json
|
||||
(package
|
||||
(name "ruby-json")
|
||||
@@ -1230,6 +1361,28 @@ a native C extension.")
|
||||
(home-page "http://json-jruby.rubyforge.org/")
|
||||
(license (list license:ruby license:gpl2)))) ; GPL2 only
|
||||
|
||||
(define-public ruby-listen
|
||||
(package
|
||||
(name "ruby-listen")
|
||||
(version "3.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "listen" version))
|
||||
(sha256
|
||||
(base32
|
||||
"10lhshjklxlrkw7999j0xl6sdxd4x32kiy8rp88jwr68kis5vq2b"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments '(#:tests? #f)) ; no tests
|
||||
(propagated-inputs
|
||||
;; FIXME: omitting "ruby-rb-fsevent" which is only for MacOS.
|
||||
`(("ruby-rb-inotify" ,ruby-rb-inotify)))
|
||||
(synopsis "Listen to file modifications")
|
||||
(description "The Listen gem listens to file modifications and notifies
|
||||
you about the changes.")
|
||||
(home-page "https://github.com/guard/listen")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-activesupport
|
||||
(package
|
||||
(name "ruby-activesupport")
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages gdbm)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages libffi)
|
||||
|
||||
@@ -334,7 +334,7 @@ implementation techniques and as an expository tool.")
|
||||
(define-public racket
|
||||
(package
|
||||
(name "racket")
|
||||
(version "6.1.1")
|
||||
(version "6.2.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "http://mirror.racket-lang.org/installers/"
|
||||
@@ -344,7 +344,7 @@ implementation techniques and as an expository tool.")
|
||||
version "/racket/racket-" version "-src-unix.tgz")))
|
||||
(sha256
|
||||
(base32
|
||||
"0xfsfdqkngz0xw2lqmc7bsznwx25cw91l9fjhp7abrr05m96j0h9"))))
|
||||
"0555j63k7fs10iv0icmivlxpzgp6s7gwcbfddmbwxlf2rk80qhq0"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -25,6 +26,8 @@
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages slang)
|
||||
#:use-module (gnu packages texinfo))
|
||||
|
||||
(define-public screen
|
||||
@@ -90,3 +93,53 @@ view to show two terminals at once.")
|
||||
allowing you to run a program in an environment that is protected from the
|
||||
controlling terminal and attach to it later.")
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public byobu
|
||||
(package
|
||||
(name "byobu")
|
||||
(version "5.98")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://launchpad.net/byobu/trunk/"
|
||||
version "/+download/byobu_"
|
||||
version ".orig.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1s8nh4wbds1nh52i0d1hy1b308jjf4siwpq92lna1zh9ll4x71j5"))
|
||||
(patches (list (search-patch "byobu-writable-status.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("python" ,python-wrapper) ;for config and session GUIs
|
||||
("python-newt" ,newt "python")))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'provide-locale
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((libc (assoc-ref inputs "libc"))) ;implicit input
|
||||
(substitute* "usr/bin/byobu.in"
|
||||
(("locale") (string-append libc "/bin/locale"))))))
|
||||
(add-after
|
||||
'install 'wrap-python-scripts
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((python (string-append (assoc-ref inputs "python")
|
||||
"/bin/python"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(config (string-append out "/bin/byobu-config"))
|
||||
(select (string-append out "/bin/byobu-select-session")))
|
||||
(wrap-program config
|
||||
`("BYOBU_PYTHON" = (,python))
|
||||
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))
|
||||
(wrap-program select
|
||||
`("BYOBU_PYTHON" = (,python)))
|
||||
#t))))))
|
||||
(home-page "http://byobu.co/index.html")
|
||||
(synopsis "Text-based window manager and terminal multiplexer")
|
||||
(description
|
||||
"Byobu is a Japanese term for decorative, multi-panel screens that serve
|
||||
as folding room dividers. The Byobu software includes an enhanced profile,
|
||||
configuration utilities, and system status notifications for the GNU Screen
|
||||
window manager as well as the Tmux terminal multiplexer.")
|
||||
(license gpl3+)))
|
||||
|
||||
+22
-2
@@ -1,6 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -20,6 +21,7 @@
|
||||
(define-module (gnu packages slang)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (gnu packages readline)
|
||||
@@ -28,7 +30,8 @@
|
||||
#:use-module (gnu packages fribidi)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages pcre))
|
||||
#:use-module (gnu packages pcre)
|
||||
#:use-module (gnu packages python))
|
||||
|
||||
(define-public slang
|
||||
(package
|
||||
@@ -85,15 +88,22 @@ slsh, which is part of the S-Lang distribution.")
|
||||
(base32
|
||||
"07n9f2mqsjfj35wx5ldhvl9sqcjqpcl0g4fdd9mawmny9rihw6vp"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "python"))
|
||||
(inputs
|
||||
`(("slang" ,slang)
|
||||
("popt" ,popt)
|
||||
("python" ,python)
|
||||
("fribidi" ,fribidi)))
|
||||
(arguments
|
||||
`(#:tests? #f ; no test suite
|
||||
#:configure-flags
|
||||
;; Set the correct RUNPATH in binaries.
|
||||
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
||||
#:make-flags
|
||||
;; configure does not allow us to override this variable from the
|
||||
;; command-line. Fortunately, the Makefile does, so provide it here.
|
||||
(list (string-append "PYTHONVERS=python"
|
||||
,(version-major+minor (package-version python))))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
@@ -101,7 +111,17 @@ slsh, which is part of the S-Lang distribution.")
|
||||
(lambda _
|
||||
(substitute* "po/Makefile"
|
||||
(("/usr/bin/install") "install"))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-after
|
||||
'install 'move-python
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(py (assoc-ref outputs "python"))
|
||||
(ver ,(version-major+minor (package-version python))))
|
||||
(mkdir-p (string-append py "/lib"))
|
||||
(rename-file (string-append out "/lib/python" ver)
|
||||
(string-append py "/lib/python" ver))
|
||||
#t))))))
|
||||
(home-page "https://fedorahosted.org/newt/")
|
||||
(synopsis "Not Erik's Windowing Toolkit - text mode windowing with slang")
|
||||
(description
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -32,7 +32,7 @@
|
||||
(define-public synergy
|
||||
(package
|
||||
(name "synergy")
|
||||
(version "1.7.3")
|
||||
(version "1.7.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -41,7 +41,7 @@
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"098y71fiw1n5i7g1p6vjfs5rz472j192p9izz2axxxhfvcyzrvx4"))
|
||||
"1prb06dmi4bhfsraih4hzlsfiraiczgzhqy9gjsxygczif8w6p91"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Remove ~14MB of unnecessary bundled source and binaries
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
|
||||
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -59,20 +60,20 @@ reimplementation.")
|
||||
(define-public ucommon
|
||||
(package
|
||||
(name "ucommon")
|
||||
(version "6.6.0")
|
||||
(version "6.6.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/commoncpp/" name "-"
|
||||
version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"09y6rs51wl2851xp5zlxlqqb97xfi39v0yna3njb62swwr1n1ky1"))))
|
||||
"16haqzq97axiyhgpca95rhr5y5s7fl8b65if5vil7v4lcqxp3hqn"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Common C++ framework for threaded applications")
|
||||
(description "GNU uCommon C++ is meant as a very light-weight C++ library
|
||||
to facilitate using C++ design patterns even for very deeply embedded
|
||||
applications, such as for systems using uclibc along with posix threading
|
||||
support.")
|
||||
(license gpl2+) ; plus runtime exception
|
||||
(license gpl3+)
|
||||
(home-page "http://www.gnu.org/software/commoncpp")))
|
||||
|
||||
(define-public ccrtp
|
||||
@@ -145,13 +146,13 @@ multiplayer games.")
|
||||
(define-public sipwitch
|
||||
(package
|
||||
(name "sipwitch")
|
||||
(version "1.9.10")
|
||||
(version "1.9.14")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/sipwitch/sipwitch-"
|
||||
version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"1ljvg66v1ms3zc81mbg4x5k0pjb2flx35h70msfiajidlcna5xhz"))))
|
||||
"1mrzl5nakiz613v3ch27k5dj2ykm88dlcr22lqny6dnjyfa9n2ki"))))
|
||||
(build-system gnu-build-system)
|
||||
;; The configure.ac uses pkg-config but in a kludgy way which breaks when
|
||||
;; cross-compiling. Among other issues there the program name "pkg-config"
|
||||
|
||||
+98
-83
@@ -4,6 +4,7 @@
|
||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
||||
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015 Andy Patterson <ajpatter@uwaterloo.ca>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -321,7 +322,7 @@ SMPTE 314M.")
|
||||
(define-public libva
|
||||
(package
|
||||
(name "libva")
|
||||
(version "1.5.1")
|
||||
(version "1.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -329,7 +330,7 @@ SMPTE 314M.")
|
||||
"http://www.freedesktop.org/software/vaapi/releases/libva/libva-"
|
||||
version".tar.bz2"))
|
||||
(sha256
|
||||
(base32 "01d01mm9fgpwzqycmjjcj3in3vvzcibi3f64icsw2sksmmgb4495"))))
|
||||
(base32 "0bjfb5s8dk3lql843l91ffxzlq47isqks5sj19cxh7j3nhzw58kz"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
@@ -383,6 +384,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
||||
(inputs
|
||||
`(("fontconfig" ,fontconfig)
|
||||
("freetype" ,freetype)
|
||||
("gnutls" ,gnutls)
|
||||
("opus" ,opus)
|
||||
("ladspa" ,ladspa)
|
||||
("lame" ,lame)
|
||||
@@ -412,6 +414,89 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
||||
("yasm" ,yasm)))
|
||||
(arguments
|
||||
`(#:test-target "fate"
|
||||
#:configure-flags
|
||||
;; possible additional inputs:
|
||||
;; --enable-avisynth enable reading of AviSynth script
|
||||
;; files [no]
|
||||
;; --enable-frei0r enable frei0r video filtering
|
||||
;; --enable-libaacplus enable AAC+ encoding via libaacplus [no]
|
||||
;; --enable-libcelt enable CELT decoding via libcelt [no]
|
||||
;; --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
|
||||
;; and libraw1394 [no]
|
||||
;; --enable-libfaac enable AAC encoding via libfaac [no]
|
||||
;; --enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
|
||||
;; --enable-libflite enable flite (voice synthesis) support via
|
||||
;; libflite [no]
|
||||
;; --enable-libgme enable Game Music Emu via libgme [no]
|
||||
;; --enable-libgsm enable GSM de/encoding via libgsm [no]
|
||||
;; --enable-libiec61883 enable iec61883 via libiec61883 [no]
|
||||
;; --enable-libilbc enable iLBC de/encoding via libilbc [no]
|
||||
;; --enable-libmodplug enable ModPlug via libmodplug [no]
|
||||
;; --enable-libnut enable NUT (de)muxing via libnut,
|
||||
;; native (de)muxer exists [no]
|
||||
;; --enable-libopencore-amrnb enable AMR-NB de/encoding via
|
||||
;; libopencore-amrnb [no]
|
||||
;; --enable-libopencore-amrwb enable AMR-WB decoding via
|
||||
;; libopencore-amrwb [no]
|
||||
;; --enable-libopencv enable video filtering via libopencv [no]
|
||||
;; --enable-libopenjpeg enable JPEG 2000 de/encoding via
|
||||
;; OpenJPEG [no]
|
||||
;; --enable-librtmp enable RTMP[E] support via librtmp [no]
|
||||
;; --enable-libschroedinger enable Dirac de/encoding via
|
||||
;; libschroedinger [no]
|
||||
;; --enable-libshine enable fixed-point MP3 encoding via
|
||||
;; libshine [no]
|
||||
;; --enable-libssh enable SFTP protocol via libssh [no]
|
||||
;; (libssh2 does not work)
|
||||
;; --enable-libstagefright-h264 enable H.264 decoding via
|
||||
;; libstagefright [no]
|
||||
;; --enable-libutvideo enable Ut Video encoding and decoding via
|
||||
;; libutvideo [no]
|
||||
;; --enable-libv4l2 enable libv4l2/v4l-utils [no]
|
||||
;; --enable-libvidstab enable video stabilization using
|
||||
;; vid.stab [no]
|
||||
;; --enable-libvo-aacenc enable AAC encoding via libvo-aacenc [no]
|
||||
;; --enable-libvo-amrwbenc enable AMR-WB encoding via
|
||||
;; libvo-amrwbenc [no]
|
||||
;; --enable-libwavpack enable wavpack encoding via libwavpack [no]
|
||||
;; --enable-libxavs enable AVS encoding via xavs [no]
|
||||
;; --enable-libzmq enable message passing via libzmq [no]
|
||||
;; --enable-libzvbi enable teletext support via libzvbi [no]
|
||||
;; --enable-opencl enable OpenCL code
|
||||
;; --enable-x11grab enable X11 grabbing [no]
|
||||
'("--enable-avresample"
|
||||
"--enable-gpl" ; enable optional gpl licensed parts
|
||||
"--enable-shared"
|
||||
"--enable-fontconfig"
|
||||
"--enable-gnutls"
|
||||
"--enable-ladspa"
|
||||
"--enable-libass"
|
||||
"--enable-libbluray"
|
||||
"--enable-libcaca"
|
||||
"--enable-libcdio"
|
||||
"--enable-libfreetype"
|
||||
"--enable-libmp3lame"
|
||||
"--enable-libopus"
|
||||
"--enable-libpulse"
|
||||
"--enable-libquvi"
|
||||
"--enable-libsoxr"
|
||||
"--enable-libspeex"
|
||||
"--enable-libtheora"
|
||||
"--enable-libtwolame"
|
||||
"--enable-libvorbis"
|
||||
"--enable-libvpx"
|
||||
"--enable-libxvid"
|
||||
"--enable-libx264"
|
||||
"--enable-openal"
|
||||
|
||||
"--enable-runtime-cpudetect"
|
||||
|
||||
;; Runtime cpu detection is not implemented on
|
||||
;; MIPS, so we disable some features.
|
||||
"--disable-mips32r2"
|
||||
"--disable-mipsdspr1"
|
||||
"--disable-mipsdspr2"
|
||||
"--disable-mipsfpu")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace
|
||||
@@ -424,83 +509,13 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
||||
(("#! /bin/sh") (string-append "#!" (which "bash"))))
|
||||
(setenv "SHELL" (which "bash"))
|
||||
(setenv "CONFIG_SHELL" (which "bash"))
|
||||
;; possible additional inputs:
|
||||
;; --enable-avisynth enable reading of AviSynth script files [no]
|
||||
;; --enable-frei0r enable frei0r video filtering
|
||||
;; --enable-libaacplus enable AAC+ encoding via libaacplus [no]
|
||||
;; --enable-libcelt enable CELT decoding via libcelt [no]
|
||||
;; --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
|
||||
;; and libraw1394 [no]
|
||||
;; --enable-libfaac enable AAC encoding via libfaac [no]
|
||||
;; --enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
|
||||
;; --enable-libflite enable flite (voice synthesis) support via libflite [no]
|
||||
;; --enable-libgme enable Game Music Emu via libgme [no]
|
||||
;; --enable-libgsm enable GSM de/encoding via libgsm [no]
|
||||
;; --enable-libiec61883 enable iec61883 via libiec61883 [no]
|
||||
;; --enable-libilbc enable iLBC de/encoding via libilbc [no]
|
||||
;; --enable-libmodplug enable ModPlug via libmodplug [no]
|
||||
;; --enable-libnut enable NUT (de)muxing via libnut,
|
||||
;; native (de)muxer exists [no]
|
||||
;; --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
|
||||
;; --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
|
||||
;; --enable-libopencv enable video filtering via libopencv [no]
|
||||
;; --enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
|
||||
;; --enable-librtmp enable RTMP[E] support via librtmp [no]
|
||||
;; --enable-libschroedinger enable Dirac de/encoding via libschroedinger [no]
|
||||
;; --enable-libshine enable fixed-point MP3 encoding via libshine [no]
|
||||
;; --enable-libssh enable SFTP protocol via libssh [no]
|
||||
;; (libssh2 does not work)
|
||||
;; --enable-libstagefright-h264 enable H.264 decoding via libstagefright [no]
|
||||
;; --enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no]
|
||||
;; --enable-libv4l2 enable libv4l2/v4l-utils [no]
|
||||
;; --enable-libvidstab enable video stabilization using vid.stab [no]
|
||||
;; --enable-libvo-aacenc enable AAC encoding via libvo-aacenc [no]
|
||||
;; --enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
|
||||
;; --enable-libwavpack enable wavpack encoding via libwavpack [no]
|
||||
;; --enable-libxavs enable AVS encoding via xavs [no]
|
||||
;; --enable-libzmq enable message passing via libzmq [no]
|
||||
;; --enable-libzvbi enable teletext support via libzvbi [no]
|
||||
;; --enable-opencl enable OpenCL code
|
||||
;; --enable-x11grab enable X11 grabbing [no]
|
||||
(zero? (system*
|
||||
"./configure"
|
||||
(string-append "--prefix=" out)
|
||||
;; Add $libdir to the RUNPATH of all the binaries.
|
||||
(string-append "--extra-ldflags=-Wl,-rpath="
|
||||
%output "/lib")
|
||||
"--enable-avresample"
|
||||
"--enable-gpl" ; enable optional gpl licensed parts
|
||||
"--enable-shared"
|
||||
"--enable-fontconfig"
|
||||
;; "--enable-gnutls" ; causes test failures
|
||||
"--enable-ladspa"
|
||||
"--enable-libass"
|
||||
"--enable-libbluray"
|
||||
"--enable-libcaca"
|
||||
"--enable-libcdio"
|
||||
"--enable-libfreetype"
|
||||
"--enable-libmp3lame"
|
||||
"--enable-libopus"
|
||||
"--enable-libpulse"
|
||||
"--enable-libquvi"
|
||||
"--enable-libsoxr"
|
||||
"--enable-libspeex"
|
||||
"--enable-libtheora"
|
||||
"--enable-libtwolame"
|
||||
"--enable-libvorbis"
|
||||
"--enable-libvpx"
|
||||
"--enable-libxvid"
|
||||
"--enable-libx264"
|
||||
"--enable-openal"
|
||||
|
||||
"--enable-runtime-cpudetect"
|
||||
|
||||
;; Runtime cpu detection is not implemented on
|
||||
;; MIPS, so we disable some features.
|
||||
"--disable-mips32r2"
|
||||
"--disable-mipsdspr1"
|
||||
"--disable-mipsdspr2"
|
||||
"--disable-mipsfpu")))))
|
||||
(zero? (apply system*
|
||||
"./configure"
|
||||
(string-append "--prefix=" out)
|
||||
;; Add $libdir to the RUNPATH of all the binaries.
|
||||
(string-append "--extra-ldflags=-Wl,-rpath="
|
||||
out "/lib")
|
||||
configure-flags)))))
|
||||
(add-before
|
||||
'check 'set-ld-library-path
|
||||
(lambda _
|
||||
@@ -797,21 +812,21 @@ projects while introducing many more.")
|
||||
(define-public youtube-dl
|
||||
(package
|
||||
(name "youtube-dl")
|
||||
(version "2015.10.24")
|
||||
(version "2015.11.01")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://youtube-dl.org/downloads/"
|
||||
(uri (string-append "http://youtube-dl.org/downloads/"
|
||||
version "/youtube-dl-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1q9srq08vb2yzl81hmjrgqwajckq52fhh9ag2ppbbxjibf91w5gs"))))
|
||||
"0fhz6ml9mlz4g4xfm6kmkcks4p5j6srnszdrh9rmcc4gf36q3aaq"))))
|
||||
(build-system python-build-system)
|
||||
(inputs `(("setuptools" ,python-setuptools)))
|
||||
(home-page "http://youtube-dl.org")
|
||||
(synopsis "Download videos from YouTube.com and other sites")
|
||||
(description
|
||||
"youtube-dl is a small command-line program to download videos from
|
||||
"Youtube-dl is a small command-line program to download videos from
|
||||
YouTube.com and a few more sites.")
|
||||
(license license:public-domain)))
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user