Thanks a lot for this @swsnr! @bordam Do you think you can do this by simply omitting the flag entirely for this and the other git package as well?
Search Criteria
Package Details: whatsapp-for-linux 1.7.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/whatsapp-for-linux.git (read-only, click to copy) |
---|---|
Package Base: | whatsapp-for-linux |
Description: | An unofficial WhatsApp desktop application for linux |
Upstream URL: | https://github.com/eneshecan/whatsapp-for-linux |
Keywords: | messaging whatsapp |
Licenses: | GPL3 |
Submitter: | xeco |
Maintainer: | bordam (AutoUpdateBot) |
Last Packager: | AutoUpdateBot |
Votes: | 60 |
Popularity: | 1.82 |
First Submitted: | 2020-09-09 15:32 (UTC) |
Last Updated: | 2024-10-20 07:57 (UTC) |
Dependencies (11)
- gst-libav (gst-libav-gitAUR)
- gst-plugins-bad (gst-plugins-bad-gitAUR)
- gst-plugins-base (gst-plugins-base-gitAUR)
- gst-plugins-good (gst-plugins-good-gitAUR)
- gtkmm3
- libayatana-appindicator
- libcanberra
- webkit2gtk (webkit2gtk-imgpasteAUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hunspell-en_us (optional) – spell-checking
Required by (0)
Sources (1)
xeco commented on 2023-01-05 09:01 (UTC)
swsnr commented on 2023-01-01 16:12 (UTC)
This package currently builds with type Release, but the cmake packaging guidelines recommend to build with build type None, see https://wiki.archlinux.org/title/CMake_package_guidelines#Fixing_the_automatic_optimization_flag_override
Would you mind to change this?
xeco commented on 2022-09-28 21:43 (UTC) (edited on 2022-09-28 21:45 (UTC) by xeco)
For anyone who wants to make raw image data pasting work as mentioned here, please use webkit2gtk-imgpaste as the dependency.
foggybrain commented on 2022-09-24 20:18 (UTC)
This program just locks up all the time. killall -s KILL whatsapp-for-linux is the only thing that closes it. Entering text is about all you can do.
MarcoDiFrancesco commented on 2022-09-15 06:59 (UTC)
Same problem here with Plasma. Locale is set to en_US.UTF-8 UTF-8 and Plasma settings do not change it, but running locale
returned
locale: Cannot set LC_ALL to default locale: No such file or directory
Temporary solution: run export LC_ALL=en_US.UTF-8
.
mdedetrich commented on 2022-09-03 10:28 (UTC)
@lugge
I think there is more to this issue then just broken locale's on your system. On my system I only have en_US.UTF-8 UTF-8 enabled in /etc/locale.gen and my output for locale -a is
C C.UTF-8 en_US.utf8 POSIX
From what I have researched online, the C and C.UTF-8 locales where added into archlinux/manjaro because of systemd and it caused issues because some software cannot handle this properly and it appears that whatsapp-for-linux is one of those issues. I am running Plasma and my region is set to en_US.UTF-8 although everything else is de_DE.UTF-8 (but this shouldn't break anything)
lugge commented on 2022-07-02 19:51 (UTC) (edited on 2022-07-02 19:52 (UTC) by lugge)
@xeco: thanks for your help but, nevermind. It was my fault.
I discovered I had broken locales when in a Plasma session. Plasma sets some locales to en_DE which, obviously, doesn't make sense. When I override them in a shell, I can launch WA from this shell without issues.
So, anyone discovering
SettingMap: terminate called after throwing an instance of 'Glib::ConvertError'
Check your locales ;-)
xeco commented on 2022-07-02 16:48 (UTC) (edited on 2022-07-02 16:48 (UTC) by xeco)
@lugge, Can you try to delete ~/.config/whatsapp-for-linux/settings.conf
file and let the application recreate it for you?
xeco commented on 2022-07-02 16:40 (UTC)
Hi @lugge. I am the author and also the maintainer. Honestly, I worked on this issue a lot and couldn't find anything suspicious in the code as it seems we are doing everything right. It could be that your system locale configuration is broken or wrong. I pinned the issue again on github if that provides any help to the users.
lugge commented on 2022-07-02 12:37 (UTC)
I keep getting an error when starting whatsapp. My system was up-to-date when building the package.
[lugge@lugge-surface whatsapp-for-linux]$ whatsapp-for-linux
<13>Jul 2 14:29:50 whatsapp-for-linux[6434]:
<13>Jul 2 14:29:50 whatsapp-for-linux[6434]: (process:6433): Gtk-WARNING **: 14:29:50.196: Locale not supported by C library.
<13>Jul 2 14:29:50 whatsapp-for-linux[6434]: Using the fallback 'C' locale.
<13>Jul 2 14:29:50 whatsapp-for-linux[6434]: SettingMap: terminate called after throwing an instance of 'Glib::ConvertError'
Aborted (core dumped)
This issue was reported before but never adressed. Any idea?
Pinned Comments
xeco commented on 2022-09-28 21:43 (UTC) (edited on 2022-09-28 21:45 (UTC) by xeco)
For anyone who wants to make raw image data pasting work as mentioned here, please use webkit2gtk-imgpaste as the dependency.