Update metadata
19
README.md
@@ -22,27 +22,18 @@ See more [screenshots](https://github.com/gen2brain/cbconvert/blob/master/cmd/cb
|
|||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
|
||||||
* [Windows x86_64](https://github.com/gen2brain/cbconvert/releases/latest/download/cbconvert-1.0.0-windows-x86_64.zip)
|
Download the latest binaries from the [releases](https://github.com/gen2brain/cbconvert/releases).
|
||||||
* [Linux x86_64](https://github.com/gen2brain/cbconvert/releases/latest/download/cbconvert-1.0.0-linux-x86_64.tar.gz)
|
|
||||||
* [macOS x86_64](https://github.com/gen2brain/cbconvert/releases/latest/download/cbconvert-1.0.0-darwin-x86_64.zip)
|
|
||||||
* [macOS aarch64](https://github.com/gen2brain/cbconvert/releases/latest/download/cbconvert-1.0.0-darwin-aarch64.zip)
|
|
||||||
|
|
||||||
[](https://flathub.org/apps/io.github.gen2brain.cbconvert)
|
Linux Flatpak is available at [Flathub](https://flathub.org/apps/io.github.gen2brain.cbconvert).
|
||||||
|
|
||||||
### Using cbconvert in file managers to generate FreeDesktop thumbnails
|
### Using cbconvert in file managers to generate FreeDesktop thumbnails
|
||||||
|
|
||||||
Copy `cbconvert` cli binary to your PATH and create file `~/.local/share/thumbnailers/cbconvert.thumbnailer`:
|
Copy `cbconvert` cli binary to your `PATH`, create file `~/.local/share/thumbnailers/cbconvert.thumbnailer`
|
||||||
|
and paste content from [thumbnailer](https://github.com/gen2brain/cbconvert/tree/master/cmd/cbconvert-gui/dist/linux/io.github.gen2brain.cbconvert.thumbnailer).
|
||||||
```
|
|
||||||
[Thumbnailer Entry]
|
|
||||||
TryExec=cbconvert
|
|
||||||
Exec=cbconvert thumbnail --quiet --width %s --outfile %o %i
|
|
||||||
MimeType=application/pdf;application/x-cb7;application/x-cbt;application/epub+zip;application/vnd.comicbook-rar;application/vnd.comicbook+zip;application/x-mobipocket-ebook;application/vnd.ms-xpsdocument;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
|
|
||||||
```
|
|
||||||
|
|
||||||
This is what it looks like in the PCManFM file manager:
|
This is what it looks like in the PCManFM file manager:
|
||||||
|
|
||||||
<img src="cmd/cbconvert/screenshots/thumbnails.jpg" width="700" alt="thumbnails" />
|
<img src="cmd/cbconvert-gui/screenshots/thumbnails.jpg" width="700" alt="thumbnails" />
|
||||||
|
|
||||||
|
|
||||||
### Using command line app
|
### Using command line app
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>io.github.gen2brain.cbconvert</id>
|
<id>io.github.gen2brain.cbconvert</id>
|
||||||
|
|
||||||
<name>CBconvert</name>
|
<name>CBconvert</name>
|
||||||
<summary>A Comic Book converter</summary>
|
<summary>A Comic Book converter</summary>
|
||||||
|
|
||||||
<metadata_license>MIT</metadata_license>
|
<metadata_license>MIT</metadata_license>
|
||||||
<project_license>GPL-3</project_license>
|
<project_license>GPL-3</project_license>
|
||||||
|
|
||||||
@@ -38,10 +38,20 @@
|
|||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="1.1.0" date="2024-11-04" type="stable">
|
||||||
|
<description>
|
||||||
|
<ul>
|
||||||
|
<li>Use jpegli for smaller files</li>
|
||||||
|
<li>Remove ImageMagick dependency</li>
|
||||||
|
<li>Wayland support</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.1.0</url>
|
||||||
|
</release>
|
||||||
<release version="1.0.4" date="2024-02-08" type="stable">
|
<release version="1.0.4" date="2024-02-08" type="stable">
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Update modules and dependencies</li>
|
<li>Update modules and dependencies</li>
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.4</url>
|
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.4</url>
|
||||||
@@ -49,7 +59,7 @@
|
|||||||
<release version="1.0.3" date="2023-09-14" type="stable">
|
<release version="1.0.3" date="2023-09-14" type="stable">
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Add content rating</li>
|
<li>Add content rating</li>
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.3</url>
|
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.3</url>
|
||||||
@@ -57,7 +67,7 @@
|
|||||||
<release version="1.0.2" date="2023-09-14" type="stable">
|
<release version="1.0.2" date="2023-09-14" type="stable">
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Change flatpak exec/command name to cbconvert</li>
|
<li>Change flatpak exec/command name to cbconvert</li>
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.2</url>
|
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.2</url>
|
||||||
|
187
cmd/cbconvert-gui/dist/linux/modules.txt
vendored
@@ -1,16 +1,29 @@
|
|||||||
# git.sr.ht/~jackmordaunt/go-libwebp v1.1.0
|
# github.com/anthonynsimon/bild v0.14.0
|
||||||
## explicit; go 1.21
|
## explicit; go 1.21
|
||||||
git.sr.ht/~jackmordaunt/go-libwebp/lib/common
|
github.com/anthonynsimon/bild/adjust
|
||||||
git.sr.ht/~jackmordaunt/go-libwebp/lib/dynamic/webp
|
github.com/anthonynsimon/bild/clone
|
||||||
git.sr.ht/~jackmordaunt/go-libwebp/lib/transpiled/webp
|
github.com/anthonynsimon/bild/math/f64
|
||||||
git.sr.ht/~jackmordaunt/go-libwebp/webp
|
github.com/anthonynsimon/bild/parallel
|
||||||
# github.com/disintegration/imaging v1.6.2
|
github.com/anthonynsimon/bild/transform
|
||||||
## explicit
|
github.com/anthonynsimon/bild/util
|
||||||
github.com/disintegration/imaging
|
# github.com/dsoprea/go-exif/v2 v2.0.0-20230826092837-6579e82b732d
|
||||||
|
## explicit; go 1.13
|
||||||
|
github.com/dsoprea/go-exif/v2
|
||||||
|
github.com/dsoprea/go-exif/v2/common
|
||||||
|
github.com/dsoprea/go-exif/v2/undefined
|
||||||
|
# github.com/dsoprea/go-logging v0.0.0-20200710184922-b02d349568dd
|
||||||
|
## explicit; go 1.13
|
||||||
|
github.com/dsoprea/go-logging
|
||||||
|
# github.com/dsoprea/go-png-image-structure v0.0.0-20210512210324-29b889a6093d
|
||||||
|
## explicit; go 1.13
|
||||||
|
github.com/dsoprea/go-png-image-structure
|
||||||
|
# github.com/dsoprea/go-utility v0.0.0-20221003172846-a3e1774ef349
|
||||||
|
## explicit; go 1.12
|
||||||
|
github.com/dsoprea/go-utility/image
|
||||||
# github.com/dustin/go-humanize v1.0.1
|
# github.com/dustin/go-humanize v1.0.1
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
github.com/dustin/go-humanize
|
github.com/dustin/go-humanize
|
||||||
# github.com/ebitengine/purego v0.5.2
|
# github.com/ebitengine/purego v0.8.1
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
github.com/ebitengine/purego
|
github.com/ebitengine/purego
|
||||||
github.com/ebitengine/purego/internal/cgo
|
github.com/ebitengine/purego/internal/cgo
|
||||||
@@ -19,87 +32,115 @@ github.com/ebitengine/purego/internal/strings
|
|||||||
# github.com/fvbommel/sortorder v1.1.0
|
# github.com/fvbommel/sortorder v1.1.0
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/fvbommel/sortorder
|
github.com/fvbommel/sortorder
|
||||||
# github.com/gen2brain/cbconvert v1.0.4-0.20240208144735-a8084ed89758
|
# github.com/gen2brain/avif v0.4.0
|
||||||
## explicit; go 1.21
|
## explicit; go 1.21
|
||||||
|
github.com/gen2brain/avif
|
||||||
|
# github.com/gen2brain/cbconvert v1.0.5-0.20241103182231-f57b2598f1f7
|
||||||
|
## explicit; go 1.23
|
||||||
github.com/gen2brain/cbconvert
|
github.com/gen2brain/cbconvert
|
||||||
# github.com/gen2brain/go-fitz v1.23.7
|
# github.com/gen2brain/go-fitz v1.24.14
|
||||||
## explicit; go 1.20
|
## explicit; go 1.22
|
||||||
github.com/gen2brain/go-fitz
|
github.com/gen2brain/go-fitz
|
||||||
# github.com/gen2brain/go-unarr v0.2.0
|
github.com/gen2brain/go-fitz/include/mupdf
|
||||||
## explicit; go 1.19
|
github.com/gen2brain/go-fitz/include/mupdf/fitz
|
||||||
|
github.com/gen2brain/go-fitz/libs
|
||||||
|
# github.com/gen2brain/go-unarr v0.2.4
|
||||||
|
## explicit; go 1.21
|
||||||
github.com/gen2brain/go-unarr
|
github.com/gen2brain/go-unarr
|
||||||
github.com/gen2brain/go-unarr/unarrc
|
github.com/gen2brain/go-unarr/unarrc
|
||||||
# github.com/gen2brain/iup-go/iup v0.0.0-20230906093706-8b037fe6a7bd
|
github.com/gen2brain/go-unarr/unarrc/external
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/bzip2
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/_7z
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/common
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/lzmasdk
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/rar
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/tar
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/unarr/zip
|
||||||
|
github.com/gen2brain/go-unarr/unarrc/external/zlib
|
||||||
|
# github.com/gen2brain/iup-go/iup v0.0.0-20231016042002-a3b3bba3edbc
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
github.com/gen2brain/iup-go/iup
|
github.com/gen2brain/iup-go/iup
|
||||||
github.com/gen2brain/iup-go/iup/manifest
|
github.com/gen2brain/iup-go/iup/manifest
|
||||||
|
# github.com/gen2brain/jpegli v0.3.1
|
||||||
|
## explicit; go 1.22
|
||||||
|
github.com/gen2brain/jpegli
|
||||||
|
# github.com/gen2brain/jpegxl v0.4.1
|
||||||
|
## explicit; go 1.22
|
||||||
|
github.com/gen2brain/jpegxl
|
||||||
|
# github.com/gen2brain/webp v0.5.0
|
||||||
|
## explicit; go 1.22
|
||||||
|
github.com/gen2brain/webp
|
||||||
|
# github.com/go-errors/errors v1.5.1
|
||||||
|
## explicit; go 1.14
|
||||||
|
github.com/go-errors/errors
|
||||||
# github.com/godbus/dbus/v5 v5.1.0
|
# github.com/godbus/dbus/v5 v5.1.0
|
||||||
## explicit; go 1.12
|
## explicit; go 1.12
|
||||||
github.com/godbus/dbus/v5
|
github.com/godbus/dbus/v5
|
||||||
|
# github.com/golang/geo v0.0.0-20230421003525-6adc56603217
|
||||||
|
## explicit; go 1.18
|
||||||
|
github.com/golang/geo/r1
|
||||||
|
github.com/golang/geo/r2
|
||||||
|
github.com/golang/geo/r3
|
||||||
|
github.com/golang/geo/s1
|
||||||
|
github.com/golang/geo/s2
|
||||||
# github.com/google/uuid v1.6.0
|
# github.com/google/uuid v1.6.0
|
||||||
## explicit
|
## explicit
|
||||||
github.com/google/uuid
|
github.com/google/uuid
|
||||||
# github.com/mattn/go-isatty v0.0.20
|
# github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25
|
||||||
## explicit; go 1.15
|
## explicit
|
||||||
github.com/mattn/go-isatty
|
github.com/jsummers/gobmp
|
||||||
# github.com/ncruces/go-strftime v0.1.9
|
# github.com/jupiterrider/ffi v0.2.1
|
||||||
## explicit; go 1.17
|
## explicit; go 1.18
|
||||||
github.com/ncruces/go-strftime
|
github.com/jupiterrider/ffi
|
||||||
# github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
|
# github.com/tetratelabs/wazero v1.8.1
|
||||||
## explicit; go 1.12
|
## explicit; go 1.21
|
||||||
github.com/remyoudompheng/bigfft
|
github.com/tetratelabs/wazero
|
||||||
# golang.org/x/image v0.15.0
|
github.com/tetratelabs/wazero/api
|
||||||
|
github.com/tetratelabs/wazero/experimental
|
||||||
|
github.com/tetratelabs/wazero/experimental/sys
|
||||||
|
github.com/tetratelabs/wazero/imports/wasi_snapshot_preview1
|
||||||
|
github.com/tetratelabs/wazero/internal/descriptor
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/interpreter
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/backend
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/backend/isa/amd64
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/backend/isa/arm64
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/backend/regalloc
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/frontend
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/ssa
|
||||||
|
github.com/tetratelabs/wazero/internal/engine/wazevo/wazevoapi
|
||||||
|
github.com/tetratelabs/wazero/internal/expctxkeys
|
||||||
|
github.com/tetratelabs/wazero/internal/filecache
|
||||||
|
github.com/tetratelabs/wazero/internal/fsapi
|
||||||
|
github.com/tetratelabs/wazero/internal/ieee754
|
||||||
|
github.com/tetratelabs/wazero/internal/internalapi
|
||||||
|
github.com/tetratelabs/wazero/internal/leb128
|
||||||
|
github.com/tetratelabs/wazero/internal/moremath
|
||||||
|
github.com/tetratelabs/wazero/internal/platform
|
||||||
|
github.com/tetratelabs/wazero/internal/sock
|
||||||
|
github.com/tetratelabs/wazero/internal/sys
|
||||||
|
github.com/tetratelabs/wazero/internal/sysfs
|
||||||
|
github.com/tetratelabs/wazero/internal/u32
|
||||||
|
github.com/tetratelabs/wazero/internal/u64
|
||||||
|
github.com/tetratelabs/wazero/internal/version
|
||||||
|
github.com/tetratelabs/wazero/internal/wasip1
|
||||||
|
github.com/tetratelabs/wazero/internal/wasm
|
||||||
|
github.com/tetratelabs/wazero/internal/wasm/binary
|
||||||
|
github.com/tetratelabs/wazero/internal/wasmdebug
|
||||||
|
github.com/tetratelabs/wazero/internal/wasmruntime
|
||||||
|
github.com/tetratelabs/wazero/sys
|
||||||
|
# golang.org/x/image v0.21.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
golang.org/x/image/bmp
|
|
||||||
golang.org/x/image/ccitt
|
golang.org/x/image/ccitt
|
||||||
golang.org/x/image/riff
|
|
||||||
golang.org/x/image/tiff
|
golang.org/x/image/tiff
|
||||||
golang.org/x/image/tiff/lzw
|
golang.org/x/image/tiff/lzw
|
||||||
golang.org/x/image/vp8
|
# golang.org/x/net v0.30.0
|
||||||
golang.org/x/image/vp8l
|
## explicit; go 1.18
|
||||||
golang.org/x/image/webp
|
golang.org/x/net/context
|
||||||
# golang.org/x/sync v0.6.0
|
# golang.org/x/sync v0.8.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
golang.org/x/sync/errgroup
|
golang.org/x/sync/errgroup
|
||||||
# golang.org/x/sys v0.17.0
|
# gopkg.in/yaml.v2 v2.4.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.15
|
||||||
golang.org/x/sys/unix
|
gopkg.in/yaml.v2
|
||||||
golang.org/x/sys/windows
|
|
||||||
# gopkg.in/gographics/imagick.v3 v3.5.1
|
|
||||||
## explicit; go 1.13
|
|
||||||
gopkg.in/gographics/imagick.v3/imagick
|
|
||||||
gopkg.in/gographics/imagick.v3/imagick/types
|
|
||||||
# modernc.org/libc v1.41.0
|
|
||||||
## explicit; go 1.20
|
|
||||||
modernc.org/libc
|
|
||||||
modernc.org/libc/errno
|
|
||||||
modernc.org/libc/fcntl
|
|
||||||
modernc.org/libc/fts
|
|
||||||
modernc.org/libc/grp
|
|
||||||
modernc.org/libc/honnef.co/go/netdb
|
|
||||||
modernc.org/libc/langinfo
|
|
||||||
modernc.org/libc/limits
|
|
||||||
modernc.org/libc/netdb
|
|
||||||
modernc.org/libc/netinet/in
|
|
||||||
modernc.org/libc/poll
|
|
||||||
modernc.org/libc/pthread
|
|
||||||
modernc.org/libc/pwd
|
|
||||||
modernc.org/libc/signal
|
|
||||||
modernc.org/libc/stdio
|
|
||||||
modernc.org/libc/stdlib
|
|
||||||
modernc.org/libc/sys/socket
|
|
||||||
modernc.org/libc/sys/stat
|
|
||||||
modernc.org/libc/sys/types
|
|
||||||
modernc.org/libc/termios
|
|
||||||
modernc.org/libc/time
|
|
||||||
modernc.org/libc/unistd
|
|
||||||
modernc.org/libc/utime
|
|
||||||
modernc.org/libc/uuid
|
|
||||||
modernc.org/libc/uuid/uuid
|
|
||||||
modernc.org/libc/wctype
|
|
||||||
# modernc.org/mathutil v1.6.0
|
|
||||||
## explicit; go 1.18
|
|
||||||
modernc.org/mathutil
|
|
||||||
# modernc.org/memory v1.7.2
|
|
||||||
## explicit; go 1.18
|
|
||||||
modernc.org/memory
|
|
||||||
|
@@ -1,76 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
GLIBC_x86_64="/usr/x86_64-pc-linux-gnu-static"
|
|
||||||
MINGW_x86_64="/usr/x86_64-w64-mingw32"
|
|
||||||
MACOS_x86_64="/usr/x86_64-apple-darwin"
|
|
||||||
MACOS_aarch64="/usr/aarch64-apple-darwin"
|
|
||||||
|
|
||||||
VERSION="$(git --git-dir ../../.git describe --tags --abbrev=0 2>/dev/null || echo '1.0.0')"
|
|
||||||
|
|
||||||
BUILDDIR="cbconvert-gui-${VERSION}"
|
|
||||||
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
CC=x86_64-pc-linux-gnu-gcc \
|
|
||||||
PKG_CONFIG="x86_64-pc-linux-gnu-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$GLIBC_x86_64/usr/include" \
|
|
||||||
CGO_LDFLAGS="-L$GLIBC_x86_64/usr/lib64" \
|
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -x -o "${BUILDDIR}"/cbconvert-gui -ldflags "-s -w -X main.appVersion=${VERSION}" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && tar -czf "${BUILDDIR}-linux-x86_64.tar.gz" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
CC=x86_64-pc-linux-gnu-gcc \
|
|
||||||
PKG_CONFIG="x86_64-pc-linux-gnu-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$GLIBC_x86_64/usr/include" \
|
|
||||||
CGO_LDFLAGS="-L$GLIBC_x86_64/usr/lib64 -lxcb -lICE -lXdmcp -lXau -lSM" \
|
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig motif' -v -o "${BUILDDIR}"/cbconvert-gui-motif -ldflags "-s -w -linkmode external -X main.appVersion=${VERSION} '-extldflags=-static'" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && tar -czf "${BUILDDIR}-linux-x86_64-motif.tar.gz" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
CC=x86_64-w64-mingw32-gcc \
|
|
||||||
PKG_CONFIG="/usr/bin/x86_64-w64-mingw32-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MINGW_x86_64/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MINGW_x86_64/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MINGW_x86_64/usr/include" \
|
|
||||||
CGO_LDFLAGS="-L$MINGW_x86_64/usr/lib" \
|
|
||||||
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/cbconvert-gui.exe -ldflags "-s -w -X main.appVersion=${VERSION} -H=windowsgui '-extldflags=-static -Wl,--allow-multiple-definition'" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-windows-x86_64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
export OSXCROSS_PKG_CONFIG_USE_NATIVE_VARIABLES=1
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
cp -r dist/macos/CBconvert.app "${BUILDDIR}"
|
|
||||||
PATH=${PATH}:${MACOS_x86_64}/bin \
|
|
||||||
CC=x86_64-apple-darwin21.1-clang \
|
|
||||||
PKG_CONFIG="x86_64-apple-darwin21.1-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MACOS_x86_64/usr/include -I$MACOS_x86_64/macports/pkgs/opt/local/include" \
|
|
||||||
CGO_LDFLAGS="-L$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib -L$MACOS_x86_64/macports/pkgs/opt/local/lib -mmacosx-version-min=10.15" \
|
|
||||||
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/CBconvert.app/Contents/MacOS/cbconvert-gui -ldflags "-linkmode external -s -w -X main.appVersion=${VERSION}" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-darwin-x86_64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
export OSXCROSS_PKG_CONFIG_USE_NATIVE_VARIABLES=1
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
cp -r dist/macos/CBconvert.app "${BUILDDIR}"
|
|
||||||
PATH=${PATH}:${MACOS_aarch64}/bin \
|
|
||||||
CC=aarch64-apple-darwin21.1-clang \
|
|
||||||
PKG_CONFIG="aarch64-apple-darwin21.1-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MACOS_aarch64/usr/include -I$MACOS_aarch64/macports/pkgs/opt/local/include" \
|
|
||||||
CGO_LDFLAGS="-L$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib -L$MACOS_aarch64/macports/pkgs/opt/local/lib -mmacosx-version-min=10.15" \
|
|
||||||
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/CBconvert.app/Contents/MacOS/cbconvert-gui -ldflags "-linkmode external -s -w -X main.appVersion=${VERSION}" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-darwin-aarch64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
@@ -4,10 +4,7 @@ Windows
|
|||||||
<img src="windows-01.jpg" width="700" title="Windows" alt="Windows" />
|
<img src="windows-01.jpg" width="700" title="Windows" alt="Windows" />
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
<img src="linux-02.jpg" width="700" title="Linux" alt="Linux" />
|
<img src="linux-01.jpg" width="700" title="Linux" alt="Linux" />
|
||||||
|
|
||||||
macOS
|
macOS
|
||||||
<img src="macos-01.jpg" width="700" title="macOS" alt="macOS" />
|
<img src="macos-01.jpg" width="700" title="macOS" alt="macOS" />
|
||||||
|
|
||||||
Linux Motif
|
|
||||||
<img src="motif-01.jpg" width="700" title="Linux Motif" alt="Linux Motif" />
|
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 251 KiB |
Before Width: | Height: | Size: 186 KiB |
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
@@ -1,62 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
GLIBC_x86_64="/usr/x86_64-pc-linux-gnu-static"
|
|
||||||
MINGW_x86_64="/usr/x86_64-w64-mingw32"
|
|
||||||
MACOS_x86_64="/usr/x86_64-apple-darwin"
|
|
||||||
MACOS_aarch64="/usr/aarch64-apple-darwin"
|
|
||||||
|
|
||||||
VERSION="$(git --git-dir ../../.git describe --tags --abbrev=0 2>/dev/null || echo '1.0.0')"
|
|
||||||
|
|
||||||
BUILDDIR="cbconvert-${VERSION}"
|
|
||||||
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
CC=x86_64-pc-linux-gnu-gcc \
|
|
||||||
PKG_CONFIG="x86_64-pc-linux-gnu-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$GLIBC_x86_64/usr/lib64/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$GLIBC_x86_64/usr/include" \
|
|
||||||
CGO_LDFLAGS="-L$GLIBC_x86_64/usr/lib64" \
|
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/cbconvert -ldflags "-linkmode external -s -w -X main.appVersion=${VERSION} '-extldflags=-static'" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && tar -czf "${BUILDDIR}-linux-x86_64.tar.gz" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
CC=x86_64-w64-mingw32-gcc \
|
|
||||||
PKG_CONFIG="/usr/bin/x86_64-w64-mingw32-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MINGW_x86_64/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MINGW_x86_64/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MINGW_x86_64/usr/include" \
|
|
||||||
CGO_LDFLAGS="-L$MINGW_x86_64/usr/lib -ljxl -ljxl_dec -ljxl_profiler -ljxl_threads" \
|
|
||||||
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/cbconvert.exe -ldflags "-s -w -X main.appVersion=${VERSION} '-extldflags=-static -Wl,--allow-multiple-definition'" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-windows-x86_64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
export OSXCROSS_PKG_CONFIG_USE_NATIVE_VARIABLES=1
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
PATH=${PATH}:${MACOS_x86_64}/bin \
|
|
||||||
CC=x86_64-apple-darwin21.1-clang \
|
|
||||||
PKG_CONFIG="x86_64-apple-darwin21.1-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MACOS_x86_64/usr/include -I$MACOS_x86_64/macports/pkgs/opt/local/include" \
|
|
||||||
CGO_LDFLAGS="-L$MACOS_x86_64/SDK/MacOSX12.1.sdk/usr/lib -L$MACOS_x86_64/macports/pkgs/opt/local/lib -mmacosx-version-min=10.15" \
|
|
||||||
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/cbconvert -ldflags "-linkmode external -s -w -X main.appVersion=${VERSION}" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-darwin-x86_64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|
||||||
|
|
||||||
export OSXCROSS_PKG_CONFIG_USE_NATIVE_VARIABLES=1
|
|
||||||
mkdir -p "${BUILDDIR}"
|
|
||||||
PATH=${PATH}:${MACOS_aarch64}/bin \
|
|
||||||
CC=aarch64-apple-darwin21.1-clang \
|
|
||||||
PKG_CONFIG="aarch64-apple-darwin21.1-pkg-config" \
|
|
||||||
PKG_CONFIG_PATH="$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
PKG_CONFIG_LIBDIR="$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib/pkgconfig" \
|
|
||||||
CGO_CFLAGS="-I$MACOS_aarch64/usr/include -I$MACOS_aarch64/macports/pkgs/opt/local/include" \
|
|
||||||
CGO_LDFLAGS="-L$MACOS_aarch64/SDK/MacOSX12.1.sdk/usr/lib -L$MACOS_aarch64/macports/pkgs/opt/local/lib -mmacosx-version-min=10.15" \
|
|
||||||
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 \
|
|
||||||
go build -trimpath -tags 'extlib pkgconfig' -v -o "${BUILDDIR}"/cbconvert -ldflags "-linkmode external -s -w -X main.appVersion=${VERSION}" && \
|
|
||||||
cp ../../README.md ../../AUTHORS ../../COPYING "${BUILDDIR}" && zip -rq "${BUILDDIR}-darwin-aarch64.zip" "${BUILDDIR}"
|
|
||||||
rm -rf "${BUILDDIR}"
|
|