mirror of
https://github.com/ciromattia/kcc
synced 2026-04-21 08:28:59 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b978adcc7c | ||
|
|
9dee4432ad | ||
|
|
15055c6c0c |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,7 +4,6 @@
|
|||||||
.idea
|
.idea
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
build
|
|
||||||
dist
|
dist
|
||||||
Output
|
Output
|
||||||
test
|
test
|
||||||
@@ -14,3 +13,4 @@ kindlegen*
|
|||||||
setup.bat
|
setup.bat
|
||||||
setup.sh
|
setup.sh
|
||||||
kcc/sentry.py
|
kcc/sentry.py
|
||||||
|
build/
|
||||||
|
|||||||
@@ -163,6 +163,9 @@ The app relies and includes the following scripts:
|
|||||||
* [Kobo Aura H2O](http://kcc.iosphe.re/Samples/Ubunchu-KoAH2O.kepub.epub)
|
* [Kobo Aura H2O](http://kcc.iosphe.re/Samples/Ubunchu-KoAH2O.kepub.epub)
|
||||||
|
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
####5.1.2:
|
||||||
|
* Fixed error reporting
|
||||||
|
|
||||||
####5.1.1:
|
####5.1.1:
|
||||||
* Fixed multiple GUI bugs
|
* Fixed multiple GUI bugs
|
||||||
|
|
||||||
|
|||||||
18
docker/Build
Executable file
18
docker/Build
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pip3 install --upgrade pip setuptools wheel
|
||||||
|
pip3 install pillow python-slugify psutil pyinstaller==3.1.1 raven pyqt5 certifi
|
||||||
|
gem install fpm
|
||||||
|
|
||||||
|
cd /app
|
||||||
|
pyinstaller -F -s kcc.py
|
||||||
|
mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlecomicconverter dist/usr/share/kindlecomicconverter dist/usr/share/lintian/overrides
|
||||||
|
mv dist/kcc dist/usr/bin
|
||||||
|
cp icons/comic2ebook.png dist/usr/share/kindlecomicconverter
|
||||||
|
cp LICENSE.txt dist/usr/share/doc/kindlecomicconverter/copyright
|
||||||
|
cp other/linux/kindlecomicconverter.desktop dist/usr/share/applications
|
||||||
|
cp other/linux/kindlecomicconverter dist/usr/share/lintian/overrides
|
||||||
|
|
||||||
|
cd /app/dist
|
||||||
|
fpm -f -s dir -t deb -n kindlecomicconverter -v $KCCVER -m "Paweł Jastrzębski <pawelj@iosphe.re>" --license "ISC" --description "$(printf "Comic and Manga converter for e-book readers.\nThis app allows you to transform your PNG, JPG, GIF, CBZ, CBR and CB7 files\ninto EPUB or MOBI format e-books.")" --url "https://kcc.iosphe.re/" --deb-priority "optional" --vendor "" --category "graphics" -d "unrar | unrar-free" -d "p7zip-full" -d "libc6" usr
|
||||||
18
docker/Dockerfile
Normal file
18
docker/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# acidweb/kcc
|
||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER Paweł Jastrzębski <pawelj@iosphe.re>
|
||||||
|
|
||||||
|
ADD ./Build /Build
|
||||||
|
|
||||||
|
RUN printf "deb http://httpredir.debian.org/debian stretch main" > /etc/apt/sources.list.d/stretch.list
|
||||||
|
RUN printf "Package: *\nPin: release a=testing\nPin-Priority: 400\n" > /etc/apt/preferences.d/stretch.pref
|
||||||
|
RUN printf "deb http://httpredir.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list
|
||||||
|
RUN printf "Package: *\nPin: release a=testing\nPin-Priority: 300\n" > /etc/apt/preferences.d/sid.pref
|
||||||
|
RUN apt-get update && apt-get -y dist-upgrade
|
||||||
|
RUN apt-get -y install build-essential curl ruby ruby-dev libpng-dev libjpeg-dev
|
||||||
|
RUN apt-get -y -t testing install python3 python3-dev
|
||||||
|
RUN apt-get -y -t unstable install python3-pyqt5
|
||||||
|
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
|
||||||
|
RUN apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
CMD /Build
|
||||||
2
kcc.iss
2
kcc.iss
@@ -1,5 +1,5 @@
|
|||||||
#define MyAppName "Kindle Comic Converter"
|
#define MyAppName "Kindle Comic Converter"
|
||||||
#define MyAppVersion "5.1.1"
|
#define MyAppVersion "5.1.2"
|
||||||
#define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski"
|
#define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski"
|
||||||
#define MyAppURL "http://kcc.iosphe.re/"
|
#define MyAppURL "http://kcc.iosphe.re/"
|
||||||
#define MyAppExeName "KCC.exe"
|
#define MyAppExeName "KCC.exe"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
__version__ = '5.1.1'
|
__version__ = '5.1.2'
|
||||||
__license__ = 'ISC'
|
__license__ = 'ISC'
|
||||||
__copyright__ = '2012-2016, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>'
|
__copyright__ = '2012-2016, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Name=Kindle Comic Converter
|
|||||||
GenericName=Kindle Comic Converter
|
GenericName=Kindle Comic Converter
|
||||||
Comment=Comic and Manga converter for e-book readers
|
Comment=Comic and Manga converter for e-book readers
|
||||||
Icon=/usr/share/kindlecomicconverter/comic2ebook.png
|
Icon=/usr/share/kindlecomicconverter/comic2ebook.png
|
||||||
Exec=/usr/bin/kcc
|
Exec=/usr/bin/kcc %f
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Graphics;
|
Categories=Graphics;
|
||||||
MimeType=application/zip;application/x-rar;application/x-7z-compressed;
|
MimeType=application/zip;application/x-rar;application/x-7z-compressed;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>MacOS/Kindle Comic Converter</string>
|
<string>MacOS/Kindle Comic Converter</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>KindleComicConverter 5.1.1, written 2012-2016 by Ciro Mattia Gonano and Pawel Jastrzebski</string>
|
<string>KindleComicConverter 5.1.2, written 2012-2016 by Ciro Mattia Gonano and Pawel Jastrzebski</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>comic2ebook.icns</string>
|
<string>comic2ebook.icns</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
@@ -21,11 +21,11 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>5.1.1</string>
|
<string>5.1.2</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>5.1.1</string>
|
<string>5.1.2</string>
|
||||||
<key>LSEnvironment</key>
|
<key>LSEnvironment</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>PATH</key>
|
<key>PATH</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user