Package Details: deepin-wine5-stable 5.0.35-1

Git Clone URL: https://aur.archlinux.org/deepin-wine5-stable.git (read-only, click to copy)
Package Base: deepin-wine5-stable
Description: Deepin Wine5 stable
Upstream URL: http://www.deepin.org
Licenses: proprietary
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 3
Popularity: 0.008088
First Submitted: 2020-11-30 03:46 (UTC)
Last Updated: 2022-05-07 07:52 (UTC)

Pinned Comments

huyz commented on 2022-02-02 10:59 (UTC)

MarsSeed [1] filed a deletion request for deepin-wine5-stable [2]:

Wine 5 package is not needed anymore, Wine 7 is out, and is more
compatible with Windows software than any time before.

deepin wine5 is not the same as wine5, it's a modified wine5 by deepin. Until now, there are still some wine apps from deepin requires this package.

huyz commented on 2021-08-24 16:09 (UTC)

可喜可贺,deepin 那边终于开始单独分发 deepin-wine{5,6}-stable 的包了。这也就意味着这个包不用再从 deepin-wine-apps 里面拆了,可以直接用 deepin 分发的 deb 包来打包。

但坏消息是,deepin 分发的 deb 包里的可执行文件路径和之前拆包时设置的路径不一致,这意味着 aur 上现有的依赖 deepin-wine{5,6}-stable 的 deepin-wine-apps 都无法启动,需要手动调整启动脚本。具体方法是把 /opt/apps/<package>/files/run.sh 里的 /usr/lib/deeping-wine{5,6}-stable/bin/wine 改成 /usr/bin/deeping-wine{5,6}-stable

huyz commented on 2020-11-30 04:05 (UTC) (edited on 2020-11-30 04:10 (UTC) by huyz)

解释一下这个包:

  • 目前,deepin 那边分发新的 wine-apps 时,都会自带一份 wine 二进制,可能是 deepin-wine5,也可能是 deepin-wine5-stable,前者 deepin 有单独打包,后者没有,只有随着 wine-apps 自带。

  • deepin-wine-apps 里自带的 wine 二进制在 /opt/apps/<package name>/files/wine_archive.7z 里,版本号则存放在 /opt/apps/<package name>/files/wine_archive.md5sum 里。

  • 通过 run.sh 脚本可知,当执行这个脚本启动 wine-apps 里,脚本会尝试解压 wine_archive.7z,具体方式是,先看 $HOME/.deepinwine 里有没有解压好的,如果有,则看 $HOME/.deepinwine 的版本号(存放在 VERSION)和 wine_archive.md5sum 相比哪个高。如果没有解压好的或者解压好的版本低,则解压 wine_archive.7z,同时把版本号存放到 VERSION 里;否则不解压。从这个方式里看,deepin-wine5{,-stable} 是向下兼容的

  • wine-apps 也自带了 deepin-wine-helper,其解压方式也类似。

  • run.sh 里通过环境变量指定启动 apps 时调用的 helper 的目录,也是通过环境变量指定 helper 调用的 wine 的目录。

  • 因此,既然 deepin-wine5{,-stable} 是向下兼容的,那么在打包 apps 包的时候,就可以把 deepin-wine5-stable 拆开来打包,以 wine_archive.md5sum 的版本号作为 deepin-wine5-stable 包的版本。

  • 然后在打包 apps 时,先看下 apps 里自带的是 deepin-wine5 还是 deepin-wine5-stable。如果是前者,则依赖加上 deepin-wine5,后者则加上 deepin-wine5-stable,并指明最低版本号为wine_archive.md5sum 的版本号。最后修改 run.sh,去除解压的代码,并修改环境变量使用系统里的 deepin-wine5{,-stable} 运行即可。

Latest Comments

huyz commented on 2022-02-02 10:59 (UTC)

MarsSeed [1] filed a deletion request for deepin-wine5-stable [2]:

Wine 5 package is not needed anymore, Wine 7 is out, and is more
compatible with Windows software than any time before.

deepin wine5 is not the same as wine5, it's a modified wine5 by deepin. Until now, there are still some wine apps from deepin requires this package.

cyqsimon commented on 2021-12-24 04:54 (UTC) (edited on 2021-12-24 06:10 (UTC) by cyqsimon)

@fish47 thank you. Did that and the package built. Also I flagged this package out of date.

Edit: package has been updated.

fish47 commented on 2021-11-24 05:40 (UTC)

