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: 35
Popularity: 0.90
First Submitted: 2017-05-09 19:19 (UTC)
Last Updated: 2024-02-01 22:35 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

redsky17 commented on 2022-11-14 23:44 (UTC) (edited on 2022-11-15 16:02 (UTC) by redsky17)

Sorry for the delay in adding re2! I thought I did it some time ago, but I did not.

I've also added kimageformats and qt5-imageformats to opt depends. These allow nheko (and qt as a whole) to render more image formats than the handful that are built into qt by default.

Don't forget to clean build when you update. spdlog had a soversion change that requires rebuilding dependencies.

Chewing_Bever commented on 2022-10-17 12:00 (UTC)

re2 is now needed as a dependency. Otherwise, the build fails in a clean chroot with the following error:

-- Checking for module 're2'
--   Package 're2', required by 'virtual:world', not found
-- Configuring incomplete, errors occurred!
See also "/build/repo/src/nheko-git/build/CMakeFiles/CMakeOutput.log".
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
  CMakeLists.txt:217 (pkg_check_modules)

redsky17 commented on 2022-08-15 19:25 (UTC)

@harmathy the issue you described is due to a bug in nlohmann json 3.11.1 that was fixed in 3.11.2. Rebuilding should fix the issue now that 3.11.2 is released.

Also, whoever marked the package as out of date... this is a git aur package. That means it follows the HEAD of the main git branch and the version number and whatnot are updated when you build the package with makepkg. Please do not mark this package as out of date because I don't update the PKGBUILD and SRCINFO every time a commit is released (which happens multiple times per day).

harmathy commented on 2022-08-07 08:59 (UTC)

Build fails for me with following error:

In file included from /usr/include/nlohmann/json.hpp:50,
                 from /data/shared/max/src/arch/aur/nheko-git/src/nheko-git/build/_deps/matrixclient-src/lib/structs/events/ephemeral/receipt.cpp:1:
/usr/include/nlohmann/detail/json_pointer.hpp: In instantiation of 'class nlohmann::json_v3_11_1::json_pointer<long unsigned int>':
/data/shared/max/src/arch/aur/nheko-git/src/nheko-git/build/_deps/matrixclient-src/lib/structs/events/ephemeral/receipt.cpp:24:55:   required from here
/usr/include/nlohmann/detail/json_pointer.hpp:116:19: error: 'nlohmann::json_v3_11_1::json_pointer<BasicJsonType>& nlohmann::json_v3_11_1::json_pointer<BasicJsonType>::operator/=(std::size_t) [with RefStringType = long unsigned int; std::size_t = long unsigned int]' cannot be overloaded with 'nlohmann::json_v3_11_1::json_pointer<BasicJsonType>& nlohmann::json_v3_11_1::json_pointer<BasicJsonType>::operator/=(string_t) [with RefStringType = long unsigned int; string_t = long unsigned int]'
  116 |     json_pointer& operator/=(std::size_t array_idx)
      |                   ^~~~~~~~
/usr/include/nlohmann/detail/json_pointer.hpp:108:19: note: previous declaration 'nlohmann::json_v3_11_1::json_pointer<BasicJsonType>& nlohmann::json_v3_11_1::json_pointer<BasicJsonType>::operator/=(string_t) [with RefStringType = long unsigned int; string_t = long unsigned int]'
  108 |     json_pointer& operator/=(string_t token)
      |                   ^~~~~~~~
/usr/include/nlohmann/detail/json_pointer.hpp:138:25: error: redefinition of 'nlohmann::json_v3_11_1::json_pointer<long unsigned int> nlohmann::json_v3_11_1::operator/(const json_pointer<long unsigned int>&, std::size_t)'
  138 |     friend json_pointer operator/(const json_pointer& lhs, std::size_t array_idx)
      |                         ^~~~~~~~
/usr/include/nlohmann/detail/json_pointer.hpp:131:25: note: 'nlohmann::json_v3_11_1::json_pointer<long unsigned int> nlohmann::json_v3_11_1::operator/(const json_pointer<long unsigned int>&, json_pointer<long unsigned int>::string_t)' previously declared here
  131 |     friend json_pointer operator/(const json_pointer& lhs, string_t token) // NOLINT(performance-unnecessary-value-param)
      |                         ^~~~~~~~

EndlessEden commented on 2022-05-29 01:22 (UTC) (edited on 2022-05-29 01:23 (UTC) by EndlessEden)

cannot build

a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/usr/lib/python3.10/site-packages/asciidoc/resources/docbook-xsl/manpage.xsl" "/tmp/nheko-git/src/nheko-git/build/man/nheko.1.xml" returned non-zero exit status 127

redsky17 commented on 2022-04-19 15:04 (UTC)

I've updated the package step to use the built desktop file instead of the (now non-existant) file in resources.

harmathy commented on 2022-04-19 11:22 (UTC)

Packaging fails, since XDG desktop file is generated during build. The solution is to copy it from the build directory:

From 768776c8a998de3733fab172f4044c47c62c46ca Mon Sep 17 00:00:00 2001
From: Max Harmathy <harmathy@mailbox.org>
Date: Tue, 19 Apr 2022 13:17:56 +0200
Subject: [PATCH] Fix packaging of desktop file

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 7b8d41b..b266233 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,7 +48,7 @@ package() {

     # Desktop launcher
     install -Dm644 "$srcdir/$pkgname/resources/nheko-256.png" "$pkgdir/usr/share/pixmaps/nheko.png"
-    install -Dm644 "$srcdir/$pkgname/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"
+    install -Dm644 "$srcdir/$pkgname/build/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"

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

ISSOtm commented on 2022-02-25 23:02 (UTC)

Suggestion: -j4 for the build step, and -Wno-dev for the configure step? Ty!

dreieck commented on 2022-01-13 12:35 (UTC) (edited on 2022-01-13 12:35 (UTC) by dreieck)

I suggest adding =${pkgver} to the nheko provides-entry.

Thanks a lot for maintaining, by the way!

redsky17 commented on 2022-01-02 18:13 (UTC)

I've updated the package with a makedepends on asciidoc and have also updated the package() step to install the generated manpage. Sorry for the delay! I had family in town for the holidays.