Package Base Details: deepin-wine5-stable

Git Clone URL: https://aur.archlinux.org/deepin-wine5-stable.git (read-only, click to copy)
Keywords: deepin wine
Submitter: huyz
Maintainer: AsukaMinato
Last Packager: huyz
Votes: 2
Popularity: 0.000000
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

1 2 Next › Last »

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 ... 失败
==> 错误: 一个或多个文件没有通过有效性检查!