GithubHelp home page GithubHelp logo

rpm-outpost / typora Goto Github PK

View Code? Open in Web Editor NEW
115.0 11.0 15.0 192 KB

RPM package for the markdown editor Typora

License: MIT License

Shell 100.00%
typora rpm markdown rpm-packages fedora opensuse mageia linux

typora's People

Contributors

bmarsaud avatar codedore avatar coiby avatar kazuhisya avatar kirpal avatar theelectronwill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typora's Issues

CentOS dependencies

On CentOS, the script successfully downloads the .tar.gz and builds an RPM. But there seems to be an issue with dependencies, which means the installation is not completed successfully.

Is this a known issue?

--> Finished Dependency Resolution
Error: Package: typora-0.9.65-0.el7.x86_64 (/typora-0.9.65-0.el7.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: typora-0.9.65-0.el7.x86_64 (/typora-0.9.65-0.el7.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: typora-0.9.65-0.el7.x86_64 (/typora-0.9.65-0.el7.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)

Can't make a rpm at 0.10.6

Hello,

It seems that the tree structure of files has changed a little in recent Typora (0.10.6).
Therefore create-package.sh will fail.

Extracting "Typora-linux.tar.gz"...
Analysing the files...
cat: /home/kahara/src/typora.org/work/typora/resources/app/package.json: No such file or directory
 -> Infos path: resources/app/package.json
 -> Icons path: resources/app/asserts/icon
 -> Version: 
Creating the .desktop file...
Creating the RPM package for x86_64 (this may take a while)...
error: Macro %pkg_version has empty body
Done!
The RPM package is located in the "RPMs/x86_64" folder.
----------------

$ ls ./work/typora/resources/app/package.json
ls: cannot access './work/typora/resources/app/package.json': No such file or directory
$ ls ./work/typora/resources/package.json
./work/typora/resources/package.json
$ ls ./work/typora/resources/app/asserts/icon
ls: cannot access './work/typora/resources/app/asserts/icon': No such file or directory

$ ls ./work/typora/resources/assets/icon/
[email protected]  icon_150.png       icon_16x16.png       icon_256x256.png   icon_32x32.png       icon_512x512.png
icon_128x128.png     [email protected]  [email protected]  [email protected]  [email protected]  icon_70.png

error: Macro %pkg_version has empty body ---- Fedora 31

I'm getting an error when it comes to compiling the RPM. I'm left with nothing to install in the RPM folder. I've successfully installed Typora using this script a few months ago, just looking to build an updated RPM using your script again.

Downloading Typora for linux...
/home/danny/Downloa 100%[===================>] 75.76M 5.02MB/s in 18s

Extracting "Typora-linux.tar.gz"...
Analysing the files...
cat: /home/danny/Downloads/typora-master/work/typora/resources/app/package.json: No such file or directory
-> Infos path: resources/app/package.json
-> Icons path: resources/app/asserts/icon
-> Version:
Creating the .desktop file...
Creating the RPM package for x86_64 (this may take a while)...
error: Macro %pkg_version has empty body
Done!
The RPM package is located in the "RPMs/x86_64" folder.

Nothing gets built into the RPM folder.

Syntax Error creating RPM Package

OS : Fedora 26
Desktop : Gnome 3.24
Hi !
First of all thank you for your work, it's really appreciated. I just updated to Fedora 26 and i get this problem, any help ? There is no RPM file output.

capture d ecran de 2017-09-25 19-58-35

Can't create package the RPM package for x86_64

I am also on Fedora 26
when finishing downloading:

Extracting "Typora-linux.tar.gz"...
Analysing the files...
 -> Infos path: resources/app/package.json
 -> Icons path: resources/app/asserts/icon
 -> Version: 0.9.37
Creating the .desktop file...
Creating the RPM package for x86_64 (this may take a while)...
  File "<stdin>", line 3
SyntaxError: Non-ASCII character '\xe4' in file <stdin> on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
error:/var/tmp/rpm-tmp.fT7N5m (%install) bad exit status
    /var/tmp/rpm-tmp.fT7N5m (%install) bad exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.