Commit Graph

5774 Commits

Author SHA1 Message Date
Alex Kost 40e94665d4 gnu: sdl-union: Wrap into a procedure and export it.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/sdl.scm (sdl-union): Make it a procedure returning
  'sdl-union' package.
  (guile-sdl): Use it.
2015-10-12 11:31:01 +03:00
Alex Kost 0f6139b1b5 gnu: Add physfs.
* gnu/packages/game-development.scm (physfs): New variable.
2015-10-12 11:00:59 +03:00
Christopher Allan Webber 9d373377c9 gnu: guile: Add guile-wisp.
* gnu/packages/guile.scm (guile-wisp): New variable.
2015-10-11 21:30:12 -04:00
Ludovic Courtès 7f39e181df services: polkit: Use the right executable name for PAM.
* gnu/services/desktop.scm (%polkit-pam-services): Change "polkit-1" to
  "polkitd", which is the actual name of the executable.
2015-10-11 22:28:10 +02:00
Ludovic Courtès 2da4f2dd8e services: upower: Remove unused "upower" account.
* gnu/services/desktop.scm (%upower-accounts): Remove.
  (%upower-activation): Remove references to the "upower" account.
  (upower-service-type): Remove extension of ACCOUNT-SERVICE-TYPE.
2015-10-11 22:28:10 +02:00
Ricardo Wurmus c23c50c734 gnu: Add MARS.
* gnu/packages/games.scm (mars): New variable.
* gnu/packages/patches/mars-install.patch: New file.
* gnu/packages/patches/mars-sfml-2.3.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2015-10-11 15:52:59 +02:00
宋文武 f18bd3f64c gnu: wicd: Install 'index.theme' file in the right place.
This is a followup to 800d8d.

* gnu/packages/wicd.scm (wicd)[arguments]: Install a copy of 'index.theme'
  from 'hicolor-icon-theme' into $out/share/icons/hicolor.
2015-10-11 09:56:56 +08:00
Mark H Weaver ed01970389 gnu: gnupg: Update to 2.1.9.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.9.
2015-10-10 17:17:16 -04:00
Ludovic Courtès 0adfe95a3e services: Introduce extensible services.
This patch rewrites GuixSD services to make them extensible.

* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/dbus.scm.
* gnu/services.scm (<service>): Replace with new record type.
  (<service-extension>, <service-type>): New record types.
  (write-service-type, compute-boot-script, second-argument): New
  procedures.
  (%boot-service, boot-service-type): New variables.
  (file-union, directory-union, modprobe-wrapper,
  activation-service->script, activation-script,
  gexps->activation-gexp): New procedures.
  (activation-service-type, %activation-service): New variables.
  (etc-directory, files->etc-directory, etc-service): New procedures.
  (etc-service-type, setuid-program-service, firmware-service-type): New
  variables.
  (firmware->activation-gexp): New procedure.
  (&service-error, &missing-target-service-error,
  &ambiguous-target-service-error): New condition types.
  (service-back-edges, fold-services): New procedures.
* gnu/services/avahi.scm (<avahi-configuration>): New record type.
  (configuration-file): Replace keyword parameters with a single
  'config' parameter.
  (%avahi-accounts, %avahi-activation, avahi-service-type): New
  variables.
  (avahi-dmd-service): New procedure.
  (avahi-service): Rewrite using 'service' and 'avahi-configuration'.
* gnu/services/base.scm (%root-file-system-dmd-service,
  root-file-system-service-type): New variables.
  (root-file-system-service): Use them.
  (file-system->dmd-service-name): New procedure.
  (file-system-service-type): New variable.
  (file-system-service): Use it.  Replace keyword parameters with a
  single 'file-system' object.
  (user-unmount-service-type): New variable.
  (user-unmount-service): Use it.
  (user-processes-service-type): New variable.
  (user-processes-service): Use it.
  (host-name-service-type): New variable.
  (host-name-service): Use it.
  (console-keymap-service-type): New variable.
  (console-keymap-service): Use it.
  (console-font-service-type): New variable.
  (console-font-service): Use it.
  (mingetty-pam-service, mingetty-dmd-service): New procedures.
  (mingetty-service-type): New variable.
  (mingetty-service): Use it.
  (nscd-dmd-service): New procedure.
  (nscd-activation, nscd-service-type): New variables.
  (nscd-service): Use the latter.
  (syslog-service-type): New variable.
  (syslog-service): Use it.
  (<guix-configuration>): New record type.
  (%default-guix-configuration): New variable.
  (guix-dmd-service, guix-accounts, guix-activation): New procedures.
  (guix-service-type): New variable.
  (guix-service): Replace list of keyword parameters with a single
  'config' parameter.  Rewrite using 'service'.
  (<udev-configuration>): New record type.
  (udev-dmd-service): New procedure.
  (udev-service-type): New variable.
  (udev-service): Use it.
  (device-mapping-service-type): New variable.
  (device-mapping-service): Use it.
  (swap-service-type): New variable.
  (swap-service): Use it.
* gnu/services/databases.scm (<postgresql-configuration>): New record
  type.
  (%postgresql-accounts, postgresql-activation): New variables.
  (postgresql-dmd-service): New procedure.
  (postgresql-service): Rewrite using 'service' and
  'postgresql-configuration'.
