Package Details: typora 0.9.78-3

Git Clone URL: https://aur.archlinux.org/typora.git (read-only)
Package Base: typora
Description: Typora will give you a seamless experience as both a reader and a writer.
Upstream URL: https://typora.io/
Keywords: markdown
Licenses: custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."
Submitter: duckbrain
Maintainer: duckbrain
Last Packager: duckbrain
Votes: 66
Popularity: 2.575903
First Submitted: 2016-09-28 06:28
Last Updated: 2019-10-13 00:37

Dependencies (4)

Required by (0)

Sources (1)

Pinned Comments

duckbrain commented on 2019-10-13 00:51

If you get the error ERROR: One or more files did not pass the validity check!, it might be that upstream has changed a released package. They have a habit of doing that from time to time. Leave me a comment and I'll update the sum (or version).

duckbrain commented on 2019-10-13 00:50

New: The PKGBUILD will build with system electron if you set env ELECTRON=electron while building. Please try this out and provide feedback.

Edit: Thanks NicoHood for the PKGBUILD contributions.

Latest Comments

1 2 3 4 5 6 Next › Last »

duckbrain commented on 2019-10-13 00:51

If you get the error ERROR: One or more files did not pass the validity check!, it might be that upstream has changed a released package. They have a habit of doing that from time to time. Leave me a comment and I'll update the sum (or version).

duckbrain commented on 2019-10-13 00:50

New: The PKGBUILD will build with system electron if you set env ELECTRON=electron while building. Please try this out and provide feedback.

Edit: Thanks NicoHood for the PKGBUILD contributions.

Strongaloff commented on 2019-10-10 08:22

Seems that there is a validity check problem.

"ERROR: One or more files did not pass the validity check!"

rocka commented on 2019-09-11 09:24

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.

NicoHood commented on 2019-09-08 12:24

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/

duckbrain commented on 2019-08-02 15:46

@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.

NicoHood commented on 2019-07-30 22:01

I've updated my PKGBUILD again. It now used the archlinux electron. The package size got reduced by 160mb from ~200mb to ~39mb now.

NicoHood commented on 2019-07-29 16:12

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?

duckbrain commented on 2019-04-13 15:07

@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.

alf commented on 2019-04-11 09:32

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