5 Commits

Author SHA1 Message Date
Milan Nikolic 551ab9e137 Change flatpak exec/command name to cbconvert 2023-09-14 15:02:27 +02:00
Milan Nikolic 046cc2c1fd Update modules 2023-09-14 11:51:48 +02:00
Milan Nikolic a5b1f41ba6 Update modules 2023-09-14 04:33:48 +02:00
Milan Nikolic 9f628741e0 Update metainfo 2023-09-14 04:28:53 +02:00
Milan Nikolic ccbb27ff6d Update modules 2023-09-14 04:04:36 +02:00
8 changed files with 39 additions and 23 deletions
@@ -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
@@ -30,11 +30,27 @@
<url type="bugtracker">https://github.com/gen2brain/cbconvert/issues</url>
<releases>
<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
@@ -47,7 +47,7 @@ modules:
sha256: 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2
- name: highway
buildsystem: cmake
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DHWY_ENABLE_TESTS=OFF
@@ -59,7 +59,7 @@ modules:
sha256: 5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
- name: libjxl
buildsystem: cmake
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DJPEGXL_ENABLE_BENCHMARK=OFF
@@ -154,21 +154,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: 34964e24fb8a81e6a2b7e556de8aa28d5b5fbd5698157f67fb5e7e9ee02330cc
- type: archive
url: https://proxy.golang.org/github.com/chai2010/webp/@v/v1.1.1.zip
@@ -367,3 +361,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
View File
@@ -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
+1 -1
View File
@@ -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
)
+2 -2
View File
@@ -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=
+1 -1
View File
@@ -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
)
+2 -2
View File
@@ -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=