* gnu/services/dbus.scm: New file.
* gnu/services/desktop.scm (dbus-configuration-directory, dbus-service):
  Remove.
  (wrapped-dbus-service): New procedure.
  (<upower-configuration>): New record type.
  (upower-configuration-file): Replace keyword parameters with single
  <upower-configuration> parameter.
  (%upower-accounts, %upower-activation): New variables.
  (upower-dbus-service, upower-dmd-service): New procedures.
  (upower-service-type): New variable.
  (upower-service): Rewrite using 'service' and 'upower-configuration'.
  (%colord-activation, %colord-accounts): New variables.
  (colord-dmd-service): New procedure.
  (colord-service-type): New variable.
  (colord-service): Rewrite using 'service'.
  (<geoclue-configuration>): New record type.
  (geoclue-configuration-file): Replace keyword parameters with a single
  'config' parameter.
  (geoclue-dbus-service, geoclue-dmd-service): New procedures.
  (%geoclue-accounts, geoclue-service-type): New variables.
  (geoclue-service): Rewrite using 'service' and
  'geoclue-configuration'.
  (%polkit-accounts, %polkit-pam-services, polkit-service-type): New
  variables.
  (polkit-dmd-service): New procedure.
  (polkit-service): Rewrite using 'service'.
  (<elogind-configuration>)[elogind]: New field.
  (elogind-dmd-service): New procedure.
  (elogind-service-type): New variable.
  (elogind-service): Rewrite using 'service'.
  (%desktop-services): Remove argument to 'dbus-service'.  Remove 'map'
  over %BASE-SERVICES.
* gnu/services/dmd.scm (dmd-boot-gexp): New procedure.
  (dmd-root-service-type, %dmd-root-service): New variables.
  (dmd-service-type): New macro.
  (<dmd-service>): New record type.
* gnu/services/lirc.scm (<lirc-configuration>): New record type.
  (%lirc-activation): New variable.
  (lirc-dmd-service): New procedure.
  (lirc-service-type): New variable.
  (lirc-service): Rewrite using 'service' and 'lirc-configuration'.
* gnu/services/networking.scm (<static-networking>): New record type.
  (static-networking-service-type): New variable.
  (static-networking-service): Rewrite using 'service' and
  'static-networking'.
  (dhcp-client-service-type): New variable.
  (dhcp-client-service): Rewrite using 'service'.
  (<ntp-configuration>): New record type.
  (ntp-dmd-service): New procedure.
  (ntp-service-type): New variable.
  (ntp-service): New procedure.
  (%tor-accounts, tor-service-type): New variable.
  (tor-dmd-service): New procedure.
  (tor-service): Rewrite using 'service'.
  (<bitlbee-configuration>): New record type.
  (bitlbee-dmd-service): New procedure.
  (%bitlbee-accounts, %bitlbee-activation, bitlbee-service-type): New
  variables.
  (bitlbee-service): Rewrite using 'service'.
  (%wicd-activation): New variable.
  (wicd-dmd-service): New procedure.
  (wicd-service-type): New variable.
  (wicd-service): Rewrite using 'service'.
* gnu/services/ssh.scm (<lsh-configuration>): New record type.
  (activation): Rename to...
  (lsh-initialization): ... this.
  (lsh-activation, lsh-dmd-service, lsh-pam-services): New procedures.
  (lsh-service-type): New variable.
  (lsh-service): Rewrite using 'service' and 'lsh-configuration'.
* gnu/services/web.scm (<nginx-configuration>): New record type.
  (%nginx-accounts): New variable.
  (nginx-activation, nginx-dmd-service): New procedures.
  (nginx-service-type): New variable.
  (nginx-service): Rewrite using 'service' and 'nginx-configuration'.
* gnu/services/xorg.scm (<slim-configuration>): New record type.
  (slim-pam-service, slim-dmd-service): New procedures.
  (slim-service-type): New variable.
  (slim-service): Rewrite using 'service' and 'slim-configuration'.
* gnu/system.scm (file-union): Remove.
  (other-file-system-services): Adjust to new 'file-system-service'
  signature.
  (essential-services): Add #:container? parameter.  Add
  %DMD-ROOT-SERVICE, %ACTIVATION-SERVICE, and calls to
  'pam-root-service', 'account-service', 'operating-system-etc-service',
  and a SETUID-PROGRAM-SERVICE instance.
  (operating-system-services): Pass #:container? to 'essential-services.
  (etc-directory): Remove.
  (operating-system-etc-service): New procedure.  Rewrite as a call to
  'etc-service'.
  (operating-system-accounts): Change to not return accounts required by
  services.
  (operating-system-etc-directory): Rewrite as a call to 'fold-services'
  and 'etc-directory'.
  (user-group->gexp, user-account->gexp, modprobe-wrapper): Remove.
  (operating-system-activation-script): Rewrite as a call to
  'fold-services' and 'activation-service->script'.
  (operating-system-boot-script): Likewise.
  (operating-system-derivation): Add call to 'lower-object'.
  (emacs-site-file, emacs-site-directory, shells-file): Change to use
  'computed-file' and 'scheme-file' instead of the monadic procedures.
