aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/idutils.scm
blob: 6d2f00373452b7d9f6a826b4d5b4475ad09b1a53 (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2015, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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 idutils)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix licenses)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages))

(define-public idutils
  (package
    (name "idutils")
    (version "4.6")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/idutils/idutils-"
                                 version ".tar.xz"))
             (sha256
              (base32
               "1hmai3422iaqnp34kkzxdnywl7n7pvlxp11vrw66ybxn9wxg90c1"))
             (modules '((guix build utils)))
             (snippet
              '(begin
                 (substitute* (find-files "lib" "\\.c$")
                   (("#if defined _IO_ftrylockfile")
                    "#if defined _IO_EOF_SEEN"))
                 (substitute* "lib/stdio-impl.h"
                   (("^/\\* BSD stdio derived implementations")
                    (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
                                   "# define _IO_IN_BACKUP 0x100\n"
                                   "#endif\n\n"
                                   "/* BSD stdio derived implementations")))

                 ;; 'gets' is deprecated in glibc 2.33 and its declaration is
                 ;; no longer visible by default from <stdio.h>.
                 (substitute* "lib/stdio.in.h"
                   (("_GL_WARN_ON_USE \\(gets.*") ""))))))
    (build-system gnu-build-system)
    (arguments
     ;; XXX: These Gnulib tests fail with GCC 10 and glibc 2.33; skip them.
     '(#:make-flags '("XFAIL_TESTS=test-sprintf-posix test-isnanl-nolibm")))
    (native-inputs `(("emacs" ,emacs-minimal)))
    (home-page "https://www.gnu.org/software/idutils/")
    (synopsis "Identifier database utilities")
    (description
     "The GNU idutils package includes tools to create an index of textual
tokens used in a list of file names and then to query that index.  Thus, it
allows the user to, for example, find all the uses of a particular function
in a large programming project.  In addition to handling textual tokens, it
can also handle numeric constants and the contents of character strings.")
    (license gpl3+)))
-sudo: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-sudo): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-session: Update to 1.1.1, don't hardcode /run/current-system....* gnu/packages/lxqt.scm (lxqt-session): Update to 1.1.1. [inputs]: Add qtxdg-tools, remove libqtxdg. [arguments]<phases>: Remove patching of LXQT_ETC_XDG_DIR and LXQT_TRANSLATIONS_DIR. Remove wrap-program. [native-search-paths]: Add 'XDG_CONFIG_DIRS'. 宋文武 2022-08-22gnu: lxqt-runner: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-runner): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-qtplugin: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-qtplugin): Update to 1.1.0. 宋文武 2022-08-22gnu: lxqt-powermanagement: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-powermanagement): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-policykit: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-policykit): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-panel: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-panel): Update to 1.1.0. [inputs]: Add libxtst and xcb-util-image. [arguments]: Remove patch-source and patch-translations-dir phases. 宋文武 2022-08-22gnu: lxqt-openssh-askpass: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-openssh-askpass): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-notificationd: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-notificationd): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-globalkeys: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-globalkeys): Update to 1.1.0. [arguments]: Remove phases. 宋文武 2022-08-22gnu: lxqt-config: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-config): Update to 1.1.0. [arguments]: Remove patch-source and patch-translations-dir phases. 宋文武 2022-08-22gnu: lxqt-admin: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-admin): Update to 1.1.0. [arguments]: Remove patch-translations-dir phase. 宋文武 2022-08-22gnu: lxqt-about: Update to 1.1.0....* gnu/packages/lxqt.scm (lxqt-about): Update to 1.1.0. [arguments]: Remove patch-translations-dir phase. 宋文武 2022-08-22gnu: libsysstat: Update to 0.4.6....* gnu/packages/lxqt.scm (libsysstat): Update 0.4.6. 宋文武 2022-08-22gnu: liblxqt: Update to 1.1.0....* gnu/packages/lxqt.scm (liblxqt): Update to 1.1.0. [arguments]: Remove patch-translations-dir phase. 宋文武 2022-08-22gnu: Add qtxdg-tools....* gnu/packages/lxqt.scm (qtxdg-tools): New variable. 宋文武 2022-08-22gnu: libqtxdg: Update to 3.9.1....* gnu/packages/lxqt.scm (libqtxdg): Update to 3.9.1. 宋文武 2022-08-22gnu: lxqt-build-tools: Update to 0.11.0....* gnu/packages/lxqt.scm (lxqt-build-tools) [version]: Update to 0.11.0. [arguments]: Configure LXQtConfigVars.cmake to use relative paths. 宋文武 2022-07-31gnu: qttools: Rename to qttools-5....Automated with: git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i git checkout NEWS Maxim Cournoyer 2022-07-31gnu: qtsvg: Rename variable to qtsvg-5....This is in preparation of the qtsvg update to version 6. This change was automated via the following command: git grep -l '\bqtsvg\b' | xargs sed 's/qtsvg/qtsvg-5/g' -i Maxim Cournoyer