rpm-outpost / typora Goto Github PK
View Code? Open in Web Editor NEWRPM package for the markdown editor Typora
License: MIT License
RPM package for the markdown editor Typora
License: MIT License
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)
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
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 18sExtracting "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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.