mirror of
https://github.com/gen2brain/cbconvert
synced 2026-06-30 09:11:54 +02:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f558b109e5 | |||
| 5922f102be | |||
| f84d2d4333 | |||
| 551ab9e137 | |||
| 046cc2c1fd | |||
| a5b1f41ba6 | |||
| 9f628741e0 | |||
| ccbb27ff6d |
@@ -2,7 +2,7 @@
|
||||
Name=CBconvert
|
||||
GenericName=A Comic Book converter
|
||||
Comment=A comic converter with support for .cb*, .pdf, .xps, .epub, .mobi and directories
|
||||
Exec=cbconvert-gui
|
||||
Exec=cbconvert
|
||||
Icon=io.github.gen2brain.cbconvert
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
||||
+28
-2
@@ -29,12 +29,38 @@
|
||||
<url type="homepage">https://github.com/gen2brain/cbconvert</url>
|
||||
<url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url>
|
||||
|
||||
<content_rating type="oars-1.1"/>
|
||||
|
||||
<releases>
|
||||
<release version="1.0.3" date="2023-09-14" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Add content rating</li>
|
||||
</ul>
|
||||
</description>
|
||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.3</url>
|
||||
</release>
|
||||
<release version="1.0.2" date="2023-09-14" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Change flatpak exec/command name to cbconvert</li>
|
||||
</ul>
|
||||
</description>
|
||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.2</url>
|
||||
</release>
|
||||
<release version="1.0.1" date="2023-09-14" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Add flatpak manifest</li>
|
||||
</ul>
|
||||
</description>
|
||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.1</url>
|
||||
</release>
|
||||
<release version="1.0.0" date="2023-09-14" type="stable">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Added new GUI</li>
|
||||
<li>Added support for JPEG XL</li>
|
||||
<li>Add GUI</li>
|
||||
<li>Add support for JPEG XL</li>
|
||||
</ul>
|
||||
</description>
|
||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.0</url>
|
||||
|
||||
@@ -5,7 +5,7 @@ sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.golang
|
||||
|
||||
command: cbconvert-gui
|
||||
command: cbconvert
|
||||
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
@@ -24,7 +24,10 @@ cleanup:
|
||||
- '/lib/cmake'
|
||||
- '/lib/pkgconfig'
|
||||
- '/lib/ImageMagick*'
|
||||
- '/share'
|
||||
- '/share/ImageMagick*'
|
||||
- '/share/doc'
|
||||
- '/share/man'
|
||||
- '/share/thumbnailers'
|
||||
|
||||
modules:
|
||||
|
||||
@@ -47,7 +50,7 @@ modules:
|
||||
sha256: 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2
|
||||
|
||||
- name: highway
|
||||
buildsystem: cmake
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DBUILD_SHARED_LIBS=ON
|
||||
- -DHWY_ENABLE_TESTS=OFF
|
||||
@@ -59,7 +62,7 @@ modules:
|
||||
sha256: 5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
|
||||
|
||||
- name: libjxl
|
||||
buildsystem: cmake
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DBUILD_SHARED_LIBS=ON
|
||||
- -DJPEGXL_ENABLE_BENCHMARK=OFF
|
||||
@@ -154,21 +157,15 @@ modules:
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cp cmd/cbconvert-gui/dist/linux/flatpak/modules.txt cmd/cbconvert-gui/vendor/
|
||||
- cd cmd/cbconvert-gui && $GOROOT/bin/go build -mod=vendor -trimpath -tags "extlib portal" -ldflags "-s -w -X main.appVersion=1.0.0"
|
||||
- install -Dm00755 cmd/cbconvert-gui/cbconvert-gui $FLATPAK_DEST/bin/cbconvert-gui
|
||||
- cd cmd/cbconvert-gui && $GOROOT/bin/go build -mod=vendor -trimpath -tags "extlib portal" -ldflags "-s -w -X main.appVersion=1.0.2"
|
||||
- install -Dm00755 cmd/cbconvert-gui/cbconvert-gui $FLATPAK_DEST/bin/cbconvert
|
||||
- install -Dm00644 cmd/cbconvert-gui/dist/linux/cbconvert.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
|
||||
- install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
|
||||
- install -Dm00644 cmd/cbconvert-gui/dist/linux/flatpak/$FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.0.0.tar.gz
|
||||
sha256: d628bb06020f50e57c879794652c1533eee18814e3b9a223cdb11ed9fe88bc01
|
||||
|
||||
- type: archive
|
||||
url: https://proxy.golang.org/github.com/gen2brain/cbconvert/@v/v1.0.0.zip
|
||||
strip-components: 3
|
||||
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/cbconvert
|
||||
sha256: d628bb06020f50e57c879794652c1533eee18814e3b9a223cdb11ed9fe88bc01
|
||||
url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.0.2.tar.gz
|
||||
sha256: 492e1210cd1b3ef2ea95c3df47eb04447a01b7c5507c1db016f759b1f9b3fa9b
|
||||
|
||||
- type: archive
|
||||
url: https://proxy.golang.org/github.com/chai2010/webp/@v/v1.1.1.zip
|
||||
@@ -367,3 +364,9 @@ modules:
|
||||
strip-components: 3
|
||||
dest: cmd/cbconvert-gui/vendor/gopkg.in/gographics/imagick.v3
|
||||
sha256: ae0a425a2ffcbe92447c5da005deff2c0aac1e25995c443b86ae4bd48861d9e1
|
||||
|
||||
- type: archive
|
||||
url: https://proxy.golang.org/github.com/gen2brain/cbconvert/@v/v1.0.0.zip
|
||||
strip-components: 3
|
||||
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/cbconvert
|
||||
sha256: 116e440f681fb109a2a51b2ae0888435b3702291e71e26ba79da313c070ec13c
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ github.com/dustin/go-humanize
|
||||
# github.com/fvbommel/sortorder v1.1.0
|
||||
## explicit; go 1.13
|
||||
github.com/fvbommel/sortorder
|
||||
# github.com/gen2brain/cbconvert v0.0.0-20230913113913-6400ae14d89a
|
||||
# github.com/gen2brain/cbconvert v1.0.0
|
||||
## explicit; go 1.21
|
||||
github.com/gen2brain/cbconvert
|
||||
# github.com/gen2brain/go-fitz v1.23.1
|
||||
|
||||
@@ -3,7 +3,7 @@ module github.com/gen2brain/cbconvert/cmd/cbconvert-gui
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7
|
||||
github.com/gen2brain/cbconvert v1.0.0
|
||||
github.com/gen2brain/iup-go/iup v0.0.0-20230906093706-8b037fe6a7bd
|
||||
github.com/godbus/dbus/v5 v5.1.0
|
||||
)
|
||||
|
||||
@@ -6,8 +6,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
|
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
|
||||
github.com/fvbommel/sortorder v1.1.0 h1:fUmoe+HLsBTctBDoaBwpQo5N+nrCp8g/BjKb/6ZQmYw=
|
||||
github.com/fvbommel/sortorder v1.1.0/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0=
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7 h1:v2T43QRyJY4EuZQQaBlvHH+igzBntRloYJ6cWn45F7U=
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7/go.mod h1:3zoSNHGpunxvS5cXpge9XwU585Zxsr4ly13dryeQCGk=
|
||||
github.com/gen2brain/cbconvert v1.0.0 h1:6szCltgrC/Vq+XuknuGKjS6E1J5zRLmqCnHXnvALCvY=
|
||||
github.com/gen2brain/cbconvert v1.0.0/go.mod h1:3zoSNHGpunxvS5cXpge9XwU585Zxsr4ly13dryeQCGk=
|
||||
github.com/gen2brain/go-fitz v1.23.1 h1:x69/szWZXpI3jZ57mMqCg7WqqvtYnQG0lXts3L6M1Fc=
|
||||
github.com/gen2brain/go-fitz v1.23.1/go.mod h1:HU04vc+RisUh/kvEd2pB0LAxmK1oyXdN4ftyshUr9rQ=
|
||||
github.com/gen2brain/go-unarr v0.1.7 h1:mEE7bPShJIsmAX67t6BW2ibpEUO7j5WK152KgNM9NbQ=
|
||||
|
||||
@@ -3,7 +3,7 @@ module github.com/gen2brain/cbconvert/cmd/cbconvert
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7
|
||||
github.com/gen2brain/cbconvert v1.0.0
|
||||
github.com/schollz/progressbar/v3 v3.13.1
|
||||
github.com/spf13/pflag v1.0.5
|
||||
)
|
||||
|
||||
@@ -9,8 +9,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
|
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
|
||||
github.com/fvbommel/sortorder v1.1.0 h1:fUmoe+HLsBTctBDoaBwpQo5N+nrCp8g/BjKb/6ZQmYw=
|
||||
github.com/fvbommel/sortorder v1.1.0/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0=
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7 h1:v2T43QRyJY4EuZQQaBlvHH+igzBntRloYJ6cWn45F7U=
|
||||
github.com/gen2brain/cbconvert v0.0.0-20230914012707-e14aa6baabb7/go.mod h1:3zoSNHGpunxvS5cXpge9XwU585Zxsr4ly13dryeQCGk=
|
||||
github.com/gen2brain/cbconvert v1.0.0 h1:6szCltgrC/Vq+XuknuGKjS6E1J5zRLmqCnHXnvALCvY=
|
||||
github.com/gen2brain/cbconvert v1.0.0/go.mod h1:3zoSNHGpunxvS5cXpge9XwU585Zxsr4ly13dryeQCGk=
|
||||
github.com/gen2brain/go-fitz v1.23.1 h1:x69/szWZXpI3jZ57mMqCg7WqqvtYnQG0lXts3L6M1Fc=
|
||||
github.com/gen2brain/go-fitz v1.23.1/go.mod h1:HU04vc+RisUh/kvEd2pB0LAxmK1oyXdN4ftyshUr9rQ=
|
||||
github.com/gen2brain/go-unarr v0.1.7 h1:mEE7bPShJIsmAX67t6BW2ibpEUO7j5WK152KgNM9NbQ=
|
||||
|
||||
Reference in New Issue
Block a user