From 7182442a636ffff05f2fa3a86df7d50693cbd440 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 25 Jun 2017 17:21:12 +0200 Subject: gnu: nyacc: Update to 0.80.3. * gnu/packages/mes.scm (nyacc): Update to 0.80.3. --- gnu/packages/mes.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index e711148c7c..3203486268 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -34,14 +34,14 @@ (define-public nyacc (package (name "nyacc") - (version "0.79.4") + (version "0.80.3") (source (origin (method url-fetch) (uri (string-append "mirror://savannah/nyacc/" name "-" version ".tar.gz")) (sha256 (base32 - "14rhr9nv1022r7m94agb3299y0k093aq1ps22zgii3aa7cf9h1w4")))) + "0sdvkahnz6k9i4kf1i1ljl20220n3wk3gy6zmz0ggbbdgg4mfka0")))) (build-system gnu-build-system) (native-inputs `(("guile" ,guile-2.2))) -- cgit v1.2.3 From 65763656304225f811794ae0ec95962124a3d7b6 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 26 Jun 2017 00:59:22 -0400 Subject: gnu: linux-libre@4.9: Update to 4.9.34. * gnu/packages/linux.scm (linux-libre@4.9): Update to 4.9.34. [source]: Remove patch. --- gnu/packages/linux.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ec950d2272..c7294717c2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -380,20 +380,10 @@ https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch "0hv3lxjgpssvsldkydg5q7znnzxv5ncpzrk6g11q01k3gkl0q689")))))) (define-public linux-libre-4.9 - (make-linux-libre "4.9.33" - "1dam6vqymhlx1vsl0lzxphamiifgyf97snxg18b2czqq402nz094" + (make-linux-libre "4.9.34" + "00jm3338kvhfj850lg3mvk680fmfw34mvwaq41lvxgb1z2xqqlz1" %intel-compatible-systems - #:configuration-file kernel-config - #:patches - (list %boot-logo-patch - (origin - (method url-fetch) - (uri "\ -https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=37c40b6777f0bc8a63f616479c469b371097f333") - (file-name "linux-libre-4.9-CVE-2017-1000364.patch") - (sha256 - (base32 - "0zhnh8ysiqldxlnd50bjrxagzx29kc8nlajdrikii2x2ibkbfb4i")))))) + #:configuration-file kernel-config)) (define-public linux-libre-4.4 (make-linux-libre "4.4.73" -- cgit v1.2.3 From 91cf5fdacd79182ae10ad5f1441f866591d272ec Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 26 Jun 2017 01:02:03 -0400 Subject: gnu: linux-libre: Update to 4.11.7. * gnu/packages/linux.scm (%linux-libre-version): Update to 4.11.7. (%linux-libre-hash): Update hash. (linux-libre, linux-libre-arm-generic)[source]: Remove patch. --- gnu/packages/linux.scm | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c7294717c2..0a51007593 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -360,24 +360,14 @@ It has been modified to remove all non-free binary blobs.") (define %intel-compatible-systems '("x86_64-linux" "i686-linux")) -(define %linux-libre-version "4.11.6") -(define %linux-libre-hash "0xay0m2a4la8aqc8ai8zqfh1c1i6sjgh0dywm7nis0g1gqirwrds") +(define %linux-libre-version "4.11.7") +(define %linux-libre-hash "0kliwdz4qqjz13pywhavxg19cy1mf6d1f52f6kgapc331309vad9") (define-public linux-libre (make-linux-libre %linux-libre-version %linux-libre-hash %intel-compatible-systems - #:configuration-file kernel-config - #:patches - (list %boot-logo-patch - (origin - (method url-fetch) - (uri "\ -https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=167ec8235f978d7af78c73e9490dae1af3fee67f") - (file-name "linux-libre-4.11-CVE-2017-1000364.patch") - (sha256 - (base32 - "0hv3lxjgpssvsldkydg5q7znnzxv5ncpzrk6g11q01k3gkl0q689")))))) + #:configuration-file kernel-config)) (define-public linux-libre-4.9 (make-linux-libre "4.9.34" @@ -412,17 +402,7 @@ https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch %linux-libre-hash '("armhf-linux") #:defconfig "multi_v7_defconfig" - #:extra-version "arm-generic" - #:patches - (list %boot-logo-patch - (origin - (method url-fetch) - (uri "\ -https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=167ec8235f978d7af78c73e9490dae1af3fee67f") - (file-name "linux-libre-4.11-CVE-2017-1000364.patch") - (sha256 - (base32 - "0hv3lxjgpssvsldkydg5q7znnzxv5ncpzrk6g11q01k3gkl0q689")))))) + #:extra-version "arm-generic")) ;;; -- cgit v1.2.3 From cb76c4e316e795a0fff2b8f1535938f028dfb4d6 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Sat, 24 Jun 2017 08:59:27 +0200 Subject: gnu: wine: Update to 2.11. * gnu/packages/wine.scm (wine): Update to 2.11 Signed-off-by: Leo Famulari --- gnu/packages/wine.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 006483e798..1fb2c542cf 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -55,14 +55,14 @@ (define-public wine (package (name "wine") - (version "2.10") + (version "2.11") (source (origin (method url-fetch) (uri (string-append "https://dl.winehq.org/wine/source/2.x" "/wine-" version ".tar.xz")) (sha256 (base32 - "0ygiaayi2mv6jl450d03i4x2gd2bg3mwk3s2pxas87g8sbzzg3a8")))) + "0g6cwjyqwc660w33453aklh3hpc0b8rrb88dryn23ah6wannvagg")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) @@ -105,8 +105,7 @@ ("unixodbc" ,unixodbc) ("zlib" ,zlib))) (arguments - `(;; The 64-bit build of Wine is reportedly less useful or even usable, - ;; so force a 32-bit build (under the assumption that this package is + `(;; Force a 32-bit build (under the assumption that this package is ;; being used on an IA32-compatible architecture.) #:system "i686-linux" -- cgit v1.2.3 From 4cdf00d6d91e117721d7c5e7d6cede01ef06906e Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:01:42 +0100 Subject: gnu: Add kde-frameworkintegration. * gnu/packages/kde-frameworks.scm (kde-frameworkintegration): New variable. --- gnu/packages/kde-frameworks.scm | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 8fe71d5b5d..31027091b1 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3027,3 +3027,61 @@ script engines.") (define kinit-bootstrap ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit)) + + +;; Tier 4 +;; +;; Tier 4 frameworks can be mostly ignored by application programmers; this +;; tier consists of plugins acting behind the scenes to provide additional +;; functionality or platform integration to existing frameworks (including +;; Qt). + +(define-public kde-frameworkintegration + (package + (name "kde-frameworkintegration") + (version "5.34.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + "frameworkintegration-" version ".tar.xz")) + (sha256 + (base32 + "0hq1r2znjzy0wzm3nsclqmih1aia5300bsf87a2l4919q0ildb20")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config))) + ;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt + (inputs + `(("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kitemviews" ,kitemviews) + ("knewstuff" ,knewstuff) + ("knotificantions" ,knotifications) + ("kpackage" ,kpackage) + ("kwidgetsaddons" ,kwidgetsaddons) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "HOME" (getcwd)) + ;; Make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins") + (description "Framework Integration is a set of plugins responsible for +better integration of Qt applications when running on a KDE Plasma +workspace.") + ;; This package is distributed under either LGPL2 or LGPL3, but some + ;; files are explicitly LGPL2+. + (license '(lgpl2.0 lgpl3.0 lgpl2.0+)) + (properties `((upstream-name . "frameworkintegration"))))) -- cgit v1.2.3 From 10afdf787b18b665e382b1ea4e95847d68bc9e30 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:03:43 +0100 Subject: gnu: Add kdelibs4support. * gnu/packages/kde-frameworks.scm (kdelibs4support): New variable. --- gnu/packages/kde-frameworks.scm | 122 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 121 insertions(+), 1 deletion(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 31027091b1..30c120b80c 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages attr) + #:use-module (gnu packages base) #:use-module (gnu packages boost) #:use-module (gnu packages bison) #:use-module (gnu packages boost) @@ -57,6 +58,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages textutils) + #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages video) #:use-module (gnu packages web) @@ -3053,7 +3055,7 @@ script engines.") (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("pkg-config" ,pkg-config))) - ;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt + ;; TODO: Optional packages not yet in Guix: packagekitqt5, AppStreamQt (inputs `(("kconfig" ,kconfig) ("kconfigwidgets" ,kconfigwidgets) @@ -3085,3 +3087,121 @@ workspace.") ;; files are explicitly LGPL2+. (license '(lgpl2.0 lgpl3.0 lgpl2.0+)) (properties `((upstream-name . "frameworkintegration"))))) + + +;; Porting Aids +;; +;; Porting Aids frameworks provide code and utilities to ease the transition +;; from kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this +;; framework, new projects should avoid using these libraries. + +(define-public kdelibs4support + (package + (name "kdelibs4support") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "0q9jjsjcvc43va4yvfay2xi40vb95lnqhgzavpqcndzjihixwmi0")))) + (build-system cmake-build-system) + (native-inputs + `(("dbus" ,dbus) + ("docbook-xml" ,docbook-xml-4.4) ; optional + ("extra-cmake-modules" ,extra-cmake-modules) + ("perl", perl) + ("perl-uri" ,perl-uri) + ("pkg-config" ,pkg-config) + ("shared-mime-info" ,shared-mime-info) + ("kjobwidgets" ,kjobwidgets) ;; required for running the tests + ("strace" ,strace) + ("tzdata" ,tzdata))) + (propagated-inputs + ;; These are required to be installed along with this package, see + ;; lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake + `(("karchive" ,karchive) + ("kauth" ,kauth) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kdbusaddons" ,kdbusaddons) + ("kdesignerplugin" ,kdesignerplugin) + ("kdoctools" ,kdoctools) + ("kemoticons" ,kemoticons) + ("kguiaddons" ,kguiaddons) + ("kiconthemes" ,kiconthemes) + ("kinit" ,kinit) + ("kitemmodels" ,kitemmodels) + ("knotifications" ,knotifications) + ("kparts" ,kparts) + ("ktextwidgets" ,ktextwidgets) + ("kunitconversion", kunitconversion) + ("kwindowsystem" ,kwindowsystem) + ("qtbase" ,qtbase))) + (inputs + `(("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kded" ,kded) + ("kdesignerplugin" ,kdesignerplugin) + ("kdoctools" ,kdoctools) + ("kglobalaccel" ,kglobalaccel) + ("kguiaddons" ,kguiaddons) + ("ki18n" ,ki18n) + ("kio" ,kio) + ("kservice" ,kservice) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("libsm", libsm) + ("networkmanager-qt", networkmanager-qt) + ("openssl", openssl) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtx11extras" ,qtx11extras))) + ;; FIXME: Use GuixSD ca-bundle.crt in etc/xdg/ksslcalist and + ;; share/kf5/kssl/ca-bundle.crt + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-cmake-to-find-docbook + (lambda _ + (substitute* "cmake/FindDocBookXML4.cmake" + (("^.*xml/docbook/schema/dtd.*$") + "xml/dtd/docbook\n")) + #t)) + (delete 'check) + (add-after 'install 'check-post-install + (lambda* (#:key inputs tests? #:allow-other-keys) + (setenv "HOME" (getcwd)) + (setenv "TZDIR" ; KDateTimeTestsome needs TZDIR + (string-append (assoc-ref inputs "tzdata") + "/share/zoneinfo")) + ;; Make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + ;; enable debug output + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output + (setenv "DBUS_FATAL_WARNINGS" "0") + ;; TODO: Make this tests pass (also see + ;; https://bugs.kde.org/381098) + (zero? (system* "dbus-launch" "ctest" "." + "-E" "kmimetypetest|kstandarddirstest"))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 porting aid from KDELibs4") + (description "This framework provides code and utilities to ease the +transition from kdelibs 4 to KDE Frameworks 5. This includes CMake macros and +C++ classes whose functionality has been replaced by code in CMake, Qt and +other frameworks. + +Code should aim to port away from this framework eventually. The API +documentation of the classes in this framework and the notes at +http://community.kde.org/Frameworks/Porting_Notes should help with this.") + ;; Most files are distributed under LGPL2+, but the package includes code + ;; under a variety of licenses. + (license '(license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+ + license:gpl2 license:gpl2+ + license:expat license:bsd-2 license:bsd-3 + license:public-domain)))) -- cgit v1.2.3 From 7090518f2438323b861acd1fc0c4c0e8b214637a Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:05:03 +0100 Subject: gnu: Add kjs. * gnu/packages/kde-frameworks.scm (kjs): New variable. --- gnu/packages/kde-frameworks.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 30c120b80c..be3138580e 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages mp3) #:use-module (gnu packages pdf) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) @@ -3205,3 +3206,36 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.") license:gpl2 license:gpl2+ license:expat license:bsd-2 license:bsd-3 license:public-domain)))) + +(define-public kjs + (package + (name "kjs") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "18b7k1hi73iqn06c1ryy9lcmvscr9d08q7n1wwkrn0l2xmy05xsq")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs + `(("pcre" ,pcre) + ("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt +applications") + (description "Add-on library to Qt which adds JavaScript scripting +support.") + ;; Most files are distributed under LGPL2+, but the package also includes + ;; code under a variety of licenses. + (license '(license:lgpl2.1+ + license:bsd-2 license:bsd-3 + (license:non-copyleft "file://src/kjs/dtoa.cpp"))))) -- cgit v1.2.3 From f0d4fe188f991562682f29d673617003a970b10b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:04:23 +0100 Subject: gnu: Add khtml. * gnu/packages/kde-frameworks.scm (khtml): New variable. --- gnu/packages/kde-frameworks.scm | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index be3138580e..e84ed80019 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3207,6 +3207,64 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.") license:expat license:bsd-2 license:bsd-3 license:public-domain)))) +(define-public khtml + (package + (name "khtml") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "0j490jfnz8pbfl1i11wj514nw0skpnxr2fvi9pqpfql9lfhsanxv")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("perl", perl))) + (inputs + `(("giflib" ,giflib) + ("karchive" ,karchive) + ("kcodecs" ,kcodecs) + ("kglobalaccel" ,kglobalaccel) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kjs" ,kjs) + ("knotifications" ,knotifications) + ("kparts" ,kparts) + ("ktextwidgets" ,ktextwidgets) + ("kwallet", kwallet) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("libjpeg", libjpeg) + ("libpng", libpng) + ("openssl", openssl) + ("phonon", phonon) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) + ("sonnet" ,sonnet))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + ;; Make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 HTML widget and component") + (description "KHTML is a web rendering engine, based on the KParts +technology and using KJS for JavaScript support.") + ;; Most files are distributed under LGPL2+, but the package includes code + ;; under a variety of licenses. + (license '(license:lgpl2.0+ license:lgpl2.1+ + license:gpl2 license:gpl3+ + license:expat license:bsd-2 license:bsd-3)))) + (define-public kjs (package (name "kjs") -- cgit v1.2.3 From d153dc5b1dfc994e0d7e393b52f34566bc3d2286 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:05:52 +0100 Subject: gnu: Add kjsembed. * gnu/packages/kde-frameworks.scm (kjsembed): New variable. --- gnu/packages/kde-frameworks.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index e84ed80019..4889653b7a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3297,3 +3297,32 @@ support.") (license '(license:lgpl2.1+ license:bsd-2 license:bsd-3 (license:non-copyleft "file://src/kjs/dtoa.cpp"))))) + +(define-public kjsembed + (package + (name "kjsembed") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "17w8i370pqks1fj3pcziz7j014chnc6yi7md7w2p4xprw54pbmbk")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("qttools" ,qttools))) + (inputs + `(("ki18n" ,ki18n) + ("kjs" ,kjs) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 embedded Javascript engine for Qt") + (description "KJSEmbed provides a method of binding Javascript objects to +QObjects, so you can script your applications.") + (license license:lgpl2.1+))) -- cgit v1.2.3 From 8d10244db905e0d90265fbfd493a32fdf361cda7 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:07:19 +0100 Subject: gnu: Add kmediaplayer. * gnu/packages/kde-frameworks.scm (kmediaplayer): New variable. --- gnu/packages/kde-frameworks.scm | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 4889653b7a..dd15268620 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3326,3 +3326,49 @@ support.") (description "KJSEmbed provides a method of binding Javascript objects to QObjects, so you can script your applications.") (license license:lgpl2.1+))) + +(define-public kmediaplayer + (package + (name "kmediaplayer") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "1mq87qf86sdvwhas4w7rspd221qp4x9kds4nd0lpldiay4483k86")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("qttools" ,qttools))) + (inputs + `(("kcompletion" ,kcompletion) + ("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kparts" ,kparts) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + ;; Make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 plugin interface for media player features") + (description "KMediaPlayer builds on the KParts framework to provide a +common interface for KParts that can play media files. + +This framework is a porting aid. It is not recommended for new projects, and +existing projects that use it are advised to port away from it, and use plain +KParts instead.") + (license license:expat))) -- cgit v1.2.3 From 346d5d58740e131a9d942298d32e64a306711263 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 19 Mar 2017 22:08:08 +0100 Subject: gnu: Add kross. * gnu/packages/kde-frameworks.scm (kross): New variable. --- gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index dd15268620..e6242eac92 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3372,3 +3372,47 @@ This framework is a porting aid. It is not recommended for new projects, and existing projects that use it are advised to port away from it, and use plain KParts instead.") (license license:expat))) + +(define-public kross + (package + (name "kross") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "092qz8vyiialv9fvk4wvn8mrfhz5i5hnbq0xnz6nvi1pk3db6bxq")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("qttools" ,qttools))) + (inputs + `(("kcompletion" ,kcompletion) + ("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kparts" ,kparts) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("qtbase" ,qtbase) + ("qtscript" ,qtscript))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 solution for application scripting") + (description "Kross is a scripting bridge for the KDE Development Platform +used to embed scripting functionality into an application. It supports +QtScript as a scripting interpreter backend. + +Kross provides an abstract API to provide scripting functionality in a +interpreter-independent way. The application that uses Kross should not need +to know anything about the scripting language being used. The core of Kross +provides the framework to deal transparently with interpreter-backends and +offers abstract functionality to deal with scripts.") + ;; Most files are distributed under LGPL2+, but the package includes code + ;; under a variety of licenses. + (license '(license:lgpl2.0+ license:lgpl2.1+ + license:lgpl2.0 license:gpl3+)))) -- cgit v1.2.3 From de2e402be7e9389770e3537ccc5d384c85ea1fa3 Mon Sep 17 00:00:00 2001 From: Mekeor Melire Date: Mon, 26 Jun 2017 02:06:25 +0200 Subject: gnu: Add emacs-autothemer. * gnu/packages/emacs.scm (emacs-autothemer): New variable. Signed-off-by: Arun Isaac --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ecb6fed6aa..a982788755 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2017 Feng Shu ;;; Copyright © 2017 Jan Nieuwenhuizen ;;; Copyright © 2017 Oleg Pykhalov +;;; Copyright © 2017 Mekeor Melire ;;; ;;; This file is part of GNU Guix. ;;; @@ -1139,6 +1140,30 @@ writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs or XEmacs.") (license license:gpl3+))) +(define-public emacs-autothemer + (package + (name "emacs-autothemer") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash))) + (home-page "https://github.com/sebastiansturm/autothemer") + (synopsis "Conveniently create Emacs themes") + (description + "Autothemer provides a thin layer on top of @code{deftheme} and +@code{custom-theme-set-faces} that creates a new custom color theme, based on +a set of simplified face specifications and a user-supplied color palette") + (license license:gpl3+))) + (define-public emacs-calfw (package (name "emacs-calfw") -- cgit v1.2.3 From 7c028db5612de5ffde71a9a542d46047f53e2198 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 26 Jun 2017 11:55:23 +0300 Subject: gnu: mit-scheme: Remove aarch64-linux from supported-systems. * gnu/packages/scheme.scm (mit-scheme)[supported-systems]: Specify exactly i686, x86_64 and armhf. --- gnu/packages/scheme.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index bcb715327c..dae00732af 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2016 Federico Beffa ;;; Copyright © 2016 Ricardo Wurmus -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016, 2017 ng0 ;;; Copyright © 2017 John Darrington @@ -181,7 +181,7 @@ "0w5ib5vsidihb4hb6fma3sp596ykr8izagm57axvgd6lqzwicsjg")))))))) ;; Fails to build on MIPS, see . - (supported-systems (delete "mips64el-linux" %supported-systems)) + (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux")) (home-page "https://www.gnu.org/software/mit-scheme/") (synopsis "A Scheme implementation with integrated editor and debugger") -- cgit v1.2.3 From 24b91ebd2e78a103aee128e5e089b6d6bf339fd9 Mon Sep 17 00:00:00 2001 From: Gábor Boskovits Date: Fri, 23 Jun 2017 18:16:12 +0200 Subject: gnu: Add ht. * gnu/packages/hexedit.scm (ht): New variable. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/hexedit.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm index d2aaec306b..8ddc0ffd4f 100644 --- a/gnu/packages/hexedit.scm +++ b/gnu/packages/hexedit.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Kei Kebreau +;;; Copyright © 2017 Gábor Boskovits ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,6 +21,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (gnu packages compression) #:use-module (gnu packages ncurses) #:use-module (guix download) #:use-module (guix build-system gnu)) @@ -44,3 +46,28 @@ file can be a device as the file is read a piece at a time. You can modify the file and search through it.") (home-page "http://rigaux.org/hexedit.html") (license license:gpl2+))) + +(define-public ht + (package + (name "ht") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://sourceforge.net/projects/hte/files/ht-source/" + name "-" version ".tar.bz2")) + (sha256 + (base32 + "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i")))) + (build-system gnu-build-system) + (inputs + `(("lzo" ,lzo) + ("ncurses" ,ncurses))) + (synopsis "Viewer, editor, and analyzer for executable binaries") + (description + "ht is a terminal-based program to view, edit, and analyze any file, but +with a special focus on executable binaries. Its goal is to combine the +low-level functionality of a debugger with the usability of an @dfn{Integrated +Development Environment} (IDE).") + (home-page "http://hte.sourceforge.net/") + (license license:gpl2))) -- cgit v1.2.3 From a78507698ac45bc4adc3ac5bb73caeab51ea7b86 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 26 Jun 2017 15:00:38 +0200 Subject: gnu: gnome-tweak-tool: Update to 3.24.1. * gnu/packages/gnome.scm (gnome-tweak-tool): Update to 3.24.1. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3f82c184e1..6325927b6a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5708,7 +5708,7 @@ existing databases over the internet.") (define-public gnome-tweak-tool (package (name "gnome-tweak-tool") - (version "3.24.0") + (version "3.24.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/" @@ -5718,7 +5718,7 @@ existing databases over the internet.") (search-patch "gnome-tweak-tool-search-paths.patch"))) (sha256 (base32 - "000ygz9wgnv8pimb6rwbjfm12vbx4138pwkq36ci0k6v827282wk")))) + "0rgmm7n6jwc5hz64sprm4jxnky62hw839a7r18rn1mj884vnn8hr")))) (build-system glib-or-gtk-build-system) (arguments `(#:configure-flags '("--localstatedir=/tmp" -- cgit v1.2.3 From 07cabcb1562d0f134a1195f1c126f4d60f1dae3d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 26 Jun 2017 16:05:16 +0200 Subject: gnu: evolution-data-server: Update to 3.24.3. * gnu/packages/gnome.scm (evolution-data-server): Update to 3.24.3. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6325927b6a..e6072e033a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4589,7 +4589,7 @@ Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") (define-public evolution-data-server (package (name "evolution-data-server") - (version "3.24.2") + (version "3.24.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -4597,7 +4597,7 @@ Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.") name "-" version ".tar.xz")) (sha256 (base32 - "1ywqy939n27v3kchlnyxs6ikhjxmlasv6f08ap4bldgr121vkfx9")))) + "1jj1q81bl3r0c8rnsfqi83igqlprzdcjim1fvygbyfy7b8gigqqk")))) (build-system cmake-build-system) (arguments '(;; XXX FIXME: 11/85 tests are failing. -- cgit v1.2.3 From 794cced614fd5e0800b478b4a1735f861fa8a5e2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 26 Jun 2017 16:06:08 +0200 Subject: gnu: lirc: Fix building on Ubuntu. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/lirc.scm (lirc)[arguments]: Add ‘disable-kernel-sniffing’ phase. --- gnu/packages/lirc.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm index d4c2d18ccc..cd9e06d394 100644 --- a/gnu/packages/lirc.scm +++ b/gnu/packages/lirc.scm @@ -48,6 +48,13 @@ '(#:configure-flags '("--localstatedir=/var") #:phases (modify-phases %standard-phases + (add-after 'unpack 'disable-kernel-sniffing + (lambda _ + ;; Correct the faulty assumption that systemd support should be + ;; hard-wired when a build host's /proc/version contains "Ubuntu". + (substitute* "configure" + (("kernelversion=.*") "kernelversion=irrelevant\n")) + #t)) (add-after 'unpack 'patch-lirc-make-devinput (lambda* (#:key inputs #:allow-other-keys) ;; 'lirc-make-devinput' script assumes that linux headers -- cgit v1.2.3 From c79d59b91326e376a9fad02f91ae52a5dd72e761 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 26 Jun 2017 16:20:29 +0200 Subject: gnu: dovecot: Update to 2.2.31. * gnu/packages/mail.scm (dovecot): Update to 2.2.31. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 019b556c9c..7ab9829196 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1085,7 +1085,7 @@ facilities for checking incoming mail.") (define-public dovecot (package (name "dovecot") - (version "2.2.30.2") + (version "2.2.31") (source (origin (method url-fetch) @@ -1093,7 +1093,7 @@ facilities for checking incoming mail.") (version-major+minor version) "/" name "-" version ".tar.gz")) (sha256 (base32 - "17hqhzfqlk08d20x9rwi0lyvy13pc0x8sr1zcg89vapf3jfagnzk")))) + "18bnwgn6hshbmr79g21sngkrmydji6bzb948a3b2i0bl0w4y8jq3")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From ef39a17717a10a7f406730258acfdb07934c7255 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 16:57:19 +0200 Subject: gnu: lapack: Update to 3.7.1. * gnu/packages/maths.scm (lapack): Update to 3.7.1. --- gnu/packages/maths.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9bdb068774..b43f2d63e9 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -428,7 +428,7 @@ large scale eigenvalue problems.") (define-public lapack (package (name "lapack") - (version "3.5.0") + (version "3.7.1") (source (origin (method url-fetch) @@ -436,7 +436,7 @@ large scale eigenvalue problems.") version ".tgz")) (sha256 (base32 - "0lk3f97i9imqascnlf6wr5mjpyxqcdj73pgj97dj2mgvyg9z1n4s")))) + "0yavf6m9l78pwlnk5g61cg8x28mr30j0g8gkai0jrdqfjjmf3whs")))) (build-system cmake-build-system) (home-page "http://www.netlib.org/lapack/") (inputs `(("fortran" ,gfortran) -- cgit v1.2.3 From 11f0c4e871d09f3122c59f665c0ad18dcd4fc5eb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 16:59:11 +0200 Subject: gnu: lapack: Build with LAPACKE_WITH_TMG=ON. * gnu/packages/maths.scm (lapack)[arguments]: Pass "-DLAPACKE_WITH_TMG=ON". --- gnu/packages/maths.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b43f2d63e9..3c93e2c7ec 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -443,7 +443,10 @@ large scale eigenvalue problems.") ("python" ,python-2))) (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES" - "-DLAPACKE=ON") + "-DLAPACKE=ON" + + ;; Build the 'LAPACKE_clatms' functions. + "-DLAPACKE_WITH_TMG=ON") #:phases (alist-cons-before 'check 'patch-python (lambda* (#:key inputs #:allow-other-keys) -- cgit v1.2.3 From 26599d692cc4ae563c56a30bdc1e8f03f47c582f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 17:00:36 +0200 Subject: gnu: scotch: Build in 64-bit mode on 64-bit machines. * gnu/packages/maths.scm (scotch)[arguments] : Add "INTSIZE64" CPP flag. --- gnu/packages/maths.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 3c93e2c7ec..851694bd4d 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1875,6 +1875,7 @@ YACC = bison -pscotchyy -y -b y '("COMMON_FILE_COMPRESS_GZ" "COMMON_PTHREAD" "COMMON_RANDOM_FIXED_SEED" + "INTSIZE64" ;use 'long' instead of 'int' ;; Prevents symbolc clashes with libesmumps "SCOTCH_RENAME" ;; XXX: Causes invalid frees in superlu-dist tests -- cgit v1.2.3 From c2700e785b3048f5ebe0ade82a475c47d00d3642 Mon Sep 17 00:00:00 2001 From: Gábor Boskovits Date: Mon, 26 Jun 2017 17:51:33 +0200 Subject: gnu: Add quagga. * gnu/packages/networking.scm (quagga): New variable. * gnu/packages/patches/quagga-reproducible-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Marius Bakke --- gnu/local.mk | 2 ++ gnu/packages/networking.scm | 34 ++++++++++++++++++++++ .../patches/quagga-reproducible-build.patch | 22 ++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 gnu/packages/patches/quagga-reproducible-build.patch diff --git a/gnu/local.mk b/gnu/local.mk index 5d024de07e..b3dd1953a8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -14,6 +14,7 @@ # Copyright © 2017 Tobias Geerinckx-Rice # Copyright © 2017 Clément Lassieur # Copyright © 2017 Mathieu Othacehe +# Copyright © 2017 Gábor Boskovits # # This file is part of GNU Guix. # @@ -961,6 +962,7 @@ dist_patch_DATA = \ %D%/packages/patches/qemu-CVE-2017-9524.patch \ %D%/packages/patches/qt4-ldflags.patch \ %D%/packages/patches/qtscript-disable-tests.patch \ + %D%/packages/patches/quagga-reproducible-build.patch \ %D%/packages/patches/quickswitch-fix-dmenu-check.patch \ %D%/packages/patches/rapicorn-isnan.patch \ %D%/packages/patches/raptor2-heap-overflow.patch \ diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 06a2c8be6e..396c41a362 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2017 Gábor Boskovits ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,6 +52,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages databases) + #:use-module (gnu packages dejagnu) #:use-module (gnu packages flex) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) @@ -64,6 +66,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages readline) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) @@ -1308,3 +1311,34 @@ transparently have a connection established to another address (e.g., a UNIX socket on a different system). This is similar to 'ssh -L' functionality, but does not use SSH and requires a pre-shared symmetric key.") (license license:bsd-2))) + +(define-public quagga + (package + (name "quagga") + (version "1.2.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/quagga/quagga-" + version ".tar.gz")) + (sha256 + (base32 + "1kgvcr9cfgys5asvb5lh5h95silkr624apqm5x68xva19xfvmpda")) + (patches + (search-patches "quagga-reproducible-build.patch")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config",pkg-config) + ("perl",perl) + ("dejagnu",dejagnu))) + (inputs `(("readline",readline) + ("c-ares",c-ares))) + (synopsis "Routing Software Suite") + (description "Quagga is a routing software suite, providing implementations +of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 for Unix platforms. + +The Quagga architecture consists of a core daemon, @command{zebra}, which +acts as an abstraction layer to the underlying Unix kernel and presents the +Zserv API over a Unix or TCP stream to Quagga clients. It is these Zserv +clients which typically implement a routing protocol and communicate routing +updates to the zebra daemon.") + (home-page "http://www.nongnu.org/quagga/") + (license license:gpl2+))) diff --git a/gnu/packages/patches/quagga-reproducible-build.patch b/gnu/packages/patches/quagga-reproducible-build.patch new file mode 100644 index 0000000000..80efe4bf62 --- /dev/null +++ b/gnu/packages/patches/quagga-reproducible-build.patch @@ -0,0 +1,22 @@ +Make sure, that vtysh_cmd.c is deterministically generated. + +--- a/vtysh/extract.pl.in 2017-03-10 13:55:06.000000000 +0100 ++++ b/vtysh/extract.pl.in 2017-06-24 00:51:56.460000000 +0200 +@@ -214,7 +214,7 @@ + } + + # Output DEFSH +-foreach (keys %live) { ++foreach (sort keys %live) { + my ($proto); + my ($key); + $key = $live{$_}; +@@ -229,7 +229,7 @@ + { + EOF + +-foreach (keys %odefun) { ++foreach (sort keys %odefun) { + my ($node, $str) = (split (/,/)); + $cmd = $ocmd{$_}; + $cmd =~ s/_cmd/_cmd_vtysh/; -- cgit v1.2.3 From 4d9d9e3fed1f088ce27f6dbf0693aeb8d049f77c Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 25 Jun 2017 22:41:21 -0400 Subject: gnu: Add thc-ipv6. * gnu/packages/networking.scm (thc-ipv6): New variable. --- gnu/packages/networking.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 396c41a362..d4b9a3d129 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1342,3 +1342,48 @@ clients which typically implement a routing protocol and communicate routing updates to the zebra daemon.") (home-page "http://www.nongnu.org/quagga/") (license license:gpl2+))) + +(define-public thc-ipv6 + (package + (name "thc-ipv6") + (version "3.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/vanhauser-thc/thc-ipv6/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yh2lpsazmm0pgbmh0dx023w6fss1kdfyr4cq7yw0fac8vkw32d3")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:tests? #f ; No test suite. + #:phases + (modify-phases %standard-phases + (delete 'configure) ; No ./configure script. + (add-before 'build 'patch-paths + (lambda _ + (substitute* "Makefile" + (("/bin/echo") "echo")) + #t)) + (add-after 'install 'install-more-docs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/thc-ipv6/doc"))) + (install-file "README" doc) + (install-file "HOWTO-INJECT" doc) + #t)))))) + ;; TODO Add libnetfilter-queue once packaged. + (inputs + `(("libpcap" ,libpcap) + ("openssl" ,openssl) + ("perl" ,perl))) + (home-page "https://github.com/vanhauser-thc/thc-ipv6") + (synopsis "IPv6 security research toolkit") + (description "The THC IPv6 Toolkit provides command-line tools and a library +for researching IPv6 implementations and deployments. It requires Linux 2.6 or +newer and only works on Ethernet network interfaces.") + ;; AGPL 3 with exception for linking with OpenSSL. See the 'LICENSE' file in + ;; the source distribution for more information. + (license license:agpl3))) -- cgit v1.2.3 From b74e2f610ab813fcbe687d85cae2fe050c3705b8 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Fri, 23 Jun 2017 16:52:27 +0200 Subject: gnu: stellarium: Update to 0.16.0. * gnu/packages/astronomy.scm (stellarium)[inputs]: Add qtlocation. [arguments]: Remove "patch-version-check" phase. Add "patch-tests" phase. --- gnu/packages/astronomy.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f5509dab10..132013b57a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -121,7 +121,7 @@ programs for the manipulation and analysis of astronomical data.") (define-public stellarium (package (name "stellarium") - (version "0.15.2") + (version "0.16.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/stellarium/" @@ -129,10 +129,11 @@ programs for the manipulation and analysis of astronomical data.") version "/stellarium-" version ".tar.gz")) (sha256 (base32 - "19nxj482g1hh9qicgskpcgy61pri254jgxnkd10icxbnza4c0hv9")))) + "1krxj51lix096xbz64lys166a8zdwhill5vvs7dlxdn14amc8d98")))) (build-system cmake-build-system) (inputs `(("qtbase" ,qtbase) + ("qtlocation" ,qtlocation) ("qtmultimedia" ,qtmultimedia) ("qtscript" ,qtscript) ("qtserialport" ,qtserialport) @@ -145,13 +146,10 @@ programs for the manipulation and analysis of astronomical data.") (arguments `(#:test-target "tests" #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-version-check + (add-after 'unpack 'patch-tests (lambda _ - ;; Previously-deprecated cmake variable vanished in - ;; Qt 5.9. - ;; See . - (substitute* "CMakeLists.txt" - (("Qt5Core_VERSION_STRING") "Qt5Core_VERSION")) + (substitute* "src/tests/testStelSphereGeometry.cpp" + (("Vec3d v[(]0[)]") "Vec3d v(0.0)")) #t)) (add-before 'check 'set-offscreen-display (lambda _ -- cgit v1.2.3 From 94a400bebae48aebc35fb84aa0b134b25ce46e46 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 22:02:24 +0200 Subject: import cran: Generate a valid 'license' field for "GPL". Fixes . Reported by Joshua Sierles . * guix/import/cran.scm (string->license) <"GPL">: Return a quoted list. --- guix/import/cran.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 8d963a7475..056a7dcc7c 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -69,7 +69,7 @@ ("BSD_2_clause + file LICENSE" 'bsd-2) ("BSD_3_clause" 'bsd-3) ("BSD_3_clause + file LICENSE" 'bsd-3) - ("GPL" (list 'gpl2+ 'gpl3+)) + ("GPL" '(list gpl2+ gpl3+)) ("GPL (>= 2)" 'gpl2+) ("GPL (>= 3)" 'gpl3+) ("GPL-2" 'gpl2) -- cgit v1.2.3 From 6d382339de1c9fbe20ec056fb5200d5724a4aa44 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 22:23:11 +0200 Subject: profiles: Add 'manifest-transaction-removal-candidate?'. * guix/profiles.scm (manifest-transaction-removal-candidate?): New procedure. * tests/profiles.scm ("manifest-transaction-removal-candidate?"): New test. --- guix/profiles.scm | 7 +++++++ tests/profiles.scm | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/guix/profiles.scm b/guix/profiles.scm index dcb5186c7a..056406e303 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -96,6 +96,7 @@ manifest-transaction-install-entry manifest-transaction-remove-pattern manifest-transaction-null? + manifest-transaction-removal-candidate? manifest-perform-transaction manifest-transaction-effects @@ -564,6 +565,12 @@ remove software." (($ () ()) #t) (($ _ _) #f))) +(define (manifest-transaction-removal-candidate? entry transaction) + "Return true if ENTRY is a candidate for removal in TRANSACTION." + (any (lambda (pattern) + ((entry-predicate pattern) entry)) + (manifest-transaction-remove transaction))) + (define (manifest-transaction-effects manifest transaction) "Compute the effect of applying TRANSACTION to MANIFEST. Return 4 values: the list of packages that would be removed, installed, upgraded, or downgraded diff --git a/tests/profiles.scm b/tests/profiles.scm index f731807e8c..469dde2652 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -197,6 +197,13 @@ (test-assert "manifest-transaction-null?" (manifest-transaction-null? (manifest-transaction))) +(test-assert "manifest-transaction-removal-candidate?" + (let ((m (manifest (list guile-2.0.9))) + (t (manifest-transaction + (remove (list (manifest-pattern (name "guile"))))))) + (and (manifest-transaction-removal-candidate? guile-2.0.9 t) + (not (manifest-transaction-removal-candidate? glibc t))))) + (test-assertm "profile-derivation" (mlet* %store-monad ((entry -> (package->manifest-entry %bootstrap-guile)) -- cgit v1.2.3 From fc8fdcf56ecc159cb4e85ffdde60a54c4fa5c04f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 26 Jun 2017 22:48:57 +0200 Subject: guix package: 'guix package -r PKG -u' does not upgrade PKG. Fixes . Reported by Mark H Weaver . * guix/scripts/package.scm (transaction-upgrade-entry): Check if ENTRY matches 'manifest-transaction-removal-candidate?' and return TRANSACTION if it does. (process-actions): Move 'options->removable' from step 2 to step 1. --- guix/scripts/package.scm | 14 +++++++++----- tests/guix-package.sh | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 1f835ca5a5..400623d41b 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -294,7 +294,11 @@ of relevance scores." (output (manifest-entry-output old))) transaction))) - (match entry + (match (if (manifest-transaction-removal-candidate? entry transaction) + 'dismiss + entry) + ('dismiss + transaction) (($ name version output (? string? path)) (match (vhash-assoc name (find-newest-available-packages)) ((_ candidate-version pkg . rest) @@ -875,11 +879,11 @@ processed, #f otherwise." #:dry-run? dry-run?))))) opts) - ;; Then, process normal package installation/removal/upgrade. + ;; Then, process normal package removal/installation/upgrade. (let* ((manifest (profile-manifest profile)) - (step1 (options->installable opts manifest - (manifest-transaction))) - (step2 (options->removable opts manifest step1)) + (step1 (options->removable opts manifest + (manifest-transaction))) + (step2 (options->installable opts manifest step1)) (step3 (manifest-transaction (inherit step2) (install (map transform-entry diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 5ecb33193f..99952f130c 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -279,8 +279,27 @@ guix package --bootstrap --install-from-file="$module_dir/package.scm" test "`guix package -A super-non-portable-emacs`" = "" test "`guix package -s super-non-portable-emacs | grep ^systems:`" = "systems: " +# Don't upgrade packages marked for removal: . +guix package --bootstrap -p "$profile" -i guile-bootstrap + +cat > "$module_dir/foo.scm"< Date: Mon, 26 Jun 2017 22:51:14 +0200 Subject: guix package: Allow '--rollback', after all. * guix/scripts/package.scm (%options): Add "rollback" as an alias for "roll-back". --- guix/scripts/package.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 400623d41b..58da3113a0 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -496,7 +496,7 @@ Install, remove, or upgrade packages in a single transaction.\n")) (alist-cons 'do-not-upgrade arg result) result) arg-handler)))) - (option '("roll-back") #f #f + (option '("roll-back" "rollback") #f #f (lambda (opt name arg result arg-handler) (values (alist-cons 'roll-back? #t result) #f))) -- cgit v1.2.3 From 2482c02f3b23b2490a6647e0717cf8a4ccf3f6a8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 27 Jun 2017 11:34:58 +0530 Subject: gnu: emacs-which-key: Avoid leading "(" in description line. * gnu/packages/emacs.scm (emacs-which-key): Reformat description to avoid a line beginning with "(" because such lines break indentation in Emacs. --- gnu/packages/emacs.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index a982788755..957de755f1 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4990,10 +4990,11 @@ displays results pretty-printed in XML or JSON with @code{restclient-mode}") "-f" "ert-run-tests-batch-and-exit"))))))) (home-page "https://github.com/justbur/emacs-which-key") (synopsis "Display available key bindings in popup") - (description "@code{emacs-which-key} is a minor mode for Emacs that -displays the key bindings following your currently entered incomplete command -(a prefix) in a popup. For example, after enabling the minor mode if you -enter C-x and wait for the default of 1 second, the minibuffer will expand -with all of the available key bindings that follow C-x (or as many as space -allows given your settings).") + (description + "@code{emacs-which-key} is a minor mode for Emacs that displays the key +bindings following your currently entered incomplete command (a prefix) in a +popup. For example, after enabling the minor mode if you enter C-x and wait +for the default of 1 second, the minibuffer will expand with all of the +available key bindings that follow C-x (or as many as space allows given your +settings).") (license license:gpl3+))) -- cgit v1.2.3 From 18733212793dc49b97fb47baccef7ac7a02500d1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 27 Jun 2017 22:41:31 +0200 Subject: gnu: kde-frameworks: Fix 'license' fields. * gnu/packages/kde-frameworks.scm (kde-frameworkintegration)[license]: Turn into a list of objects. (kdelibs4support)[license]: Likewise. (khtml)[license]: Likewise. (kjs)[license]: Likewise. (kross)[license]: Likewise. --- gnu/packages/kde-frameworks.scm | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index e6242eac92..a25de39ed8 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3086,7 +3086,7 @@ better integration of Qt applications when running on a KDE Plasma workspace.") ;; This package is distributed under either LGPL2 or LGPL3, but some ;; files are explicitly LGPL2+. - (license '(lgpl2.0 lgpl3.0 lgpl2.0+)) + (license (list license:lgpl2.0 license:lgpl3 license:lgpl2.0+)) (properties `((upstream-name . "frameworkintegration"))))) @@ -3202,10 +3202,10 @@ documentation of the classes in this framework and the notes at http://community.kde.org/Frameworks/Porting_Notes should help with this.") ;; Most files are distributed under LGPL2+, but the package includes code ;; under a variety of licenses. - (license '(license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+ - license:gpl2 license:gpl2+ - license:expat license:bsd-2 license:bsd-3 - license:public-domain)))) + (license (list license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+ + license:gpl2 license:gpl2+ + license:expat license:bsd-2 license:bsd-3 + license:public-domain)))) (define-public khtml (package @@ -3261,9 +3261,9 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.") technology and using KJS for JavaScript support.") ;; Most files are distributed under LGPL2+, but the package includes code ;; under a variety of licenses. - (license '(license:lgpl2.0+ license:lgpl2.1+ - license:gpl2 license:gpl3+ - license:expat license:bsd-2 license:bsd-3)))) + (license (list license:lgpl2.0+ license:lgpl2.1+ + license:gpl2 license:gpl3+ + license:expat license:bsd-2 license:bsd-3)))) (define-public kjs (package @@ -3294,9 +3294,9 @@ applications") support.") ;; Most files are distributed under LGPL2+, but the package also includes ;; code under a variety of licenses. - (license '(license:lgpl2.1+ - license:bsd-2 license:bsd-3 - (license:non-copyleft "file://src/kjs/dtoa.cpp"))))) + (license (list license:lgpl2.1+ + license:bsd-2 license:bsd-3 + (license:non-copyleft "file://src/kjs/dtoa.cpp"))))) (define-public kjsembed (package @@ -3414,5 +3414,5 @@ provides the framework to deal transparently with interpreter-backends and offers abstract functionality to deal with scripts.") ;; Most files are distributed under LGPL2+, but the package includes code ;; under a variety of licenses. - (license '(license:lgpl2.0+ license:lgpl2.1+ - license:lgpl2.0 license:gpl3+)))) + (license (list license:lgpl2.0+ license:lgpl2.1+ + license:lgpl2.0 license:gpl3+)))) -- cgit v1.2.3 From 795f3a008804cf6d81f620d82dc4e6cdcdf625a8 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Tue, 27 Jun 2017 20:28:06 -0400 Subject: gnu: python-xsge: Fix source URL. * gnu/packages/game-development.scm (python-xsge)[source]: Fix URL. --- gnu/packages/game-development.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index b8b110c9aa..67f6c55017 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -342,7 +342,7 @@ levels.") (version "2017.06.09") (source (origin (method url-fetch) - (uri (string-append "mirror://savannah/xsge/xsge-" + (uri (string-append "mirror://savannah/xsge/xsge/xsge-" version ".tar.gz")) (sha256 (base32 -- cgit v1.2.3 From c75a3081a3baf5a0e26ca0623861ba251286f679 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 28 Jun 2017 00:54:05 -0400 Subject: gnu: linux-libre@4.4: Update to 4.4.74. * gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.74. [source]: Remove patch. --- gnu/packages/linux.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0a51007593..413f935901 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -376,20 +376,10 @@ It has been modified to remove all non-free binary blobs.") #:configuration-file kernel-config)) (define-public linux-libre-4.4 - (make-linux-libre "4.4.73" - "144ssqw1dr86z4cgl797pq5rggfibsxqk7wmfbl6j92l1cj6yjrz" + (make-linux-libre "4.4.74" + "04x2ki3s2jsjkkk6bld0rd9rsk8qqvrfsxawxzfa26mkq6pv87r2" %intel-compatible-systems - #:configuration-file kernel-config - #:patches - (list %boot-logo-patch - (origin - (method url-fetch) - (uri "\ -https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=87422f5b9b4f43efef4eaf37d7d040aed96500cb") - (file-name "linux-libre-4.4-CVE-2017-1000364.patch") - (sha256 - (base32 - "137p1cpiwlbvw4x12w1l23iy593xmdry60kd7j9kk690r9arfagw")))))) + #:configuration-file kernel-config)) (define-public linux-libre-4.1 (make-linux-libre "4.1.41" -- cgit v1.2.3 From 9b416042d162c01b8aa1a8dcac6108847864eb3e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Jun 2017 15:45:53 +0200 Subject: gnu: Add texlive-latex-natbib. * gnu/packages/tex.scm (texlive-latex-natbib): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index eb69547a1c..819dcd3c3c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1446,6 +1446,29 @@ distribution.") (description "This is a very limited subset of the TeX Live distribution. It includes little more than the required set of LaTeX packages."))) +(define-public texlive-latex-natbib + (package + (name "texlive-latex-natbib") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "natbib")) + (sha256 + (base32 + "0aqliq0nwblxyrzhwhv77pnmk7qh2y3prgq7z7qhwcbgz5kisld7")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/natbib")) + (home-page "http://www.ctan.org/pkg/natbib") + (synopsis "Flexible bibliography support") + (description + "This bundle provides a package that implements both author-year and +numbered references, as well as much detailed of support for other +bibliography use. Also provided are versions of the standard BibTeX styles +that are compatible with @code{natbib}: @code{plainnat}, @code{unsrtnat}, +@code{abbrnat}. The bibliography styles produced by @code{custom-bib} are +designed from the start to be compatible with @code{natbib}.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 171160d56931ba3558951fa95ead481988813112 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Jun 2017 15:47:16 +0200 Subject: gnu: Add texlive-latex-seminar. * gnu/packages/tex.scm (texlive-latex-seminar): New variable. --- gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 819dcd3c3c..2d7d929422 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1469,6 +1469,33 @@ that are compatible with @code{natbib}: @code{plainnat}, @code{unsrtnat}, designed from the start to be compatible with @code{natbib}.") (license license:lppl))) +(define-public texlive-latex-seminar + (package + (name "texlive-latex-seminar") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/seminar")) + (revision %texlive-revision))) + (sha256 + (base32 + "0y4i651b75y6006n03x8n86bsqvjsailvvz9bhzy51dzsznqidq0")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/seminar")) + (home-page "http://www.ctan.org/pkg/seminar") + (synopsis "Make overhead slides") + ;; TODO: This package may need fancybox and xcomment at runtime. + (description + "This package provides a class that produces overhead +slides (transparencies), with many facilities. Seminar is not nowadays +reckoned a good basis for a presentation — users are advised to use more +recent classes such as powerdot or beamer, both of which are tuned to +21st-century presentation styles.") + (license license:lppl1.2+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 51c15375abd524124dc311c5048f013a5fbcdf03 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 28 Jun 2017 07:39:43 +0200 Subject: gnu: texlive-latex-graphics: Update hash for graphics-def. This is a follow-up commit to e3c970fc5c71b936279afee4fd24bc267f40549c. * gnu/packages/tex.scm (texlive-latex-graphics)[native-inputs]: Update hash for graphics-def. --- gnu/packages/tex.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2d7d929422..00d0c2b648 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -934,7 +934,7 @@ verbatim source).") (revision %texlive-revision))) (sha256 (base32 - "1q5l0x3jsy74v0zq4c9g0x0rb9jfzf7cbhdzkbchyydv49iav802")))))) + "0gi4qv6378nl84s8n1yx3hjqvv7r4lza7hpbymbl5rzwgw8qrnyb")))))) (home-page "http://www.ctan.org/pkg/latex-graphics") (synopsis "LaTeX standard graphics bundle") (description -- cgit v1.2.3 From 9dac2a8ef40484a17d3327b04e1a74f62e82720a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 28 Jun 2017 07:45:50 +0200 Subject: gnu: emacs-calfw: Fix typo in description. * gnu/packages/emacs.scm (emacs-calfw)[description]: Fix typo. --- gnu/packages/emacs.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 957de755f1..feff22a1b1 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1182,8 +1182,8 @@ a set of simplified face specifications and a user-supplied color palette") (home-page "https://github.com/kiwanami/emacs-calfw/") (synopsis "Calendar framework for Emacs") (description - "This package displays a calendar view with various shedule data in -the Emacs buffer.") + "This package displays a calendar view with various schedule data in the +Emacs buffer.") (license license:gpl3+))) (define-public emacs-direnv -- cgit v1.2.3 From ceb56fb1297390592af338dc89957182b42b0e06 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Jun 2017 09:35:11 +0300 Subject: gnu: translate-shell: Update to 0.9.6.4. * gnu/packages/dictionaries.scm (translate-shell): Update to 0.9.6.4. --- gnu/packages/dictionaries.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index df12bf8a32..062c29b66d 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -209,7 +209,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (define-public translate-shell (package (name "translate-shell") - (version "0.9.6.3") + (version "0.9.6.4") (source (origin (method url-fetch) @@ -217,7 +217,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") version ".tar.gz")) (sha256 (base32 - "13rjq9v3ykk5c0i5daybpnqnyg09cbcgjzykx49h2h5hvspixvi5")) + "1fg6nf1plvgimc57fsdr9rcjbf7jvmk5jrlj5ya509vpdcdgvj2s")) (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) (arguments -- cgit v1.2.3 From fea0040405d75f21077e95ed3ef9735c257f9234 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Jun 2017 11:19:55 +0300 Subject: gnu: aria2: Update to 1.32.0. * gnu/packages/bittorrent.scm (aria2): Update to 1.32.0. --- gnu/packages/bittorrent.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index a0474002b7..79a87dc8bf 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -264,7 +264,7 @@ maintained upstream.") (define-public aria2 (package (name "aria2") - (version "1.31.0") + (version "1.32.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/tatsuhiro-t/aria2/" @@ -272,7 +272,7 @@ maintained upstream.") name "-" version ".tar.xz")) (sha256 (base32 - "131zh75fqw9a1j0igl8gx3lwmhhbicdmp2p387r0cd5j928631bv")))) + "0l6whbbcw1qijlczlfqi3mhba3zki0ybjb2prrgncp8km6a92vjl")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list "--enable-libaria2" -- cgit v1.2.3 From d07d29280881774d9bf299793dd762824a74082f Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 28 Jun 2017 03:45:01 -0400 Subject: gnu: icecat: Add more fixes from upstream mozilla-esr52. * gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the upstream mozilla-esr52 repository. --- gnu/packages/gnuzilla.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 37adc3bbd6..db32b988ed 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -505,7 +505,16 @@ standards.") (mozilla-patch "icecat-bug-1339826-pt2.patch" "44b2fe592a90" "1v8mz3b40dp6l5qrgha4yibmrnx80pxsvdll6ky1k937yhbzjk4a") (mozilla-patch "icecat-CVE-2017-5470-pt19.patch" "f68e0d98a22a" "063z4a7gyhzy85fc2j2yr7kmk2zf7v875hjw4485civazydysw4j") (mozilla-patch "icecat-bug-1353625.patch" "c41f37d913e2" "1s997c1hj4ywnlfbhvi1y96vd6bxl74wcrb0nly611h51h8xnyxm") - (mozilla-patch "icecat-CVE-2017-5470-pt20.patch" "38273203b827" "12p9r4spdp09d6ic9sqspvdr50lmc1p86ydz2fxdifb1f95njhx0"))) + (mozilla-patch "icecat-CVE-2017-5470-pt20.patch" "38273203b827" "12p9r4spdp09d6ic9sqspvdr50lmc1p86ydz2fxdifb1f95njhx0") + (mozilla-patch "icecat-bug-1357022.patch" "5bd51bc3f587" "0z5drxpfjvb7s43qgcr404h8ckchgakwwwi4nxpx2i653w22a743") + (mozilla-patch "icecat-bug-1318845.patch" "512efd480dac" "13cmqap795ayh6gh3b5bc6002pz0wp92qngs7fh5qqklc7a0gkzv") + (mozilla-patch "icecat-bug-1371586.patch" "d0c92199b9ed" "0qmsm7d4h6ysx3an247kpx9qpksfms7hrjgpdrghdbxla1hc4nc9") + (mozilla-patch "icecat-bug-1364513.patch" "88e9c2137640" "1mh4l745q1wlabn9sz47n0vy3h7c66fcay2b9dwa16iqwvh3lpiw") + (mozilla-patch "icecat-bug-1366203.patch" "08dd87b6bb8f" "15bfwfwwd978mlcpk1d6m7506k8c2y402md7wzf6piabxl5kk6cf") + (mozilla-patch "icecat-bug-1368576.patch" "5a51a9ef8149" "0j0f9j0pryv3ik4bizhv8s6rr4dl1mjm01c23msayr0vbnpcagcs") + (mozilla-patch "icecat-bug-1369913.patch" "f47eaebc0c5c" "1b52xm3awpigasaz0hk5b13l7v4ry9vrawf571lzy2wwhphs4nxx") + (mozilla-patch "icecat-bug-1371424.patch" "40ce248a8c15" "1b722fiifr999ga0991cg5mlhidcnvf3zx2aiq5zjaabqn0f4dzk") + (mozilla-patch "icecat-bug-1372112.patch" "0c8359ac6718" "1w0v2p5jnhzvcsx8h1bglwjhp5y5bg1g8pzpvjw7pg1wlq2frccr"))) (modules '((guix build utils))) (snippet '(begin -- cgit v1.2.3 From b049ae2f9708794f83c41171c19ffdfe4f11807e Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 25 Jun 2017 05:20:36 -0400 Subject: gnu: xf86-video-intel: Use UXA accel method by default. * gnu/packages/xorg.scm (xf86-video-intel)[arguments]: Add #:configure-flags with "--with-default-accel=uxa". --- gnu/packages/xorg.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index d4da5d7098..c6d1946220 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014 Andreas Enge -;;; Copyright © 2014, 2015 Mark H Weaver +;;; Copyright © 2014, 2015, 2017 Mark H Weaver ;;; Copyright © 2014, 2015 Eric Bavier ;;; Copyright © 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2015 Eric Dvorsak @@ -2849,7 +2849,8 @@ X server.") (string-prefix? "x86_64-" system))) %supported-systems)) (arguments - '(#:phases (modify-phases %standard-phases + '(#:configure-flags '("--with-default-accel=uxa") + #:phases (modify-phases %standard-phases (add-after 'unpack 'bootstrap (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) -- cgit v1.2.3 From 03b055a1163cbfbd0cc5e931a71a74a7fec6a4d9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Jun 2017 15:36:15 +0300 Subject: gnu: darktable: Limit supported platforms. * gnu/packages/photo.scm (darktable)[supported-systems]: New field, explicitly limit to i686-linux, x86_64-linux and aarch64-linux. --- gnu/packages/photo.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 3effc181d3..1811e8ad3e 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -386,6 +386,8 @@ photographic equipment.") developer. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them.") + ;; see src/is_supported_platform.h for supported platforms + (supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux")) (license license:gpl3+))) (define-public hugin -- cgit v1.2.3 From e61bc976f6f3020f4420dabc6e582e1a8c9e4b75 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 28 Jun 2017 16:22:55 +0200 Subject: gnu: snakemake: Fix cluster execution. * gnu/packages/python.scm (snakemake)[arguments]: Add build phase "call-wrapper-not-wrapped-snakemake". --- gnu/packages/python.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6150a8798f..6e1e289e90 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6032,7 +6032,19 @@ of the structure, dynamics, and functions of complex networks.") (build-system python-build-system) (arguments ;; TODO: Package missing test dependencies. - '(#:tests? #f)) + '(#:tests? #f + #:phases + (modify-phases %standard-phases + ;; For cluster execution Snakemake will call Python. Since there is + ;; no suitable PYTHONPATH set, cluster execution will fail. We fix + ;; this by calling the snakemake wrapper instead. + (add-after 'unpack 'call-wrapper-not-wrapped-snakemake + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "snakemake/executors.py" + (("\\{sys.executable\\} -m snakemake") + (string-append (assoc-ref outputs "out") + "/bin/snakemake"))) + #t))))) (propagated-inputs `(("python-wrapt" ,python-wrapt) ("python-requests" ,python-requests))) -- cgit v1.2.3 From 6bcf1cd5dbec63691dacb51f143ccf33fb0e140a Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 28 Jun 2017 11:19:08 -0400 Subject: gnu: mpg123: Update to 1.25.0. * gnu/packages/mp3.scm (mpg123): Update to 1.25.0. --- gnu/packages/mp3.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 78c2b2f73b..8a3a5809c7 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -290,14 +290,14 @@ This package contains the binary.") (define-public mpg123 (package (name "mpg123") - (version "1.23.8") + (version "1.25.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/mpg123/mpg123/" version "/mpg123-" version ".tar.bz2")) (sha256 (base32 - "13ngfzk84k4ks7ymanmq8f6707yrybra5h0mk3ir6mdnxk4068yy")))) + "0j2fyb984cwvhn8kicf87y39bhjsg43p14aj893hzq25n0fkwbjm")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--with-default-audio=pulse"))) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From bd6e23856fc3edc6294a5eaf567bf6036c635d94 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Jun 2017 01:33:41 +0200 Subject: gnu: texlive-latex-base: Install additional formats. * gnu/packages/tex.scm (texlive-latex-base)[arguments]: Additionally build and install tex.fmt, pdftex.fmt, pdfetex.fmt, and pdflatex.fmt. --- gnu/packages/tex.scm | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 00d0c2b648..0d9fc8483d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -735,11 +735,14 @@ book).") (and (zero? (system* "luatex" "-ini" "-interaction=batchmode" "-output-directory=build" "unpack.ins")) - ;; LaTeX and XeTeX require e-TeX, which is enabled only in - ;; extended mode (activated with a leading asterisk). We - ;; should not use luatex here, because that would make the - ;; generated format files incompatible with any other TeX - ;; engine. + (zero? (system* "tex" "-ini" "-interaction=batchmode" + "-output-directory=web2c" + "tex.ini")) + ;; LaTeX, pdfetex/pdftex, and XeTeX require e-TeX, which + ;; is enabled only in extended mode (activated with a + ;; leading asterisk). We should not use luatex here, + ;; because that would make the generated format files + ;; incompatible with any other TeX engine. ;; FIXME: XeTeX fails to build because neither ;; \XeTeXuseglyphmetrics nor \XeTeXdashbreakstate are @@ -751,7 +754,8 @@ book).") "-translate-file=cp227.tcx" (string-append "*" format ".ini")))) '("latex" ;"xetex" - )) + "pdflatex" + "pdfetex")) (every (lambda (format) (zero? (system* "luatex" "-ini" "-interaction=batchmode" @@ -772,6 +776,10 @@ book).") (find-files "build" ".*")) (for-each (cut install-file <> web2c) (find-files "web2c" ".*")) + ;; pdftex is really just the same as pdfetex, but since it + ;; doesn't have its own format file, we need to copy it. + (copy-file "web2c/pdfetex.fmt" + (string-append web2c "/pdftex.fmt")) #t)))))) (native-inputs `(("texlive-bin" ,texlive-bin) -- cgit v1.2.3 From 9f86ef85cf99a3a1a3cf776c93b63b95265c7bb7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Jun 2017 01:35:09 +0200 Subject: gnu: Add texlive-latex-hyperref. * gnu/packages/tex.scm (texlive-latex-hyperref): New variable. --- gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0d9fc8483d..392b7e6703 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1504,6 +1504,46 @@ recent classes such as powerdot or beamer, both of which are tuned to 21st-century presentation styles.") (license license:lppl1.2+))) +(define-public texlive-latex-hyperref + (package + (name "texlive-latex-hyperref") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "hyperref")) + (sha256 + (base32 + "03arf3xvz1jsbvlpgc5qxbxbl9wmk8k09cn6b8gv9pzgpjy4vx4j")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/hyperref" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-hluatex.def + (lambda _ + ;; This depends on hluatex.dtx, which does not exist and is + ;; nowhere to be found in the sources of the TeX Live + ;; distribution. + (substitute* "hyperref.ins" + (("\\\\file\\{hluatex.def\\}.*") "")) + #t))))) + ;; The package depends on the kvoptions, ltxcmds, and refcount packages, + ;; which are part of the oberdiek bundle. + (inputs + `(("texlive-latex-oberdiek" ,texlive-latex-oberdiek))) + (home-page "http://www.ctan.org/pkg/hyperref") + (synopsis "Extensive support for hypertext in LaTeX") + (description + "The @code{hyperref} package is used to handle cross-referencing commands +in LaTeX to produce hypertext links in the document. The package provides +backends for the @code{\\special} set defined for HyperTeX DVI processors; for +embedded @code{pdfmark} commands for processing by Acrobat +Distiller (@code{dvips} and Y&Y's @code{dvipsone}); for Y&Y's @code{dviwindo}; +for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's +pdf and HTML backends. The package is distributed with the @code{backref} and +@code{nameref} packages, which make use of the facilities of @code{hyperref}.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From a0aa6b59ddff7da63f6f628d93b0aadecae59acb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Jun 2017 01:35:30 +0200 Subject: gnu: Add texlive-tex-texinfo. * gnu/packages/tex.scm (texlive-tex-texinfo): New variable. --- gnu/packages/tex.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 392b7e6703..f4b6596e9d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1544,6 +1544,41 @@ pdf and HTML backends. The package is distributed with the @code{backref} and @code{nameref} packages, which make use of the facilities of @code{hyperref}.") (license license:lppl1.3+))) +(define-public texlive-tex-texinfo + (package + (name "texlive-tex-texinfo") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/texinfo")) + (revision %texlive-revision))) + (sha256 + (base32 + "09zj2w3lx0y6i2syfjjgizahf86z301dw8p37ln6syfhqhzqdz46")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/texinfo"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/texinfo") + (synopsis "TeX macros to handle Texinfo files") + (description + "Texinfo is the preferred format for documentation in the GNU project; +the format may be used to produce online or printed output from a single +source. The Texinfo macros may be used to produce printable output using TeX; +other programs in the distribution offer online interactive use (with +hypertext linkages in some cases).") + (license license:gpl3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 6309636640f73c2211e58ab3816d564dc4d8e807 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Jun 2017 01:45:09 +0200 Subject: gnu: emacs-ess: Use texlive-union instead of texlive. * gnu/packages/emacs.scm (emacs-ess)[arguments]: Add phase "set-HOME". [native-inputs]: Replace texlive with a texlive-union. --- gnu/packages/emacs.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index feff22a1b1..cfebe772f2 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3084,14 +3084,21 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "Makeconf" (("SHELL = /bin/sh") - (string-append "SHELL = " (which "sh"))))))))) + (string-append "SHELL = " (which "sh")))))) + ;; FIXME: the texlive-union insists on regenerating fonts. It stores + ;; them in HOME, so it needs to be writeable. + (add-before 'build 'set-HOME + (lambda _ (setenv "HOME" "/tmp") #t))))) (inputs `(("emacs" ,emacs-minimal) ("r-minimal" ,r-minimal))) (native-inputs `(("perl" ,perl) ("texinfo" ,texinfo) - ("texlive" ,texlive))) + ("texlive" ,(texlive-union (list texlive-latex-natbib + texlive-latex-seminar + texlive-latex-hyperref + texlive-tex-texinfo))))) (home-page "http://ess.r-project.org/") (synopsis "Emacs mode for statistical analysis programs") (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU -- cgit v1.2.3 From 59b53c4227266fefd33d83089727a3d40b3a7e88 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 28 Jun 2017 22:53:38 -0500 Subject: gnu: moe: Update to 1.9. * gnu/packages/moe.scm (moe): Update to 1.9. --- gnu/packages/moe.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/moe.scm b/gnu/packages/moe.scm index 12929b327a..67e5b02390 100644 --- a/gnu/packages/moe.scm +++ b/gnu/packages/moe.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015 Eric Bavier +;;; Copyright © 2014, 2015, 2017 Eric Bavier ;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. @@ -28,7 +28,7 @@ (define-public moe (package (name "moe") - (version "1.8") + (version "1.9") (source (origin (method url-fetch) @@ -36,7 +36,7 @@ version ".tar.lz")) (sha256 (base32 - "0mv4pg38p0dq88xmxxv08rykn7vv4x7gskmdk7nfp3vx37r4xzvy")))) + "1wsfzy0iia0c89wnx1ilzw54wqcmlp2nz8mkpvc393z0zagrx48q")))) (build-system gnu-build-system) (native-inputs `(("lzip" ,lzip))) (inputs `(("ncurses" ,ncurses))) -- cgit v1.2.3 From 57dfc9f86c3110a5eb88863c97cd5ec780ac1e69 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 28 Jun 2017 22:59:41 -0500 Subject: gnu: screen: Update to 4.6.0. * gnu/packages/screen.scm (screen): Update to 4.6.0. [source]: Remove patch. * gnu/packages/patches/screen-fix-info-syntax-error.patch: Delete patch. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/local.mk | 1 - .../patches/screen-fix-info-syntax-error.patch | 47 ---------------------- gnu/packages/screen.scm | 7 ++-- 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 gnu/packages/patches/screen-fix-info-syntax-error.patch diff --git a/gnu/local.mk b/gnu/local.mk index b3dd1953a8..b0690eda58 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -984,7 +984,6 @@ dist_patch_DATA = \ %D%/packages/patches/rxvt-unicode-escape-sequences.patch \ %D%/packages/patches/scheme48-tests.patch \ %D%/packages/patches/scotch-test-threading.patch \ - %D%/packages/patches/screen-fix-info-syntax-error.patch \ %D%/packages/patches/sdl-libx11-1.6.patch \ %D%/packages/patches/seq24-rename-mutex.patch \ %D%/packages/patches/slim-session.patch \ diff --git a/gnu/packages/patches/screen-fix-info-syntax-error.patch b/gnu/packages/patches/screen-fix-info-syntax-error.patch deleted file mode 100644 index 6ee9091daa..0000000000 --- a/gnu/packages/patches/screen-fix-info-syntax-error.patch +++ /dev/null @@ -1,47 +0,0 @@ -Fix errors when building the info manual: - -[...] -./screen.texinfo:5799: unknown command `suse' -./screen.texinfo:5800: unknown command `deuxchevaux' -make[2]: *** [Makefile:31: screen.info] Error 1 -[...] - -Patch copied from upstream source repository: - -http://git.savannah.gnu.org/cgit/screen.git/commit/?id=a7d2f9e6ecfa794dd0bd3dbeaf6780c88a6f3152 - -From a7d2f9e6ecfa794dd0bd3dbeaf6780c88a6f3152 Mon Sep 17 00:00:00 2001 -From: Andreas Stieger -Date: Tue, 28 Feb 2017 19:23:01 +0100 -Subject: [PATCH] fix texinfo syntax errors - -thanks to Andreas Stieger ---- - src/doc/screen.texinfo | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo -index bc4cbae..aadad33 100644 ---- a/doc/screen.texinfo -+++ b/doc/screen.texinfo -@@ -5795,7 +5795,7 @@ and Alexander Naumov . - Contributors @* - ============ - --@example -+@verbatim - Thomas Renninger , - Axel Beckert , - Ken Beal , -@@ -5826,7 +5826,7 @@ Contributors @* - Jason Merrill , - Johannes Zellner , - Pablo Averbuj . --@end example -+@end verbatim - - @noindent - Version @* --- -cgit v1.0-41-gc330 - diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm index 49584662b1..af0079be20 100644 --- a/gnu/packages/screen.scm +++ b/gnu/packages/screen.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Cyril Roelandt ;;; Copyright © 2014 Mark H Weaver -;;; Copyright © 2015 Eric Bavier +;;; Copyright © 2015, 2017 Eric Bavier ;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2017 Mathieu Othacehe @@ -37,14 +37,13 @@ (define-public screen (package (name "screen") - (version "4.5.1") + (version "4.6.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/screen/screen-" version ".tar.gz")) - (patches (search-patches "screen-fix-info-syntax-error.patch")) (sha256 - (base32 "0bbv16gpxrh64sn4bvjy3qjy7jsxjlqlilyysin02fwnvla23nwp")))) + (base32 "1m7yd2bs1i623kk27nfy3qa2mgjp5qjqxwj5qz21r51ycmmp0cwl")))) (build-system gnu-build-system) (native-inputs `(("makeinfo" ,texinfo))) -- cgit v1.2.3 From 691ae7fa7a12694239b4425d68fe4769f32b48d2 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 28 Jun 2017 23:25:23 -0500 Subject: gnu: wdiff: Remove unused screen input. * gnu/packages/wdiff.scm (wdiff): 'inputs' -> 'native-inputs'. [native-inputs]: Remove unused screen input. [arguments]: Use modify-phases. --- gnu/packages/wdiff.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/gnu/packages/wdiff.scm b/gnu/packages/wdiff.scm index 1dcdb8ba36..20fc0bc06f 100644 --- a/gnu/packages/wdiff.scm +++ b/gnu/packages/wdiff.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov +;;; Copyright © 2017 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,18 +40,16 @@ "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl")))) (build-system gnu-build-system) (arguments - `(#:phases (alist-cons-before - 'check 'fix-sh - (lambda _ - (substitute* "tests/testsuite" - (("#! /bin/sh") - (string-append "#!" (which "sh"))))) - %standard-phases))) - (inputs `(("screen" ,screen) - ("which" ,which) - - ;; For some reason wdiff.info gets rebuilt. - ("texinfo" ,texinfo))) + `(#:phases (modify-phases %standard-phases + (add-before 'check 'fix-sh + (lambda _ + (substitute* "tests/testsuite" + (("#! /bin/sh") + (string-append "#!" (which "sh"))))))))) + (native-inputs + `(("which" ,which) + ;; For some reason wdiff.info gets rebuilt. + ("texinfo" ,texinfo))) (home-page "https://www.gnu.org/software/wdiff/") (synopsis "Word difference finder") (description -- cgit v1.2.3 From fcf40039504c493341977fbed76009c96924633f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 10:02:32 +0300 Subject: gnu: r-spams: Update to 2.6-2017-03-22. * gnu/packages/statistics.scm (r-spams): Update to 2.6-2017-03-22. [arguments]: Remove R-3.3 work-around and syntax fixes, add phase to prevent tuning r-spams to the compiling hardware. --- gnu/packages/statistics.scm | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 832b8dc7c5..41c0668151 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus ;;; Copyright © 2015 Vicente Vera Parra ;;; Copyright © 2016 Andreas Enge -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Ben Woodcroft @@ -3768,37 +3768,26 @@ from within R.") (define-public r-spams (package (name "r-spams") - (version "2.5-svn2014-07-04") + (version "2.6-2017-03-22") (source (origin (method url-fetch) - (uri (string-append "https://gforge.inria.fr/frs/download.php/33815/" + (uri (string-append "https://gforge.inria.fr/frs/download.php/36615/" "spams-R-v" version ".tar.gz")) (sha256 (base32 - "1k459jg9a334slkw31w63l4d39xszjzsng7dv5j1mp78zifz7hvx")))) + "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx")))) (build-system r-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda _ (chdir "spams") #t)) - ;; Since R 3.3.0 including R headers inside of an extern "C" block - ;; causes C headers to be included, which results in a lot of - ;; duplicate definitions. This can be avoided by defining - ;; NO_C_HEADERS before including the R headers. - (add-after 'chdir 'patch-use-of-R-headers + ;; Don't tune for the building machine + (add-after 'chdir 'no-mtune (lambda _ - (substitute* "src/spams.cpp" - (("#include " line) - (string-append "#define NO_C_HEADERS\n" line))) - #t)) - ;; This looks like a syntax error. - (add-after 'chdir 'patch-isnan - (lambda _ - (substitute* '"src/spams/linalg/linalg.h" - (("if isnan\\(lambda\\) \\{") - "if (isnan(lambda)) {")) + (substitute* "src/Makevars" + (("-mtune=native") "")) #t))))) (propagated-inputs `(("r-lattice" ,r-lattice) -- cgit v1.2.3 From 8363a8351728007f8d624f4a49ecd7b47fd166c7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 11:44:25 +0300 Subject: gnu: openh264: Fix building on armhf and aarch64. * gnu/packages/video.scm (openh264)[arguments]: Add 'CC=gcc' to the #:make-flags. --- gnu/packages/video.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 32f09db751..816fb9dbea 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2001,7 +2001,8 @@ of modern, widely supported codecs.") `(("nasm" ,nasm) ("python" ,python))) (arguments - '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") #:test-target "test" #:phases (modify-phases %standard-phases ;; no configure script -- cgit v1.2.3 From 2eb95ade8f08bfd418b1470f1093c5b4bf2332ee Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 12:54:54 +0300 Subject: gnu: ovmf: Only build 32-bit firmware on i686-linux. * gnu/packages/firmware.scm (ovmf)[arguments]: Only when the build machine is x86_64-linux should the 64-bit firmware be built and installed. --- gnu/packages/firmware.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 9106eec4ab..1da248001e 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2017 David Craven +;;; Copyright © 2017 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -275,13 +276,15 @@ use of coreboot.") (("^ACTIVE_PLATFORM[ ]*=.*$") "ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc\n")) (zero? (system* "build")))) - (add-after 'build 'build-x64 - (lambda _ - (substitute* "Conf/target.txt" - (("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n") - (("^ACTIVE_PLATFORM[ ]*=.*$") - "ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n")) - (zero? (system* "build")))) + ,@(if (string=? "x86_64-linux" (%current-system)) + '(add-after 'build 'build-x64 + (lambda _ + (substitute* "Conf/target.txt" + (("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n") + (("^ACTIVE_PLATFORM[ ]*=.*$") + "ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n")) + (zero? (system* "build")))) + '()) (delete 'build) (replace 'install (lambda* (#:key outputs #:allow-other-keys) @@ -290,8 +293,10 @@ use of coreboot.") (mkdir-p fmw) (copy-file "Build/OvmfIa32/RELEASE_GCC49/FV/OVMF.fd" (string-append fmw "/ovmf_ia32.bin")) - (copy-file "Build/OvmfX64/RELEASE_GCC49/FV/OVMF.fd" - (string-append fmw "/ovmf_x64.bin"))) + ,@(if (string=? "x86_64-linux" (%current-system)) + '((copy-file "Build/OvmfX64/RELEASE_GCC49/FV/OVMF.fd" + (string-append fmw "/ovmf_x64.bin"))) + '())) #t))))) (supported-systems '("x86_64-linux" "i686-linux")) (home-page "http://www.tianocore.org") -- cgit v1.2.3 From 3ab869b63fc43c8d13864d711c2dc55fb3691456 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Jun 2017 14:46:07 +0200 Subject: gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64. This fixes a regression introduced in ef39a17717a10a7f406730258acfdb07934c7255, which would break python-scipy ("undefined reference to `zungqr_'"). * gnu/packages/maths.scm (lapack)[arguments]: Add "-DCMAKE_INSTALL_LIBDIR" to #:configure-flags. --- gnu/packages/maths.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 851694bd4d..5e4cd85860 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -442,11 +442,18 @@ large scale eigenvalue problems.") (inputs `(("fortran" ,gfortran) ("python" ,python-2))) (arguments - `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES" - "-DLAPACKE=ON" - - ;; Build the 'LAPACKE_clatms' functions. - "-DLAPACKE_WITH_TMG=ON") + `(#:configure-flags (list + ;; Install to PREFIX/lib (the default is + ;; PREFIX/lib64). + (string-append "-DCMAKE_INSTALL_LIBDIR=" + (assoc-ref %outputs "out") + "/lib") + + "-DBUILD_SHARED_LIBS:BOOL=YES" + "-DLAPACKE=ON" + + ;; Build the 'LAPACKE_clatms' functions. + "-DLAPACKE_WITH_TMG=ON") #:phases (alist-cons-before 'check 'patch-python (lambda* (#:key inputs #:allow-other-keys) -- cgit v1.2.3 From aafcfffd93250a2d92f34121c82b54c32797ef35 Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Thu, 22 Jun 2017 15:04:55 +0200 Subject: gnu: node: Update to 8.1.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/node.scm (node): Update to 8.1.2. (node)[arguments]: Disabled more tests. Signed-off-by: Ludovic Courtès --- gnu/packages/node.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 69bd928833..d4415fc501 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -40,14 +40,14 @@ (define-public node (package (name "node") - (version "7.10.0") + (version "8.1.2") (source (origin (method url-fetch) (uri (string-append "http://nodejs.org/dist/v" version "/node-v" version ".tar.gz")) (sha256 (base32 - "00vdmb0z8b2sd547bkksgy9dfq5gi5xfd9b3f0rc4ngvpzl3z164")) + "0l92gar1pivzaiwffiiiz2f2m5k39sl5fphlfnvy0ml9hrjb65yp")) ;; https://github.com/nodejs/node/pull/9077 (patches (search-patches "node-9077.patch")))) (build-system gnu-build-system) @@ -83,10 +83,18 @@ ((" \\$\\(MAKE\\) jslint") "") ((" \\$\\(MAKE\\) cpplint\n") "")) + ;; FIXME: This test seems to depends on files that are not + ;; available in the bundled v8. See + ;; https://github.com/nodejs/node/issues/13344 + (for-each delete-file + '("test/addons-napi/test_general/testInstanceOf.js")) ;; FIXME: These tests fail in the build container, but they don't ;; seem to be indicative of real problems in practice. (for-each delete-file - '("test/parallel/test-dgram-membership.js" + '("test/async-hooks/test-ttywrap.readstream.js" + "test/parallel/test-util-inspect.js" + "test/parallel/test-v8-serdes.js" + "test/parallel/test-dgram-membership.js" "test/parallel/test-cluster-master-error.js" "test/parallel/test-cluster-master-kill.js" "test/parallel/test-npm-install.js" -- cgit v1.2.3 From b786661309ab8194eb5e5a3ebf55d35be2e0bb01 Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Thu, 22 Jun 2017 21:26:49 +0200 Subject: gnu: ansible: Apply experimental patch to deal with wrapping of ansible script. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See for the rationale. * gnu/packages/patches/ansible-wrap-program-hack.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/admin.scm (ansible)[source]: Use it. Signed-off-by: Ludovic Courtès --- gnu/local.mk | 1 + gnu/packages/admin.scm | 3 ++- .../patches/ansible-wrap-program-hack.patch | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/ansible-wrap-program-hack.patch diff --git a/gnu/local.mk b/gnu/local.mk index b0690eda58..83b0196055 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -502,6 +502,7 @@ dist_patch_DATA = \ %D%/packages/patches/aegis-test-fixup-1.patch \ %D%/packages/patches/aegis-test-fixup-2.patch \ %D%/packages/patches/agg-am_c_prototype.patch \ + %D%/packages/patches/ansible-wrap-program-hack.patch \ %D%/packages/patches/antiword-CVE-2014-8123.patch \ %D%/packages/patches/apr-skip-getservbyname-test.patch \ %D%/packages/patches/aspell-default-dict-dir.patch \ diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 96ca6a76d9..2cc5200a06 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1366,7 +1366,8 @@ of supported upstream metrics systems simultaneously.") (uri (pypi-uri "ansible" version)) (sha256 (base32 - "1xdr82fy8gahxh3586wm5k1bxksys7yl1f2n24shrk8gf99qyjyd")))) + "1xdr82fy8gahxh3586wm5k1bxksys7yl1f2n24shrk8gf99qyjyd")) + (patches (search-patches "ansible-wrap-program-hack.patch")))) (build-system python-build-system) (native-inputs `(("python2-pycrypto" ,python2-pycrypto) diff --git a/gnu/packages/patches/ansible-wrap-program-hack.patch b/gnu/packages/patches/ansible-wrap-program-hack.patch new file mode 100644 index 0000000000..c2e1028392 --- /dev/null +++ b/gnu/packages/patches/ansible-wrap-program-hack.patch @@ -0,0 +1,22 @@ +Ansible changes its behaviour depending on the name of the script that it is +called as. Make it deal with guix' .real wrapper scripts. + +FIXME: Remove once wrapping ansible works properly. +See http://lists.gnu.org/archive/html/bug-guix/2017-05/msg00015.html. +--- ansible-2.3.0.0/bin/ansible 2017-04-12 16:08:05.000000000 +0200 ++++ ansible-2.3.0.0-fixed/bin/ansible 2017-05-21 20:11:18.720872385 +0200 +@@ -75,7 +75,13 @@ + # sometimes add that + target = target[:-1] + +- if len(target) > 1: ++ if target[-1] == "real" and target[0].startswith('.'): ++ target = target[:-1] ++ target[0] = target[0][1:] ++ if len(target) > 1 and target[1] != "real" : ++ sub = target[1] ++ myclass = "%sCLI" % sub.capitalize() ++ elif len(target) > 2 and target[2] == "real" : + sub = target[1] + myclass = "%sCLI" % sub.capitalize() + elif target[0] == 'ansible': -- cgit v1.2.3 From a73e7dd3b029fccec55afbbecf762cc8231dee5d Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 26 Jun 2017 15:28:12 +0100 Subject: gnu: Add procenv. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/linux.scm (procenv): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 413f935901..641c307a0b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2017 nee +;;; Copyright © 2017 Dave Love ;;; ;;; This file is part of GNU Guix. ;;; @@ -98,6 +99,8 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) + #:use-module (gnu packages groff) + #:use-module (gnu packages selinux) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -4140,3 +4143,28 @@ NexGen, Rise, and SiS CPUs.") to data over the Media Transfer Protocol (MTP). Unprivileged users can mount the MTP device as a filesystem.") (license license:gpl3))) + +(define-public procenv + (package + (name "procenv") + (version "0.49") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/jamesodhunt/procenv/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0brzf6185hb76imw107cl21c8lzwiywkxi3jknihrk86bvvicd0d")))) + (build-system gnu-build-system) + (arguments `(#:configure-flags '("--disable-silent-rules"))) + (inputs `(("expat" ,expat) ("libcap" ,libcap) ("check" ,check) + ("groff" ,groff) ; for tests + ("libselinux" ,libselinux))) + (synopsis "Utility to show process environment") + (description "Procenv is a command-line tool that displays as much detail about +itself and its environment as possible. It can be used as a test +tool, to understand the type of environment a process runs in, and for +comparing system environments.") + (home-page "http://github.com/jamesodhunt/procenv/") + (license license:gpl3+))) -- cgit v1.2.3 From d34970ee2ba0f65c491d306073c9b3a598516f1d Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sat, 24 Jun 2017 19:16:33 +0800 Subject: gnu: clojure: Update "tools-reader-src" to 1.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/java.scm (clojure)[inputs]: Update "tools-reader-src" to 1.0.0. Signed-off-by: Ludovic Courtès --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e81ee40d38..e074dab46d 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1839,8 +1839,8 @@ IcedTea build harness.") "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")) ("tools-reader-src" ,(submodule "tools.reader/archive/tools.reader-" - "0.10.0" - "09i3lzbhr608h76mhdjm3932gg9xi8sflscla3c5f0v1nkc28cnr")))) + "1.0.0" + "1lafblmmj4hkg0aqrf19qkdw9wdcsh3qxmn6cbkmnzbhffpyv2lv")))) (home-page "https://clojure.org/") (synopsis "Lisp dialect running on the JVM") (description "Clojure is a dynamic, general-purpose programming language, -- cgit v1.2.3 From c860d6ef235b47ec8181fbf390e0b42fbc95dcfe Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Jun 2017 09:51:33 +0200 Subject: gnu: xfce: Build union instead of propagating inputs. * gnu/packages/xfce.scm (xfce)[propagated-inputs]: Move all... [inputs]: ...here. [arguments]: Build a union. --- gnu/packages/xfce.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index d7d1372dd2..d54b7f6401 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -698,8 +698,17 @@ on your desktop.") (version (package-version xfce4-session)) (source #f) (build-system trivial-build-system) - (arguments '(#:builder (mkdir %output))) - (propagated-inputs + (arguments + '(#:modules ((guix build union)) + #:builder + (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories)))))) + (inputs `(("exo" ,exo) ("garcon" ,garcon) ("gnome-icon-theme" ,gnome-icon-theme) -- cgit v1.2.3 From b8d3a000efca885180277358caa3c4fe604168a5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Jun 2017 09:31:50 +0200 Subject: gnu: libxfce4ui: Do not propagate gtk+-2. Propagation of both gtk+ and gtk+-2 causes a conflict to be detected, preventing the installation of xfce. * gnu/packages/xfce.scm (libxfce4ui)[propagated-inputs]: Move "gtk+-2"... [inputs]: ...to here. (garcon)[inputs]: Add "gtk+-2". (xfce4-appfinder)[inputs]: Add "gtk+-2". (xfce4-power-manager)[inputs]: Add "gtk+-2". (ristretto)[inputs]: Add "gtk+-2". --- gnu/packages/xfce.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index d54b7f6401..101909b1e4 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -159,13 +159,15 @@ storage system.") `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (propagated-inputs - `(("gtk+-2" ,gtk+-2) ; required by libxfce4ui-1.pc - ("gtk+-3" ,gtk+) ; required by libxfce4ui-2.pc + `(("gtk+-3" ,gtk+) ; required by libxfce4ui-2.pc ;; libxfce4kbd-private-2.pc refers to all these. ("libxfce4util" ,libxfce4util) ("xfconf" ,xfconf))) (inputs `(("libsm" ,libsm) ("libice" ,libice) + ;; FIXME: required by libxfce4ui-1.pc, so should be propagated, + ;; but will lead to a conflict with gtk+. + ("gtk+-2" ,gtk+-2) ("startup-notification" ,startup-notification))) (home-page "http://www.xfce.org/") (synopsis "Widgets library for Xfce") @@ -221,6 +223,8 @@ development.") `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("glib:bin" ,glib "bin"))) + (inputs + `(("gtk+" ,gtk+-2))) (propagated-inputs `(("libxfce4ui" ,libxfce4ui))) ; required by garcon-gtk2-1.pc (home-page "http://www.xfce.org/") @@ -452,6 +456,7 @@ per window.") ("intltool" ,intltool))) (inputs `(("garcon" ,garcon) + ("gtk+" ,gtk+-2) ("libxfce4ui" ,libxfce4ui))) (home-page "http://www.xfce.org/") (synopsis "Xfce application finder") @@ -759,6 +764,7 @@ system resources, while still being visually appealing and user friendly.") ("intltool" ,intltool))) (inputs `(("lbxrandr" ,libxrandr) + ("gtk+" ,gtk+-2) ("upower" ,upower) ("libnotify" ,libnotify) ("libxfce4ui" ,libxfce4ui))) @@ -792,6 +798,7 @@ inhibit interface which allows applications to prevent automatic sleep.") ("pkg-config" ,pkg-config))) (inputs `(("desktop-file-utils" ,desktop-file-utils) + ("gtk+" ,gtk+-2) ("libexif" ,libexif) ("libxfce4ui" ,libxfce4ui) ("librsvg" ,librsvg) -- cgit v1.2.3 From c0f5eee4b2cc737be222c4ba331d0c6373d565eb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Jun 2017 16:24:43 +0200 Subject: system: Add 'shadow' to %BASE-PACKAGES. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested by Göktuğ Kayaalp . * gnu/system.scm (%base-packages): Add SHADOW. --- gnu/system.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/system.scm b/gnu/system.scm index 5632029f73..0aec872e6c 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -490,6 +490,7 @@ explicitly appear in OS." lsof ;for Guix's 'list-runtime-roots' pciutils usbutils util-linux inetutils isc-dhcp + shadow ;for 'passwd' ;; wireless-tools is deprecated in favor of iw, but it's still what ;; many people are familiar with, so keep it around. -- cgit v1.2.3 From 9ae3fcb9e873172b2accc2ed874eb05828db458d Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 25 Jun 2017 17:10:55 +0200 Subject: gnu: Add mescc-tools. * gnu/packages/mes.scm (mescc-tools): New variable. --- gnu/packages/mes.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 3203486268..f85f230c73 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -100,3 +100,32 @@ consists of a mutual self-hosting [close to Guile-] Scheme interpreter prototype in C and a Nyacc-based C compiler in [Guile] Scheme.") (home-page "https://gitlab.com/janneke/mes") (license gpl3+)))) + +(define-public mescc-tools + (package + (name "mescc-tools") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/oriansj/MESCC_Tools/archive/Release_" + version + ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lzi9sqv41269isn7in70q2hhh087n4v97zr5i2qzz69j2lkr3xb")))) + (build-system gnu-build-system) + (supported-systems '("i686-linux" "x86_64-linux")) + (arguments + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:test-target "test" + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (synopsis "Tools for the full source bootstrapping process") + (description + "Mescc-tools is a collection of tools for use in a full source +bootstrapping process. Currently consists of the M0 macro assembler and the +hex2 linker.") + (home-page "https://github.com/oriansj/MESCC_Tools") + (license gpl3+))) -- cgit v1.2.3 From 604e494dc025774b095ac8ffe5206b5d0572c9a1 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 25 Jun 2017 17:52:57 +0200 Subject: gnu: mes: Update to 0.8. * gnu/packages/mes.scm (mes): Update to 0.8. --- gnu/packages/mes.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index f85f230c73..3fcf5f0fa4 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -54,25 +54,24 @@ extensive examples, including parsers for the Javascript and C99 languages.") (license (list gpl3+ lgpl3+)))) (define-public mes - (let ((commit "7fdca75d2188b28df806b34ec92627d57aafa9ae") - (revision "0") - (triplet "i686-unknown-linux-gnu") - (version "0.7")) + (let ((triplet "i686-unknown-linux-gnu")) (package (name "mes") - (version (string-append version "-" revision "." (string-take commit 7))) + (version "0.8") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/janneke/mes") - (commit commit))) - (file-name (string-append name "-" version)) + (method url-fetch) + (uri (string-append "https://gitlab.com/janneke/mes" + "/repository/archive.tar.gz?ref=v" + version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fvzr1ai2rmi46zdi5b2bdjb6s8ip78mkmsk02yxl46rajmp2pb1")))) + (base32 + "1igmrks20ci6l5c0jx2bn4swf0w8jy5inhg61cwld9d7hwanmdnj")))) (build-system gnu-build-system) (supported-systems '("i686-linux" "x86_64-linux")) (propagated-inputs - `(("nyacc" ,nyacc))) + `(("mescc-tools" ,mescc-tools) + ("nyacc" ,nyacc))) (native-inputs `(("guile" ,guile-2.2) ,@(if (string-prefix? "x86_64-linux" (or (%current-target-system) -- cgit v1.2.3 From ef2c7fb5da058030677da4abe9fec177357ee25d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 21:04:09 +0300 Subject: gnu: libgcrypt: Add mitigation for CVE-2017-7526. * gnu/packages/gnupg.scm (libgcrypt)[replacment]: New field. (libgcrypt-1.7.8): New variable. (libgcrypt-1.5)[replacment]: New field. --- gnu/packages/gnupg.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 9efd32a3f8..e42afbafda 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2014, 2015, 2016 Mark H Weaver ;;; Copyright © 2015 Paul van der Walt -;;; Copyright © 2015, 2016 Efraim Flashner +;;; Copyright © 2015, 2016, 2017 Efraim Flashner ;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2016 Christopher Allan Webber ;;; Copyright © 2016 ng0 @@ -82,6 +82,7 @@ Daemon and possibly more in the future.") (define-public libgcrypt (package (name "libgcrypt") + (replacement libgcrypt-1.7.8) (version "1.7.6") (source (origin (method url-fetch) @@ -115,8 +116,22 @@ generation.") (properties '((ftp-server . "ftp.gnupg.org") (ftp-directory . "/gcrypt/libgcrypt"))))) +(define libgcrypt-1.7.8 + (package + (inherit libgcrypt) + (replacement #f) + (version "1.7.8") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-" + version ".tar.bz2")) + (sha256 + (base32 + "16f1rsv4y4w2pk1il2jbcqggsb6mrlfva5vayd205fp68zm7d0ll")))))) + (define-public libgcrypt-1.5 (package (inherit libgcrypt) + (replacement #f) (version "1.5.6") (source (origin -- cgit v1.2.3 From 86ee76254bbb3c148907c142dc08c006778349bb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 23:08:02 +0300 Subject: gnu: thermald: Only build on i686 and x86_64. * gnu/packages/admin.scm (thermald)[supported-systems]: New field. --- gnu/packages/admin.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2cc5200a06..5bb98865bf 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2263,4 +2263,6 @@ make it a perfect utility on modern distros.") (synopsis "CPU scaling for thermal management") (description "The Linux Thermal Daemon helps monitor and control temperature on systems running the Linux kernel.") + ;; arm and aarch64 don't have cpuid.h + (supported-systems '("i686-linux" "x86_64-linux")) (license license:gpl2+))) -- cgit v1.2.3 From 1b6d3b7a23d7f0b0dda18f3edeb8c5007ca61cc3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Jun 2017 23:09:19 +0300 Subject: gnu: thermald: Add file-name for source. * gnu/packages/admin.scm (thermald)[source]: Add file-name field. --- gnu/packages/admin.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5bb98865bf..7012eb6d4c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2224,6 +2224,7 @@ make it a perfect utility on modern distros.") (method url-fetch) (uri (string-append "https://github.com/01org/thermal_daemon/archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "14klz9fnvi9jdlaqwrp61xa5nh051n8ykrs1fh1wxd7j66qf2fn6")))) (build-system gnu-build-system) -- cgit v1.2.3 From 95bbaa02aa63bc5eae36f686f1ed9915663aa4cf Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 29 Jun 2017 03:10:30 -0400 Subject: gnu: poppler: Fix CVE-2017-{9775,9776}. * gnu/packages/pdf.scm (poppler)[replacement]: New field. (poppler-0.56.0): New variable. (poppler-qt4, poppler-qt5): Use 'package/inherit'. --- gnu/packages/pdf.scm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 5ccaa38eea..dce02a7b57 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -76,6 +76,7 @@ (define-public poppler (package (name "poppler") + (replacement poppler-0.56.0) (version "0.52.0") (source (origin (method url-fetch) @@ -129,15 +130,27 @@ (license license:gpl2+) (home-page "https://poppler.freedesktop.org/"))) -(define-public poppler-qt4 +(define poppler-0.56.0 (package (inherit poppler) + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://poppler.freedesktop.org/poppler-" + version ".tar.xz")) + (sha256 + (base32 + "0wviayidfv2ix2ql0d4nl9r1ia6qi5kc1nybd9vjx27dk7gvm7c6")))))) + +(define-public poppler-qt4 + (package/inherit poppler (name "poppler-qt4") (inputs `(("qt-4" ,qt-4) ,@(package-inputs poppler))) (synopsis "Qt4 frontend for the Poppler PDF rendering library"))) (define-public poppler-qt5 - (package (inherit poppler) + (package/inherit poppler (name "poppler-qt5") (inputs `(("qtbase" ,qtbase) ,@(package-inputs poppler))) -- cgit v1.2.3