* gnu/system/install.scm (cow-store-service-type): New variable.
  (cow-store-service): Rewrite using 'service'.
  (/etc/configuration-files): New procedure.
  (configuration-template-service-type,
  %configuration-template-service): New variables.
  (configuration-template-service): Remove.
  (installation-services): Adjust accordingly.  Adjust argument to
  'guix-service'.
* gnu/system/linux.scm (/etc-entry, pam-root-service): New procedures.
  (pam-root-service-type): New variable.
* gnu/system/shadow.scm (user-group->gexp, user-account->gexp,
  account-activation, etc-skel, account-service): New procedures.
  (account-service-type): New variable.
* tests/services.scm: New file.
* doc/guix.texi (Base Services, Desktop Services): Adjust accordingly.
  (Defining Services): Rewrite.
* doc/images/service-graph.dot: New file.
* doc.am (DOT_FILES): Add it.
* po/guix/POTFILES.in: Add gnu/services.scm.
2015-10-10 22:55:15 +02:00
Ludovic Courtès e79467f63a system: Account skeleton API is non-monadic.
* gnu/system/shadow.scm (default-skeletons): Use the non-monadic
  procedures and turn into a regular procedure.
  (skeleton-directory): Likewise.
* gnu/system.scm (etc-directory): Adjust accordingly.
2015-10-10 22:46:15 +02:00
Ludovic Courtès 23afe939a2 system: pam: Use 'computed-file' instead of 'gexp->derivation'.
* gnu/system/linux.scm (pam-service->configuration): Use 'computed-file'
  instead of 'gexp->derivation'.
  (pam-services->directory): Likewise.
* gnu/system.scm (etc-directory): Adjust accordingly.
2015-10-10 22:46:15 +02:00
Ludovic Courtès b893f1aec3 services: nscd-service: Fit everything into <nscd-configuration>.
* gnu/services/base.scm (<nscd-configuration>)[glibc, name-services]:
  New fields.
  (nscd-service): Remove #:glibc and #:name-services parameters.  Adjust
  body to take those from CONFIG.
* gnu/services/desktop.scm (%desktop-services): Adjust accordingly.
* doc/guix.texi (Base Services): Adjust accordingly.
  (Name Service Switch): Adjust example.
2015-10-10 22:46:14 +02:00
Ludovic Courtès 66e4f01c60 services: mingetty-service: Use <mingetty-configuration> objects.
* gnu/services/base.scm (<mingetty-configuration>): New record type.
  (mingetty-service): Expect a single <mingetty-configuration> instead
  of keyword arguments.
  (%base-services): Adjust accordingly.
* gnu/system/install.scm (installation-services): Likewise.
* doc/guix.texi (Base Services): Adjust accordingly.
2015-10-10 22:46:14 +02:00
Ludovic Courtès be1c2c54d9 system: Make service procedures non-monadic.
* gnu/services/avahi.scm (configuration-file): Use 'plain-file' instead
  of 'text-file'.
  (avahi-service): Turn into a regular procedure that returns a <service>.
* gnu/services/base.scm (root-file-system-service, file-system-service,
  user-unmount-service, user-processes-service, host-name-service,
  console-keymap-service, console-font-service, mingetty-service,
  nscd.conf-file, nscd-service): Likewise.
  (%default-syslog.conf): New variable.
  (syslog-service): Use it.  Turn into a regular procedure.
  (guix-service, udev-rules-union, kvm-udev-rule, udev-service,
  device-mapping-service, swap-service): Likewise.
* gnu/services/databases.scm (%default-postgres-hba,
  %default-postgres-ident): Use 'plain-file' instead of 'text-file'.
  (%default-postgres-config): Use 'mixed-text-file' instead of
  'text-file*'.
  (postgresql-service):  Use 'program-file' instead of 'gexp->script'.
  Turn into a regular procedure.
* gnu/services/desktop.scm (dbus-configuration-directory): Use
  'computed-file' instead of 'gexp->derivation'.
  (upower-configuration-file, geoclue-configuration-file,
  elogind-configuration-file): Use 'plain-file' instead of 'text-file'.
  (dbus-service, upower-service, colord-service, geoclue-service,
  polkit-service, elogind-service): Turn into regular procedures.
  (%desktop-services): Remove use of 'mlet' when iterating on
  %BASE-SERVICES.
* gnu/services/lirc.scm (lirc-service): Turn into a regular procedure.
* gnu/services/networking.scm (static-networking-service,
  dhcp-client-service, ntp-service, tor-service, bitlbee-service,
  wicd-service): Likewise.
* gnu/services/ssh.scm (lsh-service): Likewise.
* gnu/services/web.scm (nginx-service): Likewise.
* gnu/services/xorg.scm (xorg-configuration-file): Use 'mixed-text-file'
  instead of 'text-file*'.
  (xorg-start-command, slim-service): Turn into regular procedures.
  (xinitrc): Use 'program-file' instead of 'gexp->script'.
* gnu/system/install.scm (cow-store-service,
  configuration-template-service): Turn into regular procedures.
