Update metadata

This commit is contained in:
Milan Nikolic
2024-02-08 15:47:35 +01:00
parent 183c42613f
commit a8084ed897
4 changed files with 8 additions and 477 deletions

View File

@@ -1,60 +0,0 @@
diff -ur mupdf-1.23.3-source.orig/Makefile mupdf-1.23.3-source/Makefile
--- mupdf-1.23.3-source.orig/Makefile 2023-09-05 13:51:19.000000000 +0200
+++ mupdf-1.23.3-source/Makefile 2023-09-08 09:28:01.165486441 +0200
@@ -3,7 +3,7 @@
-include user.make
ifndef build
- build := release
+ build := debug
endif
default: all
@@ -290,17 +290,19 @@
$(THREAD_LIB) : $(THREAD_OBJ)
$(PKCS7_LIB) : $(PKCS7_OBJ)
else
-MUPDF_LIB = $(OUT)/libmupdf.a
+MUPDF_LIB = libmupdf.so
LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB) $(THIRD_LIB)
-THIRD_LIB = $(OUT)/libmupdf-third.a
+THIRD_LIB =
+MUPDF_STATIC = $(OUT)/libmupdf.a
ifneq ($(USE_SYSTEM_GLUT),yes)
THIRD_GLUT_LIB = $(OUT)/libmupdf-glut.a
endif
THREAD_LIB = $(OUT)/libmupdf-threads.a
PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
-$(MUPDF_LIB) : $(MUPDF_OBJ)
-$(THIRD_LIB) : $(THIRD_OBJ)
+$(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ)
+ $(QUIET_LINK) $(CC) $(LDFLAGS) --shared -Wl,-soname -Wl,$(MUPDF_LIB) -o $@ $^ $(THIRD_LIBS) $(LIBS)
+$(MUPDF_STATIC): $(MUPDF_OBJ) $(THIRD_OBJ)
$(THIRD_GLUT_LIB) : $(THIRD_GLUT_OBJ)
$(THREAD_LIB) : $(THREAD_OBJ)
$(PKCS7_LIB) : $(PKCS7_OBJ)
diff -ur mupdf-1.23.3-source.orig/Makethird mupdf-1.23.3-source/Makethird
--- mupdf-1.23.3-source.orig/Makethird 2023-09-05 13:51:19.000000000 +0200
+++ mupdf-1.23.3-source/Makethird 2023-09-08 01:16:56.785811250 +0200
@@ -2,16 +2,16 @@
ifeq ($(USE_SYSTEM_LIBS),yes)
USE_SYSTEM_FREETYPE := yes
- USE_SYSTEM_GUMBO := yes
+ USE_SYSTEM_GUMBO := no
USE_SYSTEM_HARFBUZZ := yes
- USE_SYSTEM_JBIG2DEC := yes
+ USE_SYSTEM_JBIG2DEC := no
USE_SYSTEM_JPEGXR := no # not available
USE_SYSTEM_LCMS2 := no # lcms2mt is strongly preferred
USE_SYSTEM_LIBJPEG := yes
USE_SYSTEM_MUJS := no # not available
- USE_SYSTEM_OPENJPEG := yes
+ USE_SYSTEM_OPENJPEG := no
USE_SYSTEM_ZLIB := yes
- USE_SYSTEM_GLUT := yes
+ USE_SYSTEM_GLUT := no
USE_SYSTEM_CURL := yes
USE_SYSTEM_LEPTONICA := yes
USE_SYSTEM_TESSERACT := yes

View File

@@ -32,6 +32,14 @@
<content_rating type="oars-1.1"/> <content_rating type="oars-1.1"/>
<releases> <releases>
<release version="1.0.4" date="2024-02-08" type="stable">
<description>
<ul>
<li>Update modules and dependencies</li>
</ul>
</description>
<url type="details">https://github.com/gen2brain/cbconvert/releases/tag/v1.0.4</url>
</release>
<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>

View File

