Package Details: nheko-git 0.11.3.r704.g2245667f-1

Git Clone URL: https://aur.archlinux.org/nheko-git.git (read-only, click to copy)
Package Base: nheko-git
Description: Desktop client for the Matrix protocol
Upstream URL: https://github.com/Nheko-Reborn/nheko
Keywords: chat matrix protocol qt
Licenses: GPL-3.0-or-later
Conflicts: nheko
Provides: nheko
Submitter: mujx
Maintainer: mujx (redsky17)
Last Packager: redsky17
Votes: 34
Popularity: 0.047578
First Submitted: 2017-05-09 19:19 (UTC)
Last Updated: 2024-02-01 22:35 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

redsky17 commented on 2023-11-24 03:23 (UTC)

I have added kdsingleapplication to the depends section of the PKGBUILD. Please let me know if anything else is missed!

Nep_Nep commented on 2023-11-24 02:44 (UTC)

Seems like kdsingleapplication (https://github.com/Nheko-Reborn/nheko/commit/8ea03e41e063314ea712f4b81db80c2a4cd85c2d) should be added as a dep, the package fails to built without it.

q234rty commented on 2023-08-25 15:40 (UTC)

The issue is that currently the arch version of spdlog does not work with fmt 10.1.0, see https://bugs.archlinux.org/task/79387. One can either patch system spdlog w/ https://github.com/gabime/spdlog/commit/62a4b8ce4ee985e7c7f3c2bbce2195634c5d7ae3, or one can downgrade fmt to 10.0.0, build nheko-git and then upgrade fmt back to 10.1.0.

skyenosaur commented on 2023-08-21 12:56 (UTC)

yeah, i am getting the same error as the last person, something is broken :(

Foucault commented on 2023-08-20 07:50 (UTC) (edited on 2023-08-20 08:21 (UTC) by Foucault)

Has anyone managed to build this recently? I'm getting errors during compilation.

/home/..../.cache/yay/nheko-git/src/nheko-git/build/_deps/coeurl-src/lib/client.cpp:351:27:   required from here
/usr/include/spdlog/logger.h:374:75: error: cannot bind non-const lvalue reference of type ‘const char*&’ 
to an rvalue of type ‘const char*’                                                                        
  374 |             fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(std::forward<Args>(args
)...));                                                                                                   
      |                                                      ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
~~~~~

Switching to system coeurl just moves the problem to the next bundled library until at some point is not possible to progress. The problem might be related to spdlog but using bundled or system spdlog has no difference. Enabling hunter allows nheko to finish building but then segfault at startup.

ryze312 commented on 2023-04-05 12:04 (UTC)

Dependencies are out of date, the package requires gst-plugin-pipewire, otherwise it throws "Missing GStreamer elements: pipewiresrc" error at runtime.

BubuIIC commented on 2023-02-16 09:09 (UTC) (edited on 2023-02-16 12:11 (UTC) by BubuIIC)

Now that nehko is coming to arch proper (https://archlinux.org/packages/community-testing/x86_64/nheko/) I wonder if nheko-git can be changed to be installable in parallel to that? That would greatly improve the beta testing workflow where you can keep a stable version of nheko installed that's supposed to always work and then still can test the current development state.

They'd need to not share their profiles/sessions then as well. Thoughts?

Edit: After discussion in the nheko room it seems that using profiles for the separation of user data should be good enough, which leaves changing the package to not conflict with nheko proper. I have the following patch, which also changes the icon, name and patches the desktop file to launch into the git profile directly. Adapting this fully would require users to either migrate their profile data manually or sign in again in the new profile. The icon is from the nehko room (downscaled with `convert --size AxA to all the required sizes.)

diff --git a/PKGBUILD b/PKGBUILD
index 5558ccd..9fc6c46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,10 +14,23 @@ depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt
 makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json" "asciidoc")
 optdepends=("kimageformats" "qt5-imageformats" "qt-jdenticon")
 provides=("nheko=${pkgver}")
-conflicts=("nheko")

-source=($pkgname::git+https://github.com/Nheko-Reborn/nheko.git#branch=master)
-md5sums=("SKIP")
+source=($pkgname::git+https://github.com/Nheko-Reborn/nheko.git#branch=master
+        nheko-fire-512.png
+        nheko-fire-256.png
+        nheko-fire-128.png
+        nheko-fire-64.png
+        nheko-fire-48.png
+        nheko-fire-32.png
+        nheko-fire-16.png)
+sha256sums=('SKIP'
+            '26d94cfe9ac821ba5c87eb2922eb95a798c9c114ce80196edc827524c7bbb1a9'
+            'e1a4148a771328c80f802ad277c8c601cc7e166f03273c7e603d8aca6fa7df7e'
+            '98283752a437127d1df41c5591d120a336f32c6b9c1721feffb050f12714290f'
+            'c01624b0198cebf10d02db67c3a257b5ac16e7b350639dd138234501af7fb420'
+            '78362ce9b18cb0734b1963953931d5e5761ffedc9f11ead264aa2c96ea46c05e'
+            '0a3f127026d7c9d2418d5c7cf752548484009cc54e687d137e6c05aac617dc59'
+            '6eb964877c94bd831b8247a73e1ede57aac9a9620140f8ac4eee1e342e55e0ff')

 prepare() {
   cd "$pkgname"
@@ -44,20 +57,23 @@ package() {
     install -dm755 "$pkgdir/usr/share/applications/"

     # Program
-    install -Dm755 "$pkgname/build/nheko" "$pkgdir/usr/bin/nheko"
+    install -Dm755 "$pkgname/build/nheko" "$pkgdir/usr/bin/nheko-git"
+

     # Desktop launcher
-    install -Dm644 "$srcdir/$pkgname/resources/nheko-256.png" "$pkgdir/usr/share/pixmaps/nheko.png"
-    install -Dm644 "$srcdir/$pkgname/build/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"
+    pwd
+    install -Dm644 "nheko-fire-256.png" "$pkgdir/usr/share/pixmaps/nheko-git.png"
+    sed -i -e 's/Exec=nheko %u/Exec=nheko --profile git %u/' -e 's/nheko/nheko-git/g' "$srcdir/$pkgname/build/resources/nheko.desktop"
+    install -Dm644 "$srcdir/$pkgname/build/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko-git.desktop"

     # Man entry
-    install -Dm644 "$srcdir/$pkgname/build/man/nheko.1" "$pkgdir/usr/share/man/man1/nheko.1"
+    install -Dm644 "$srcdir/$pkgname/build/man/nheko.1" "$pkgdir/usr/share/man/man1/nheko-git.1"

     # Icons
     local icon_size icon_dir
     for icon_size in 16 32 48 64 128 256 512; do
         icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
         install -d "$icon_dir"
-        install -m644 "$srcdir/$pkgname/resources/nheko-${icon_size}.png" "$icon_dir/nheko.png"
+        install -m644 "nheko-fire-${icon_size}.png" "$icon_dir/nheko-git.png"
     done
 }
diff --git a/nheko-fire-128.png b/nheko-fire-128.png
new file mode 100644
index 0000000..a2230df
Binary files /dev/null and b/nheko-fire-128.png differ
diff --git a/nheko-fire-16.png b/nheko-fire-16.png
new file mode 100644
index 0000000..4ca235a
Binary files /dev/null and b/nheko-fire-16.png differ
diff --git a/nheko-fire-256.png b/nheko-fire-256.png
new file mode 100644
index 0000000..18f4adf
Binary files /dev/null and b/nheko-fire-256.png differ
diff --git a/nheko-fire-32.png b/nheko-fire-32.png
new file mode 100644
index 0000000..f45768c
Binary files /dev/null and b/nheko-fire-32.png differ
diff --git a/nheko-fire-48.png b/nheko-fire-48.png
new file mode 100644
index 0000000..8dc7b6a
Binary files /dev/null and b/nheko-fire-48.png differ
diff --git a/nheko-fire-512.png b/nheko-fire-512.png
new file mode 100644
index 0000000..207b8aa
Binary files /dev/null and b/nheko-fire-512.png differ
diff --git a/nheko-fire-64.png b/nheko-fire-64.png
new file mode 100644
index 0000000..e38ab76
Binary files /dev/null and b/nheko-fire-64.png differ

redsky17 commented on 2022-12-16 23:07 (UTC)

Everyone! If you have updated nheko-git sometime after commit fa0c14b84 but before commit 1a9f7860, I highly recommend you rebuild! There was an issue where sending 'confetti' messages could cause the message to get stuck, which would break sending any additional messages in that room.