關於 GPLv3 涉及的代碼,參見此處: https://github.com/desktop-app/lib_ui/tree/master/ui/style
Search Criteria
Package Details: wechat-universal-bwrap 1.0.0.241-1
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flag package out-of-date
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/wechat-universal-bwrap.git (read-only, click to copy) |
---|---|
Package Base: | wechat-universal-bwrap |
Description: | WeChat (Universal) with bwrap sandbox |
Upstream URL: | https://weixin.qq.com |
Licenses: | GPLv3, proprietary |
Conflicts: | wechat-universal, wechat-universal-privileged |
Provides: | wechat-universal |
Replaces: | wechat-beta, wechat-beta-bwrap |
Submitter: | 7Ji |
Maintainer: | 7Ji (devome) |
Last Packager: | devome |
Votes: | 59 |
Popularity: | 23.33 |
First Submitted: | 2024-03-14 03:09 (UTC) |
Last Updated: | 2024-04-25 02:50 (UTC) |
Dependencies (16)
- alsa-lib
- at-spi2-core (at-spi2-core-gitAUR)
- bubblewrap (bubblewrap-gitAUR, bubblewrap-overlayfsAUR, bubblewrap-suid)
- flatpak-xdg-utils
- libxcomposite
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- libxrandr (libxrandr-gitAUR)
- mesa (mesa-nightly-nvk-rusticl-intelrt-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber)
- nss (nss-hgAUR)
- pango (pango-gitAUR)
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xdg-desktop-portal (xdg-desktop-portal-gitAUR)
- xdg-user-dirs
Required by (0)
Sources (7)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 14 Next › Last »
mochaa commented on 2024-03-27 18:17 (UTC)
mochaa commented on 2024-03-27 18:15 (UTC)
@7Ji: 抱歉,我並不就職于騰訊,只是有在WXG的朋友。後續如果有合適的相關疑問我也可以傳達。
關於 GPLv3 的源代碼:我不是律師,但在法理上應該是受支持的。
wszqkzqk commented on 2024-03-27 16:15 (UTC)
乐,我也去试着执行了grep -ai "licence" /opt/wechat-universal/wechat
,找到了JBIG-KIT 2.1 -- (c) 1995-2014 Markus Kuhn -- Licence: GPL
处处是GPL🤣👉,不过JBIG-KIT也有商业授权,不知道是商业授权版本没有改文本还是说真用了GPL的代码😋😋😋
7Ji commented on 2024-03-27 15:21 (UTC)
@mochaa
谢谢,已经改用了您提供的license stub并弃用了原来提取的license.tar.gz,并增加了GPLv3。
不过这是否意味着我们(或更合理地,从官方仓库安装微信的UOS或Kylin V10用户)目前可以按GPLv3向贵司索取微信源码?
mochaa commented on 2024-03-27 13:30 (UTC)
包 license (目前)應加上 GPLv3,因為 wechat 中靜態鏈接了 https://github.com/desktop-app 的內容。
proof:
$ rg -a desktop-app wechat
117290:// https://github.com/desktop-app/legal/blob/master/LEGAL
已反饋給 WXG 相關同事處理。
mochaa commented on 2024-03-27 13:24 (UTC) (edited on 2024-03-27 13:51 (UTC) by mochaa)
提供一個 libuosdevicea.so 的 stub:
/*
* licensestub - compat layer for libuosdevicea
* Copyright (C) 2024 Zephyr Lykos <self@mochaa.ws>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#define _GNU_SOURCE
#include <string.h>
// MAC address with colon stripped
void uos_get_mac(char* out) {
if (out) {
strcpy(out, "000000000000");
}
}
void uos_get_hddsninfo(char* out) {
if (out) {
strcpy(out, "SN");
}
}
// MD5 of hddsninfo
void uos_get_hwserial(char* out) {
if (out) {
strcpy(out, "92666505ce75444ee14be2ebc2f10a60");
}
}
// Hardcoded
void uos_get_mb_sn(char* out) {
if (out) {
strcpy(out, "E50022008800015957007202c59a1a8-3981-2020-0810-204909000000");
}
}
void uos_get_osver(char* out) {
if (out) {
strcpy(out, "UnionTech OS Desktop");
}
}
void uos_get_licensetoken(char* out) {
if (out) {
strcpy(out, "djEsdjEsMSwyLDk5QUFFN0FBQVdRQjk5OFhKS0FIU1QyOTQsMTAsOTI2NjY1MDVjZTc1NDQ0ZWUxNGJlMmViYzJmMTBhNjAsQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUE6ZjA3NjAwYzZkNmMyMDkyMDBkMzE5YzU2OThmNTc3MGRlYWY1NjAyZTY5MzUxZTczNjI2NjlhNzIyZTBkNTJiOTNhYzk0MmM3YTNkZTgxNjIxMmUwMDA1NTUwODg4N2NlMDQ4ODMyNTExY2JhNGFiMjdmYzlmZjMyYzFiNTYwNjMwZDI3ZDI2NmE5ZGIxZDQ0N2QxYjNlNTNlNTVlOTY1MmU5YTU4OGY0NWYzMTMwZDE0NDc4MTRhM2FmZjRlZGNmYmNkZjhjMmFiMDc5OWYwNGVmYmQ2NjdiNGYwYzEwNDhkYzExNjYwZWU1NTdlNTdmNzBlNjA1N2I0NThkMDgyOA==");
}
}
int uos_is_active() {
return 0;
}
剩下檢查 DISTRIB_ID=uos
在 wechat
本體內,需要手動掛載。
everyx commented on 2024-03-27 04:00 (UTC)
@everyx usr下配置fonts不生效,你可以把 75-noto-color-emoji.conf 这段配置链接到/etc/fonts/conf.d目录下, 然后重启,但是首先确保安装了noto-fonts-emoji
@yifwon 谢谢,可以了,补充一下,75-noto-color-emoji.conf
需要安装 noto-color-emoji-fontconfig-no-binding
或者 noto-color-emoji-fontconfig
或者手动创建。
7Ji commented on 2024-03-27 02:53 (UTC)
@douglarek 是,本来就没有,功能是没有做全的。有奇怪某些功能是不是原生缺失的话,可以去试下 lihe07 维护的无数据沙盒的 wechat-universal ,是这边的fork,但注意保护数据
douglarek commented on 2024-03-27 02:45 (UTC)
linux 版本是本来就没有单条信息引用功能吗
yifwon commented on 2024-03-27 02:44 (UTC)
@everyx
usr下配置fonts不生效,你可以把75-noto-color-emoji.conf
这段配置链接到/etc/fonts/conf.d
目录下, 然后重启,但是首先确保安装了noto-fonts-emoji
jat@Intel-i5-10500:~> cd /etc/fonts/conf.d
jat@Intel-i5-10500:conf.d>
jat@Intel-i5-10500:conf.d> ls -l 75-noto-color-emoji.conf
lrwxrwxrwx 1 root root 57 3月22日 12:16 75-noto-color-emoji.conf -> /usr/share/fontconfig/conf.avail/75-noto-color-emoji.conf
jat@Intel-i5-10500:conf.d> cat 75-noto-color-emoji.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Add generic family. -->
<match target="pattern">
<test qual="any" name="family"><string>emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<!-- This adds Noto Color Emoji as a final fallback font for the default font families. -->
<match target="pattern">
<test name="family"><string>sans</string></test>
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test name="family"><string>serif</string></test>
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test name="family"><string>monospace</string></test>
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
</match>
<!-- Block Symbola from the list of fallback fonts. -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="family">
<string>Symbola</string>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- Use Noto Color Emoji when other popular fonts are being specifically requested. -->
<match target="pattern">
<test qual="any" name="family"><string>Apple Color Emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Segoe UI Emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Segoe UI Symbol</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Android Emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Twitter Color Emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Twemoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Twemoji Mozilla</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>TwemojiMozilla</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>EmojiTwo</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Emoji Two</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>EmojiSymbols</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Symbola</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
</fontconfig>
Pinned Comments
devome commented on 2024-03-15 06:08 (UTC) (edited on 2024-05-08 08:02 (UTC) by devome)
关于自动缩放
最新版已设置自动缩放
QT_AUTO_SCREEN_SCALE_FACTOR=1
,如缩放仍有问题,请自行为微信单独设置环境变量QT_SCALE_FACTOR=<缩放比例>
。如果有“菜单编辑器”,直接在“菜单编辑器”中给微信增加环境变量即可,如果没有菜单编辑器,可以将/usr/share/applications/wechat-universal.desktop
复制为~/.local/share/applications/wechat-universal.desktop
,然后将Exec=
所在行改Exec=env QT_SCALE_FACTOR=<缩放比例> wechat-universal %u
关于输入法
在打包的启动脚本中,会自动根据所设置的全局环境变量
XMODIFIERS
来设置输入法是fcitx
还是ibus
,如果你没有设置全局环境变量XMODIFIERS
,那么你需要参考上一条,手动为微信单独设置环境变量QT_IM_MODULE=fcitx
或QT_IM_MODULE=ibus
。关于微信自身的行为
目前的微信Linux版缺失一些在其他平台上已经有的功能,比如引用、拖曳文件发送、双击打开文件、另存文件等等,这不是打包的问题,这是微信Linux版本身就缺少的,如有针对这种情况的意见和建议,应该向微信官方反馈:设置->关于微信->意见反馈,也可以让他们感受到广大Linux用户的期待和需求。
关于loong64架构的注意事项
由于要兼顾多架构,所以未将loong64架构需要的一项依赖
liblol
加入depends
,请使用loong64架构的用户自行安装好liblol
。7Ji commented on 2024-03-14 06:21 (UTC) (edited on 2024-03-26 08:47 (UTC) by 7Ji)
本软件包在Github上亦有仓库: https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/ (仓库未启用issues,有问题请直接在此页面提出)
各位如有改进意见,欢迎在Github仓库页提交PR :)
抓取新版本的脚本和PKGBUILD在同一层。执行
python fetch_uos_wechat_release.py
即可获取。如果发现软件过期,请善用本界面的标记过期功能。:)默认配置下,只有
~/Documents/WeChat_Data/home
作为容器内的~
,其他宿主文件和文件夹均不暴露在容器内可以编写
~/.config/wechat-universal/binds.list
来设置更多的被暴露到容器内的文件/文件夹,每行一个路径,绝对路径或相对于~
的相对路径要将微信文件的主要路径修改至
~/Documents/WeChat_Data
外的其他路径,请设置环境变量WECHAT_DATA_DIR
,同理为绝对路径或相对于~
的相对路径