Currently we maintain wechat, wxwork, deepin-wine6-stable, deepin-wine-helper, etc. under fedora.
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:xuthus5/Fedora_ $( rpm -E %fedora ) /home:xuthus5.repo
Note : Fedora release version < 35
is no longer maintained.
fedora-deepin-wine6
andfedora-deepin-wine-helper
are required dependencies
fedora-deepin-wine6
is used to drive native wine
fedora-deepin-wine-helper
is used to drive packaged programs.sudo dnf install fedora-deepin-wine6 fedora-deepin-wine-helper -y
# 安装 fedora-deepin-wine6 版本的微信
sudo dnf install fedora-deepin-wechat-wine6 -y
package name | describe | Version | Compatible with wine5 | Compatible with wine6+ |
---|---|---|---|---|
fedora-deepin-wine6 | deepin-wine6 | - | yes | yes |
fedora-deepin-wechat-wine6 | 3.9.0 | yes | yes | |
fedora-deepin-wework-wine6 | Enterprise WeChat | 3.1.12.2 | yes | yes |
fedora-deepin-189cloud | Tianyi cloud disk | 6.3.8.1 | yes | no |
fedora-deepin-iqiyi | iQiyi | 7.6.114.2 | yes | no |
fedora-deepin-pvz | plants vs zombies | 1.0.0.1 | yes | no |
fedora-deepin-kugou | KuGou Music | 9.1.44.1 | yes | no |
libpcap
and openldap
have been updated on fedora35+, resulting in the inability to transplant the native deepin-wine
. fedora-deepin-wine6
in this warehouse has partially replaced the basic library dependencies. Since the impact cannot be correctly assessed, there is a certain risk of software crash when used. I will not be responsible for the series of problems caused by this. Responsible.
For general font and other problems after installation, please solve it by yourself.
The easiest way is to download a pre-processed Microsoft Yahei + Songti fusion font
wget https://images.xuthus.cc/images/fake_simsun.ttc
cp fake_simsun.ttc ~ /.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/
# 微信重启之
/opt/apps/com.qq.weixin.deepin/files/run.sh
Customize the fonts that need to be configured
Download Microsoft Yahei font and place it under ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/
cp /path/to/MSYH.TTC ~ /.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/msyh.ttc
Set the system default font under deepin-wine5
vim ~ /.deepinwine/Deepin-WeChat/system.reg
" MS Shell Dlg " = " msyh "
" MS Shell Dlg 2 " = " msyh "
vim ~ /.deepinwine/Deepin-WeChat/msyh.reg
REGEDIT4
[HKEY_LOCAL_MACHINE S oftware M icrosoft W indows NT C urrentVersion F ontLink S ystemLink]
" Lucida Sans Unicode " = " msyh.ttc "
" Microsoft Sans Serif " = " msyh.ttc "
" MS Sans Serif " = " msyh.ttc "
" Tahoma " = " msyh.ttc "
" Tahoma Bold " = " msyhbd.ttc "
" msyh " = " msyh.ttc "
" Arial " = " msyh.ttc "
" Arial Black " = " msyh.ttc "
Register in the registry
WINEPREFIX= ~ /.deepinwine/Deepin-WeChat/ deepin-wine5 regedit ~ /.deepinwine/Deepin-WeChat/system.reg
WINEPREFIX= ~ /.deepinwine/Deepin-WeChat/ deepin-wine5 regedit ~ /.deepinwine/Deepin-WeChat/msyh.reg
Download an additional dependency package (this package provides a lower version of the deepin-wine6 dependency library)
https://software.opensuse.org//download.html?project=home%3Axuthus5&package=fedora-deepin-extra-lib
# 忽略冲突安装
sudo rpm -ivh --force fedora-deepin-extra-lib-0.0.1-2.1.x86_64.rpm
# 你也可以直接线上安装
sudo rpm -ivh --force https://download.opensuse.org/repositories/home:/xuthus5/Fedora_ $( rpm -E %fedora ) /x86_64/fedora-deepin-extra-lib-0.0.1-7.1.x86_64.rpm
# 必须按照如下步骤进行软链接
cd /usr/lib/
sudo ln -sf liblber-2.4.so.2.10.10 liblber-2.4.so.2
sudo ln -sf libldap_r-2.4.so.2.10.10 libldap_r-2.4.so.2
sudo ln -sf libldap_r-2.4.so.2 libldap-2.4.so.2
# 下载wine旧版本的wldap32.dll.so
wget -O wldap32.dll.so https://images.xuthus.cc/images/akrHXou_wldap32.dll.so
sudo mv wldap32.dll.so /opt/deepin-wine6-stable/lib/wldap32.dll.so
Next, you can execute /opt/apps/com.qq.weixin.deepin/files/run.sh
to restart WeChat.
Wine provides the WINEDEBUG
environment variable that allows you to obtain the log information of different channel
at runtime. You only need to add WINEDEBUG=${log_level}+${channel}
before the software you need to run. For details, see: WineHQ:Debug Channels
Give an example:
# 打印微信运行时所有通道的error级别信息
# will turn on WARN messages for all channels, in addition to already enabled ERR and FIXME messages.
WINEDEBUG=warn+all /opt/apps/com.qq.weixin.deepin/files/run.sh
# 自行下载wine旧版本的wldap32.dll.so
wget https://images.xuthus.cc/images/akrHXou_wldap32.dll.so
sudo mv akrHXou_wldap32.dll.so /opt/deepin-wine6-stable/lib/wldap32.dll.so
Refer to this article of mine: fedora packaging wechat RPM package
The project address is: https://build.opensuse.org/project/show/home:xuthus5, and the build files and source code packages are exposed above.
The entire packaging process of OBS relies on the openSUSE Build Service
Service.
vufa/deepin-wine-wechat-arch wechat source package provider
deepin-wine-helper deepin-wine-helper source package provider
com.qq.weixin.work.deepin wework source package provider
deepin-wine5 deepin-wine5 source package provider