* gnu/system.scm (other-file-system-services, device-mapping-services,
  swap-services, essential-services, operating-system-services,
  user-shells, operating-system-accounts): Remove now unnecessary
  'mlet' and turn into regular procedures.
  (operating-system-etc-directory, operating-system-activation-script,
  operating-system-boot-script): Adjust accordingly.
* doc/guix.texi (Base Services, Networking Services, X Window, Desktop
  Services, Database Services, Web Services, Various Services, Name
  Service Switch): Adjust accordingly.
2015-10-10 22:46:14 +02:00
Ludovic Courtès ce8a6dfc43 services: 'mingetty-service' no longer takes monadic values.
* gnu/services/base.scm (mingetty-service): Change default value of
  #:motd from a monadic value to a <plain-file>.  Assume MOTD to be a
  file-like object.  Assume LOGIN-PROGRAM is a gexp or #f.
  (%base-services): Use 'plain-file' instead of 'text-file' for motd.
* gnu/system/linux.scm (unix-pam-service): Update docstring to mention
  that MOTD is a file-like object.
* doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation
  accordingly.
* gnu/system/install.scm (installation-services): Adjust accordingly.
  (log-to-info): Use 'program-file' instead of 'gexp->script'.
2015-10-10 22:46:14 +02:00
David Thompson a72ccbc251 build: container: Fix call-with-clean-exit.
Before, call-with-clean-exit would *always* return an exit code of 1.

* gnu/build/linux-container.scm (call-with-clean-exit): Exit with status
  code of 0 if thunk does not throw an exception.
* tests/containers.scm: Add test.
2015-10-10 09:00:49 -04:00
Cyril Roelandt f5a21dc4cf gnu: Add python-bandit.
* gnu/packages/openstack.scm (python-bandit, python2-bandit): New variables.
2015-10-10 03:20:49 +02:00
Cyril Roelandt 7787ef76b6 gnu: Update python-fixtures
* gnu/packages/python.scm (python-fixtures): Update.
* gnu/packages/python.scm (python-fixtures-0.3.16,
  python2-fixtures-0.3.16, python-pbr-0.11,
  python2-pbr-0.11): New variables.
* gnu/packages/python.scm (python-testrepository): Use python-fxitures-0.3.16
  instead of python-fixtures in the inputs.
2015-10-10 03:20:49 +02:00
Cyril Roelandt 643725a155 gnu: Add python-pip.
* gnu/packages/python.scm (python-pip, python2-pip): New variables.
2015-10-10 03:20:44 +02:00
Ludovic Courtès 9765b3aeac Revert "gnu: python: Do not retain references to build tools."
This reverts commit 14f8dae6b1, which
was unintentionally pushed (it does not work with Python 3.)
2015-10-08 18:08:16 +02:00
Mark H Weaver b81378251c Merge branch 'master' into core-updates 2015-10-08 10:59:39 -04:00
Mark H Weaver b5881775ac gnu: libunwind: Add fix for CVE-2015-3239.
* gnu/packages/patches/libunwind-CVE-2015-3239.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/libunwind.scm (libunwind)[source]: Add patch.
2015-10-08 10:55:52 -04:00
Mark H Weaver f956d661ad gnu: libwmf: Add fixes for several security flaws.
* gnu/packages/patches/libwmf-CAN-2004-0941.patch,
  gnu/packages/patches/libwmf-CVE-2007-0455.patch,
  gnu/packages/patches/libwmf-CVE-2007-2756.patch,
  gnu/packages/patches/libwmf-CVE-2007-3472.patch,
  gnu/packages/patches/libwmf-CVE-2007-3473.patch,
  gnu/packages/patches/libwmf-CVE-2007-3477.patch,
  gnu/packages/patches/libwmf-CVE-2009-3546.patch: New files.
* gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch: Delete
  file.  Replace with ...
* gnu/packages/patches/libwmf-CVE-2015-0848+CVE-2015-4588.patch,
  gnu/packages/patches/libwmf-CVE-2015-4695.patch,
  gnu/packages/patches/libwmf-CVE-2015-4696.patch: ... these new files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image.scm (libwmf)[source]: Adjust set of patches.
2015-10-08 10:46:30 -04:00
Mark H Weaver 48e4a9f32f gnu: unzip: Add various fixes.
* gnu/packages/patches/unzip-increase-size-of-cfactorstr.patch: Delete
  file.  Replace with ...
* gnu/packages/patches/unzip-overflow-long-fsize.patch: ... this new file.
* gnu/packages/patches/unzip-attribs-overflow.patch,
  gnu/packages/patches/unzip-fix-overflows-and-infloop.patch,
  gnu/packages/patches/unzip-format-secure.patch: New files.
* gnu/packages/patches/unzip-CVE-2014-9636.patch: Replace contents with
  fixed patch from Fedora.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust list of patches.
2015-10-08 10:07:44 -04:00
Mark H Weaver e91e28d60c gnu: wpa-supplicant: Update to 2.5.
* gnu/packages/patches/wpa-supplicant-2015-2-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-3-fix.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt1.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt2.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt3.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt4.patch,
  gnu/packages/patches/wpa-supplicant-2015-4-fix-pt5.patch,
  gnu/packages/patches/wpa-supplicant-2015-5-fix.patch,
  gnu/packages/patches/wpa-supplicant-CVE-2015-1863.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/admin.scm (wpa-supplicant-minimal): Update to 2.5.
  Remove patches.
