@ATENZC 需要gcc。
PKGFILE已经更新:添加gcc到makedepends
Git Clone URL: | https://aur.archlinux.org/netease-cloud-music.git (read-only, click to copy) |
---|---|
Package Base: | netease-cloud-music |
Description: | Netease Cloud Music, converted from .deb package |
Upstream URL: | https://music.163.com/ |
Keywords: | music |
Licenses: | custom |
Submitter: | bigeagle |
Maintainer: | Ovear |
Last Packager: | Ovear |
Votes: | 102 |
Popularity: | 0.050667 |
First Submitted: | 2016-05-25 06:12 (UTC) |
Last Updated: | 2024-03-18 10:12 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 25 Next › Last »
@ATENZC 需要gcc。
PKGFILE已经更新:添加gcc到makedepends
.cache/yay/netease-cloud-music/PKGBUILD:行30: cc:未找到命令 ==> 错误: 在 build() 中发生一个错误。 正在放弃... -> 生成时出错: netease-cloud-music 自从更新了系统以后 就无法安装了 21的XFCE MANJARO
@SamLukeYes Thanks for your advise. export QT_QPA_PLATFORM=xcb
has been added.
It is considered a temporary fix. I am trying to remove all bundled libraries, but it still have some problems (the tray menu issue).
@kxuan
I'm using gnome wayland. As I expect Qt applications run in native wayland by default, I've set the environmental variable QT_QPA_PLATFORM="wayland;xcb"
globally. If a Qt application doesn't support wayland, it should fallback to xcb. However, netease-cloud-music doesn't seem to understand it:
This application failed to start because it could not find or load the Qt platform plugin "wayland;xcb"
in "/opt/netease/netease-cloud-music/plugins/platforms".
Available platform plugins are: eglfs (from /opt/netease/netease-cloud-music/plugins/platforms), linuxfb (from /opt/netease/netease-cloud-music/plugins/platforms), minimal (from /opt/netease/netease-cloud-music/plugins/platforms), minimalegl (from /opt/netease/netease-cloud-music/plugins/platforms), offscreen (from /opt/netease/netease-cloud-music/plugins/platforms), vnc (from /opt/netease/netease-cloud-music/plugins/platforms), xcb (from /opt/netease/netease-cloud-music/plugins/platforms), eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
Received signal 6
#0 0x7f45faa5d526 <unknown>
#1 0x7f45faa5d909 <unknown>
#2 0x7f4600b0dda0 <unknown>
#3 0x7f4600b0dd22 __GI_raise
#4 0x7f4600af7862 __GI_abort
#5 0x7f4600f80fa7 QMessageLogger::fatal()
#6 0x7f46019ba31a QGuiApplicationPrivate::createPlatformIntegration()
#7 0x7f46019ba41d QGuiApplicationPrivate::createEventDispatcher()
#8 0x7f460117b865 QCoreApplicationPrivate::init()
#9 0x7f46019bbeaf QGuiApplicationPrivate::init()
#10 0x7f460341b649 QApplicationPrivate::init()
#11 0x56161ee47d83 <unknown>
#12 0x56161ee45d50 <unknown>
#13 0x7f4600af8b25 __libc_start_main
#14 0x56161ee46efa <unknown>
r8: 0000000000000000 r9: 00007ffdb50b4880 r10: 0000000000000008 r11: 0000000000000246
r12: 0000561620285dd0 r13: 00007ffdb50b4ca0 r14: 0000000000000018 r15: 00007ffdb50b4c98
di: 0000000000000002 si: 00007ffdb50b4880 bp: 00007f4600c938f0 bx: 00007f45f2a18580
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f4600b0dd22 sp: 00007ffdb50b4880
ip: 00007f4600b0dd22 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[0902/193118.601989:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process.
If I specify QT_QPA_PLATFORM=wayland
, it also fails because the wayland plugin is not bundled in. Only QT_QPA_PLATFORM=xcb
can launch the application successfully. Though it is not painful to workaround this problem by editing the desktop entry, I wonder if it is better to set this variable in netease-cloud-music.bash
, as it looks like the only option to launch the application with xcb.
@SamLukeYes The program works correctly on my plasma + wayland desktop environment.
Could you please show me more details about the error?
The bundled Qt libraries doesn't support Wayland. Could you add export QT_QPA_PLATFORM=xcb
in netease-cloud-music.bash
?
@kxuan 一切正常
@Hill-98 更新-6版本后,打开文件所在目录应该可以用了。有时间可以测一下。
@Hill-98 Thanks for your report. I will try to fix this issue.
@kxuan
No, it's just an idea and you are not even using my patch, so I don't need that credit. I think your symbol patching solution is much substantial than hacking on vlc code.
For future reference, here is my original post:
https://blog.eh5.me/fix-ncm-flac-playing/
https://gist.github.com/EHfive/bfc6098feb99a02bf59192618107d2ef/
Pinned Comments
petercxy commented on 2019-03-11 12:38 (UTC)
几点说明
--force-device-scale-factor=<your_scale_factor>
来临时解决问题以上。