页次: 1
deepin 上架了 Linux 版万得客户端,看到了之后赶紧打包了,但是由于没有帐号,没法测试功能是不是正常,所以没放到aur上面去,先放这里,等有帐号的试一下。
deepin 社区的链接在这里 https://bbs.deepin.org/zh/post/209823
用法:把PKGBUILD, 和wind-bin.install 放在一个文件夹下, makepkg -si 就可以了
# Maintainer: Sukanka <su975853527 [AT] gmail.com>
pkgname=wind-bin
_pkgname=wind
pkgver=21.4.1.3
pkgrel=1
pkgdesc="Wind financial terminal, 万得金融终端"
arch=("x86_64")
url="http://www.wind.com.cn"
license=("unknown")
depends=('libidn11')
provides=("$_pkgname")
install=wind-bin.install
source=("https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.wind.wft/com.wind.wft_${pkgver}_amd64.deb")
sha512sums=('32e28a88f03620e9315216f323f44e8ccf27b742d4742c0cb94b50023b7ef009b41f1796fb2185120c58c1abc4e2f9665e6e5505026d3cf052e94cc9771e0f36')
prepare(){
cd ${srcdir}
tar -xvf data.tar.xz -C "${srcdir}"
}
package(){
cd $srcdir
mkdir -p $pkgdir/opt
mv usr $pkgdir/
mv opt/apps/com.wind.wft/files ${pkgdir}/opt/wind
mv opt/apps/com.wind.wft/entries/* ${pkgdir}/usr/share
sed -i "3,4c Exec=wind \nIcon=com.wind.wft" \
$pkgdir/usr/share/applications/com.wind.wft.desktop
cd ${pkgdir}/opt/wind
echo '''#!/bin/bash
export LD_LIBRARY_PATH=/opt/wind/lib:/opt/wind/lib/3rd:/opt/wind/wbrowser:$LD_LIBRARY_PATH
cd /opt/wind/bin
LD_PRELOAD=./libjemalloc.so ./wmain
''' >"$pkgdir"/opt/wind/wind
chmod a+x $pkgdir/opt/wind/wind
mkdir -p $pkgdir/usr/bin
ln -s /opt/wind/wind $pkgdir/usr/bin/wind
}
wind-bin.install 文件内容如下
post_install(){
chmod -R a+w /opt/wind/etc
}
post_upgrade(){
post_install
}
最近编辑记录 sukanka (2021-07-09 21:59:35)
离线
我试过了,没毛病,比deepin上适配得还好。不过最新版本号变成21.2.1.1了。
离线
比windows版本略卡,有闪退现象,不能自动保存用户名密码。
离线
下载链接又挂了,楼主介意再更新一下?deepin 地址找了半天没找到
离线
下载链接又挂了,楼主介意再更新一下?deepin 地址找了半天没找到
更新了,更新了版本号,另外,现在已经上传到 Aur了, wind-bin
离线
AUR 上的还是 404,但是我貌似找到了 deepin store 的服务器地址:http://112.74.44.4/appstore/pool/appstore/c/com.wind.wft/
然而安装后 segment fault 了 ?
╰─ wind ─╯
ERROR: ld.so: object './libjemalloc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
log4cxx: setFile(.1,true) call failed.
log4cxx: IO Exception : status code = 13
log4cxx: setFile(/opt/wind/logs//wbox.log,true) call failed.
log4cxx: IO Exception : status code = 2
log4cxx: setFile(/opt/wind/logs//wbox.log,true) call failed.
log4cxx: IO Exception : status code = 2
log4cxx: setFile(/opt/wind/logs//wbox.log,true) call failed.
log4cxx: IO Exception : status code = 2
log4cxx: setFile(/opt/wind/logs//wings.log,true) call failed.
log4cxx: IO Exception : status code = 2
log4cxx: setFile(/opt/wind/logs//crash_report.log,true) call failed.
log4cxx: IO Exception : status code = 2
log4cxx: No output stream or file set for the appender named [csky].
[2021-07-09 21:05:52,331] [ERROR] [0x7f58c15bc200] [ CSky] [============New terminal On==============] [-:0]
[2021-07-09 21:05:52,342] [ERROR] [0x7f58c15bc200] [CAuth] [============New terminal On==============] [-:0]
[2021-07-09 21:05:52,342] [ WARN] [0x7f58c15bc200] [Wings] [============New terminal On==============] [-:0]
log4cxx: setFile(/opt/wind/logs/wmain.log,true) call failed.
log4cxx: IO Exception : status code = 2
[2021-07-09 21:05:52,343] [ERROR] [0x7f58c15bc200] [Wmain] [============New terminal On==============] [-:0]
[2021-07-09 21:05:52,368] [ERROR] [0x7f58c15bc200] [CAuth] Can't find current user [ConfigManager.cpp-ReadUserConfig:1723]
JUCE: Couldn’t create input context
JUCE: Couldn’t create input context
[2021-07-09 21:05:52,656] [ERROR] [0x7f58bee7d640] [ CSky] 消息主体解析 大小Size:18 [SkyMessage.cpp-UnSerialize:103]
[2021-07-09 21:05:52,665] [ERROR] [0x7f58bde7b640] [ CSky] 消息主体解析 大小Size:87 [SkyMessage.cpp-UnSerialize:103]
/usr/bin/wind: line 4: 200732 Segmentation fault (core dumped) LD_PRELOAD=./libjemalloc.so ./wmain
离线
AUR 上的还是 404,但是我貌似找到了 deepin store 的服务器地址:http://112.74.44.4/appstore/pool/appstore/c/com.wind.wft/
AUR 的还是404 是因为又更新了,现在 AUR 更新到21.4.1.3了。
我不清楚你的 segment fault 怎么搞出来的,按道理说,用我的 PKGBUILD 构建出来不会 segment fault,我自己试过的,只是我没有帐号,所以不能登录。
离线
页次: 1