aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; 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/>.

(use-modules (guix packages)
             (guix profiles)
             (guix utils)
             (gnu packages))

(define* (qt-packages-manifest #:key major-version negate-version-test?)
  "Return a manifest of Qt packages for MAJOR-VERSION, or any version if left
unspecified.  If NEGATE-VERSION-TEST? is true, select all the Qt packages
*not* matching MAJOR-VERSION."
  (manifest
   (map package->manifest-entry
        (fold-packages
         (lambda (package lst)
           (let ((uri (and=> (package-source package)
                             (lambda (x)
                               (and (origin? x)
                                    (origin-uri x))))))
             (if (and uri
                      (string? uri)
                      (string-prefix? "mirror://qt/" uri)
                      (if major-version
                          ((if negate-version-test? not identity)
                           (string=? major-version (version-major
                                                    (package-version package))))
                          #t))
                 (cons package lst)
                 lst)))
         '()))))
jan 2020-08-15gnu: man-pages: Update to 5.08....* gnu/packages/man.scm (man-pages): Update to 5.08. Tobias Geerinckx-Rice 2020-07-01gnu: man-db: Update to 2.9.3....* gnu/packages/man.scm (man-db): Update to 2.9.3. Tobias Geerinckx-Rice 2020-06-10gnu: man-pages: Update to 5.07....* gnu/packages/man.scm (man-pages): Update to 5.07. Tobias Geerinckx-Rice 2020-06-05gnu: man-db: Update to 2.9.2....* gnu/packages/man.scm (man-db): Update to 2.9.2. Tobias Geerinckx-Rice 2020-04-15Merge branch 'master' into core-updatesMarius Bakke 2020-04-14gnu: man-pages: Update to 5.06....* gnu/packages/man.scm (man-pages): Update to 5.06. Tobias Geerinckx-Rice 2020-04-08Merge branch 'master' into core-updates... Conflicts: etc/news.scm gnu/local.mk gnu/packages/check.scm gnu/packages/cross-base.scm gnu/packages/gimp.scm gnu/packages/java.scm gnu/packages/mail.scm gnu/packages/sdl.scm gnu/packages/texinfo.scm gnu/packages/tls.scm gnu/packages/version-control.scm Marius Bakke 2020-04-04gnu: man-db: Make some inputs native....* gnu/packages/man.scm (man-db)[inputs]: Move flex from here... [native-inputs]: ...to here. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Vincent Legoll 2020-03-31gnu: scdoc: Update to 1.10.1....* gnu/packages/man.scm (scdoc): Update to 1.10.1. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Alexandru-Sergiu Marton 2020-03-30Merge branch 'master' into core-updates... Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/guile.scm gnu/packages/linux.scm gnu/packages/package-management.scm gnu/packages/pulseaudio.scm gnu/packages/web.scm Marius Bakke 2020-03-29gnu: txt2man: Don't use unstable tarball....* gnu/packages/man.scm (txt2man)[source]: Download using git-fetch. Efraim Flashner 2020-03-27gnu: help2man: Remove version 1.47.12....* gnu/packages/man.scm (help2man): Update to 1.47.13. (help2man/latest): Remove variable. Marius Bakke 2020-03-27Merge branch 'master' into core-updates... Conflicts: gnu/packages/icu4c.scm gnu/packages/man.scm gnu/packages/python-xyz.scm guix/scripts/environment.scm guix/scripts/pack.scm guix/scripts/package.scm guix/scripts/pull.scm guix/store.scm Marius Bakke 2020-03-26gnu: help2man: Update to 1.47.13....* gnu/packages/man.scm (help2man/latest): Update to 1.47.13. Marius Bakke