all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 65280@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#65280] [PATCH v2 03/59] etc: Add Qt manifests for Qt maintenance.
Date: Wed, 16 Aug 2023 08:10:19 -0400	[thread overview]
Message-ID: <32fca03a51c37e46d44b39d32b11a87038b04c8b.1692187578.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1692187578.git.maxim.cournoyer@gmail.com>

* etc/teams/qt/common.scm: New file.
* etc/teams/qt/qt-manifest.scm: Likewise.
* etc/teams/qt/qt5-manifest.scm: Likewise.
---

(no changes since v1)

 etc/teams/qt/common.scm       | 50 +++++++++++++++++++++++++++++++++++
 etc/teams/qt/qt-manifest.scm  | 34 ++++++++++++++++++++++++
 etc/teams/qt/qt5-manifest.scm | 34 ++++++++++++++++++++++++
 3 files changed, 118 insertions(+)
 create mode 100644 etc/teams/qt/common.scm
 create mode 100644 etc/teams/qt/qt-manifest.scm
 create mode 100644 etc/teams/qt/qt5-manifest.scm

diff --git a/etc/teams/qt/common.scm b/etc/teams/qt/common.scm
new file mode 100644
index 0000000000..8e11ac220b
--- /dev/null
+++ b/etc/teams/qt/common.scm
@@ -0,0 +1,50 @@
+;;; 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/>.
+
+;;; This file returns a manifest of packages related to linux-libre.
+;;; Simplistically, it selects packages whose names begin with "linux-libre".
+;;; It is used to assist continuous integration of the kernel packages.
+
+(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)))
+         '()))))
diff --git a/etc/teams/qt/qt-manifest.scm b/etc/teams/qt/qt-manifest.scm
new file mode 100644
index 0000000000..0d8fa95bfe
--- /dev/null
+++ b/etc/teams/qt/qt-manifest.scm
@@ -0,0 +1,34 @@
+;;; 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/>.
+
+;;; This file returns a manifest of packages related to linux-libre.
+;;; Simplistically, it selects packages whose names begin with "linux-libre".
+;;; It is used to assist continuous integration of the kernel packages.
+
+(load "common.scm")
+
+;;; Commentary:
+;;;
+;;; This manifest can be used to update the latest Qt packages collection, via
+;;; e.g.:
+;;;
+;;; ./pre-inst-env guix refresh -u -m etc/teams/qt/qt-manifest.scm
+;;;
+;;; Code:
+
+(qt-packages-manifest #:major-version "5" #:negate-version-test? #t)
diff --git a/etc/teams/qt/qt5-manifest.scm b/etc/teams/qt/qt5-manifest.scm
new file mode 100644
index 0000000000..34fdf479bf
--- /dev/null
+++ b/etc/teams/qt/qt5-manifest.scm
@@ -0,0 +1,34 @@
+;;; 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/>.
+
+;;; This file returns a manifest of packages related to linux-libre.
+;;; Simplistically, it selects packages whose names begin with "linux-libre".
+;;; It is used to assist continuous integration of the kernel packages.
+
+(load "common.scm")
+
+;;; Commentary:
+;;;
+;;; This manifest can be used to update the Qt 5 packages collection, via
+;;; e.g.:
+;;;
+;;; ./pre-inst-env guix refresh -u -m etc/teams/qt/qt5-manifest.scm --target-version=5.15.10
+;;;
+;;; Code:
+
+(qt-packages-manifest #:major-version "5")
-- 
2.41.0





  parent reply	other threads:[~2023-08-16 12:18 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  4:21 [bug#65280] [PATCH 00/26] Refresh Qt 6 packages Maxim Cournoyer
2023-08-16 10:56 ` 宋文武 via Guix-patches via
2023-08-16 12:19   ` [bug#65280] [PATCH v2 00/59] Refresh Qt 5 and " Maxim Cournoyer
2023-08-17 11:56     ` 宋文武 via Guix-patches via
2023-08-17 13:47       ` Maxim Cournoyer
2023-08-16 12:10 ` Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 01/59] gnu: qt: Revert to use individual versions instead of %qt5-version Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 02/59] gnu: qtdeclarative: Disable QML cache to avoid stale cache issues Maxim Cournoyer
2023-08-16 12:10   ` Maxim Cournoyer [this message]
2023-08-16 12:10   ` [bug#65280] [PATCH v2 04/59] gnu: qtbase: Update to 6.5.2 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 05/59] gnu: qtbase: Enable zstd support Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 06/59] gnu: qt5compat: Update to 6.5.2 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 07/59] gnu: qtsvg: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 08/59] gnu: qtimageformats: Rename variable to qtimageformats-5 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 09/59] gnu: qtimageformats-5: Fix indentation Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 10/59] gnu: Add qtimageformats Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 11/59] gnu: Add qtlanguageserver Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 12/59] gnu: qtdeclarative: Update to 6.5.2 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 13/59] gnu: qtwebsockets: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 14/59] gnu: qtshadertools: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 15/59] gnu: qtmultimedia: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 16/59] gnu: qtwayland: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 17/59] gnu: qtwebchannel: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 18/59] gnu: qtlottie: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 19/59] gnu: qttools: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 20/59] gnu: qttranslations: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 21/59] gnu: qtpositioning: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 22/59] gnu: qtnetworkauth: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 23/59] gnu: qtremoteobjects: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 24/59] gnu: qtwebengine: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 25/59] gnu: Remove qtquickcontrols2 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 26/59] gnu: qt-creator: Update to 11.0.1 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 27/59] gnu: qtbase-5: Update to 5.15.10 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 28/59] gnu: qt3d-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 29/59] gnu: qtsvg-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 30/59] gnu: qtimageformats-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 31/59] gnu: qtx11extras: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 32/59] gnu: qtxmlpatterns: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 33/59] gnu: qtdeclarative-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 34/59] gnu: qtconnectivity: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 35/59] gnu: qtwebsockets-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 36/59] gnu: qtsensors: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 37/59] gnu: qtmultimedia-5: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 38/59] gnu: qtsensors: Shorten line width Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 39/59] gnu: qtmultimedia-5: Shorten maximum " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 40/59] gnu: qtwayland-5: Update to 5.15.10 Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 41/59] gnu: qtserialport: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 42/59] gnu: qtserialbus: " Maxim Cournoyer
2023-08-16 12:10   ` [bug#65280] [PATCH v2 43/59] gnu: qtwebchannel-5: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 44/59] gnu: qtwebglplugin: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 45/59] gnu: qtwebview: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 46/59] gnu: qtlocation: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 47/59] gnu: qttools-5: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 48/59] gnu: qtscript: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 49/59] gnu: qtquickcontrols-5: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 50/59] gnu: qtquickcontrols2-5: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 51/59] gnu: qtgraphicaleffects: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 52/59] gnu: qtgamepad: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 53/59] gnu: qtscxml: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 54/59] gnu: qtpurchasing: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 55/59] gnu: qtcharts: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 56/59] gnu: qtdatavis3d: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 57/59] gnu: qtnetworkauth-5: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 58/59] gnu: qtspeech: " Maxim Cournoyer
2023-08-16 12:11   ` [bug#65280] [PATCH v2 59/59] gnu: qtwebengine-5: " Maxim Cournoyer
2023-08-22 16:36 ` bug#65280: [PATCH 00/26] Refresh Qt 6 packages Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32fca03a51c37e46d44b39d32b11a87038b04c8b.1692187578.git.maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=65280@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.