aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVufa2022-01-27 11:38:43 +0800
committerVufa2022-01-27 11:38:43 +0800
commitd7abf02504d5b8c03ce9de49add35ef1f225a6f3 (patch)
treec8875374e3d3b08ba089443edf595610daa569a9
parent5329129bcff8e45c1ddc613ea386481bd19e52e0 (diff)
downloadaur-d7abf02504d5b8c03ce9de49add35ef1f225a6f3.tar.gz
Upgrade WeChat to 3.5.0.46 and add lib32-nvidia-utils to optdepends
Signed-off-by: Vufa <countstarlight@gmail.com>
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD11
-rw-r--r--README.md15
-rw-r--r--reg.patch5
-rwxr-xr-xrun.sh2
5 files changed, 30 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f883924d799..ff4bf5147cf1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = deepin-wine-wechat
pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
- pkgver = 3.4.5.45
+ pkgver = 3.5.0.46
pkgrel = 1
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
@@ -18,18 +18,19 @@ pkgbase = deepin-wine-wechat
depends = lib32-mpg123
depends = lib32-libldap
optdepends = noto-fonts-sc: display some Chinese characters
+ optdepends = lib32-nvidia-utils: required for nvidia graphics card
conflicts = deepin-wechat
source = https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.qq.weixin.deepin/com.qq.weixin.deepin_3.2.1.154deepin14_i386.deb
- source = WeChatSetup-3.4.5.45.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
+ source = WeChatSetup-3.5.0.46.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
source = https://community-packages.deepin.com/deepin/pool/main/o/openldap/libldap-2.4-2_2.4.47+dfsg.4-1+eagle_i386.deb
source = https://community-packages.deepin.com/deepin/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.27+dfsg-1+deb10u1_i386.deb
source = run.sh
source = reg.patch
md5sums = b48cd3c089b7c2bb7b68aba018b306b1
- md5sums = 9b301915f6a348dc88bf5568ff87a5e6
+ md5sums = d81ce735e25cf79ac90bdc2c87020d13
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 531a3997ea28e8fc0f47e9e136dae332
- md5sums = 06d525ca6f62c814d65a76299028ca78
- md5sums = f3257f8fc9e73ea88b3a46372634f82f
+ md5sums = e011858fb5987efa31d3a519c62cb2d6
+ md5sums = a2db11c578fa038120153d790eb8f144
pkgname = deepin-wine-wechat
diff --git a/PKGBUILD b/PKGBUILD
index 4b4851ae6a76..eb4efbf1aac6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Vufa <countstarlight@gmail.com>
pkgname=deepin-wine-wechat
-pkgver=3.4.5.45
+pkgver=3.5.0.46
wechat_installer=WeChatSetup
deepinwechatver=3.2.1.154deepin14
debpkgname="com.qq.weixin.deepin"
@@ -11,7 +11,8 @@ arch=("x86_64")
url="https://weixin.qq.com/"
license=('custom')
depends=('p7zip' 'deepin-wine5' 'deepin-wine-helper' 'xorg-xwininfo' 'wqy-microhei' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-libpulse' 'lib32-openal' 'lib32-mpg123' 'lib32-libldap')
-optdepends=('noto-fonts-sc: display some Chinese characters')
+optdepends=('noto-fonts-sc: display some Chinese characters'
+ 'lib32-nvidia-utils: required for nvidia graphics card')
conflicts=('deepin-wechat')
install="deepin-wine-wechat.install"
_mirror="https://com-store-packages.uniontech.com"
@@ -23,11 +24,11 @@ source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${deepinw
"run.sh"
"reg.patch")
md5sums=('b48cd3c089b7c2bb7b68aba018b306b1'
- '9b301915f6a348dc88bf5568ff87a5e6'
+ 'd81ce735e25cf79ac90bdc2c87020d13'
'cf87ad9db0bf279ddf9e5c1dce64a716'
'531a3997ea28e8fc0f47e9e136dae332'
- '06d525ca6f62c814d65a76299028ca78'
- 'f3257f8fc9e73ea88b3a46372634f82f')
+ 'e011858fb5987efa31d3a519c62cb2d6'
+ 'a2db11c578fa038120153d790eb8f144')
build() {
msg "Extracting DPKG package ..."
diff --git a/README.md b/README.md
index 5b4fe4d638f0..a2b6910c42ca 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<img src="https://img.shields.io/github/workflow/status/vufa/deepin-wine-wechat-arch/CI/action?logo=github&style=flat-square">
</a>
<a href="https://pc.weixin.qq.com/">
- <img src="https://img.shields.io/badge/WeChat-3.4.5.45-blue?style=flat-square&logo=wechat" alt="WeChat Version">
+ <img src="https://img.shields.io/badge/WeChat-3.5.0.46-blue?style=flat-square&logo=wechat" alt="WeChat Version">
</a>
<a href="https://aur.archlinux.org/packages/deepin-wine-wechat/">
<img src="https://img.shields.io/aur/version/deepin-wine-wechat?label=AUR&logo=arch-linux&style=flat-square" alt="AUR Version">
@@ -207,6 +207,18 @@ sudo pacman -Rns deepin-wine-wechat
参照[设置](#设置)打开 `winecfg` ,在选项卡 `Graphics` 中修改dpi,如 修改为`192`
+:bulb: 这一修改会在更新或重装后被重置,如果要在更新后保留dpi设置,可以添加环境变量
+
+> 根据 [deepin-wine-wechat-arch#173](https://github.com/vufa/deepin-wine-wechat-arch/issues/173),由[abcfy2](https://github.com/abcfy2)提供的方法
+
+编辑 `~/.pam_environment`,添加:
+
+```
+DEEPIN_WINE_SCALE=1.25
+```
+
+`1.25` 为缩放比例,计算方法和其他注意事项参照 [deepin-wine-wechat-arch#173(comment)](https://github.com/vufa/deepin-wine-wechat-arch/issues/173#issuecomment-989944258)
+
### GNOME 桌面上的托盘图标
安装 GNOME 插件: [AppIndicator and KStatusNotifierItem Support](https://extensions.gnome.org/extension/615/appindicator-support/)
@@ -236,6 +248,7 @@ sudo pacman -Rns deepin-wine-wechat
<details open>
<summary>2022</summary>
+* 2022-01-27 WeChat-3.5.0.46
* 2022-01-03 WeChat-3.4.5.45
</details>
diff --git a/reg.patch b/reg.patch
index db906098d707..96e9457fba5e 100644
--- a/reg.patch
+++ b/reg.patch
@@ -1,11 +1,12 @@
diff -ruN reg_tmp/user.reg reg_tmp_fixed/user.reg
--- reg_tmp/user.reg 2021-04-28 14:50:30.000000000 +0800
-+++ reg_tmp_fixed/user.reg 2021-06-21 15:11:23.006181124 +0800
-@@ -761,6 +761,7 @@
++++ reg_tmp_fixed/user.reg 2022-01-27 11:07:09.995468048 +0800
+@@ -761,6 +761,8 @@
"txupd.exe"=""
"usp10"="native,builtin"
"wechatupdate.exe"=""
+"wechatbrowser.exe"=""
++"wechatapp.exe"=""
[Software\\Wine\\Drivers\\winepulse.drv] 1591000018
#time=1d637ee6a5a1faa
diff --git a/run.sh b/run.sh
index fa137841d16d..2addd626deca 100755
--- a/run.sh
+++ b/run.sh
@@ -12,7 +12,7 @@ version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1";
BOTTLENAME="Deepin-WeChat"
APPVER="3.2.1.154deepin14"
WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
-WECHAT_VER="3.4.5.45"
+WECHAT_VER="3.5.0.46"
EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
WECHAT_INSTALLER="WeChatSetup"