From 6dd4783a8c0e813b4fb1440d6cd45fff84b592ae8cd05bfa5183b52d87e056f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Feb 2015 14:36:30 +0000 Subject: [PATCH] Accepting request 284122 from home:sleep_walker:guix changes since last attempt - used spec-cleaner to make spec file even more beautiful OBS-URL: https://build.opensuse.org/request/show/284122 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/guix?expand=0&rev=1 --- .gitattributes | 23 + .gitignore | 1 + armhf-linux-guile-2.0.11.tar.xz | 3 + guix-0.8.1.tar.gz | 3 + guix-rpmlintrc | 5 + guix.changes | 762 ++++++++++++++++++++++++++++++ guix.spec | 113 +++++ guixd | 83 ++++ guixd.service | 11 + i686-linux-guile-2.0.9.tar.xz | 3 + mips64el-linux-guile-2.0.9.tar.xz | 3 + sysconfig.guix | 5 + x86_64-linux-guile-2.0.9.tar.xz | 3 + 13 files changed, 1018 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 armhf-linux-guile-2.0.11.tar.xz create mode 100644 guix-0.8.1.tar.gz create mode 100644 guix-rpmlintrc create mode 100644 guix.changes create mode 100644 guix.spec create mode 100644 guixd create mode 100644 guixd.service create mode 100644 i686-linux-guile-2.0.9.tar.xz create mode 100644 mips64el-linux-guile-2.0.9.tar.xz create mode 100644 sysconfig.guix create mode 100644 x86_64-linux-guile-2.0.9.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/armhf-linux-guile-2.0.11.tar.xz b/armhf-linux-guile-2.0.11.tar.xz new file mode 100644 index 0000000..cf9b82e --- /dev/null +++ b/armhf-linux-guile-2.0.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e551d05d4d385d6706ab8d574856a087758294dc90ab4c06e70a157a685e23d6 +size 2717576 diff --git a/guix-0.8.1.tar.gz b/guix-0.8.1.tar.gz new file mode 100644 index 0000000..327c258 --- /dev/null +++ b/guix-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c54d19e948eae7ed15f63c6ad69bd8193fd1ed8128d3a6a8511f381f64a3058a +size 10042446 diff --git a/guix-rpmlintrc b/guix-rpmlintrc new file mode 100644 index 0000000..6837ba6 --- /dev/null +++ b/guix-rpmlintrc @@ -0,0 +1,5 @@ +# guix is bootstrapping package so there are some non-standard exceptions +setBadness("arch-dependent-file-in-usr-share",0) + +# static binaries are expected for bootstrapping +setBadness("statically-linked-binary",0) diff --git a/guix.changes b/guix.changes new file mode 100644 index 0000000..ab31179 --- /dev/null +++ b/guix.changes @@ -0,0 +1,762 @@ +------------------------------------------------------------------- +Wed Feb 4 15:14:45 UTC 2015 - sleep_walker@suse.cz + +- let the spec-cleaner create something beautiful from original + spec file + +------------------------------------------------------------------- +Thu Jan 29 16:04:24 UTC 2015 - sleep_walker@suse.cz + +- add armhf-linux-guile-2.0.11.tar.xz (armhf port added) + +------------------------------------------------------------------- +Thu Jan 29 13:13:49 UTC 2015 - sleep_walker@suse.cz + +- bump to 0.8.1 +* Changes in 0.8.1 (since 0.8) + +** Package management + +*** New ‘--share’ and ‘--expose’ options for ‘guix system vm’ + +See “Invoking guix system” in the manual. + +*** Emacs mode now automatically loads newly installed Emacs packages + +See “Emacs Initial Setup” in the manual. + +*** ‘guix-daemon’ now defaults to ‘--cores=0 --jobs=1’ + +In other words, at any given time, only one derivation is being built or +substituted, and it can use as many cores as available. Before, there could +be N derivations using N cores, which was obviously not desirable. + +*** Command-line tools support the ‘GUIX_BUILD_OPTIONS’ environment variable + +See “Invoking guix build” in the manual. + +*** ‘guix environment’ is faster + +*** New ‘--recursive’ option for ‘guix archive’ + +See “Invoking guix archive” in the manual. + +*** Missing patches required by a package definition are gracefully reported + +*** ‘guix lint’ supports additional checkers + +The new checkers are ‘gnu-description’, ‘home-page’, and ‘source’. +See “Invoking guix lint” in the manual. + +*** New CPAN importer for ‘guix import’ + +See “Invoking guix import” in the manual. + +** Distribution + +*** USB installation image has more tools + +Tools added since 0.8: wpa_supplicant, cryptsetup, and iw. + +*** Linux kernel module dependencies are automatically handled + +Before that, all the modules needed in the initrd would need to be explicitly +listed, including their dependencies, and in topological order. + +*** Font packages now all have a name starting with ‘font-’ + +See “Fonts” in the manual. + +*** Shell startup files have been cleaned up + +/etc/profile contains only environment variable definitions, which may also be +used when running a different shell. The skeletons for user’s ‘.bash_profile’ +and ‘.bashrc’ files behave as documented in the Bash manual. Zsh is supported. + +*** The ‘root’ account gets a copy of the account skeleton files + +Before that, the skeleton files would only be copied to non-root accounts. + +*** The name service cache daemon (nscd) is configurable + +By default it aggressively caches host and service lookups. See “Base +Services” in the manual. + +*** Available locale definitions are now declared in ‘operating-system’ + +Before, the ‘glibc’ package would contain all the existing locales, as well as +the ‘locale-archive’ file, amounting to 110 MiB. See “Locales” in the manual. + +*** SLiM sessions are configurable + +Pressing F1 in the SLiM graphical log-in screen allows users to choose among +the pre-configured session types. See “X Window” in the manual. + +*** Man pages and Info files are systematically gzip-compressed + +*** ‘gnu-build-system’ ensures that documentation is in share/{man,info} + +If a package installs to $prefix/{man,info}, this is automatically fixed to be +$prefix/share/{man,info}. + +*** ‘strip’ is invoked only on ELF files and ‘ar’ archives + +*** ‘libtool’ and ‘libltdl’ are now separate packages + +*** Emacs mode is readily usable on the Guix System Distribution + +*** Substitutes are now enabled by default on freshly installed systems +*** 164 new packages + +abcde, astyle, avr-libc, bbdb, bedtools, bowtie, bullet, c-reduce, cd-discid, +cgal, clang, claws-mail, cups, cups-filters, cups-minimal, dconf, delta, +dmenu, eigen, emms, exo, fastjar, font-bitstream-vera, font-dejavu, +font-gnu-freefont-ttf, font-liberation, font-terminus, fvwm, garcon, +gcc-cross-arm-linux-gnueabihf, gcc-cross-sans-libc-avr, gcj, getmail, +git-flow, git-manpages, git-test-sequence, glew, glulxe, gourmet, +gst-plugins-good, gtk-xfce-engine, hexchat, ijs, iw, jack, json-glib, +libdvdnav, libdvdread, libetpan, libevdev, libltdl, libtorrent, libupnp, +libwnck, libwnck, libxfce4ui, libxfce4util, libxshmfence, libyubikey, llvm, +lrdf, mg, mp3info, msmtp, ncftp, nginx, ninja, nss, openbox, +perl-benchmark-timer, perl-clone, perl-digest-sha1, perl-exporter-lite, +perl-file-which, perl-getopt-tabular, perl-ipc-run3, perl-probe-perl, +perl-regexp-common, perl-sys-cpu, perl-test-deep, perl-test-nowarnings, +perl-test-script, perl-test-simple, perl-test-tester, pflask, +python-cairocffi, python-cffi, python-distutils-extra, python-html5lib, +python-ipython, python-isodate, python-matplotlib, python-numpy, +python-numpydoc, python-pillow, python-pycairo, python-pycparser, +python-pygobject, python-pyparsing, python-pyqt, python-pysam, python-rdflib, +python-scipy, python-sip, python-sqlalchemy, python-xcffib, python2-cairocffi, +python2-cffi, python2-distutils-extra, python2-elib.intl, python2-html5lib, +python2-ipython, python2-isodate, python2-matplotlib, python2-numpy, +python2-numpydoc, python2-pillow, python2-py2cairo, python2-pycparser, +python2-pygobject, python2-pygtk, python2-pyparsing, python2-pyqt, +python2-pysam, python2-scipy, python2-sip, python2-sqlalchemy, python2-xcffib, +qpdf, retroarch, rtorrent, samtools, shflags, slang, slock, socat, +startup-notification, sxiv, taglib, telepathy-glib, thunar, thunar-volman, +tre, tumbler, vala, vte, vte, wine, wmctrl, xclip, xdotool, xf86-video-geode, +xfce4-appfinder, xfce4-battery-plugin, xfce4-panel, xfce4-session, +xfce4-settings, xfce4-terminal, xfconf, xfdesktop, xfwm4, xinit, ykclient, +zerofree + +*** 222 package updates + +apr-util-1.5.4, atk-2.15.3, automake-1.15, bash-4.3.33, bash-light-4.3.33, +bdftopcf-1.0.4, binutils-2.25, binutils-static-stripped-tarball-2.25, +cairo-1.12.18, cairomm-1.11.2, ccrtp-2.1.1, curl-7.40.0, dbus-1.8.12, +dbus-glib-0.102, ddrescue-1.19, dri2proto-2.8, e2fsck-static-1.42.11, +e2fsprogs-1.42.11, eudev-2.1.1, ffmpeg-2.5.3, file-5.22, fish-2.1.1, +fontconfig-2.11.92, fontsproto-2.1.3, freeipmi-1.4.8, +gcc-cross-mips64el-linux-gnuabi64-4.8.4, gcc-cross-sans-libc-xtensa-elf-4.8.4, +gcc-objc++-4.8.4, gcc-objc-4.8.4, gcc-stripped-tarball-4.8.4, gccgo-4.8.4, +gcl-2.6.12, gd-2.1.1, gdb-7.8.2, gdk-pixbuf-2.31.1, gettext-0.19.4, +gfortran-4.8.4, ghostscript-9.14.0, ghostscript-with-x-9.14.0, gimp-2.8.14, +git-2.2.1, glib-2.42.1, glibmm-2.42.0, global-6.3.3, glproto-1.4.17, +gnutls-3.2.21, gobject-introspection-1.42.0, gp2c-0.0.9pl2, grep-2.21, +groff-1.22.3, gss-1.0.3, gst-plugins-base-1.0.10, gtk+-3.14.7, gtkmm-3.14.0, +guix-0.8, guix-0.8.4ad8789, help2man-1.46.4, iceauth-1.0.6, icu4c-54.1, +inkscape-0.48.5, inputproto-2.3.1, lcms-2.6, lftp-4.6.1, libassuan-2.2.0, +libcdio-0.93, libdmx-1.1.3, libdrm-2.4.58, libfontenc-1.1.2, libfs-1.0.6, +libgcrypt-1.6.2, libgpg-error-1.17, libice-1.0.9, libjpeg-9a, libksba-1.3.2, +libmicrohttpd-0.9.39, libnl-3.2.25, libpciaccess-0.13.2, libpeas-1.12.1, +libpng-1.5.21, librsvg-2.40.6, libsm-1.2.2, libtasn1-4.2, libtool-2.4.5, +libx11-1.6.2, libxau-1.0.8, libxaw-1.0.12, libxcb-1.11, libxcomposite-0.4.4, +libxcursor-1.1.14, libxdamage-1.1.4, libxext-1.3.3, libxfixes-5.0.1, +libxfont-1.5.0, libxft-2.3.2, libxi-1.7.4, libxinerama-1.1.3, +libxkbcommon-0.5.0, libxmu-1.1.2, libxp-1.0.2, libxpm-3.5.11, libxrandr-1.4.2, +libxrender-0.9.8, libxres-1.0.7, libxt-1.1.4, libxtst-1.2.2, libxv-1.0.10, +libxvmc-1.0.8, libxxf86dga-1.1.4, libxxf86vm-1.1.3, linux-libre-3.18.4, +lua-5.2.3, makedepend-1.0.5, mercurial-3.2.4, mesa-10.4.0, minetest-0.4.11, +mkfontscale-1.1.1, neon-0.30.0, nix-1.8, ntp-4.2.8, ocrad-0.24, +openjpeg-2.0.1, openssl-1.0.1k, pango-1.36.8, parallel-20150122, +pari-gp-2.7.2, patchelf-0.8, pcre-8.36, perf-3.18.4, phonon-4.8.3, +pixman-0.32.6, pkg-config-0.28, poppler-0.28.1, python-3.3.5, +python-dateutil-2.2, python2-dateutil-2.2, qemu-2.2.0, qemu-headless-2.2.0, +qt-5.4.0, racket-6.1.1, randrproto-1.4.0, raptor2-2.0.15, rasqal-0.9.33, +rcs-5.9.4, ruby-2.1.5, sessreg-1.0.8, sipwitch-1.9.3, sqlite-3.8.7.4, +tiled-0.11.0, tmux-1.9a, tzdata-2014j, ucommon-6.2.3, util-linux-2.25.2, +util-macros-1.19.0, vera-1.22, videoproto-2.3.2, wget-1.16.1, xauth-1.0.9, +xbacklight-1.2.1, xcb-proto-1.11, xcb-util-0.4.0, xcb-util-image-0.4.0, +xcb-util-keysyms-0.4.0, xcb-util-renderutil-0.3.9, xcb-util-wm-0.4.1, +xcursor-themes-1.0.4, xcursorgen-1.0.6, xdpyinfo-1.3.1, xev-1.2.1, +xextproto-7.3.0, xf86-input-evdev-2.8.4, xf86-input-joystick-1.6.2, +xf86-input-keyboard-1.8.0, xf86-input-mouse-1.9.1, xf86-input-synaptics-1.8.1, +xf86-video-ark-0.7.5, xf86-video-ati-7.5.0, xf86-video-cirrus-1.5.2, +xf86-video-fbdev-0.4.4, xf86-video-glint-1.2.8, xf86-video-i128-1.3.6, +xf86-video-intel-2.21.15, xf86-video-mach64-6.9.4, xf86-video-mga-1.6.3, +xf86-video-neomagic-1.2.8, xf86-video-nv-2.1.20, xf86-video-openchrome-0.3.3, +xf86-video-r128-6.9.2, xf86-video-savage-2.3.7, +xf86-video-siliconmotion-1.7.7, xf86-video-sis-0.10.7, +xf86-video-suncg6-1.1.2, xf86-video-sunffb-1.2.2, xf86-video-tdfx-1.4.5, +xf86-video-tga-1.2.2, xf86-video-trident-1.3.6, xf86-video-vesa-2.3.3, +xf86-video-vmware-13.0.2, xf86-video-voodoo-1.2.5, xhost-1.0.6, xinput-1.6.1, +xkbcomp-1.3.0, xkbutils-1.0.4, xkeyboard-config-2.13, xkill-1.0.4, +xlockmore-5.45, xlsclients-1.1.3, xmodmap-1.0.8, xnee-3.19, +xorg-server-1.16.3, xprop-1.2.2, xproto-7.0.26, xrandr-1.4.3, xrdb-1.1.0, +xrefresh-1.0.5, xset-1.2.3, xsetroot-1.1.1, xtrans-1.3.5, xvinfo-1.1.2, +xwd-1.0.6, xwininfo-1.1.3, youtube-dl-2015.01.23.4, zsh-5.0.7 + +** Programming interfaces + +*** New (guix elf) and (gnu build linux-modules) modules + +These provide resolution of Linux kernel module dependencies. See +. + +*** ‘glib-or-gtk-build-system’ has been extended + +It now handles GIO and XDG themes, takes care of generating the icon cache, +and has a new #:glib-or-gtk-wrap-excluded-outputs parameter. + +*** ‘search-path-specification’ can now specify non-directory items + +For example, the ‘search-path-specification’ attached to libxml2 specifies a +file pattern, which allows all the ‘catalog.xml’ files to be added to the +‘XML_CATALOG_FILES’ environment variable. + +*** (guix build syscalls) has more network-related procedures + +‘set-network-interface-flags’, ‘set-network-interface-address’, +‘network-interface-address’, and ‘configure-network-interface’ are ioctl +bindings used by network-handling dmd services. + +*** (guix monads) refactoring + +‘%store-monad’ is now in (guix store) and is an alias for the new +‘%state-monad’ provided by (guix monads). Monadic procedures dealing with the +store, with derivations, and with packages have been moved from (guix monads) +to (guix store), (guix derivations), and (guix packages). See “The Store +Monad” in the manual. + +*** (guix build utils) provides ‘parallel-job-count’ + +*** ‘wrap-program’ preserves the original argv[0] + +*** New (guix sets) module + +*** ‘define-record-type*’ now support “delayed” fields + +** Noteworthy bug fixes + +*** X session is executed from a login shell () +*** grub.cfg is now a garbage-collector root () +*** Substituter progress report properly formatted + () +*** Document permissions for /gnu/store () +*** Make sure config.go is newer than config.scm + () +*** Emacs knows where to find its GLib schemas () +*** Adjust 'grub.cfg' to work on systems with a separate /boot + () +*** Fix removal of next-to-last item in a profile + () +*** Apply patches with "patch --force" () +*** Extend ‘search-path-specification’ for libxml2-style use cases + () +*** Search for patches under $GUIX_PACKAGE_PATH () +*** Use executables from the target inputs in 'patch-shebangs' + () +*** guix-daemon now automatically creates '…/profiles/per-user' + () +*** Make /etc/mtab a symlink to /proc/self/mounts + () +*** Don't build the mips64el-linux-gnuabi64 cross-compiler on i686 + () +*** Read archive signatures as Latin-1 strings () +*** Raise an error for references to non-existent outputs + () +*** Initialize libgcrypt before use () + +** Native language support + +*** New translations: fr (French), hu (Hungarian) +*** Updated translation: eo, vi + + + +------------------------------------------------------------------- +Wed Jan 14 11:57:25 UTC 2015 - sleep_walker@suse.cz + +- change systemd service file + +------------------------------------------------------------------- +Mon Nov 24 12:06:30 UTC 2014 - sleep_walker@suse.cz + +- remove old sysv-init file +- add super cool systemd unit file +- add configuration file +- add comments about origin of bootstrap tarballs + +------------------------------------------------------------------- +Fri Nov 21 21:43:24 UTC 2014 - sleep_walker@suse.cz + +- apply spec-cleaner to unify the style +- set RPM group to System/Package + +------------------------------------------------------------------- +Tue Nov 18 11:58:54 UTC 2014 - sleep_walker@suse.cz + +- bump to 0.8 +* Changes in 0.8 (since 0.7) + +** Package management + +*** New visual user interface in Emacs + +See “Emacs Interface” in the manual. + +*** New ‘guix environment’ command to produce development environment + +See “Invoking guix environment” in the manual. + +*** The ‘guix import’ command has been extended and documented + +It can now import packages from pypi.python.org and from GNU. +See “Invoking guix import” in the manual. + +*** New ‘guix lint’ command, for use by Guix developers + +See “Invoking guix lint” in the manual. + +*** Packages can now be “grafted” with replacements of their dependencies + +See “Security Updates” in the manual. + +*** The distribution can be extended with ‘--load-path’ or $GUIX_PACKAGE_PATH + +This allows users to maintain their own package definitions, and make them +visible to the various user interfaces. See “Package Modules” in the manual. + +*** ‘guix package’ better reports package upgrades + +*** ‘guix package’ has a new ‘--switch-generation’ option + +See “Invoking guix package” in the manual. + +*** ‘guix-daemon’ has a new ‘--substitute-urls’ option + +See “Invoking guix-daemon” in the manual. + +** Distribution + +*** The stand-alone operating system now supports Linux mapped devices + +See “Mapped Devices” in the manual. + +*** New fields in ‘operating-system’ declarations, better documentation + +New fields include ‘hosts-file’, ‘mapped-devices’, and ‘swap-devices’. +See “operating-system Reference” in the manual. + +*** New services: ‘dhcp-client-service’, ‘bitlbee-service’, ‘ntp-service’ + +See “Services” in the manual. + +*** Free firmware can be loaded + +This notably enables support for some Atheros-based WiFi devices (ath9k-htc.) +See “operating-system Reference” in the manual. + +*** ‘grub-configuration’ declarations can now specify a theme + +See “GRUB Configuration” in the manual. + +*** The ‘base-initrd’ now has a different signature + +Existing uses in ‘operating-system’ declarations need to be updated. See +“Initial RAM Disk” in the manual for details. + +*** eudev is now used by default, instead of an old udev release + +*** ‘guix system vm’ has a new ‘--full-boot’ option + +See “Invoking guix system” in the manual. + +*** The ‘file’ command is now part of the package build environment + +Autoconf-generated ‘configure’ scripts for packages using Libtool use ‘file’ +to determine the target ABI, notably on MIPS, hence this change. + +*** 162 new packages + +abiword, acpica, adns, arb, ath9k-htc-firmware, atlas, avrdude, cppunit, +dblatex, detox, dfu-programmer, dionysus, direvent, dmidecode, dri3proto, +emacs-no-x-toolkit, emacs-w3m, emacs-wget, enchant, eudev, feh, flashrom, +flint, fontforge, freedink, freeimage, fribidi, +gcc-cross-sans-libc-xtensa-elf, giblib, gnome-themes-standard, gpsbabel, +gpscorrelate, graphite2, gtypist, guile-charting, guile-sdl, imake, imlib2, +irrlicht, jbig2dec, libpsl, libspiro, libuninameslist, libwmf, lm-sensors, +magit, minetest, miscfiles, mozjs, mupdf, nix, nspr, nss-mdns, ntp, nvi, opam, +openal, openjpeg, opus-tools, orpheus, ots, oxygen-icons, paredit, perf, +perl-archive-zip, perl-dbd-sqlite, perl-dbi, perl-image-exiftool, +perl-io-socket-ssl, perl-net-ssleay, perl-www-curl, perl-zip, polkit, +polkit-qt, postgresql, potrace, presentproto, python-certifi, python-coverage, +python-cython, python-discover, python-docutils, python-exif-read, +python-extras, python-fixtures, python-itsdangerous, python-jinja2, +python-jsonschema, python-markupsafe, python-mimeparse, python-nose, +python-oauthlib, python-py, python-pygments, python-pyjwt, python-pyld, +python-pytest, python-scripttest, python-sphinx, python-subunit, +python-testrepository, python-testresources, python-testscenarios, +python-testtools, python-unidecode, python-unittest2, python-virtualenv, +python2-certifi, python2-coverage, python2-cython, python2-discover, +python2-docutils, python2-exif-read, python2-extras, python2-fixtures, +python2-itsdangerous, python2-jinja2, python2-jsonschema, python2-markupsafe, +python2-mimeparse, python2-nose, python2-oauthlib, python2-py, +python2-pygments, python2-pyjwt, python2-pyld, python2-pytest, +python2-requests, python2-scripttest, python2-sphinx, python2-subunit, +python2-testrepository, python2-testresources, python2-testscenarios, +python2-testtools, python2-unidecode, python2-unittest2, python2-virtualenv, +rrdtool, ruby, ruby, ruby-i18n, sane-backends, scrot, sound-theme-freedesktop, +stress, synergy, tdb, terminus-font, testdisk, texi2html, tiled, transfig, +unclutter, unixodbc, weechat, wv, xboing, xf86-video-modesetting, xfig, +xsensors, zsh + +*** 117 package updates + +acct-6.6.2, acl-2.2.52, apl-1.4, apr-1.5.1, apr-util-1.5.3, autoconf-2.68, +autoconf-2.69, autogen-5.18.4, bash-4.3.30, bash-light-4.3.30, bazaar-2.6.0, +bison-2.7, calcurse-3.2.1, ccache-3.1.10, chicken-4.9.0.1, coreutils-8.23, +curl-7.37.1, datamash-1.0.6, dbus-1.8.8, docbook-xml-4.2, docbook-xml-4.4, +docbook-xml-4.5, emacs-24.4, ffmpeg-2.2.10, ffmpeg-2.4.3, file-5.19, +file-5.20, freeipmi-1.4.5, gcc-4.7.4, gcc-4.9.2, gcc-toolchain-4.9.2, +gcl-2.6.11, gdb-7.8.1, geiser-0.6, gettext-0.19.3, git-2.1.2, glibc-2.20, +glibc-2.20, glibc-stripped-tarball-2.20, global-6.3.2, glpk-4.55, +gnupg-1.4.18, gnupg-2.0.26, gnurl-7.37.0, gnutls-3.2.20, gpgme-1.5.1, +gst-plugins-base-1.0.10, gstreamer-1.0.10, gtk+-3.10.1, gtkmm-3.9.16, +guile-1.8.8, guile-json-0.4.0, guile-ncurses-1.6, guile-ssh-0.7.1, guix-0.7, +guix-0.7.48bd76e, hello-2.10, help2man-1.46.3, icecat-31.2.0, +libart-lgpl-2.3.21, libassuan-2.1.3, libatomic-ops-7.4.2, libdrm-2.4.33, +libffi-3.1, libgc-7.2f, libgc-7.4.2, libgcrypt-1.5.4, libgcrypt-1.6.2, +libidn-1.29, libjpeg-9a, libotr-4.0.0, libsodium-1.0.0, libtasn1-4.1, +libunistring-0.9.4, libwebsockets-1.3, lightning-2.0.5, linux-libre-3.17.3, +lsof-4.88, lua-5.2.3, lvm2-2.02.109, lzip-1.16, make-4.1, maxima-5.34.1, +mit-scheme-9.2, mysql-5.1.73, neon-0.30.0, net-base-5.3, nettle-2.7.1, +notmuch-0.18.1, openssh-6.7p1, openssl-1.0.1j, parallel-20141022, +phonon-4.8.2, pspp-0.8.4, python-3.3.5, python-dateutil-1.5, +python2-dateutil-1.5, python2-pyicu-1.8, qt-4.8.6, qt-5.3.2, rcs-5.9.3, +readline-6.3, subversion-1.7.18, swig-3.0.2, tar-1.28, texinfo-5.2, +tor-0.2.5.10, transmission-2.84, ucommon-6.1.11, valgrind-3.10.0, vlc-2.1.5, +wget-1.16, windowmaker-0.95.6, xapian-1.2.18, xf86-video-ati-6.14.6, +xpdf-3.04, youtube-dl-2014.09.06 + +** Programming interfaces + +*** New ‘ruby-build-system’, for Ruby packages + +See “Build Systems” in the manual. + +*** New ‘glib-or-gtk-build-system’, for packages using GLib schemas + +See “Build Systems” in the manual. + +*** ‘gnu-build-system’ has a new #:substitutable? parameter + +This allows packagers to mark a package as requiring a local build, thus +preventing it from being substituted by a pre-built binary. + +*** ‘cmake-build-system’ has a new #:build-type parameter + +See “Build Systems” in the manual. + +*** The ‘supported-systems’ field of packages is used more consistently + +This allows packagers to prevent attempts to build a package on a given +architecture when that architecture is known not to be supported. The +‘package-transitive-supported-systems’ procedure returns the intersection of +the systems supported by the given package and by its dependencies. + +*** The ‘wrap-program’ procedure can now be called multiple times + +*** New ‘graft-derivations’ and ‘package-grafts’ procedures + +They implement “grafts”, as described under “Security Updates” in the manual. + +*** New “bag” intermediate representation for use by build systems + +“Bags” are used internally as an intermediate representation between packages +and derivations. See “Build Systems” in the manual. + +*** New (guix monad-repl) module, for monadic interaction at the REPL + +See “The Store Monad” in the manual. + +*** New (guix build emacs-utils) module, to facilitate building Emacs packages + +*** New (guix tests) module, with tools used by the test suite + +*** The internal ‘guix-register’ command now deduplicates files in store items + +*** Several system modules moved from (guix build …) to (gnu build …) + +Also, the (gnu build linux-boot) module has been introduced, with code +typically used by initial RAM disks when booting on GNU/Linux-libre. + +*** (guix profiles) provides a representation of package transactions + +This factorizes code between ‘guix package’ and the Emacs user interface. + +*** Bootstrapping packages moved to (gnu packages commencement) modules + +** Bugs fixed + +*** ‘guix-daemon’ now really deduplicates store items by default + +Deduplication means that identical files found in /gnu/store are stored only +once, using hard links. This feature was wrongfully disabled, and is now +enabled by default. The former ‘--disable-store-optimization’ option has been +renamed to ‘--disable-deduplication’. + +*** ‘guix-daemon’ no longer uses ‘vfork’ + +This could cause problems with ancient Linux kernel. + +*** Fixed compilation of ‘gccgo’ () +*** 'make clean' doesn't delete os-config.tmpl () +*** Fix handling of periods by fill-paragraph () +*** Produce a top-level Info 'dir' file () +*** guix offload ignores unreachable machines () +*** guix offload: Ignore EEXIST when registering a .drv as a GC root + () +*** perl-tk: Build sequentially () +*** download: Use the 'SERVER NAME' TLS extension when possible + () +*** libdaemon: Add alternate source URLs () +*** icu4c: Reinstate RUNPATH on shared libraries + () +*** nss-mdns: Add alternate source URLs () +*** download: Add "Accept: */*" to the HTTP headers + () +*** guix-register: Do not attempt to create NIX_STORE_DIR + () +*** Allow Linux-libre to find our 'modprobe' command + () +*** man-pages: Build sequentially () +*** Fix intermittent test failures involving GC () +*** guix import: pypi: Gracefully handle non-existent packages + () +*** Make sure the shared library has the '.so' extension + () +*** pull: Use the build procedure provided by the newly-downloaded Guix. + () +*** WindowMaker no longer pollutes $PATH () + +** Native language support +*** New translation: cs (Czech) +*** Updated translations: de, sr, vi + + + +------------------------------------------------------------------- +Fri Aug 15 19:05:11 UTC 2014 - sleep_walker@suse.cz + +- bump to 0.7 + * Changes in 0.7 (since 0.6) + ** Package management + *** Binaries for mips64el-linux now available from hydra.gnu.org + *** ‘guix package’ has a new ‘--show’ option + *** ‘guix refresh’ has a new ‘--list-dependent’ option + + ** Programming interfaces + *** New (guix gexp) module, which implements “G-expressions” + *** (gnu system) and related modules now use G-expressions + *** ‘build-expression->derivation’ is deprecated in favor of G-expressions + *** The (gnu system) module has been largely augmented and factorized + *** New (guix build vm) module, support for virtual machine images + *** New (guix build activation) module, for “system activation” + *** New (guix build syscalls) module + *** New (guix build install) and module for whole system installation + *** New (gnu system install) module, for the installation system + *** New (gnu system file-systems) module, for ‘file-system’ declarations + *** New (gnu) module, which aggregates common (gnu …) modules + *** ‘service’ records now have an optional ‘activate’ field + ** GNU distribution + *** An image to install the GNU system from a USB stick is provided + *** Support for more parameters in ‘operating-system’ declarations + *** ‘guix system’ supports more actions + *** User accounts and groups are created at system activation time + *** Virtual machine support uses para-virtualized devices + *** GCC package now has an additional ‘lib’ output, for run-time support libs + *** GLib package now has a separate “bin” output () + *** 134 new packages + + abbaye, aegis, attica, babl, barcode, behave, btar, busybox, ccache, ccrtp, + chess, clucene, cmatrix, commoncpp, conkeror, cook, cssc, datamash, diffstat, + doxygen, dropbear, dtach, duplicity, e2fsck-static, exosip, fftw-openmpi, + fish, gconf, gegl, gimp, gmsh, gnome-mime-data, gnome-vfs, gnumeric, goffice, + gsegrafix, guile-opengl, guile-static-stripped, hdup, hwloc, inotify-tools, + jrnl, kbd, kmod, lftp, libarchive, libart-lgpl, libbonobo, libbonoboui, + libcroco, libdbusmenu-qt, libftdi, libglade, libgnome, libgnomecanvas, + libgnomeprint, libgnomeprintui, libgnomeui, libgsf, libidl, libmcrypt, + libmhash, librsvg, librsync, libsodium, libuv, libvpx, links, lzop, man-pages, + maxima, mcrypt, mosh, mpg123, mplayer, mu, ncmpcpp, node, notmuch, numactl, + offlineimap, openmpi, orbit2, osip, pangox-compat, perl-io-tty, petsc, + petsc-complex, petsc-complex-openmpi, petsc-openmpi, pingus, podofo, protobuf, + pt-scotch, python-enum34, python-keyring, python-lockfile, python-mock, + python-parse, python-parse-type, python-parsedatetime, python-pycrypto, + python-six, python-tzlocal, python2-lockfile, python2-mock, qjson, qrencode, + rasqal, rdiff-backup, rdup, redland, rottlog, scotch, sipwitch, sshfs-fuse, + strigi, sudo, superlu, superlu-dist, talkfilters, talloc, tcpdump, tinyproxy, + transmission, ucommon, udev, vlc, vtk, wakelan, wireless-tools, + wpa-supplicant, xboard, youtube-dl + + *** 87 package updates + + bitlbee-3.2.2, cursynth-1.5, ddrescue-1.18.1, dfc-3.0.4, dmd-0.2, + docbook-xml-4.3, docbook-xml-4.4, docbook-xsl-1.78.1, dvdisaster-0.72.6, + ffmpeg-2.3, fftw-3.3.4, fftwf-3.3.4, flac-1.3.0, gawk-4.1.1, gcc-4.7.4, + gcc-4.8.3, gcc-4.8.3, gcc-4.9.1, gcc-cross-mips64el-linux-gnuabi64-4.8.3, + gcc-objc++-4.8.3, gcc-objc-4.8.3, gcc-stripped-tarball-4.8.3, + gcc-toolchain-4.8.3, gcc-toolchain-4.9.1, gccgo-4.8.3, gdb-7.7.1, + gettext-0.19.2, gfortran-4.8.3, glib-2.40.0, global-6.3, gmp-6.0.0a, + gnupg-1.4.18, gnupg-2.0.25, gnutls-3.2.15, gp2c-0.0.9pl1, grep-2.20, + gst-plugins-base-1.0.10, gstreamer-0.10.36, gtk+-3.10.1, gtkmm-2.24.2, + guile-2.0.11, guile-2.0.11, guix-0.6, guix-0.6.0ae8c15, htop-1.0.3, + icu4c-53.1, imagemagick-6.8.9-0, json-c-0.12, libdrm-2.4.33, libgc-7.2e, + libgcrypt-1.5.3, libgpg-error-1.13, libjpeg-8d, libmicrohttpd-0.9.37, + libogg-1.3.2, libotr-4.0.0, libtasn1-3.6, libvorbis-1.3.4, lightning-2.0.4, + linux-libre-3.15.6, lua-5.1.5, lua-5.2.3, mcron-1.0.8, moe-1.6, nano-2.3.6, + neon-0.29.6, nettle-3.0, openssl-1.0.1h, parallel-20140722, pari-gp-2.7.1, + pspp-0.8.3, python-2.7.6, python-dateutil-2.2, python2-dateutil-2.2, + qemu-2.0.0, qemu-headless-2.0.0, qt-4.8.6, qt-5.2.1, readline-6.2, + screen-4.2.1, soprano-2.9.4, texinfo-5.2, texlive-2014, tor-0.2.4.22, + wdiff-1.2.2, xorriso-1.3.8, xterm-304 + + ** Native language support + *** New translations: de (German), and hu (Hungarian) + *** Updated translations: eo, pt_BR, sr, vi + *** Package descriptions moved from the ‘guix’ text domain to ‘guix-packages’ + ** Bugs fixed + *** Downloads are now faster () + *** ‘guix authenticate’ properly writes signatures to stdout + () + *** Progress report of downloads is now properly displayed + *** Error reporting of pk-crypto errors has been improved + *** The 'patches' field now works for origins with no extension + *** Synchronization and GC issues fixed in the offload hook + *** (guix ftp-client) emits USER commands suitable for all servers + +------------------------------------------------------------------- +Sun Jun 15 13:53:19 UTC 2014 - sleep_walker@suse.cz + +- bump to 0.6 +** Package management +*** Default store directory changed to /gnu/store + +Although it is still possible to configure Guix to use the old store +directory, we recommend that you start with a fresh install to /gnu/store. + +*** Substitutes from hydra.gnu.org must now be signed and authorized +*** Support for offloading builds to other Guix machines over SSH +*** New ‘guix archive’ command +*** New ‘guix system’ command; it can currently build VM images +*** ‘guix package’ accepts several arguments after -i, -r, and -u +*** Updating a profile with ‘guix package’ is now noticeably faster +*** ‘guix build’ can override a package’s source with the new ‘--with-source’ +*** ‘guix build’ has a new ‘--no-build-hook’ option +*** ‘guix’ commands that build packages have a common set of options +*** ‘guix hash’ has a new ‘--recursive’ option +*** Daemon no longer bind-mounts the host’s /dev (improves reproducibility) +** Programming interfaces +*** New (guix pk-crypto) and (guix pki) modules for public key cryptography +*** New #:local-build? parameter for derivations that shouldn’t be offloaded +*** (gnu system vm) has procedures to build VMs that share the host’s store +*** New ‘text-file*’ procedure in (guix monads) +*** System service definitions are now provided by the (guix services) modules +*** New X and SLiM services in (gnu services xorg) +*** New (guix git-download) and (guix svn-download) for git/svn checkouts +** GNU distribution +*** 91 new packages + +a2ps, asciidoc, aspell-dict-en, aspell-dict-eo, aspell-dict-es, +aspell-dict-fr, aumix, bitlbee, bogofilter, boost, calcurse, clusterssh, +corkscrew, cursynth, docbook-xml, docbook-xsl, elfutils, enscript, fftwf, +fltk, fuse, gcc-toolchain, giflib, glade, gmime, gnome-desktop, gnubg, gnubik, +gnumach-headers, gnunet, gnuplot, gnurl, gphoto2, gtkglext, guile-json, +guile-reader-for-guile_2.0.11, gxmessage, hdf5, hurd-headers, inkscape, iotop, +isc-dhcp, iso-codes, jnettop, libatomic-ops, libexif, libgphoto2, libmpcdec, +libmpdclient, libotr, libpcap, libpeas, libpipeline, libtirpc, libwebsockets, +ltrace, luajit, lynx, man-db, mc, mig, miniupnpc, moe, mpc123, mpd, ncdc, +ncdu, ncmpc, neon, neon, octave, opus, paperkey, patchutils, perl-tk, +perl-x11-protocol, pinentry, python2-element-tree, python2-pybugz, quilt, +source-highlight, stalonetray, trueprint, ttf-dejavu, unionfs-fuse, +unionfs-fuse-static, uucp, vera, windowmaker, xapian, xterm + +*** 90 package updates + +apl-1.3, autoconf-2.68, automake-1.14.1, bash-4.3, bash-light-4.3, +bigloo-4.1a, binutils-2.24, binutils-static-stripped-tarball-2.24, +coreutils-8.22, curl-7.35.0, ed-1.10, ffmpeg-2.1.4, file-5.18, freeipmi-1.4.1, +gcc-4.8.2, gcc-4.8.2, gdb-7.7, gdbm-1.11, gettext-0.18.3.2, glib-2.39.1, +glibc-2.19, glibc-stripped-tarball-2.19, global-6.2.12, glpk-4.54, +gnu-pw-mgr-1.2, gnupg-1.4.16, gnutls-3.2.12, gp2c-0.0.8pl1, grep-2.18, +gst-plugins-base-0.10.36, gstreamer-1.0.10, gtk+-3.10.1, gtkmm-2.24.2, +guile-2.0.11, guile-ssh-0.6.0, guile-static-stripped-tarball-2.0.11, +guile-wm-1.0, guile-xcb-1.3, guix-0.5, help2man-1.45.1, icu4c-52.1, +imagemagick-6.8.8-10, inetutils-1.9.2, lapack-3.5.0, libcdio-0.92, +libdrm-2.4.46, libextractor-1.3, libgc-7.2e, libgc-7.4.0, libgcrypt-1.6.1, +libjpeg-9, libmicrohttpd-0.9.34, libssh-0.6.3, libtasn1-3.4, lightning-2.0.3, +linux-libre-3.13.7, mpc-1.0.2, mutt-1.5.23, net-base-5.2, ocrad-0.23, +openssh-6.6p1, openssl-1.0.1g, parallel-20140322, pari-gp-2.7.0, pspp-0.8.2, +pulseaudio-5.0, python-2.7.6, python-3.3.5, python-wrapper-3.3.5, +python2-pysqlite-2.6.3a, qemu-1.7.1, qemu-headless-1.7.1, +qemu-with-multiple-smb-shares-1.7.1, qt-4.8.5, qt-5.2.0, readline-6.3, +recutils-1.7, slim-1.3.6, sqlite-3.8.4.3, subversion-1.7.14, texinfo-4.13a, +tor-0.2.4.21, tzdata-2014a, units-2.11, valgrind-3.9.0, vim-7.4, wget-1.15, +xnee-3.18, xorriso-1.3.6.pl01, zile-2.4.11 + +*** New ‘gcc-toolchain’ meta-package, makes it easy to install a GCC tool chain +*** libc’s Info manual is now installed +*** Binutils is built with --enable-deterministic-archives +*** Packages that populated man/man* now populate share/man/man* +*** Many other packaging improvements +** Bugs fixed +*** ‘guix pull’ consumes less memory, compiles in parallel +*** ‘guix package --list-*’ gracefully handles EPIPE when used in a pipeline +*** ‘guix package’ handles collisions between a symlink and a directory + (http://bugs.gnu.org/17083) +*** HTTP downloads provide a ‘User-Agent’ field (http://bugs.gnu.org/16703) +*** ‘guix package’ no longer shows misleading installed package number + (http://bugs.gnu.org/16484) +*** Manual suggests ‘useradd --system’ (http://bugs.gnu.org/16289) +*** Python is built with ctypes support (http://bugs.gnu.org/16569) +*** HTTP/TLS connection not terminated properly (http://bugs.gnu.org/14884) +*** Gracefully handle poorly behaved HTTP servers (http://bugs.gnu.org/15733) + + + +------------------------------------------------------------------- +Wed Feb 12 21:32:43 UTC 2014 - sleep_walker@suse.cz + +- remove file %{_infodir}/dir causing just mess + +------------------------------------------------------------------- +Tue Feb 11 07:04:40 UTC 2014 - sleep_walker@suse.cz + +- explicitly require guile as dependency + +------------------------------------------------------------------- +Tue Feb 11 06:49:44 UTC 2014 - sleep_walker@suse.cz + +- don't add %{_infodir}/dir into package for Fedora 20 + +------------------------------------------------------------------- +Thu Jan 23 14:14:58 UTC 2014 - sleep_walker@suse.cz + +- add init script and it's rc symlink to sbin +- automatically create group and users used for building + +------------------------------------------------------------------- +Thu Jan 23 10:14:58 UTC 2014 - sleep_walker@suse.cz + +- add /usr/share/info/dir to package for non-SUSE distros + +------------------------------------------------------------------- +Thu Jan 23 08:36:10 UTC 2014 - sleep_walker@suse.cz + +- remove pkgconfig based dependencies to reach more audience + +------------------------------------------------------------------- +Wed Jan 22 20:54:31 UTC 2014 - sleep_walker@suse.cz + +- let there be guix! + diff --git a/guix.spec b/guix.spec new file mode 100644 index 0000000..dff96c6 --- /dev/null +++ b/guix.spec @@ -0,0 +1,113 @@ +# +# spec file for package guix +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define guile guile-2.0.9.tar.xz +Name: guix +Version: 0.8.1 +Release: 0 +Summary: GNU Package manager +License: GPL-3.0 +Group: System/Packages +Url: http://www.gnu.org/software/guix/ +Source0: ftp://alpha.gnu.org/gnu/guix/%{name}-%{version}.tar.gz +# source file renamed - this would lead to 3 same file names +# http://alpha.gnu.org/gnu/guix/bootstrap/i686-linux/20131110/%%{guile} +Source1: i686-linux-%{guile} +# http://alpha.gnu.org/gnu/guix/bootstrap/x86_64-linux/20131110/%%{guile} +Source2: x86_64-linux-%{guile} +# http://alpha.gnu.org/gnu/guix/bootstrap/mips64el-linux/20131110/%%{guile} +Source3: mips64el-linux-%{guile} +# http://alpha.gnu.org/gnu/guix/bootstrap/armhf-linux/20150101/guile-2.0.11.tar.xz +Source4: armhf-linux-guile-2.0.11.tar.xz +Source10: guixd.service +Source11: sysconfig.guix +BuildRequires: gcc-c++ +BuildRequires: guile-devel +BuildRequires: libbz2-devel +BuildRequires: libgcrypt-devel +BuildRequires: pkgconfig +BuildRequires: sqlite3-devel +Requires: guile +Requires: libgcrypt-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Purely functional package manager and a distribution thereof. + +%prep +%setup -q +mkdir -p gnu/packages/bootstrap/{i686,x86_64,mips64el,armhf}-linux +cp %{SOURCE1} gnu/packages/bootstrap/i686-linux/%{guile} +cp %{SOURCE2} gnu/packages/bootstrap/x86_64-linux/%{guile} +cp %{SOURCE3} gnu/packages/bootstrap/mips64el-linux/%{guile} +cp %{SOURCE4} gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz + + +%build + +%configure \ + --disable-silent-rules + +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install %{?_smp_mflags} +%find_lang %{name} +%find_lang guix-packages +install -d -m 0755 %{buildroot}%{_unitdir} +install -D -m 0644 -t %{buildroot}%{_unitdir} %{SOURCE10} +install -d -m 0755 %{buildroot}%{_localstatedir}/adm/fillup-templates/ +install -D -m 0644 -t %{buildroot}%{_localstatedir}/adm/fillup-templates/ %{SOURCE11} +rm %{buildroot}%{_infodir}/dir + +%pre +%{_sbindir}/groupadd -r guix-builders >/dev/null 2>/dev/null || : +for i in `seq 1 5`; do + %{_sbindir}/useradd -r -o -g guix-builders -G guix-builders -u $((60+$i)) -c "Guix builder $i" \ + -s /sbin/nologin -d %{_localstatedir}/empty guix-builder$i 2> /dev/null || : +done +%service_add_pre guixd.service + +%preun +%service_del_preun guixd.service + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/guix.info.gz +%service_add_post guixd.service +%{fillup_only guixd} + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/guix.info.gz +%service_del_postun guixd.service + + +%files -f %{name}.lang -f guix-packages.lang +%defattr(-,root,root) +%doc COPYING README +%{_datadir}/guile +%{_datadir}/guix +%{_bindir}/guix* +%{_sbindir}/guix* +%{_libexecdir}/guix +%{_libexecdir}/guix-authenticate +%{_infodir}/guix* +%{_infodir}/images +%{_unitdir}/guixd.service +%{_localstatedir}/adm/fillup-templates/* + +%changelog diff --git a/guixd b/guixd new file mode 100644 index 0000000..80a1a00 --- /dev/null +++ b/guixd @@ -0,0 +1,83 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: guix-daemon +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Short-Description: starts the guix-daemon +# Description: starts guix-daemon using start-stop-daemon +### END INIT INFO +# +# Author: Sree Harsha Totakura using lightdm script +# from Yves-Alexis Perez +# +# License: +# (C) 2014 Sree Harsha Totakura +# +# This file 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, or (at your +# option) any later version. +# +# This file 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 GNUnet; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + + +DAEMON=/usr/bin/guix-daemon +DAEMON_OPTS="--build-users-group=guix-builders --cores=0" +NAME=guixd +DESC=guix-daemon + +test -x $DAEMON || exit 0 + +set -e + +. /lib/lsb/init-functions + + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --background --make-pidfile \ + --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS || true + echo "$NAME." + ;; + + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON || true + echo "$NAME." + ;; + + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON || true + sleep 1 + start-stop-daemon --start --background --make-pidfile \ + --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS || true + echo "$NAME." + ;; + + status) + status_of_proc -p /var/run/$NAME.pid "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + *) + echo "Usage: $NAME {start|stop|restart|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/guixd.service b/guixd.service new file mode 100644 index 0000000..befbed8 --- /dev/null +++ b/guixd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Guix build daemons + +[Service] +Type=simple +PIDFile=/var/run/guixd.pid +EnvironmentFile=/etc/sysconfig/guix +ExecStart=/usr/bin/guix-daemon --cores $GUIX_BUILDER_CORES --build-users-group $GUIX_BUILDER_GROUP + +[Install] +WantedBy=multiuser.target diff --git a/i686-linux-guile-2.0.9.tar.xz b/i686-linux-guile-2.0.9.tar.xz new file mode 100644 index 0000000..d64529c --- /dev/null +++ b/i686-linux-guile-2.0.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846 +size 2656076 diff --git a/mips64el-linux-guile-2.0.9.tar.xz b/mips64el-linux-guile-2.0.9.tar.xz new file mode 100644 index 0000000..8faf9ea --- /dev/null +++ b/mips64el-linux-guile-2.0.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b +size 2734180 diff --git a/sysconfig.guix b/sysconfig.guix new file mode 100644 index 0000000..b8c8c46 --- /dev/null +++ b/sysconfig.guix @@ -0,0 +1,5 @@ +# name of group where guix builders would belong to +GUIX_BUILDER_GROUP="guix-builders" + +# number of cores used for guix builders +GUIX_BUILDER_CORES="0" diff --git a/x86_64-linux-guile-2.0.9.tar.xz b/x86_64-linux-guile-2.0.9.tar.xz new file mode 100644 index 0000000..2b21131 --- /dev/null +++ b/x86_64-linux-guile-2.0.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:037b103522a2d0d7d69c7ffd8de683dfe5bb4b59c1fafd70b4ffd397fd2f57f0 +size 2885996