Seems that there is a validity check problem.
"ERROR: One or more files did not pass the validity check!"
Git Clone URL: | https://aur.archlinux.org/typora.git (read-only, click to copy) |
---|---|
Package Base: | typora |
Description: | A minimal markdown editor and reader. |
Upstream URL: | https://typora.io/ |
Keywords: | markdown |
Licenses: | custom:"Copyright (c) 2015 Abner Lee All Rights Reserved." |
Submitter: | duckbrain |
Maintainer: | irgendwr |
Last Packager: | irgendwr |
Votes: | 133 |
Popularity: | 0.93 |
First Submitted: | 2016-09-28 06:28 (UTC) |
Last Updated: | 2024-02-19 22:53 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »
Seems that there is a validity check problem.
"ERROR: One or more files did not pass the validity check!"
Typora 0.9.77 uses electron 5.0.4, so I think gconf can be removed from dependencies safely.
And unfortunately electron2 won't work in this case.
Tip: to find out what electron version Typora is using, activate developer tools by pressing Shift + F12 in the main window, switch to 'Console' tab, then type process.versions.electron
in the console and press enter.
I suggest adding pandoc as optional dependency, as pandoc can be used for custom exports to other formats such as open office etc. https://support.typora.io/Install-and-Use-Pandoc/
@NicoHood
I don't see any benefit to moving to the tarball. We've already had problems in the past with upstream breaking the package. https://aur.archlinux.org/packages/typora/?O=20&PP=10#comment-624914 They've gotten better, but the tarball will break the package after every release. It looks like someone else wanted to do that too. https://aur.archlinux.org/packages/typora-latest/
We've also tried using system electron before. https://aur.archlinux.org/packages/typora/?O=0&PP=10#comment-669181 I see now that there is now an electron2 package that might work, but it will take some experimentation.
The gconf dependency is based off of what is documented in the Debian package. It may no longer be accurate, but it did depend on it at one time and still shows in the latest debian package. https://aur.archlinux.org/packages/typora/?O=30&PP=10#comment-565571 I'll have to look into the dependencies. I'm not sure about the gtk3 and nss dependencies. https://www.archlinux.org/packages/community/x86_64/electron2/ lists the dependencies for electron2. That might be the best way to go.
I've updated my PKGBUILD again. It now used the archlinux electron. The package size got reduced by 160mb from ~200mb to ~39mb now.
I want to suggest a PKGBUILD change: https://gist.github.com/NicoHood/3a86fb28b6535789bbca3c330703d8dd
I've used the tarball instead of the debian package, because that is more neutral. The downside is, that it is not versioned, but maybe we can arrange better links with upstream in the future.
Also I've added the gtk3 and nss dependency and removed the not required gconf dependency. Correct me if I am wrong. I've also made sure license files etc are in the correct place.
Can you please tell me why you used the 2 chmods?
@alf That path gets updated with the latest version without warning. That would make it so every time there was an update, this AUR package would fail to build until the AUR package gets updated with the new checksum.
why don't we use https://typora.io/linux/Typora-linux-x64.tar.gz instead of https://typora.io/linux/typora_0.9.68_amd64.deb?
here is my setup
PKGBUILD https://hastebin.com/werizitowo
asar.js.patch https://hastebin.com/biwefifejo
typora.sh https://hastebin.com/xebacucubu
typora.desktop https://hastebin.com/ucezayizip
@duckbrain thank you very much! you are right, this is the latest version.
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