@@ -1,372 +0,0 @@
app-id: io.github.gen2brain.cbconvert
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
command: cbconvert
finish-args:
- --share=ipc
- --socket=x11
build-options:
env:
- GOROOT=/usr/lib/sdk/golang
cleanup:
- '*.a'
- '*.la'
- '/bin/Magick*'
- '/etc'
- '/include'
- '/lib/cmake'
- '/lib/pkgconfig'
- '/lib/ImageMagick*'
- '/share/ImageMagick*'
- '/share/doc'
- '/share/man'
- '/share/thumbnailers'
modules:
- name: libheif
buildsystem: autotools
config-opts:
- --enable-shared
- --disable-static
- --disable-libde265
- --disable-dav1d
- --disable-go
- --disable-gdk-pixbuf
- --disable-rav1e
- --disable-x265
- --disable-tests
- --disable-examples
sources:
- type: archive
url: https://github.com/strukturag/libheif/releases/download/v1.15.2/libheif-1.15.2.tar.gz
sha256: 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2
- name: highway
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DHWY_ENABLE_TESTS=OFF
- -DHWY_ENABLE_EXAMPLES=OFF
- -DHWY_WARNINGS_ARE_ERRORS=OFF
sources:
- type: archive
url: https://github.com/google/highway/archive/refs/tags/1.0.7.tar.gz
sha256: 5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
- name: libjxl
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DJPEGXL_ENABLE_BENCHMARK=OFF
- -DJPEGXL_ENABLE_COVERAGE=OFF
- -DJPEGXL_ENABLE_FUZZERS=OFF
- -DJPEGXL_ENABLE_SJPEG=OFF
- -DJPEGXL_WARNINGS_AS_ERRORS=OFF
- -DJPEGXL_ENABLE_SKCMS=OFF
- -DJPEGXL_ENABLE_VIEWERS=OFF
- -DJPEGXL_ENABLE_PLUGINS=OFF
- -DJPEGXL_ENABLE_DOXYGEN=OFF
- -DJPEGXL_ENABLE_MANPAGES=OFF
- -DJPEGXL_ENABLE_JNI=OFF
- -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
- -DJPEGXL_ENABLE_TCMALLOC=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_OPENEXR=OFF
- -DBUILD_TESTING=OFF
- -DJPEGXL_FORCE_SYSTEM_BROTLI=ON
- -DJPEGXL_FORCE_SYSTEM_LCMS2=ON
sources:
- type: archive
url: https://github.com/libjxl/libjxl/archive/refs/tags/v0.8.2.tar.gz
sha256: c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420
- name: ImageMagick
buildsystem: autotools
config-opts:
- --enable-shared
- --disable-static
- --enable-zero-configuration
- --without-frozenpaths
- --without-utilities
- --without-modules
- --without-magick-plus-plus
- --without-perl
- --without-bzlib
- --without-x
- --without-zip
- --without-dps
- --without-djvu
- --without-autotrace
- --without-fftw
- --without-fpx
- --without-fontconfig
- --without-freetype
- --without-gslib
- --without-gvc
- --without-jbig
- --without-openjp2
- --without-lcms
- --without-lqr
- --without-lzma
- --without-openexr
- --without-pango
- --without-raw
- --without-rsvg
- --without-wmf
- --without-xml
- --disable-hdri
- --disable-opencl
- --disable-openmp
- --with-jpeg
- --with-png
- --with-tiff
- --with-webp
- --with-heic
- --with-jxl
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-15.tar.gz
sha256: 2372192a76af9be43c0543dd7ae6dfbf34b11fc0203583453ce3f9f707c36bcc
- name: MuPDF
buildsystem: simple
build-commands:
- HAVE_X11=no HAVE_LIBCRYPTO=no HAVE_GLUT=no HAVE_OBJCOPY=no USE_SYSTEM_LIBS=yes build=debug shared=yes tofu=yes tofu_cjk=yes make libs
- install -Dm00755 build/shared-debug-tofu-tofu_cjk/libmupdf.so $FLATPAK_DEST/lib/debug/lib/libmupdf.so.debug
- install -dm00755 $FLATPAK_DEST/lib/debug/source/mupdf/source
- cp -r source $FLATPAK_DEST/lib/debug/source/mupdf
- cp -r include/mupdf $FLATPAK_DEST/include/
- install -Dsm00755 build/shared-debug-tofu-tofu_cjk/libmupdf.so $FLATPAK_DEST/lib/libmupdf.so
sources:
- type: archive
url: https://mupdf.com/downloads/archive/mupdf-1.23.3-source.tar.gz
sha256: 1ef9a6409bc0a3271586e1b16f78eb156a579521cd212a124b57c4da8b940aad
- type: patch
path: 01-mupdf-shared.patch
- name: CBconvert
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.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.2.tar.gz
sha256: 492e1210cd1b3ef2ea95c3df47eb04447a01b7c5507c1db016f759b1f9b3fa9b
- type: archive
url: https://proxy.golang.org/github.com/chai2010/webp/@v/v1.1.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/chai2010/webp
sha256: f42fe1697007ea12155a5d1342d61787e1f34ca396192e4995dc4f2b350552ac
- type: archive
url: https://proxy.golang.org/github.com/davecgh/go-spew/@v/v1.1.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/davecgh/go-spew
sha256: 6b44a843951f371b7010c754ecc3cabefe815d5ced1c5b9409fb2d697e8a890d
- type: archive
url: https://proxy.golang.org/github.com/disintegration/imaging/@v/v1.6.2.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/disintegration/imaging
sha256: 2934e7bace3c8c0b1b4a07144197e8720b9ffbe922600e3a3c764f77792ac7c4
- type: archive
url: https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/dustin/go-humanize
sha256: 319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46
- type: archive
url: https://proxy.golang.org/github.com/fvbommel/sortorder/@v/v1.1.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/fvbommel/sortorder
sha256: a4dbc58d2f72212474a7b5e1894b11d6712b687f4cc66ca1f6e202a375d252f7
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/go-fitz/@v/v1.23.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/go-fitz
sha256: 60fc98c3420d7f7347e7a454fdfd66bca960accc8ed0ac582f4b4d82b38513c8
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/go-unarr/@v/v0.1.7.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/go-unarr
sha256: 6f3418edef461c2e1ce5ba77141d402b04d4cf86e89b27c5dc20c922ac63ca4e
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/iup-go/iup/@v/v0.0.0-20230906093706-8b037fe6a7bd.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/iup-go/iup
sha256: a75dbec0ce228214533ee971771233f8b57653828af04bc012f72b624b76be5d
- type: archive
url: https://proxy.golang.org/github.com/godbus/dbus/v5/@v/v5.1.0.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/godbus/dbus/v5
sha256: 03dfa8e71089a6f477310d15c4d3a036d82d028532881b50fee254358e782ad9
- type: archive
url: https://proxy.golang.org/github.com/google/uuid/@v/v1.3.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/google/uuid
sha256: 9d9d6cfb28ce6dbe4b518c42c6bccd67bb531a106859808f36e82a5c3fb8c64d
- type: archive
url: https://proxy.golang.org/github.com/k0kubun/go-ansi/@v/v0.0.0-20180517002512-3bf9e2903213.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/k0kubun/go-ansi
sha256: 28366085f1787eaf9d6589f050455855f01caf559f2c6d1c4f4e590cd0abbdef
- type: archive
url: https://proxy.golang.org/github.com/mattn/go-isatty/@v/v0.0.16.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/mattn/go-isatty
sha256: 3d5ff19c4b2a2a164feb84f5cc38af349380c0c4a03d0443dce40bbd6ec3fd2b
- type: archive
url: https://proxy.golang.org/github.com/mattn/go-runewidth/@v/v0.0.13.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/mattn/go-runewidth
sha256: c104e14c1612a6d736bd109fe5fec9749a8146e1f7d37844d8a0a1296e00d4e9
- type: archive
url: https://proxy.golang.org/github.com/mitchellh/colorstring/@v/v0.0.0-20190213212951-d06e56a500db.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/mitchellh/colorstring
sha256: d0733284b20567055e374b420373f5508fa47e95204e59e4b8a66834e7e3964d
- type: archive
url: https://proxy.golang.org/github.com/pmezard/go-difflib/@v/v1.0.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/pmezard/go-difflib
sha256: de04cecc1a4b8d53e4357051026794bcbc54f2e6a260cfac508ce69d5d6457a0
- type: archive
url: https://proxy.golang.org/github.com/rivo/uniseg/@v/v0.3.4.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/rivo/uniseg
sha256: 410ba5034e1683946d68e7fd50ad793c2ad72b157f2959fe4719449666d1e63f
- type: archive
url: https://proxy.golang.org/github.com/schollz/progressbar/v3/@v/v3.10.0.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/schollz/progressbar/v3
sha256: 2cdbf5e4bc314bf140911a923f22d5d9401d73f3b2c7311f6df5c2837d2743ba
- type: archive
url: https://proxy.golang.org/github.com/spf13/pflag/@v/v1.0.5.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/spf13/pflag
sha256: fc6e704f2f6a84ddcdce6de0404e5340fa20c8676181bf5d381b17888107ba84
- type: archive
url: https://proxy.golang.org/github.com/stretchr/objx/@v/v0.1.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/stretchr/objx
sha256: 1fa10dab404ed7fc8ed2a033f8784187d5df3513ced3841ce39e46d37850eb1d
- type: archive
url: https://proxy.golang.org/github.com/stretchr/testify/@v/v1.3.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/stretchr/testify
sha256: 8c935aed71cc334d5bfdf04b34909d9965cf28f80198dec13fb954dc292e6588
- type: archive
url: https://proxy.golang.org/github.com/strukturag/libheif/@v/v1.15.2.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/strukturag/libheif
sha256: bec8ad8e81d33d96b9ea8d11036a14ff4501b62f2cb79dbe49147a701c5c1d38
- type: archive
url: https://proxy.golang.org/github.com/yuin/goldmark/@v/v1.4.13.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/yuin/goldmark
sha256: bb41a602b174345fda392c8ad83fcc93217c285c763699677630be90feb7a5e3
- type: archive
url: https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20210921155107-089bfa567519.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/crypto
sha256: eb2426a7891915213cc5da1da7b6fc6e9e2cf253d518d8e169e038e287f414e3
- type: archive
url: https://proxy.golang.org/golang.org/x/image/@v/v0.12.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/image
sha256: eee2ea2f688c5bbe2a8ce36ba57f37573f5b63828560cd34f8621f0f8d07e6bd
- type: archive
url: https://proxy.golang.org/golang.org/x/mod/@v/v0.8.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/mod
sha256: 4ae8176799d8cda819e70731ba6855735003e7e4930436e34584c75c96c496e0
- type: archive
url: https://proxy.golang.org/golang.org/x/net/@v/v0.6.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/net
sha256: 7ff2f50b1f3a58833f867d1646421569a91d8c19a0999793c5af79b10c16b8b8
- type: archive
url: https://proxy.golang.org/golang.org/x/sync/@v/v0.3.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/sync
sha256: 1870e7a196f7119d4c6edba7de9cdfc49ee13c8cb7921f3a947568171c6152e0
- type: archive
url: https://proxy.golang.org/golang.org/x/sys/@v/v0.5.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/sys
sha256: cf47336ac1bf675fa6d6dd5ac5399b0143c513404c449fa3f3380a58123c7908
- type: archive
url: https://proxy.golang.org/golang.org/x/term/@v/v0.5.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/term
sha256: 7d89c49ab41306950128a0f4b7c67fb8e2d2f637ece8e024e6cf38d17a33193b
- type: archive
url: https://proxy.golang.org/golang.org/x/text/@v/v0.13.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/text
sha256: ed544fb017e967c053892df7b068612fce707ba32b57f35824cb041e31c6ae0f
- type: archive
url: https://proxy.golang.org/golang.org/x/tools/@v/v0.6.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/tools
sha256: 9a29c8904c2acd4b65825e916cbdaf417086f35bb68c54af9a6283a0e1341e85
- type: archive
url: https://proxy.golang.org/golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/xerrors
sha256: c4e9f063cfed546c90f00a9657deac4f915a8994f8cbe6dbd3f18e79eb8302cf
- type: archive
url: https://proxy.golang.org/gopkg.in/gographics/imagick.v3/@v/v3.4.3.zip
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

