-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
248 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ Output | |
test | ||
solaio | ||
kindlegen* | ||
*.spec | ||
setup.bat | ||
setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Recipe used to build DEB package | ||
|
||
FROM acidweb/kcc-base | ||
MAINTAINER Paweł Jastrzębski <[email protected]> | ||
|
||
ENV KCCVER 4.6.5 | ||
ADD . /app | ||
|
||
RUN pip3 install pillow python-slugify psutil scandir https://github.com/pyinstaller/pyinstaller/archive/develop.zip | ||
RUN gem install fpm | ||
RUN useradd -ms /bin/bash kcc && chown -R kcc:kcc /app | ||
|
||
USER kcc | ||
WORKDIR /app | ||
RUN pyinstaller -F -s kcc.py | ||
RUN mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlecomicconverter dist/usr/share/kindlecomicconverter dist/usr/share/lintian/overrides | ||
RUN mv dist/kcc dist/usr/bin | ||
RUN cp icons/comic2ebook.png dist/usr/share/kindlecomicconverter | ||
RUN cp LICENSE.txt dist/usr/share/doc/kindlecomicconverter/copyright | ||
RUN cp other/kindlecomicconverter.desktop dist/usr/share/applications | ||
RUN cp other/kindlecomicconverter dist/usr/share/lintian/overrides | ||
|
||
WORKDIR /app/dist | ||
RUN fpm -f -s dir -t deb -n kindlecomicconverter -v $KCCVER -m "Paweł Jastrzębski <[email protected]>" --license "ISC" --description "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" usr | ||
|
||
CMD mkdir -p /out/dist && cp kindlecomicconverter_${KCCVER}_amd64.deb /out/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kindlecomicconverter: statically-linked-binary usr/bin/kcc | ||
kindlecomicconverter: binary-without-manpage usr/bin/kcc | ||
kindlecomicconverter: wrong-name-for-changelog-of-native-package usr/share/doc/kindlecomicconverter/changelog.Debian.gz | ||
kindlecomicconverter: file-missing-in-md5sums usr/share/doc/kindlecomicconverter/changelog.Debian.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Version=1.0 | ||
Name=Kindle Comic Converter | ||
GenericName=Kindle Comic Converter | ||
Comment=Comic and Manga converter for e-book readers | ||
Icon=/usr/share/kindlecomicconverter/comic2ebook.png | ||
Exec=/usr/bin/kcc | ||
Terminal=false | ||
Categories=Graphics; | ||
MimeType=application/zip;application/x-rar;application/x-7z-compressed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Kindle Comic Converter</string> | ||
<key>CFBundleDocumentTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeExtensions</key> | ||
<array> | ||
<string>cbz</string> | ||
<string>cbr</string> | ||
<string>cb7</string> | ||
<string>zip</string> | ||
<string>rar</string> | ||
<string>7z</string> | ||
<string>pdf</string> | ||
</array> | ||
<key>CFBundleTypeIconFile</key> | ||
<string>comic2ebook.icns</string> | ||
<key>CFBundleTypeName</key> | ||
<string>Comics</string> | ||
<key>CFBundleTypeRole</key> | ||
<string>Editor</string> | ||
</dict> | ||
</array> | ||
<key>CFBundleExecutable</key> | ||
<string>MacOS/Kindle Comic Converter</string> | ||
<key>CFBundleGetInfoString</key> | ||
<string>KindleComicConverter 4.6.5, written 2012-2015 by Ciro Mattia Gonano and Pawel Jastrzebski</string> | ||
<key>CFBundleIconFile</key> | ||
<string>comic2ebook.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.kindlecomicconverter.KindleComicConverter</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Kindle Comic Converter</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>4.6.5</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>4.6.5</string> | ||
<key>LSEnvironment</key> | ||
<dict> | ||
<key>PATH</key> | ||
<string>./../Resources:/usr/local/bin:/usr/bin:/bin</string> | ||
</dict> | ||
<key>LSHasLocalizedDisplayName</key> | ||
<false/> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.8.0</string> | ||
<key>NSAppleScriptEnabled</key> | ||
<false/> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>ISC License (ISCL)</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.