Package Details: quaternion-git 0.0.96.1.r35.g54fc44d-2

Git Clone URL: https://aur.archlinux.org/quaternion-git.git (read-only, click to copy)
Package Base: quaternion-git
Description: Qt-based IM client for the Matrix protocol
Upstream URL: https://github.com/quotient-im/Quaternion
Licenses: GPL-3.0-or-later, LGPL-2.1-or-later
Conflicts: quaternion
Provides: quaternion
Submitter: mweinelt
Maintainer: xiota
Last Packager: xiota
Votes: 19
Popularity: 0.000000
First Submitted: 2016-06-05 19:19 (UTC)
Last Updated: 2024-11-18 21:35 (UTC)

Latest Comments

1 2 3 Next › Last »

xiota commented on 2024-11-11 20:02 (UTC) (edited on 2024-11-11 21:32 (UTC) by xiota)

@CyberShadow dreieck's patch is unsuitable and buries the previous comment that actually describes the issue.

This package builds against libquotient from git because aur/quaternion-git uses latest features that were (and may again be) incompatible with extra/libquotient. The stable package aur/quaternion had a similar issue.

CyberShadow commented on 2024-11-11 19:50 (UTC)

@xiota This is not your website, and just because you are the current maintainer, it does not make it "your" package. dreieck went through the effort of posting a patch that fixes a problem with this package, the least you can do is be kind. Many "pastebin" websites are awful and force ads or expire content, making contributions later hard to recover. If you have a problem with aurweb allowing large blocks of code, I suggest that you submit a patch to aur-devel instead of policing other users' fair use of this website. Thank you.

xiota commented on 2024-11-11 19:36 (UTC)

@dreieck Please do not paste large blocks of text in comments at any of my packages. Use a pastebin.

dreieck commented on 2024-11-11 17:58 (UTC)

Regarding this issue (unnoted conflict with libquotient):

The following changes to the PKGBUILD make quaternion-git using system-installed libquotient, building successfully against it, and making it usable:

--- PKGBUILD.org    2024-11-11 18:41:51.260057917 +0100
+++ PKGBUILD    2024-11-11 18:56:08.800066112 +0100
@@ -1,2 +1,3 @@
-# Maintainer:
+# Maintainer: xiota
+# Contributor: dreieck
 # Contributor: morguldir <morguldir@protonmail.com>
@@ -21,2 +22,3 @@
   libolm
+  libquotient
   qt6-declarative
@@ -39,9 +41,2 @@
   "$_pkgsrc"::"git+$url.git"
-
-  # submodules for quaternion
-  "libquotient"::'git+https://github.com/quotient-im/libQuotient'
-
-  # submodules for libquotient
-  'gtad'::'git+https://github.com/quotient-im/gtad.git'
-  'doxygen-awesome-css'::'git+https://github.com/jothepro/doxygen-awesome-css.git'
 )
@@ -49,5 +44,2 @@
   'SKIP'
-  'SKIP'
-  'SKIP'
-  'SKIP'
 )
@@ -60,33 +52,2 @@

-_prepare_quaternion() (
-  cd "$_pkgsrc"
-  local _submodules=(
-    'libquotient'::'lib'
-  )
-  _submodule_update
-)
-
-_prepare_libquotient() (
-  cd "$_pkgsrc/lib"
-  local _submodules=(
-    'doxygen-awesome-css'::'doxygen-awesome-css'
-    'gtad'::'gtad/gtad'
-  )
-  _submodule_update
-)
-
-prepare() {
-  _submodule_update() {
-    local _module
-    for _module in "${_submodules[@]}"; do
-      git submodule init "${_module##*::}"
-      git submodule set-url "${_module##*::}" "$srcdir/${_module%::*}"
-      git -c protocol.file.allow=always submodule update "${_module##*::}"
-    done
-  }
-
-  _prepare_quaternion
-  _prepare_libquotient
-}
-
 build() {
@@ -98,5 +59,5 @@
     -DCMAKE_BUILD_TYPE=None
-    -DBUILD_WITH_QT6=ON
-    -DUSE_INTREE_LIBQMC=ON
-    -DBUILD_TESTING=OFF
+    # -DBUILD_WITH_QT6=ON  # 2024-11-11: Option no longer recognised.
+    -DUSE_INTREE_LIBQMC=OFF  # Use system libQuotient
+    # -DBUILD_TESTING=OFF  # 2024-11-11: Option no longer recognises.
     -Wno-dev

Regards!

dreieck commented on 2024-11-11 17:39 (UTC)

This conflicts with a separate installation of the package libquotient (which is needed by e.g. neochat):

quaternion-git: /usr/include/Quotient/accountregistry.h exists in filesystem (owned by libquotient)
quaternion-git: /usr/include/Quotient/application-service/definitions/location.h exists in filesystem (owned by libquotient)
[...]

Can you either use system-provided libquotient, or if really not, than link statically to quaternion's own libQuotient so that the package libquotient can still be installed if needed for other software?

Regards and thanks for the package!

CyberShadow commented on 2023-01-20 22:58 (UTC)

This needs -c protocol.file.allow=always following the Git security fix which now causes fatal: transport 'file' not allowed.

dryya commented on 2022-09-26 18:59 (UTC)

I can confirm that that qtkeychain-qt5 should not be in optdepends - the build fails without it, but all is well when it is installed as a dependency.

Technetium1 commented on 2022-09-15 05:32 (UTC)

qtkeychain-qt5 is NOT optional! This should not remove the icon cache either.

morguldir commented on 2021-10-19 21:36 (UTC)

It was qt5-olm-git which provided qt5-olm for reference, anyway the encryption is optional now so i just removed it.

ISSOtm commented on 2021-07-24 21:46 (UTC)

qt5-olm is not present anywhere anymore, what's going on? Is it libqtolm now?