Package Details: typora 1.9.3-1

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: 135
Popularity: 0.44
First Submitted: 2016-09-28 06:28 (UTC)
Last Updated: 2024-08-28 01:55 (UTC)

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

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 Next › Last »

cabbage commented on 2018-08-11 03:24 (UTC) (edited on 2018-08-11 03:27 (UTC) by cabbage)

I also have the segmentation fault after the lastest Syu update. But everyone, please DO NOT downgrade your glibc. It's really really a bad idea to mess with glibc, your whole system could break down. Just wait for fixes from upstream.

duckbrain commented on 2018-08-08 06:03 (UTC)

@rocka, Thanks! That keeps it from being dependent on the system glib and libxss, and makes the package a lot smaller. I can probably remove those as direct dependencies.

Why does your typora.sh cd /usr/share/typora? That breaks opening relative files with it.

The only concern I have is it breaking expecting a different version of node/electron. If anything breaks, I might have to revert it with a new pkgrel.

rocka commented on 2018-08-07 17:09 (UTC) (edited on 2018-08-07 17:14 (UTC) by rocka)

How about package this with system electron? I've modified the PKGBUILD and It seems to work fine.

PKGBUILD:

pkgname=typora
pkgver=0.9.53
pkgrel=2
pkgdesc="Typora will give you a seamless experience as both a reader and a writer."
arch=('x86_64')
license=('custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."')
url="https://typora.io/"
depends=('gconf' 'libxss' 'electron')
optdepends=('noto-fonts-emoji: Or some other emoji font to see emojis')
source=(
    'typora.sh'
    "https://typora.io/./linux/${pkgname}_${pkgver}_amd64.deb"
)
md5sums=(
    '5851ce5475b7526ae0277e739a5ce6f9'
    '7bf938aa11cc6b8d3dca442e673b057b'
)

package() {
    _src="$srcdir/$pkgname"
    mkdir "$_src"
    bsdtar -xf data.tar.xz -C "$_src/"
    sed -i '/Change Log/d' "$_src/usr/share/applications/typora.desktop"
    install -Dm644 "$_src/usr/share/applications/typora.desktop" "$pkgdir/usr/share/applications/typora.desktop"
    install -Dm644 "$_src/usr/share/doc/typora/copyright" "$pkgdir/usr/share/doc/typora/copyright"
    install -Dm755 "$srcdir/typora.sh" "$pkgdir/usr/bin/typora"

    cp -r "$_src/usr/share/icons" "$pkgdir/usr/share/icons"
    cp -r "$_src/usr/share/typora/resources/app" "$pkgdir/usr/share/typora"
}

typora.sh:

#!/usr/bin/bash

cd /usr/share/typora
exec electron /usr/share/typora $@

duckbrain commented on 2018-08-07 14:13 (UTC) (edited on 2018-08-07 14:14 (UTC) by duckbrain)

It worked for me this morning, then I installed updates and it broke. Try downgrading glibc. That fixed it for me.

There hasn't been a package update for a while, so there haven't been any changes there.

sudo pacman -U /var/cache/pacman/pkg/glibc-2.27-3-x86_64.pkg.tar.xz

iosmanthus commented on 2018-08-07 09:56 (UTC)

It seems that typora doesn't work in ArchLinux now? It crashes when I launch it in terminal or DE. Here are the error message:

[1]    24885 segmentation fault (core dumped)  typora

lonaowna commented on 2018-04-05 20:13 (UTC)

License isn't right: cat /usr/share/doc/typora/copyright: Copyright (c) 2015 Abner Lee All Rights Reserved.

schmunk commented on 2018-03-16 10:50 (UTC)

I just noticed that several emojis in my markdown files were missing until I installed noto-fonts-emoji - might be an optional recommendation for typora

duckbrain commented on 2017-12-14 17:59 (UTC)

There was an 0.9.40. There was also a 0.9.39, but by the time I went to build a package it was already removed.

This seems to be happening after every release. The release happens, then there are one or more re-releases soon after, where the previous new releases are removed. As of writing, the repository has 0.9.33, 0.9.38, and 0.9.41. Maybe I need to wait a day or two before updating the AUR for the dust to settle.

@Timmy1e, changing to an unversioned URL is only going to make it worse, because the MD5sums will be wrong every time they update that path.

ludenticus commented on 2017-12-14 14:25 (UTC) (edited on 2017-12-14 14:29 (UTC) by ludenticus)

In PKGBUILD, change version to 0.9.41 and md5sum to '567fa10ef0bfb15cc6481f537ac7cc7c'