unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergey Trofimov <sarg@sarg.org.ru>
To: 68500@debbugs.gnu.org
Cc: "Sergey Trofimov" <sarg@sarg.org.ru>,
	"Sergey Trofimov" <sarg@sarg.org.ru>,
	"Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
	"Andreas Enge" <andreas@enge.fr>, 宋文武 <iyzsong@envs.net>
Subject: [bug#68500] [PATCH v1 1/2] gnu: qtscxml: Update to 6.5.2.
Date: Wed, 17 Jan 2024 21:36:44 +0100	[thread overview]
Message-ID: <9b0b983a7d860ae24e0d3bf9eff0e62a301573a1.1705523575.git.sarg@sarg.org.ru> (raw)
In-Reply-To: <cover.1705523575.git.sarg@sarg.org.ru>

* gnu/packages/qt.scm (qtscxml): Update to 6.5.2.
(qtscxml-5): Add qt5 variant.
(python-pyside-2)[inputs]: Use qtscxml-5.
---
 gnu/packages/qt.scm | 43 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 41 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 2b89e7e738..febffff90e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2316,7 +2316,7 @@ (define-public qtgamepad
 primary target audience are embedded devices with fullscreen user interfaces,
 and mobile applications targeting TV-like form factors.")))
 
-(define-public qtscxml
+(define-public qtscxml-5
   (package
     (inherit qtsvg-5)
     (name "qtscxml")
@@ -2344,6 +2344,45 @@ (define-public qtscxml
 generating a C++ file that has a class implementing the state machine.  It
 also contains functionality to support data models and executable content.")))
 
+(define-public qtscxml
+  (package
+    (name "qtscxml")
+    (version "6.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (qt-url name version))
+              (sha256
+               (base32
+                "1jxx9p7zi40r990ky991xd43mv6i8hdpnj2fhl7sf4q9fpng4c58"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (delete-file-recursively "tests/3rdparty")))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'check)               ;move after the install phase
+          (add-after 'install 'check
+            (assoc-ref %standard-phases 'check))
+          (add-before 'check 'check-setup
+            (lambda _
+              (setenv "ARGS" "-E tst_scion")
+              (setenv "QT_QPA_PLATFORM" "offscreen")
+              (setenv "QML2_IMPORT_PATH"
+                      (string-append #$output "/lib/qt6/qml:"
+                                     (getenv "QML2_IMPORT_PATH"))))))))
+    (build-system cmake-build-system)
+    (inputs (list qtbase qtdeclarative libxkbcommon))
+    (synopsis "Qt SCXML module")
+    (description "The Qt SCXML module provides functionality to create state
+machines from SCXML files.  This includes both dynamically creating state
+machines (loading the SCXML file and instantiating states and transitions) and
+generating a C++ file that has a class implementing the state machine.  It
+also contains functionality to support data models and executable content.")
+    (home-page (package-home-page qtbase))
+    (license (package-license qtbase))))
+
 (define-public qtpositioning
   (package
     (name "qtpositioning")
@@ -4453,7 +4492,7 @@ (define-public python-pyside-2
            qtquickcontrols-5
            qtquickcontrols2-5
            qtscript
-           qtscxml
+           qtscxml-5
            qtsensors
            qtspeech
            qtsvg-5
-- 
2.41.0





  reply	other threads:[~2024-01-17 20:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 10:24 [bug#68500] [PATCH 0/2] gnu: ausweisapp: Update to 2.0.2 Sergey Trofimov
2024-01-16 10:28 ` [bug#68500] [PATCH 1/2] gnu: qtscxml: Update to 6.5.2 Sergey Trofimov
2024-01-17 14:02   ` Maxim Cournoyer
2024-01-16 10:28 ` [bug#68500] [PATCH 2/2] gnu: ausweisapp: Update to 2.0.2 Sergey Trofimov
2024-01-17 20:36 ` [bug#68500] [PATCH v1 0/2] " Sergey Trofimov
2024-01-17 20:36   ` Sergey Trofimov [this message]
2024-01-17 20:36   ` [bug#68500] [PATCH v1 2/2] " Sergey Trofimov
2024-03-04 18:03 ` [bug#68500] [PATCH v2 1/2] gnu: qtscxml: Update to 6.5.2 Sergey Trofimov
2024-03-04 18:03   ` [bug#68500] [PATCH v2 2/2] gnu: ausweisapp: Update to 2.1.0 Sergey Trofimov
2024-03-10  1:28     ` Maxim Cournoyer
2024-03-10  1:21   ` [bug#68500] [PATCH v2 1/2] gnu: qtscxml: Update to 6.5.2 Maxim Cournoyer
2024-03-10  7:26 ` [bug#68500] [PATCH v3 " Sergey Trofimov
2024-03-10  7:26   ` [bug#68500] [PATCH v3 2/2] gnu: ausweisapp: Update to 2.1.0 Sergey Trofimov
2024-03-19  7:45     ` bug#68500: " 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=9b0b983a7d860ae24e0d3bf9eff0e62a301573a1.1705523575.git.sarg@sarg.org.ru \
    --to=sarg@sarg.org.ru \
    --cc=68500@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=iyzsong@envs.net \
    --cc=maxim.cournoyer@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).