pkgver=5.0.34

upstream package URLs should be updated

cyqsimon commented on 2021-11-16 04:42 (UTC)

fetching devel info...
==> Making package: deepin-wine5-stable 5.0.33-1 (Tue 16 Nov 2021 12:28:46 CST)
==> Retrieving sources...
  -> Downloading deepin-wine5-stable_5.0.33-1_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://community-store-packages.deepin.com/appstore/pool/appstore/d/deepin-wine5-stable/deepin-wine5-stable_5.0.33-1_amd64.deb
    Aborting...
error: failed to download sources for 'deepin-wine5-stable-5.0.33-1 (deepin-wine5-stable-i386 deepin-wine5-stable-amd64 deepin-wine5-stable)':

Does anyone have an updated URL for this archive?

huyz commented on 2021-08-24 16:09 (UTC)

可喜可贺,deepin 那边终于开始单独分发 deepin-wine{5,6}-stable 的包了。这也就意味着这个包不用再从 deepin-wine-apps 里面拆了,可以直接用 deepin 分发的 deb 包来打包。

但坏消息是,deepin 分发的 deb 包里的可执行文件路径和之前拆包时设置的路径不一致,这意味着 aur 上现有的依赖 deepin-wine{5,6}-stable 的 deepin-wine-apps 都无法启动,需要手动调整启动脚本。具体方法是把 /opt/apps/<package>/files/run.sh 里的 /usr/lib/deeping-wine{5,6}-stable/bin/wine 改成 /usr/bin/deeping-wine{5,6}-stable

huyz commented on 2021-05-12 05:07 (UTC)

@snowcat 应该是 deepin 那边的问题:

https://bbs.deepin.org/zh/post/220188

https://bbs.deepin.org/zh/post/220187

snowcat commented on 2021-05-12 04:03 (UTC) (edited on 2021-05-12 04:03 (UTC) by snowcat)

https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.youku.deepin/com.youku.deepin_8.0.7.11061deepin2_i386.deb 返回 504
是我的问题吗

huyz commented on 2020-12-24 10:11 (UTC)

@taotieren 已更新。

deepin 那边修改了包但没更新版本号。

taotieren commented on 2020-12-24 10:05 (UTC)

sha256 校验值

sha256sum /tmp/yay/deepin-wine5-stable/com.xmly.deepin_1.6.0deepin0_i386.deb
8fe8924602e80ee4b92c3a4e41c5d5f7c503d2345bb0592a23636f772616ebb3  /tmp/yay/deepin-wine5-stable/com.xmly.deepin_1.6.0deepin0_i386.deb

taotieren commented on 2020-12-24 09:59 (UTC)

校验制没有更新,校验失败。

:: 1 要升级的包。
1  aur/deepin-wine5-stable  5.0.0.16-1 -> 5.0.0.17-2
==> 要排除的包: (示例: "1 2 3", "1-3", "^4" 或存储库名字)
==>

:: 正在检查冲突...
:: 正在检查内部冲突...
[Aur:1]  deepin-wine5-stable-5.0.0.17-2

  1 deepin-wine5-stable              (已安装) (构建文件已存在)
==> 清理哪些软件包的构建?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> :: PKGBUILD 是最新的,跳过 (1/1): deepin-wine5-stable
  1 deepin-wine5-stable              (已安装) (构建文件已存在)
==> 显示哪些差异?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==>
:: (1/1) 正在解析 SRCINFO: deepin-wine5-stable
==> 正在创建软件包:deepin-wine5-stable 5.0.0.17-2 (2020年12月24日 星期四 17时59分01秒)
==> 获取源代码...
  -> 找到 com.xmly.deepin_1.6.0deepin0_i386.deb
==> 正在验证 source 文件,使用sha256sums...
    com.xmly.deepin_1.6.0deepin0_i386.deb ... 失败
==> 错误: 一个或多个文件没有通过有效性检查!

huyz commented on 2020-12-24 09:58 (UTC)

@taotieren 那个包不是我提交的,我也不清楚。

taotieren commented on 2020-12-24 09:57 (UTC)

@huyz 现在可以了。deepin-wine5 好像之前也不行,是不是也是版本号的问题。

huyz commented on 2020-12-24 09:52 (UTC)

@taotieren 可能是因为我之前更新地址时忘记更新版本号,于是 yay 用了旧了 pkgbuild。

现在应该好了。

taotieren commented on 2020-12-24 09:50 (UTC)

