I ran the latest PKGBUILD and noticed a new namcap warnings:
Checking typora-1.1.5-1-x86_64.pkg.tar.zst
typora E: ELF file ('usr/share/typora/Typora') outside of a valid path.
typora E: ELF file ('usr/share/typora/chrome-sandbox') outside of a valid path.
typora E: ELF file ('usr/share/typora/libEGL.so') outside of a valid path.
typora E: ELF file ('usr/share/typora/libGLESv2.so') outside of a valid path.
typora E: ELF file ('usr/share/typora/libffmpeg.so') outside of a valid path.
typora E: ELF file ('usr/share/typora/libvk_swiftshader.so') outside of a valid path.
typora E: ELF file ('usr/share/typora/libvulkan.so.1') outside of a valid path.
typora E: ELF file ('usr/share/typora/resources/app.asar.unpacked/main.node') outside of a valid path.
typora E: ELF file ('usr/share/typora/resources/node_modules/spellchecker/build/Release/spellchecker.node') outside of a valid path.
typora E: ELF file ('usr/share/typora/resources/node_modules/spellchecker/node_modules/cld/build/Release/cld.node') outside of a valid path.
typora E: ELF file ('usr/share/typora/resources/node_modules/vscode-ripgrep/bin/rg') outside of a valid path.
typora E: ELF file ('usr/share/typora/swiftshader/libEGL.so') outside of a valid path.
typora E: ELF file ('usr/share/typora/swiftshader/libGLESv2.so') outside of a valid path.
typora W: ELF file ('usr/share/typora/resources/app.asar.unpacked/main.node') lacks FULL RELRO, check LDFLAGS.
typora W: ELF file ('usr/share/typora/resources/node_modules/spellchecker/build/Release/spellchecker.node') lacks FULL RELRO, check LDFLAGS.
typora W: ELF file ('usr/share/typora/resources/node_modules/spellchecker/node_modules/cld/build/Release/cld.node') lacks FULL RELRO, check LDFLAGS.
typora W: ELF file ('usr/share/typora/resources/node_modules/vscode-ripgrep/bin/rg') lacks FULL RELRO, check LDFLAGS.
typora W: ELF file ('usr/share/typora/resources/app.asar.unpacked/main.node') lacks PIE.
typora W: ELF file ('usr/share/typora/resources/node_modules/spellchecker/build/Release/spellchecker.node') lacks PIE.
typora W: ELF file ('usr/share/typora/resources/node_modules/spellchecker/node_modules/cld/build/Release/cld.node') lacks PIE.
typora W: ELF file ('usr/share/typora/resources/node_modules/vscode-ripgrep/bin/rg') lacks PIE.
typora E: Missing custom license directory (usr/share/licenses/typora)
typora W: File (usr/share/typora/chrome-sandbox) is setuid or setgid.
typora W: Referenced library 'libsmime3.so' is an uninstalled dependency
typora W: Referenced library 'libnspr4.so' is an uninstalled dependency
typora W: Referenced library 'libnss3.so' is an uninstalled dependency
typora W: Referenced library 'libasound.so.2' is an uninstalled dependency
typora W: Referenced library 'libffmpeg.so' is an uninstalled dependency
typora W: Referenced library 'libnssutil3.so' is an uninstalled dependency
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/Typora')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/Typora')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/chrome-sandbox')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/libEGL.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/libEGL.so')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/libGLESv2.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/libGLESv2.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/libffmpeg.so')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/libvk_swiftshader.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/libvk_swiftshader.so')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/libvulkan.so.1')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/libvulkan.so.1')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/resources/app.asar.unpacked/main.node')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/resources/node_modules/spellchecker/build/Release/spellchecker.node')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/resources/node_modules/spellchecker/node_modules/cld/build/Release/cld.node')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/swiftshader/libEGL.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/swiftshader/libEGL.so')
typora W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/share/typora/swiftshader/libGLESv2.so')
typora W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/share/typora/swiftshader/libGLESv2.so')
typora W: Dependency included and not needed ('libxss')
I could solve most of the dependency issues by adding: 'nss' 'alsa-lib' 'nspr' 'poppler'
The following two warnings should be adressed as well: typora E: Missing custom license directory (usr/share/licenses/typora) typora W: File (usr/share/typora/chrome-sandbox) is setuid or setgid.
Pinned Comments
irgendwr commented on 2023-01-24 18:49 (UTC) (edited on 2023-10-17 21:03 (UTC) by irgendwr)
Before flagging this package as "out-of-date", please read this:
First of all, I appreciate your help, but I'm already running a script that notifies me once a new version is available. Please wait 1-2 days before flagging, unless it is critical. Usually I manage to push updates on the same day as Typora releases them.
Also: The latest version on their website might not be the latest Linux repository version. E.g. because some updates do not have any changes related to Linux.
To check the latest Linux version, run the following command:
curl -s https://www.typora.io/linux/Packages | grep Version | cut -f 2 -d ' ' | sort -V | cut -f 1 -d '-' | uniq
Please do not flag this package as "out-of-date" if the "new version" is not listed in the output of the aforementioned command.
irgendwr commented on 2021-11-26 12:36 (UTC) (edited on 2022-10-09 11:03 (UTC) by irgendwr)
Typora is no longer completely free since it's out of beta. It is possible to use Typora for free on Linux; Some restrictions may apply. See the official FAQ: "Can I use Typora for free?" for more details. Alternatively you can purchase a license.
Please report issues with Typora here: https://github.com/typora/typora-issues