aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2016, 2017, 2019, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016–2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 ( <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages moreutils)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages docbook)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages xml)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module (guix gexp)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils))

(define-public moreutils
  (package
    (name "moreutils")
    (version "0.69")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://git.joeyh.name/index.cgi/moreutils.git/snapshot/"
                    name "-" version ".tar.gz"))
              (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
                "1l859qnzccslvxlh5ghn863bkq2vgmqgnik6jr21b9kc6ljmsy8g"))))
    (build-system gnu-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'wrap-program
                 (lambda _
                   (for-each
                     (lambda (script)
                       (wrap-program script
                         `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
                     (find-files (string-append #$output "/bin")))))
               (delete 'configure))     ; no configure script
           #:make-flags
           #~(list (string-append "PREFIX=" #$output)
                   (string-append "DOCBOOKXSL="
                                  #$(this-package-native-input "docbook-xsl")
                                  "/xml/xsl/docbook-xsl-"
                                  #$(package-version (this-package-native-input
                                                      "docbook-xsl")))
                   (string-append "CC=" #$(cc-for-target)))))
    (inputs
     (list bash-minimal
           perl
           perl-ipc-run
           perl-timedate
           perl-time-duration))
    ;; For building the manual pages.
    (native-inputs
     (list docbook-xml-4.4
           docbook-xsl
           libxml2
           libxslt))
    (home-page "https://joeyh.name/code/moreutils/")
    (synopsis "Miscellaneous general-purpose command-line tools")
    (description
     "Moreutils is a collection of general-purpose command-line tools to
augment the traditional Unix toolbox.")
    (properties
     '((release-monitoring-url . "https://git.joeyh.name/index.cgi/moreutils.git/")))
    (license license:gpl2+)))
2024-07-18 10:45:33 +0800'>2024-07-18gnu: kaffeine: Fix build....* gnu/packages/kde-multimedia.scm (kaffeine): Fix build. [inputs]: Remove kcoreaddons, kdbusaddons, ki18n, kio, kwidgetsaddons, kwindowsystem, kxmlgui, and solid; add kcoreaddons-5, kdbusaddons-5, ki18n-5, kio-5, kwidgetsaddons-5, kwindowsystem-5, kxmlgui-5, and solid-5. [native-inputs]: Remove kdoctools; add kdoctools-5. Change-Id: I4a669ce27252b2ec41c6e2edf36efc442d8c5e06 Zheng Junjie 2024-07-18gnu: k3b: Use new style....* gnu/packages/kde-multimedia.scm (k3b): Use news style. [arguments]: Use Gexps; Remove tailed #t. Change-Id: I154d271ce2b0ba3722490db77d25fce2611b4ee8 Zheng Junjie 2024-07-18gnu: k3b: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (k3b): Update to 24.05.2. [inputs]: Remove karchive, kcmutils, kconfig, kcoreaddons, kfilemetadata, ki18n, kiconthemes, kio, kjobwidgets, knewstuff, knotifications, knotifyconfig, kservice, kwidgetsaddons, kxmlgui, libkcddb, qtbase-5, and solid; add karchive-5, kcmutils-5, kconfig-5, kcoreaddons-5, kfilemetadata-5, ki18n-5, kiconthemes-5, kio-5, kjobwidgets-5, knewstuff-5, knotifications-5, knotifyconfig-5, kservice-5, kwidgetsaddons-5, kxmlgui-5, libkcddb-qt5, and solid-5. [native-inputs]: Remove kdoctools; add kdoctools-5. Change-Id: Ic26400e74b17e062afb70c076e69cce593e51b6f Zheng Junjie 2024-07-18gnu: Add libkcddb-qt5....* gnu/packages/kde-multimedia.scm (libkcddb-qt5): New variable. Change-Id: Ieac08e2f33f75ce4beb273b12bfe38d2e9f69d59 Zheng Junjie 2024-07-18gnu: juk: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (juk): Update to 24.05.2. [inputs]: Remove qtbase-5 and qtsvg-5; add kstatusnotifieritem, qtbase, and qtsvg. [arguments]: Set #:qtbase to qtbase. Change-Id: I79ef57ae680ab9ebdf109e3dbf4d7fe29563eb0b Zheng Junjie 2024-07-18gnu: dragon: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (dragon): Update to 24.05.2. [inputs]: Remove qtbase-5. [arguments]: Set #:qtbase to qtbase. Change-Id: Ie28e9d040fd7d722e952555626f7670d0874b7ad Zheng Junjie 2024-07-18gnu: kid3: Update to 3.9.5....* gnu/packages/kde-multimedia.scm (kid3): Update to 3.9.5. [inputs]: Remove qtbase-5, qtdeclarative-5, and qtmultimedia-5; add qtdeclarative and qtmultimedia. [native-inputs]: Remove python-wrapper and qttools-5; add python-minimal-wrapper and qttools. [arguments]: Set #:qtbase to qtbase. <#:configure-flags>: Pass -DBUILD_WITH_QT6=ON. Change-Id: I078ce62f2c4e1e8c9726a531d1c3580baed0ce25 Zheng Junjie 2024-07-18gnu: ffmpegthumbs: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (ffmpegthumbs): Update to 24.05.2. [inputs]: Remove qtbase-5. [arguments]: Set #:qtbase to qtbase. <#:configure-flags>: Pass -DQT_MAJOR_VERSION=6. Change-Id: I982fd319142a59c8655edb5633ec51cf3826c9d3 Zheng Junjie 2024-07-18gnu: audiocd-kio: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (audiocd-kio): Update to 24.05.2. [inputs]: Remove qtbase-5. [arguments]: Set #:qtbase to qtbase. Change-Id: I469c91811a2bb9e46dab363b488b02f2992b582a Zheng Junjie 2024-07-18gnu: libkcompactdisc: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (libkcompactdisc): Update to 24.05.2. [inputs]: Remove qtbase-5. [arguments]: Set #:qtbase to qtbase. <#:configure-flags>: Pass -DQT_MAJOR_VERSION=6. Change-Id: I5b59b66fa7cc1d49fd39c399bb319bae50ca9841 Zheng Junjie 2024-07-18gnu: libkcddb: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (libkcddb): Update to 24.05.2. [inputs]: Remove qtbase-5. [arguments]: Set #:qtbase to qtbase. <#:configure-flags>: Pass -DQT_MAJOR_VERSION=6. Change-Id: I0b1b6f3e29bd008e9c1f50b1686db1403241a3c1 Zheng Junjie 2024-07-18gnu: Remove kmplayer....* gnu/packages/kde-multimedia.scm (kmplayer): Delete variable. Change-Id: I8c6d10503e88830fa691c6b6587c9dc3430d214d Zheng Junjie 2024-07-18gnu: elisa: Update to 24.05.2....* gnu/packages/kde-multimedia.scm (elisa): Update to 24.05.2. [inputs]: Remove kmediaplayer, qtbase-5, qtdeclarative-5, qtgraphicaleffects, qtmultimedia-5, qtquickcontrols-5, qtquickcontrols2-5, qtsvg-5, and qtx11extras; add kirigami-addons, qqc2-desktop-style, qtsvg, qtdeclarative, and qtmultimedia. [native-inputs]: Add python-minimal. [arguments]: Set #:qtbase to qtbase. Change-Id: Ib0e028e2da7940445c1227582b4ad262ae19d816 Zheng Junjie 2024-05-06gnu: elisa: Update to 23.08.5....* gnu/packages/kde-multimedia.scm (elisa): Update to 23.08.5. [arguments]: Remove trailing #t from phases. Change-Id: I4de0b34ce52baefeed5aaeb493fa54d14515fcef Efraim Flashner 2024-05-01gnu: juk: Switch to Phonon-VLC backend....* gnu/packages/kde-multimedia.scm (juk)[inputs]: Remove phonon-backend-gstreamer. Add phonon-backend-vlc. Change-Id: I2bca0b91e10efdb5c30ce0b9059b8372256bf44c Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Sughosha via Guix-patches via 2024-05-01gnu: dragon: Switch to Phonon-VLC backend....* gnu/packages/kde-multimedia.scm (dragon): Delete [arguments]. [inputs]: Remove phonon-plugin-gstreamer, gst-plugins-base and gst-plugins-good. Add phonon-plugin-vlc. Change-Id: I162717269085cfc025b03a3cc24b5f99346ce0be Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Sughosha via Guix-patches via 2023-08-19Merge branch 'master' into gnome-teamLiliana Marie Prikler 2023-08-03gnu: kamoso: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (kamoso): Update to 23.04.3. 宋文武 2023-08-03gnu: k3b: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (k3b): Update to 23.04.3. 宋文武 2023-08-03gnu: juk: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (juk): Update to 23.04.3. 宋文武 2023-08-03gnu: ffmpegthumbs: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (ffmpegthumbs): Update to 23.04.3. 宋文武 2023-08-03gnu: elisa: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (elisa): Update to 23.04.3. 宋文武 2023-08-03gnu: dragon: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (dragon): Update to 23.04.3. 宋文武 2023-08-03gnu: audiocd-kio: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (audiocd-kio): Update to 23.04.3. 宋文武 2023-08-02gnu: libkcddb: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (libkcddb): Update to 23.04.3. [inputs]: Add kcmutils. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie 2023-08-02gnu: libkcompactdisc: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (libkcompactdisc): Update to 23.04.3. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie 2023-08-02gnu: kid3: Update to 3.9.4....* gnu/packages/kde-multimedia.scm (kid3): Update to 3.9.4. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie 2023-08-02gnu: kwave: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (kwave): Update to 23.04.3. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie 2023-08-02gnu: kmix: Update to 23.04.3....* gnu/packages/kde-multimedia.scm (kmix): Update to 23.04.3. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie 2023-06-24gnu: shared-mime-info: Move to (gnu packages freedesktop)....* gnu/packages/gnome.scm (shared-mime-info): Move to … * gnu/packages/freedesktop.scm: … here. * gnu/packages/gnuzilla.scm: Use (gnu packages freedesktop). * gnu/packages/kde-games.scm: Ditto. * gnu/packages/kde-multimedia.scm: Ditto. * gnu/packages/kde-pim.scm: Ditto. * gnu/packages/kde-utils.scm: Ditto. * gnu/packages/maths.scm: Ditto. * gnu/packages/mp3.scm: Ditto. * gnu/packages/ruby.scm: Ditto. * guix/profiles.scm (xdg-mime-database): Adjust to new location. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Bruno Victal 2023-03-03services: desktop: Deprecate 'udisks-service' procedure....* doc/guix.texi (Desktop Services): Replace 'udisks-service' with 'udisks-service-type'. Document <udisks-configuration>. * gnu/packages/kde-multimedia.scm (k3b)[description]: Replace 'udisks-service' with 'udisks-service-type'. * gnu/services/desktop.scm (udisks-service-type): Set default value. (udisks-service): Deprecate procedure. (desktop-services-for-system): Use udisks-service-type. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Bruno Victal