all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33209] [PATCH 0/2] Update quaternion
@ 2018-10-30 17:52 Arun Isaac
  2018-10-30 17:59 ` [bug#33209] [PATCH 1/2] gnu: libqmatrixclient: Update to 0.4.0 Arun Isaac
  2018-10-30 22:55 ` [bug#33209] [PATCH 0/2] Update quaternion Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: Arun Isaac @ 2018-10-30 17:52 UTC (permalink / raw)
  To: 33209

This patchset updates libqmatrixclient and quaternion.

Arun Isaac (2):
  gnu: libqmatrixclient: Update to 0.4.0.
  gnu: quaternion: Update to 0.0.9.3.

 gnu/packages/messaging.scm | 40 +++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

-- 
2.19.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#33209] [PATCH 1/2] gnu: libqmatrixclient: Update to 0.4.0.
  2018-10-30 17:52 [bug#33209] [PATCH 0/2] Update quaternion Arun Isaac
@ 2018-10-30 17:59 ` Arun Isaac
  2018-10-30 17:59   ` [bug#33209] [PATCH 2/2] gnu: quaternion: Update to 0.0.9.3 Arun Isaac
  2018-10-30 22:55 ` [bug#33209] [PATCH 0/2] Update quaternion Leo Famulari
  1 sibling, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2018-10-30 17:59 UTC (permalink / raw)
  To: 33209

* gnu/packages/messaging.scm (libqmatrixclient): Update to 0.4.0.
---
 gnu/packages/messaging.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 0090fe12c..3097f1aa2 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1648,7 +1648,7 @@ notifications, and Python scripting support.")
 (define-public libqmatrixclient
   (package
     (name "libqmatrixclient")
-    (version "0.3.0.2")
+    (version "0.4.0")
     (source
      (origin
        (method git-fetch)
@@ -1658,7 +1658,7 @@ notifications, and Python scripting support.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "03pxmr4wa818fgqddkr2fkwz6pda538x3ic9yq7c40x98zqf55w5"))))
+         "1llzqjagvp91kcg26q5c4qw9aaz7wna3rh6k06rc3baivrjqf3cn"))))
     (build-system cmake-build-system)
     (inputs
      `(("qtbase" ,qtbase)))
-- 
2.19.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#33209] [PATCH 2/2] gnu: quaternion: Update to 0.0.9.3.
  2018-10-30 17:59 ` [bug#33209] [PATCH 1/2] gnu: libqmatrixclient: Update to 0.4.0 Arun Isaac
@ 2018-10-30 17:59   ` Arun Isaac
  0 siblings, 0 replies; 5+ messages in thread
From: Arun Isaac @ 2018-10-30 17:59 UTC (permalink / raw)
  To: 33209

* gnu/packages/messaging.scm (quaternion): Update to 0.0.9.3.
[inputs]: Add qtquickcontrols, qtsvg and qttools.
[arguments]: Remove fix-libqmatrixclient-dynamic-linking phase. Add
wrap-program phase.
---
 gnu/packages/messaging.scm | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 3097f1aa2..de33d737e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1676,7 +1676,7 @@ QMatrixClient project.")
 (define-public quaternion
   (package
     (name "quaternion")
-    (version "0.0.9.2")
+    (version "0.0.9.3")
     (source
      (origin
        (method git-fetch)
@@ -1686,31 +1686,31 @@ QMatrixClient project.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0zrr4khbbdf5ziq65gi0cb1yb1d0y5rv18wld22w1x96f7fkmrib"))))
+         "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3"))))
     (build-system cmake-build-system)
     (inputs
      `(("libqmatrixclient" ,libqmatrixclient)
        ("qtbase" ,qtbase)
-       ("qtdeclarative" ,qtdeclarative)))
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtquickcontrols" ,qtquickcontrols)
+       ("qtsvg" ,qtsvg)
+       ("qttools" ,qttools)))
     (arguments
      `(#:tests? #f ; No tests
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'fix-libqmatrixclient-dynamic-linking
-           ;; Upstream recommends statically linking with
-           ;; libqmatrixclient. Patch the source so that we can dynamically
-           ;; link instead. In a future release, when upstream moves to
-           ;; dynamic linking, remove this phase.
-           (lambda _
-             (substitute* "CMakeLists.txt"
-               (("^add_subdirectory\\(lib\\)" all)
-                (string-append "#" all)))
-             (for-each
-              (lambda (file)
-                (substitute* file
-                  (("#include \"lib/([^\"]*)\"" all header)
-                   (string-append "#include <" header ">"))))
-              (find-files "client" "\\.(cpp|h)$"))
+         (add-after 'install 'wrap-program
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (wrap-program (string-append (assoc-ref outputs "out")
+                                          "/bin/quaternion")
+               `("QT_PLUGIN_PATH" ":" prefix
+                 (,(string-append (assoc-ref inputs "qtsvg")
+                                  "/lib/qt5/plugins")))
+               `("QML2_IMPORT_PATH" ":" prefix
+                 ,(map (lambda (label)
+                         (string-append (assoc-ref inputs label)
+                                        "/lib/qt5/qml"))
+                       '("qtdeclarative" "qtquickcontrols"))))
              #t)))))
     (home-page "https://matrix.org/docs/projects/client/quaternion.html")
     (synopsis "Graphical client for the Matrix instant messaging protocol")
-- 
2.19.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#33209] [PATCH 0/2] Update quaternion
  2018-10-30 17:52 [bug#33209] [PATCH 0/2] Update quaternion Arun Isaac
  2018-10-30 17:59 ` [bug#33209] [PATCH 1/2] gnu: libqmatrixclient: Update to 0.4.0 Arun Isaac
@ 2018-10-30 22:55 ` Leo Famulari
  2018-10-31  4:27   ` bug#33209: " Arun Isaac
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2018-10-30 22:55 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 33209

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

On Tue, Oct 30, 2018 at 11:22:13PM +0530, Arun Isaac wrote:
> This patchset updates libqmatrixclient and quaternion.
> 
> Arun Isaac (2):
>   gnu: libqmatrixclient: Update to 0.4.0.
>   gnu: quaternion: Update to 0.0.9.3.

LGTM, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#33209: [PATCH 0/2] Update quaternion
  2018-10-30 22:55 ` [bug#33209] [PATCH 0/2] Update quaternion Leo Famulari
@ 2018-10-31  4:27   ` Arun Isaac
  0 siblings, 0 replies; 5+ messages in thread
From: Arun Isaac @ 2018-10-31  4:27 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 33209-done


Pushed, thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-31  4:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 17:52 [bug#33209] [PATCH 0/2] Update quaternion Arun Isaac
2018-10-30 17:59 ` [bug#33209] [PATCH 1/2] gnu: libqmatrixclient: Update to 0.4.0 Arun Isaac
2018-10-30 17:59   ` [bug#33209] [PATCH 2/2] gnu: quaternion: Update to 0.0.9.3 Arun Isaac
2018-10-30 22:55 ` [bug#33209] [PATCH 0/2] Update quaternion Leo Famulari
2018-10-31  4:27   ` bug#33209: " Arun Isaac

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.