2015-10-08 09:15:30 -04:00
Ricardo Wurmus 797e1401fe gnu: python-h5py: Fix path to hdf5 library.
* gnu/packages/python.scm (python-h5py)[arguments]: Add "fix-hdf5-paths"
  phase.
2015-10-08 14:39:11 +02:00
Ricardo Wurmus 3c4010b1e9 gnu: python-h5py, python2-h5py: Correct inputs.
* gnu/packages/python.scm (python-h5py)
  [inputs]: Remove python-cython and python-numpy.
  [propagated-inputs]: New field.
  [native-inputs]: Drop python-setuptools and add python-cython.
  (python2-h5py): Replace "inputs" with "propagated-inputs".
2015-10-08 14:39:11 +02:00
Ricardo Wurmus 1285119bde gnu: Add python-joblib.
* gnu/packages/python.scm (python-joblib, python2-joblib): New
  variables.
2015-10-08 14:39:11 +02:00
Efraim Flashner fd5b213302 Correct "Revert "gnu: camlp4: Remove extra input.""
This corrects a typo in 0d1c0660d7.
2015-10-08 12:17:21 +03:00
Efraim Flashner 0d1c0660d7 Revert "gnu: camlp4: Remove extra input."
This reverts commit d04efa0fff.
2015-10-08 12:10:47 +03:00
Mark H Weaver 319fe79dd0 Merge branch 'master' into core-updates 2015-10-07 23:55:17 -04:00
Mark H Weaver a606ed89d4 gnu: webkitgtk-2.4: Fix potential code execution vulnerability.
* gnu/packages/patches/webkitgtk-2.4-sql-init-string.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk-2.4)[source]: Add patch.
2015-10-07 22:54:09 -04:00
Mark H Weaver 2ab5e39d22 gnu: libvpx: Set size limit to avoid CVE-2015-1258.
* gnu/packages/video.scm (libvpx)[arguments]: Add "--size-limit"
  argument to configure.
2015-10-07 22:41:18 -04:00
Mark H Weaver 7ab73c4add gnu: openjpeg-2.x: Add fix for CVE-2015-6581.
* gnu/packages/patches/openjpeg-CVE-2015-6581.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg, openjpeg-2.0)[source]: Add patch.
2015-10-07 22:18:13 -04:00
Mark H Weaver 9511de1ef8 gnu: gdk-pixbuf: Update to 2.32.1.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.32.1.
2015-10-07 21:49:03 -04:00
Ludovic Courtès 6a20289d5a gnu: python: Simplify list of configure flags.
* gnu/packages/patches/python-2.7-search-paths.patch,
  gnu/packages/patches/python-3-search-paths.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/python.scm (python-2)[source]: Use first patch.
  [arguments]: Remove now unneeded CPPFLAGS and LDFLAGS.
  (python)[source]: Use second patch.
  (python-minimal)[arguments]: Remove CPPFLAGS and LDFLAGS.
2015-10-08 00:05:34 +02:00
Ludovic Courtès afa181fff4 gnu: python: Build the tkinter module.
Fixes <http://bugs.gnu.org/20889>.
Reported by Federico Beffa <beffa@ieee.org>.

* gnu/packages/python.scm (python-2)[arguments]: Pass
  --with-tcltk-includes and --with-tcltk-libs.
  [inputs]: Add TCL and TK.
2015-10-07 23:25:25 +02:00
Ludovic Courtès 95288fcc6c gnu: python: Add "minimal" variants.
* gnu/packages/python.scm (python2-minimal, python-minimal): New
  variables.
  (wrap-python3): New procedure.
  (python-wrapper): Use it.
  (python-minimal-wrapper): New variable.
* gnu/packages/xml.scm (libxslt)[native-inputs]: Use
  PYTHON-MINIMAL-WRAPPER instead of PYTHON-WRAPPER.
* gnu/packages/xorg.scm (xcb-proto, libxcb, xorg-server): Likewise.
2015-10-07 23:25:22 +02:00
Efraim Flashner d04efa0fff gnu: camlp4: Remove extra input.
* gnu/packages/ocaml.scm (camlp4)[inputs]: Removed duplicate "ocaml"
  entry from native-inputs.
2015-10-07 21:22:17 +03:00
Efraim Flashner 751b7aad1e gnu: gprolog: Remove armhf from supported architectures.
* gnu/packages/gprolog.scm (gprolog)[supported-systems]: Remove
  armhf-linux from the list of supported systems.
2015-10-07 21:22:17 +03:00
Efraim Flashner 2e13698763 gnu: mosh: Update to 1.2.5.
* gnu/packages/ssh.scm (mosh): Update to 1.2.5.
2015-10-07 16:43:40 +03:00
Ludovic Courtès 0d56e3e1bc gnu: python-wrapper: Improve synopsis and description.
* gnu/packages/python.scm (python-wrapper): Add 'synopsis' field; provide
  literal 'description' value.
