惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
I
InfoQ
C
Check Point Blog
IT之家
IT之家
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
Last Week in AI
Last Week in AI
GbyAI
GbyAI
P
Proofpoint News Feed
量子位
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
人人都是产品经理
人人都是产品经理
B
Blog
T
The Blog of Author Tim Ferriss
H
Help Net Security
云风的 BLOG
云风的 BLOG

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - nextai-translator-bin
2026-06-01 · via AUR Newest Packages

zxp19821005 commented on 2024-11-18 05:27 (UTC)

neitsab commented on 2024-11-15 11:11 (UTC) (edited on 2024-11-15 11:12 (UTC) by neitsab)

Hi @zxp19821005, thanks for your reply!

Regarding permissions, and speaking for the current release, I have found that all files in the source deb have the correct permissions. But I can understand that you want to ensure this yourself. This risk I see is that if the source content changes (e.g. a new directory is added), you might not see it except if you manually check every release.

Regarding naming, it's interesting because my local /usr/share/icons/hicolor folder actually contains all those size-related directories, but in /usr/share/icons/hicolor/apps/ there's only org.remmina.Remmina-symbolic.svg and remmina-symbolic.svg, which led me to believe that dispatching the icons in all those size-named folders (as is done in the deb) is the "standard" approach to packaging those files. Although I can understand the way it's done currently in the PKGBUILD is cleaner, it seems to deviate from standard practice.

Btw, have you checked the PKGBUILD I uploaded for the other package and/or considered the merging request? There's no point in keeping two packages for the same binary download.

zxp19821005 commented on 2024-11-15 02:58 (UTC)

@neitsab There are two reasons. One is to avoid permission problems, the other is to standardize naming, try not to produce irregular naming, such as 256x256@2 in the /usr/share/icons/hicolor folder.

neitsab commented on 2024-11-14 12:45 (UTC) (edited on 2024-11-14 12:45 (UTC) by neitsab)

All right, I've just pushed my attempt at a "best of both world" PKGBUILD to openai-translator-bin. Check the diff here and if you're fine with it, I'd submit a merge request to the AUR admin to make you the maintainer of the resulting package.

neitsab commented on 2024-11-14 12:40 (UTC)

All right, I've just pushed my attempt at a best in class PKGBUILD for this package. Read the commit message or check the diff if you're interested in the changes made.

Unfortunately, after trying it out it turns I'm not too fond of it, so I'll disown it as well. Hopefully the two packages can be merged and @zxp19821005 accepts to be its maintainer.

namcap log for posterity:

openai-translator-bin W: ELF file ('usr/bin/open-ai-translator') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
openai-translator-bin W: Unused shared library '/usr/lib/libpango-1.0.so.0' by file ('usr/bin/open-ai-translator')
openai-translator-bin W: Unused shared library '/usr/lib/libcairo-gobject.so.2' by file ('usr/bin/open-ai-translator')
openai-translator-bin W: Dependency gtk3 detected and implicitly satisfied (libraries ['usr/lib/libgtk-3.so.0', 'usr/lib/libgdk-3.so.0'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency java-runtime detected but optional (found class files usr/lib/open-ai-translator/resources/bin/ocr_apple, usr/lib/open-ai-translator/resources/bin/ocr_intel)
openai-translator-bin W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/libm.so.6', 'usr/lib/libc.so.6', 'usr/lib/ld-linux-x86-64.so.2'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency libxcb detected and implicitly satisfied (libraries ['usr/lib/libxcb.so.1'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency libsoup3 detected and implicitly satisfied (libraries ['usr/lib/libsoup-3.0.so.0'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency openssl detected and implicitly satisfied (libraries ['usr/lib/libssl.so.3', 'usr/lib/libcrypto.so.3'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency gdk-pixbuf2 detected and implicitly satisfied (libraries ['usr/lib/libgdk_pixbuf-2.0.so.0'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency glib2 detected and implicitly satisfied (libraries ['usr/lib/libgio-2.0.so.0', 'usr/lib/libglib-2.0.so.0', 'usr/lib/libgobject-2.0.so.0'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency cairo detected and implicitly satisfied (libraries ['usr/lib/libcairo.so.2', 'usr/lib/libcairo-gobject.so.2'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency hicolor-icon-theme detected and implicitly satisfied (needed for hicolor theme hierarchy)
openai-translator-bin W: Dependency gcc-libs detected and implicitly satisfied (libraries ['usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/open-ai-translator'])
openai-translator-bin W: Dependency pango detected and implicitly satisfied (libraries ['usr/lib/libpango-1.0.so.0'] needed in files ['usr/bin/open-ai-translator'])

Cheers

neitsab commented on 2024-11-14 11:05 (UTC)

Also, why do you bother separately installing everything contained on the deb usr/ dir? It seems like you could simply unpack and copy and be done with it, which is the approach taken in the other packages. E.g. is there any specific reason to change the icon locations? The upstream version matches what I have on my system.

Cheers

xuanwo commented on 2024-11-14 10:24 (UTC)

neitsab commented on 2024-11-14 10:24 (UTC) (edited on 2024-11-14 12:07 (UTC) by neitsab)

Thanks for your prompt reply @xuanwo. I've asked the maintainer of the other package whether they'd be interested in merging the two and continuing to maintain the result, since they seem to have done a good job at so far and to be following it closely.

In any case, thanks for your work and prompt reaction!

neitsab commented on 2024-11-14 10:20 (UTC) (edited on 2024-11-14 12:03 (UTC) by neitsab)

Hi @zxp19821005. Currently there are 2 binary AUR packages for openai-translator, this one and openai-translator-bin.

With the maintainer of the other package having just disowned it due to not using the software anymore, would you be interested in asking an AUR mod to merge the two packages together and continuing to maintain the result?

Cheers

xuanwo commented on 2024-11-14 10:13 (UTC)

Hi, @neitsab, thank you for bringing it up. I'm not using openai-translator-bin now and plan to disown it. You're welcome to take over and maintain it.