使用 yay -Syu 更新系统,自动下载 deepin-wine5-stable 失败,手动复制这个地址也无法下载,


:: 1 要升级的包。
1  aur/deepin-wine5-stable  5.0.0.16-1 -> 5.0.0.17-1
==> 要排除的包: (示例: "1 2 3", "1-3", "^4" 或存储库名字)
==>
:: 正在检查冲突...
:: 正在检查内部冲突...
[Aur:1]  deepin-wine5-stable-5.0.0.17-1

  1 deepin-wine5-stable              (已安装) (构建文件已存在)
==> 清理哪些软件包的构建?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==>
:: PKGBUILD 是最新的,跳过 (1/1): deepin-wine5-stable
  1 deepin-wine5-stable              (已安装) (构建文件已存在)
==> 显示哪些差异?
==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==>
:: (1/1) 正在解析 SRCINFO: deepin-wine5-stable
==> 正在创建软件包:deepin-wine5-stable 5.0.0.17-1 (2020年12月24日 星期四 16时48分50秒)
==> 获取源代码...
  -> 正在下载 com.xmly.deepin_1.3.3deepin4_i386.deb...
正在初始化下载:https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.xmly.deepin/com.xmly.deepin_1.3.3deepin4_i386.deb
(null)
==> 错误: 无法下载 https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.xmly.deepin/com.xmly.deepin_1.3.3deepin4_i386.deb
    正在放弃...

huyz commented on 2020-12-23 01:35 (UTC)

@lancelot96 已更新

lancelot96 commented on 2020-12-23 01:27 (UTC)

似乎 source 404 了

huyz commented on 2020-12-22 06:11 (UTC)

Update:截至 2020-12-22,deepin wine5 apps 中有三个包打不出来:爱奇艺微云喜马拉雅

huyz commented on 2020-11-30 14:59 (UTC) (edited on 2020-11-30 15:17 (UTC) by huyz)

目前所有能正常使用的 deepin-wine5 apps 都已打包完毕。由我提交的包全部都是拆开打的。

目前只有爱奇艺微云这两个包暂时打不出来,前者启动应用后报错,后者启动应用后闪退。

钉钉QQ(企业)微信这些包目前是由其他 AUR 用户提交,这些包没有拆开打,还是自带 wine 二进制。如有人希望拆开打这些包,可参照我提交的包的 PKGBUILD 进行修改。

huyz commented on 2020-11-30 04:05 (UTC) (edited on 2020-11-30 04:10 (UTC) by huyz)

解释一下这个包:

  • 目前,deepin 那边分发新的 wine-apps 时,都会自带一份 wine 二进制,可能是 deepin-wine5,也可能是 deepin-wine5-stable,前者 deepin 有单独打包,后者没有,只有随着 wine-apps 自带。

  • deepin-wine-apps 里自带的 wine 二进制在 /opt/apps/<package name>/files/wine_archive.7z 里,版本号则存放在 /opt/apps/<package name>/files/wine_archive.md5sum 里。

  • 通过 run.sh 脚本可知,当执行这个脚本启动 wine-apps 里,脚本会尝试解压 wine_archive.7z,具体方式是,先看 $HOME/.deepinwine 里有没有解压好的,如果有,则看 $HOME/.deepinwine 的版本号(存放在 VERSION)和 wine_archive.md5sum 相比哪个高。如果没有解压好的或者解压好的版本低,则解压 wine_archive.7z,同时把版本号存放到 VERSION 里;否则不解压。从这个方式里看,deepin-wine5{,-stable} 是向下兼容的

  • wine-apps 也自带了 deepin-wine-helper,其解压方式也类似。

  • run.sh 里通过环境变量指定启动 apps 时调用的 helper 的目录,也是通过环境变量指定 helper 调用的 wine 的目录。

  • 因此,既然 deepin-wine5{,-stable} 是向下兼容的,那么在打包 apps 包的时候,就可以把 deepin-wine5-stable 拆开来打包,以 wine_archive.md5sum 的版本号作为 deepin-wine5-stable 包的版本。

  • 然后在打包 apps 时,先看下 apps 里自带的是 deepin-wine5 还是 deepin-wine5-stable。如果是前者,则依赖加上 deepin-wine5,后者则加上 deepin-wine5-stable,并指明最低版本号为wine_archive.md5sum 的版本号。最后修改 run.sh,去除解压的代码,并修改环境变量使用系统里的 deepin-wine5{,-stable} 运行即可。