2015-10-07 11:53:01 +02:00
Ludovic Courtès 14f8dae6b1 gnu: python: Do not retain references to build tools.
* gnu/packages/python.scm (python-2)[arguments]: Add
  'do-not-record-configure-flags' and
  'do-not-record-configure-flags-in-makefile' phases.
2015-10-07 11:30:41 +02:00
Efraim Flashner 543dbd9859 gnu: enlightenment: Update to 0.19.12.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.19.12.
2015-10-07 10:44:46 +03:00
Ricardo Wurmus b1006576d7 gnu: Add r-htmlwidgets.
* gnu/packages/web.scm (r-htmlwidgets): New variable.
2015-10-07 09:10:46 +02:00
Ricardo Wurmus f1a045e266 gnu: Add r-htmltools.
* gnu/packages/web.scm (r-htmltools): New variable.
2015-10-07 09:10:45 +02:00
Ricardo Wurmus dedaf7ac74 gnu: ibus-libpinyin: Add GTK+ and Glib inputs.
* gnu/packages/ibus.scm (ibus-libpinyin)[inputs]: Add gtk+.
  [native-inputs]: Add glib:bin.
2015-10-07 08:55:43 +02:00
Eric Bavier 3cbf1204ef gnu: imagemagick: Hard-code delegate paths.
If --with-frozenpaths is given, then configure will retain absolute paths
discovered for delegate programs, otherwise they are discarded.

* gnu/packages/imagemagick.scm (imagemagick)[arguments]: Add
  '--with-frozenpaths' to #:configure-flags.
2015-10-06 15:31:23 -05:00
Efraim Flashner 04d1ab3bf5 gnu: elementary: Update to 1.15.2.
* gnu/packages/enlightenment.scm (elementary): Update to 1.15.2.
2015-10-06 23:33:03 +03:00
Efraim Flashner 6b3c9db11e gnu: efl: Update to 1.15.2.
* gnu/packages/enlightenment.scm (efl): Update to 1.15.2.
2015-10-06 23:13:23 +03:00
Efraim Flashner 2da45ebe56 gnu: libbluray: Remove java as native-input.
* gnu/packages/video.scm (libbluray)[inputs]: Remove "ant" and "icedtea"
  as native-inputs.
  [arguments]: Remove environmental variable "JAVA_HOME". Add configure
  flag to disable java.
2015-10-06 20:22:09 +03:00
Ludovic Courtès 42e735dfc7 gnu: gmp: Skip unreliable test.
* gnu/packages/patches/gmp-faulty-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/multiprecision.scm (gmp)[source]: Use it.
2015-10-06 15:18:44 +02:00
Ludovic Courtès 18bf40a087 gnu: gawk: Remove unneeded 'install-locale' phase.
* gnu/packages/gawk.scm (gawk)[arguments]: Remove now unneeded
  'install-locale' phase.
2015-10-06 15:02:27 +02:00
Efraim Flashner 69762e3c92 gnu: libdvdcss: Update to 1.3.99.
* gnu/packages/video.scm (libdvdcss): Update to 1.3.99.
2015-10-06 15:19:13 +03:00
Efraim Flashner 3f9f176b3a gnu: libbluray: Upgrade to 0.9.1.
* gnu/packages/video.scm (libbluray): Upgrade to 0.9.1.
  [inputs]: Add "ant" and "icedtea7" to native-inputs.
  [arguments]: Set environment variable "JAVA_HOME".
2015-10-06 15:19:13 +03:00
Ludovic Courtès 85e5721421 gnu: glibc: Look for locale data in versioned sub-directories.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/glibc-versioned-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [arguments]: Add explicit version sub-directory to
  libc_cv_localedir.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
2015-10-05 22:34:50 +02:00
Ludovic Courtès f211b2af67 Revert "gnu: glibc: Honor 'GUIX_LOCPATH'."
This reverts commits fbb909ac7e
and 2ebe938c2f.
2015-10-05 22:34:34 +02:00
宋文武 025cc9a1ed gnu: wine: Update to 1.7.52, add more inputs.
* gnu/packages/wine.scm (wine): Update to 1.7.52.
  [inputs]: Add cups, glu and openal.
2015-10-05 18:19:21 +08:00
宋文武 4a30930b84 gnu: feh: Update to 2.14.
* gnu/packages/feh.scm (feh): Update to 2.14.
2015-10-05 16:28:30 +08:00
Andreas Enge 1eaeeddfba gnu: calibre: Update to 2.40.0.
* gnu/packages/ebook.scm (calibre): Update to 2.40.0.
2015-10-04 23:04:27 +02:00
Andreas Enge 9c32e1fef1 gnu: qt: Remove bundled copy of sqlite.
* gnu/packages/qt.scm (qt)[source]: Add snippet to remove the bundled
  copy of sqlite.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:27 +02:00
Andreas Enge bc554b43d6 gnu: qt: Compile with system harfbuzz.
* gnu/packages/qt.scm (qt)[source]: Add a snippet to remove one of the two
  bundled copies of harfbuzz.
  [arguments]: Pass a configure flag to use harfbuzz from the system.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:27 +02:00
