aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/attr.scm
blob: cd0a997474d2b9280cf1a0b6216d4293f91df290 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2012, 2013, 2016, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages attr)
  #:use-module (guix licenses)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages gettext)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix utils))

(define-public attr
  (package
    (name "attr")
    (version "2.5.1")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://savannah/attr/attr-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "1y6sibbkrcjygv8naadnsg6xmsqwfh6cwrqk01l0v2i5kfacdqds"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         ,@(if (target-hurd?)
               `((add-before 'configure 'skip-linux-syscalls
                   (lambda _
                     ;; Starting from 2.5.1, libattr includes Linux-specific
                     ;; calls to syscall(2).  Comment them out for GNU/Hurd
                     ;; and instead use the glibc-provided wrappers.
                     (substitute* "Makefile.in"
                       (("libattr/syscalls\\.c") "")
                       (("\tlibattr/la-syscalls\\.lo") "")
                       (("-Wl,[[:graph:]]+/libattr\\.lds") "")))))
               '())
         (replace 'check
           (lambda* (#:key target #:allow-other-keys)
             ;; Use the right shell.
             (substitute* "test/run"
               (("/bin/sh")
                (which "sh")))

             ;; When building natively, run the tests.
             ;;
             ;; Note that we use system* and unconditionally return #t here
             ;; to ignore the test result, because the tests will fail when
             ;; the build is performed on a file system without support for
             ;; extended attributes, and we wish to allow Guix to be built
             ;; on such systems.
             (unless target
               (system* "make" "tests" "-C" "test")))))))
    (inputs
     ;; Perl is needed to run tests; remove it from cross builds.
     (if (%current-target-system)
         '()
         `(("perl" ,perl))))
    (native-inputs
     `(("gettext" ,gettext-minimal)))

    (home-page "https://savannah.nongnu.org/projects/attr/")
    (synopsis "Library and tools for manipulating extended attributes")
    (description
     "Portable library and tools for manipulating extended attributes.")
    (license lgpl2.1+)))
7:38:10 +0800'>2023-08-03gnu: ksirk: Update to 23.04.3....* gnu/packages/kde-games.scm (ksirk): Update to 23.04.3. 宋文武 2023-08-03gnu: granatier: Update to 23.04.3....* gnu/packages/kde-games.scm (granatier): Update to 23.04.3. 宋文武 2023-08-03gnu: bomber: Update to 23.04.3....* gnu/packages/kde-games.scm (bomber): Update to 23.04.3. 宋文武 2023-08-03gnu: knetwalk: Update to 23.04.3....* gnu/packages/kde-games.scm (knetwalk): Update to 23.04.3. 宋文武 2023-08-03gnu: kblackbox: Update to 23.04.3....* gnu/packages/kde-games.scm (kblackbox): Update to 23.04.3. 宋文武 2023-08-03gnu: kfourinline: Update to 23.04.3....* gnu/packages/kde-games.scm (kfourinline): Update to 23.04.3. 宋文武 2023-08-03gnu: kdiamond: Update to 23.04.3....* gnu/packages/kde-games.scm (kdiamond): Update to 23.04.3. 宋文武 2023-08-03gnu: kgoldrunner: Update to 23.04.3....* gnu/packages/kde-games.scm (kgoldrunner): Update to 23.04.3. 宋文武 2023-08-03gnu: klines: Update to 23.04.3....* gnu/packages/kde-games.scm (klines): Update to 23.04.3. 宋文武 2023-08-03gnu: ksudoku: Update to 23.04.3....* gnu/packages/kde-games.scm (ksudoku): Update to 23.04.3. 宋文武 2023-08-03gnu: kblocks: Update to 23.04.3....* gnu/packages/kde-games.scm (kblocks): Update to 23.04.3. 宋文武 2023-08-03gnu: kbounce: Update to 23.04.3....* gnu/packages/kde-games.scm (kbounce): Update to 23.04.3. 宋文武 2023-08-03gnu: konquest: Update to 23.04.3....* gnu/packages/kde-games.scm (konquest): Update to 23.04.3. 宋文武 2023-08-03gnu: kmines: Update to 23.04.3....* gnu/packages/kde-games.scm (kmines): Update to 23.04.3. 宋文武 2023-08-03gnu: kbreakout: Update to 23.04.3....* gnu/packages/kde-games.scm (kbreakout): Update to 23.04.3. 宋文武 2023-08-03gnu: kajongg: Update to 23.04.3....* gnu/packages/kde-games.scm (kajongg): Update to 23.04.3. 宋文武 2023-08-03gnu: kshisen: Update to 23.04.3....* gnu/packages/kde-games.scm (kshisen): Update to 23.04.3. 宋文武 2023-08-03gnu: kmahjongg: Update to 23.04.3....* gnu/packages/kde-games.scm (kmahjongg): Update to 23.04.3. 宋文武 2023-08-03gnu: libkmahjongg: Update to 23.04.3....* gnu/packages/kde-games.scm (libkmahjongg): Update to 23.04.3. 宋文武 2023-08-03gnu: kolf: Update to 23.04.3....* gnu/packages/kde-games.scm (kolf): Update to 23.04.3. 宋文武 2023-08-03gnu: picmi: Update to 23.04.3....* gnu/packages/kde-games.scm (picmi): Update to 23.04.3. 宋文武 2023-08-03gnu: ktuberling: Update to 23.04.3....* gnu/packages/kde-games.scm (ktuberling): Update to 23.04.3. 宋文武 2023-02-17gnu: Make nothing depend on QtWebKit....This is required for <https://issues.guix.gnu.org/53289>. * gnu/packages/qt.scm (python-pyqt)[inputs]: Remove qtwebkit. (python-pyqt-without-qtwebkit): Remove variable. (python-pyqtwebengine)[inputs]: Replace python-pyqt-without-qtwebkit with python-pyqt. * gnu/packages/backup.scm (vorta)[inputs]: Likewise. * gnu/packages/ebook.scm (calibre)[inputs]: Likewise. [arguments]: Adjust accordingly. * gnu/packages/education.scm (anki)[inputs]: Replace python-pyqt-without-qtwebkit with python-pyqt. * gnu/packages/kde-games.scm (kajongg)[inputs]: Likewise. * gnu/packages/maths.scm (veusz)[inputs]: Likewise. * gnu/packages/music.scm (frescobaldi)[inputs]: Likewise. (picard)[inputs]: Likewise. * gnu/packages/orange.scm (orange)[inputs]: Likewise. * gnu/packages/pdf.scm (flyer-composer)[inputs]: Likewise. * gnu/packages/python-check.scm (python-pytest-qt)[propagated-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-qtconsole)[propagated-inputs]: Likewise. (python-pyqtgraph)[propagated-inputs]: Likewise. * gnu/packages/radio.scm (gnuradio)[inputs]: Likewise. * gnu/packages/video.scm (openshot)[inputs]: Likewise. * gnu/packages/vpn.scm (openconnect-sso)[inputs]: Likewise. * gnu/packages/web-browsers.scm (qutebrowser)[inputs]: Likewise. Leo Famulari 2023-01-03gnu: kajongg: Add missing input....* gnu/packages/kde-games.scm (kajongg)[inputs]: Add PYTHON-QTPY. While here, use PYTHON-PYQT-WITHOUT-QTWEBKIT instead of PYTHON-PYQT. Marius Bakke 2022-09-01gnu: KDE Games: Update all packages to 22.04.3....* gnu/packages/kde-games.scm (ktuberling, picmi, kolf, libkmahjongg, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update to 22.04.3. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: KDE Games: Update all packages to 21.12.3....* gnu/packages/kde-games.scm (ktuberling, picmi, kolf, libkmahjongg, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update to 21.12.3. Signed-off-by: Marius Bakke <marius@gnu.org> Brendan Tildesley 2022-09-01gnu: kajongg: Add bash-minimal to inputs....* gnu/packages/kde-games.scm (kajongg): [inputs]: Add bash-minimal. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: KDE Games: Update home-page links....* gnu/package/kde-games.scm (ktuberling, picmi, kolf, kmahjongg, kshisen, kajongg, kbreakout, kmines, konquest, kbounce, kblocks, ksudoku, klines, kgoldrunner, kdiamond, kfourinline, kblackbox, knetwalk, bomber, granatier, ksirk, palapeli, kiriki, kigo, kubrick, lskat, kapman, kspaceduel, bovo, killbots, ksnakeduel, kollision, knavalbattle, kreversi, ksquares, kjumpingcube): Update home-page. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-09-01gnu: Move KDE games to (gnu packages kde-games)....* gnu/packages/games.scm: (ktuberling picmi kolf libkmahjongg kmahjongg kshisen kajongg kbreakout kmines konquest kbounce kblocks ksudoku klines kgoldrunner kdiamond kfourinline kblackbox knetwalk bomber granatier ksirk palapeli kiriki kigo kubrick lskat kapman kspaceduel bovo killbots ksnakeduel kollision knavalbattle kreversi ksquares kjumpingcube): Move to gnu/packages/kde-games.scm. [define-module]: Remove (gnu packages kde), (gnu packages kde-frameworks). * gnu/packages/kde-games.scm: New module. [header]: Copy over any copyrights I could find that affected these games. * gnu/local.mk (GNU_SYSTEM_MODULES): Register it. Why? games.scm is very large, and will only get larger, so splitting it helps. Also, it is convenient for singling out and updating KDE games. Signed-off-by: Marius Bakke <marius@gnu.org> Brendan Tildesley