View File

@@ -1,45 +0,0 @@
# github.com/chai2010/webp v1.1.1
## explicit; go 1.17
github.com/chai2010/webp
# github.com/disintegration/imaging v1.6.2
## explicit
github.com/disintegration/imaging
# github.com/dustin/go-humanize v1.0.1
## explicit; go 1.16
github.com/dustin/go-humanize
# github.com/fvbommel/sortorder v1.1.0
## explicit; go 1.13
github.com/fvbommel/sortorder
# github.com/gen2brain/cbconvert v1.0.0
## explicit; go 1.21
github.com/gen2brain/cbconvert
# github.com/gen2brain/go-fitz v1.23.1
## explicit; go 1.20
github.com/gen2brain/go-fitz
# github.com/gen2brain/go-unarr v0.1.7
## explicit; go 1.18
github.com/gen2brain/go-unarr
github.com/gen2brain/go-unarr/unarrc
# github.com/gen2brain/iup-go/iup v0.0.0-20230906093706-8b037fe6a7bd
## explicit; go 1.19
github.com/gen2brain/iup-go/iup
github.com/gen2brain/iup-go/iup/manifest
# github.com/godbus/dbus/v5 v5.1.0
## explicit; go 1.12
github.com/godbus/dbus/v5
# github.com/google/uuid v1.3.1
## explicit
github.com/google/uuid
# golang.org/x/image v0.12.0
## explicit; go 1.12
golang.org/x/image/bmp
golang.org/x/image/ccitt
golang.org/x/image/tiff
golang.org/x/image/tiff/lzw
# golang.org/x/sync v0.3.0
## explicit; go 1.17
golang.org/x/sync/errgroup
# gopkg.in/gographics/imagick.v3 v3.4.3
## explicit; go 1.13
gopkg.in/gographics/imagick.v3/imagick
gopkg.in/gographics/imagick.v3/imagick/types