Andreas Enge 14bcc1e1cd gnu: qt: Remove the sources of qtwebengine.
* gnu/packages/qt.scm (qt)[source]: Add snippet to remove the qtwebengine
  code, which was already not built anymore, and drop one patch used
  previously only for qtwebengine.
  [arguments]: Drop the configuration flag "-skip qtwebengine", since
  deleted modules cannot be skipped.
* gnu/packages/patches/qt5-runpath.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 23:04:26 +02:00
Mathieu Lirzin 2b00a55064 gnu: Add autobuild.
* gnu/packages/autotools.scm (autobuild): New variable.
2015-10-04 20:24:40 +02:00
Mark H Weaver 1a400bd589 gnu: linux-libre: Update to 4.2.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.3.
2015-10-04 12:35:04 -04:00
Alex Kost 9fbd458b8d gnu: rtorrent: Update to 0.9.6.
* gnu/packages/bittorrent.scm (rtorrent): Update to 0.9.6.
  [source]: Use new URL.
2015-10-04 19:22:41 +03:00
Alex Kost 29b4c57bf0 gnu: libtorrent: Update to 0.13.6.
* gnu/packages/bittorrent.scm (libtorrent): Update to 0.13.6.
  [source]: Use new URL.
  [native-inputs]: Uncomment "cppunit" (for tests).
  [argument]: Remove (to enable tests).
2015-10-04 19:22:41 +03:00
Alex Kost 9db04bf542 gnu: libtorrent, rtorrent: Update home pages.
* gnu/packages/bittorrent.scm (libtorrent): Update 'home-page'.
  (rtorrent): Likewise.
2015-10-04 19:22:40 +03:00
Alex Kost 678932aa70 gnu: lirc: Update to 0.9.3.
* gnu/packages/lirc.scm (lirc): Update to 0.9.3.
  [native-inputs]: Add "libxslt".
2015-10-04 19:19:21 +03:00
Andreas Enge 7431edea5b gnu: qt-4: Disable webkit build.
* gnu/packages/qt.scm (qt-4)[source]: Add snippet to remove the webkit code
  and drop one patch used previously for webkit.
  [arguments]: Add configure flag to disable building the webkit module.
* gnu/packages/patches/qt4-tests.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Unregister patch.

Partially fixes <http://bugs.gnu.org/21288>.
2015-10-04 11:09:14 +02:00
Ludovic Courtès afd3d9316c Use "normalized codesets" everywhere.
In other words, change "xx_YY.UTF-8" to "xx_YY.utf8".

* guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of
  "en_US.UTF-8".
* guix/packages.scm (patch-and-repack): Likewise.
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* gnu/packages/python.scm (python-ipython): Likewise.
* gnu/packages/gawk.scm (gawk): Likewise.
* build-aux/hydra/demo-os.scm: Likewise.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
  'change-locale' phase.
2015-10-04 00:10:03 +02:00
Ludovic Courtès 8a55e217ad gnu: glibc-utf8-locales: Use the normalized codeset.
* gnu/packages/base.scm (glibc-utf8-locales)[argument]: Use the
  normalized codeset by default.
2015-10-04 00:10:03 +02:00
Ludovic Courtès b6ac54517c gnu: commencement: Remove the tricky locale compatibility handling.
This is made unnecessary by the use of 'GUIX_LOCPATH'.

* gnu/packages/commencement.scm (locale-proof-package): Remove.
  (%boot5-inputs): Add on GLIBC-UTF8-LOCALES-FINAL.  This reverts parts
  of commit 28cbc58.
* gnu/packages/gawk.scm (gawk): Set 'GUIX_LOCPATH' instead of
  'LOCPATH'.
2015-10-04 00:09:29 +02:00
Andreas Enge f8822418f1 gnu: libqtxdg: Fix download location.
* gnu/packages/lxqt.scm (libqtxdg)[source]: Fix download location.
2015-10-03 22:49:12 +02:00
Andreas Enge 250ffe4de1 gnu: liblxqt: Fix download location.
* gnu/packages/lxqt.scm (liblxqt)[source]: Fix download location.
  [description]: Fix typo.
2015-10-03 22:41:59 +02:00
Andreas Enge 54033a4db6 gnu: Add lxqt-session.
* gnu/packages/lxqt.scm (lxqt-session): New variable.
2015-10-03 21:20:41 +02:00
Ludovic Courtès f2d7bbb537 gnu: glibc: Look for locale data in versioned sub-directories.
* gnu/packages/base.scm (glibc)[native-search-paths]: Add
  'lib/locale/VERSION' for 'GUIX_LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
* guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value
  accordingly.
2015-10-03 20:17:09 +02:00
Andreas Enge cfa2e4ad40 gnu: Add lxqt-common.
* gnu/packages/lxqt.scm (lxqt-common): New variable.
2015-10-03 19:45:23 +02:00
Andreas Enge c9f6938033 gnu: liblxqt: Fix download location.
* gnu/packages/lxqt.scm (liblxqt)[source]: Use the .tar.xz release
  exclusively; drop the alternative URI for .tar.gz and correct the hash.
