-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add libass #2346
feat: add libass #2346
Conversation
DreamOfIce
commented
Jul 19, 2023
•
edited
Loading
edited
- add libass
- new version and wasm support for harfbuzz
- new version and wasm support for fribidi
- optimize fribidi includes export
@waruqi win arm这个是什么原因导致的?
|
@waruqi win arm what causes this?
|
不知道,你要看下它的 meson build 脚本了。。 |
I don't know, you have to look at its meson build script. . |
@waruqi Windows ARM的ci上有没有本机平台(x86_64)的工具链? |
@waruqi Is there a toolchain for the native platform (x86_64) on ci for Windows ARM? |
ci上?这个不清楚,你上面 logs 看看。。目前检测到的都是 arm的
|
win arm 的搞不定,可以暂时先不管。。这个目前是实验性的,不过也没事 |
Yes, directly vs installer can install arm. . You google it. |
Win arm is not sure, you can leave it alone for the time being. . This is currently experimental, but it's okay |
看了下文档应该是都有的 |
@waruqi 似乎xmake的autoconf集成在wasm环境下不会使用emconfigure和emmake来代替configure和make?为什么? |
@waruqi It seems that xmake's autoconf integration will not use emconfigure and emmake instead of configure and make in the wasm environment? Why? |
另外,libass的wasm构建还是有问题,不行我就走xmake port了 |
In addition, there is still a problem with the wasm construction of libass. If it doesn’t work, I will use the xmake port |
你试试呗 |
try it |
@waruqi 移植过程中发现.asm文件没有正确生成,导致ar出错:
这是什么问题? |
看着像是 build/.objs/ass/linux/x86_64/release/libass/x86/be_blur.asm.o 这个文件不存在,你可以看下 汇编器执行后,有没有实际生成这个 .o 文件。。是不是 asm 空代码编译啥的 导致 .o 没实际输出 |
@waruqi xmake本体dev分支版本的freebsd似乎炸了,缺依赖 |
@waruqi The freebsd version of the dev branch of the xmake body seems to be blown up, lacking dependencies |
那我patch下meson.build,如果是win shared就往flags里面加个 /lz ? |
可以,也可以直接传 ldflags 进去 tools.meson 试试。。参考其他包 |
呃: cl : Command line warning D9002 : ignoring unknown option '/lz' |
msvc flag 不是 /l 还是 gcc 的。。直接 z.lib 就行了 |
要不你来吧,我现在在外面 |
Why don't you come, I'm outside now |
@waruqi 有什么头绪了嘛 |
@waruqi any clue |
meson 找错了 pkg-config 。。找到系统 perl 的 pkg-config.bat 里面去了。。 按理 meson 的包,得配置 pkgconf 。。优先用这个的。。但是 find_tool pkgconf 没找到。。有点问题,需要调试下 |
怪不得我复现不了,可能因为我系统只有那一个pkg-config |
No wonder I can't reproduce it, maybe because my system only has that one pkg-config |