Package Details: ayugram-desktop 5.12.3-6

Git Clone URL: https://aur.archlinux.org/ayugram-desktop.git (read-only, click to copy)
Package Base: ayugram-desktop
Description: Desktop Telegram client with good customization and Ghost mode.
Upstream URL: https://github.com/AyuGram/AyuGramDesktop
Keywords: anti-recall ayugram telegram
Licenses: GPL-3.0-only
Submitter: ZhangHua
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 12
Popularity: 2.13
First Submitted: 2023-11-06 01:05 (UTC)
Last Updated: 2025-04-05 03:17 (UTC)

Dependencies (46)

Required by (0)

Sources (40)

Latest Comments

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

dreieck commented on 2024-09-12 11:23 (UTC) (edited on 2024-09-12 11:47 (UTC) by dreieck)

It seems that QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase is the problem. But I cannot reproduce this on my machine by running makechrootpkg, so I guess that this may because your build environment is not clean. Would you mind use makechrootpkg in devtools instead standard makepkg to check if my thought is right?

I do not have the ressources to set up a whole chroot.

But, I had a similar issue with forkgram, and it is gone away now.

There is one PKGBUILD change that says "refactor PKGBUILD", maybe that has something to do with it?

But anyway, ayugram-desktop also builds for me now.

Regards!

ZhangHua commented on 2024-08-09 12:14 (UTC)

@dreieck It seems that QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase is the problem. But I cannot reproduce this on my machine by running makechrootpkg, so I guess that this may because your build environment is not clean. Would you mind use makechrootpkg in devtools instead standard makepkg to check if my thought is right?

dreieck commented on 2024-08-09 11:36 (UTC)

Ahoj,

The log in your comment is too short to get any useful information. Can you send us full log? If it is too long, you can use a pastebin service and leave a link to your log here.

↗ Here is the full output (combined stdout and stderr) (makepkg -sfi 2>&1 | tee /tmp/ayugram-build.log).

ZhangHua commented on 2024-08-09 09:37 (UTC)

@dreieck The log in your comment is too short to get any useful information. Can you send us full log? If it is too long, you can use a pastebin service and leave a link to your log here.

dreieck commented on 2024-08-09 07:19 (UTC)

build() fails for me:

[...]
[372/1526] Generating styles (td_ui)
FAILED: Telegram/gen/styles/td_ui_style.timestamp Telegram/gen/styles/style_ayu_icons.cpp Telegram/gen/styles/style_ayu_icons.h Telegram/gen/styles/style_ayu_styles.cpp Telegram/gen/styles/style_ayu_styles.h Telegram/gen/styles/style_td_common.cpp Telegram/gen/styles/style_td_common.h Telegram/gen/styles/style_filter_icons.cpp Telegram/gen/styles/style_filter_icons.h Telegram/gen/styles/style_menu_icons.cpp Telegram/gen/styles/style_menu_icons.h Telegram/gen/styles/style_chat.cpp Telegram/gen/styles/style_chat.h Telegram/gen/styles/style_credits.cpp Telegram/gen/styles/style_credits.h Telegram/gen/styles/style_premium.cpp Telegram/gen/styles/style_premium.h Telegram/gen/styles/style_boxes.cpp Telegram/gen/styles/style_boxes.h Telegram/gen/styles/style_dialogs.cpp Telegram/gen/styles/style_dialogs.h Telegram/gen/styles/style_chat_helpers.cpp Telegram/gen/styles/style_chat_helpers.h Telegram/gen/styles/style_calls.cpp Telegram/gen/styles/style_calls.h Telegram/gen/styles/style_export.cpp Telegram/gen/styles/style_export.h Telegram/gen/styles/style_info.cpp Telegram/gen/styles/style_info.h Telegram/gen/styles/style_giveaway.cpp Telegram/gen/styles/style_giveaway.h Telegram/gen/styles/style_channel_earn.cpp Telegram/gen/styles/style_channel_earn.h Telegram/gen/styles/style_info_userpic_builder.cpp Telegram/gen/styles/style_info_userpic_builder.h Telegram/gen/styles/style_intro.cpp Telegram/gen/styles/style_intro.h Telegram/gen/styles/style_iv.cpp Telegram/gen/styles/style_iv.h Telegram/gen/styles/style_media_player.cpp Telegram/gen/styles/style_media_player.h Telegram/gen/styles/style_passport.cpp Telegram/gen/styles/style_passport.h [...]
[...]

Regards!

Kalinda commented on 2024-08-07 14:53 (UTC)

Thanks very much, it built successfully :)

ZhangHua commented on 2024-08-07 11:49 (UTC)

To all users who meet build problems like Kalinda: I am not a professional C++ programmer so I can do nothing about this. But it seems that the latest commit (https://github.com/AyuGram/AyuGramDesktop/commit/7d9a69bca9f00692596d012f12949944fe8e2a10), which has not been released, has already fixed this problem. So I upgrade AyuGram to this unreleased version temporarily. I will switch back to tags once the upstream makes a new release.

illlights commented on 2024-08-06 10:48 (UTC)

same error as Kalinda with latest archlinux

space_server commented on 2024-08-04 17:03 (UTC)

i got the same problem as Kalinda :( has someone any glympse on how to solve this?

Kalinda commented on 2024-08-03 16:44 (UTC)

Trying to rebuild this for my repo, but it keeps failing, whether inside a clean chroot or not.

Here's what I get when I build it outside the chroot:

/andontie-aur/build/ayugram-desktop/src/AyuGramDesktop-5.2.2/Telegram/ThirdParty/tgcalls/tgcalls/FakeAudioDeviceModule.cpp:250:7: error: could not convert ‘<lambda closure object>rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)>{is_renderer_empty, is_recorder_empty, options}’ from ‘rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)>’ to ‘std::function<rtc::scoped_refptr<webrtc::AudioDeviceModule>(webrtc::TaskQueueFactory*)>’ 250 | [boxed_renderer = std::move(boxed_renderer), is_renderer_empty, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)> 251 | boxed_recorder = std::move(boxed_recorder), is_recorder_empty, options](webrtc::TaskQueueFactory* task_factory) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 252 | RTC_CHECK(is_renderer_empty == bool(*boxed_renderer)); // call only once if renderer exists | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | RTC_CHECK(is_recorder_empty == bool(*boxed_recorder)); // call only once if recorder exists | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 254 | return FakeAudioDeviceModuleImpl::Create(task_factory, std::move(*boxed_renderer), std::move(*boxed_recorder), options); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | }; | ~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unqualified-std-cast-call’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-ambiguous-reversed-operator’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-deprecated-volatile’ may have been intended to silence earlier diagnostics ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...