2015-10-03 19:45:23 +02:00
Ludovic Courtès fbb909ac7e gnu: glibc: Honor 'GUIX_LOCPATH'.
* gnu/packages/patches/glibc-guix-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
* doc/guix.texi (Application Setup): Introduce the term "foreign
  distro".  Document 'GUIX_LOCPATH'.
2015-10-03 17:55:13 +02:00
David Thompson 293ff8b2f3 gnu: Add file-roller.
* gnu/packages/gnome.scm (file-roller): New variable.
2015-10-03 11:17:37 -04:00
Ludovic Courtès 1668dfcd37 gnu: texinfo: Claim 'INFOPATH'.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/texinfo.scm (texinfo)[native-search-paths]: New field.
2015-10-03 14:36:12 +02:00
Ludovic Courtès 29aca449c7 gnu: gettext: Upgrade to 0.19.6.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.6.
2015-10-03 14:36:12 +02:00
Ludovic Courtès e393586161 gnu: coreutils: Use upstream's fix for 'tail'.
* gnu/packages/patches/coreutils-racy-tail-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (coreutils)[source]: Replace this patch with
  upstream's fix for 'tail'.
2015-10-03 14:36:11 +02:00
Ludovic Courtès 2ae71b746b gnu: glibc: Do not abort when incompatible locale data is found.
* gnu/packages/patches/glibc-locale-incompatibility.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-10-03 14:36:07 +02:00
Ben Woodcroft 6f04e51560 gnu: vsearch: Restrict supported systems to x86_64-linux.
* gnu/packages/bioinformatics.scm (vsearch)[supported-systems]: Restrict
  to x86_64-linux.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2015-10-03 13:59:11 +02:00
Andreas Enge b8d953cbbd gnu: libmicrohttpd: Update to 0.9.44.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.44.
2015-10-02 23:30:20 +02:00
Andreas Enge 4d835808e4 gnu: eigen: Update to 3.2.6.
* gnu/packages/algebra.scm (eigen): Update to 3.2.6.
2015-10-02 23:13:20 +02:00
Andreas Enge 5768893ad1 gnu: valgrind: Enable the arm architecture during configuration.
* gnu/packages/patches/valgrind-enable-arm.patch: New file.
* gnu/packages/valgrind.scm (valgrind)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Enable patch.
2015-10-02 21:16:02 +02:00
Andreas Enge 2f8fee0623 gnu: valgrind: Update to 3.11.0.
* gnu/packages/valgrind.scm (valgrind): Update to 3.11.0.
  [source]: Remove the patches
* gnu/packages/patches/valgrind-glibc-2.22.patch,
  gnu/packages/patches/valgrind-linux-libre-4.x.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
2015-10-02 20:26:45 +02:00
Andreas Enge 127cbd85c0 gnu: glpk: Update to 4.56.
* gnu/packages/maths.scm (glpk): Update to 4.56.
2015-10-02 20:07:17 +02:00
Mark H Weaver 93bd4a37ee gnu: freeimage: Add fix for CVE-2015-0852.
* gnu/packages/patches/freeimage-CVE-2015-0852.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (freeimage)[source]: Add patch.
2015-10-02 12:53:21 -04:00
Mark H Weaver bcc09d9ac1 gnu: freeimage: Update to 3.17.0.
* gnu/packages/image.scm (freeimage): Update to 3.17.0.
  [source]: Use 'string-concatenate' in URI computation.
2015-10-02 12:53:21 -04:00
Mark H Weaver b927058237 gnu: openjpeg-2.x: Add fix for use-after-free in opj_j2k_write_mco.
* gnu/packages/patches/openjpeg-use-after-free-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/image.scm (openjpeg, openjpeg-2.0)[source]: Add patch.
  [home-page]: Update.
2015-10-02 12:33:26 -04:00
Mark H Weaver 9ab5ea449e gnu: clipper: Add 'file-name' field to source origin.
* gnu/packages/bioinformatics.scm (clipper)[source]: Add file-name.
2015-10-02 10:55:57 -04:00
Andreas Enge 71a4b2ab21 gnu: orc: Update to 0.4.24.
* gnu/packages/gstreamer.scm (orc): Update to 0.4.24.
2015-10-02 09:51:55 +02:00
Ben Woodcroft 02a8a1876a gnu: Add python-xlrd.
* gnu/packages/python.scm (python-xlrd, python2-xlrd): New variables.

Signed-off-by: Mathieu Lirzin <mthl@openmailbox.org>
2015-10-01 23:45:32 +02:00
Efraim Flashner bd60e4e2ef gnu: powertop: Fix url.
* gnu/packages/linux.scm (powertop): Fixed incorrect url.
2015-10-01 22:53:12 +03:00
Andreas Enge 71923a91b1 gnu: openblas: Fix configure flags on armhf and take target system into account for cross building.
* gnu/packages/maths.scm (openblas)[arguments]: Make package substitutable
  and enable runtime cpu detection only on x86 systems. Take the target
  system into account when cross compiling.
2015-10-01 19:35:16 +02:00
Efraim Flashner cfd745d6bb gnu: powertop: Update to 2.7.
* gnu/packages/linux.scm (powertop): Update to 2.7.
  [arguments]: Add "pciutils" to inputs.
2015-10-01 19:39:34 +03:00