Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions srcpkgs/Komikku/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Komikku'
pkgname=Komikku
version=1.85.0
revision=2
version=1.105.0
revision=1
build_style=meson
build_helper=gir
hostmakedepends="gettext glib-devel pkg-config desktop-file-utils
Expand All @@ -11,15 +11,16 @@ depends="gtk4 libadwaita libnotify libsecret python3-BeautifulSoup4 python3-Brot
python3-Pillow python3-Unidecode python3-requests python3-dateparser
python3-gobject python3-keyring python3-lxml python3-magic python3-rarfile
python3-natsort python3-pure-protobuf python3-emoji libwebkitgtk60
python3-piexif python3-modern_colorthief python3-pillow_heif"
python3-piexif python3-colorthief python3-pillow_heif python3-jxlpy
python3-ebooklib python3-pypdf"
checkdepends="appstream-glib desktop-file-utils"
short_desc="Online/offline manga reader for GNOME"
maintainer="Hendrik Boll <fanyx@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://codeberg.org/valos/Komikku"
changelog="https://codeberg.org/valos/Komikku/releases"
distfiles="https://codeberg.org/valos/Komikku/archive/v${version}.tar.gz"
checksum=3c5f2d77b626b274f3f56562f1666992515bb78b2fb67668ad6db956090aa51e
checksum=d05c58a6aa43d7673aed1b8a087ff5b385b95f5f028dabc35378b36e13076706

if [ "$CROSS_BUILD" ]; then
export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
Expand Down
25 changes: 25 additions & 0 deletions srcpkgs/gdk-pixbuf/patches/0001-disable-tests-with-warnings.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/303

Some tests fail due to the new glycin loader emitting warnings.
Meson detects warnings as errors and fails the test suite.

diff --git a/tests/meson.build b/tests/meson.build
index 9b96fdc69..c1fe2eeb5 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -61,15 +61,11 @@ endif
# - ops: Pixel operations
installed_tests = {
'pixbuf-construction': { 'suites': ['conform'], },
- 'animation': {
- 'suites': ['format'],
- },
'cve-2015-4491': {
'suites': ['security'],
'needs_resources': true,
'skip': no_resources,
},
- 'pixbuf-fail': { 'suites': ['conform', 'slow'], },
'pixbuf-icon-serialize': { 'suites': ['conform'], },
'pixbuf-randomly-modified': { 'suites': ['slow'], 'skip': enabled_loaders.contains('glycin') },
'pixbuf-threads': { 'suites': ['io'], },
31 changes: 0 additions & 31 deletions srcpkgs/gdk-pixbuf/patches/largejpeg-oom-test.patch

This file was deleted.

16 changes: 16 additions & 0 deletions srcpkgs/gdk-pixbuf/patches/test-jpeg-largeoom.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/tests/pixbuf-jpeg.c b/tests/pixbuf-jpeg.c
index 74e3e6c54..7f10148f1 100644
--- a/tests/pixbuf-jpeg.c
+++ b/tests/pixbuf-jpeg.c
@@ -94,7 +94,11 @@ test_bug_775218 (void)
}

ref = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "bug775218.jpg", NULL), &error);
+#if GLIB_SIZEOF_VOID_P == 8
g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
+#else
+ g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY);
+#endif
g_error_free (error);
g_clear_object (&ref);
}
13 changes: 7 additions & 6 deletions srcpkgs/gdk-pixbuf/template
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# Template file for 'gdk-pixbuf'
pkgname=gdk-pixbuf
version=2.42.12
revision=2
version=2.44.6
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_feature gir introspection) -Dpng=enabled
-Djpeg=enabled -Dtiff=enabled -Dgif=enabled -Dothers=enabled
-Dinstalled_tests=false"
-Djpeg=enabled -Dtiff=enabled -Dgif=enabled -Dglycin=enabled
-Dothers=enabled -Dinstalled_tests=false"
hostmakedepends="gettext-devel glib-devel pkg-config python3-docutils"
makedepends="libglib-devel libpng-devel tiff-devel libjpeg-turbo-devel
shared-mime-info"
shared-mime-info glycin-devel libseccomp-devel lcms2-devel"
depends="shared-mime-info"
checkdepends="bubblewrap"
short_desc="Image loading library for The GTK+ toolkit (v2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GdkPixbuf"
distfiles="${GNOME_SITE}/gdk-pixbuf/${version%.*}/gdk-pixbuf-${version}.tar.xz"
checksum=b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7
checksum=140c2d0b899fcf853ee92b26373c9dc228dbcde0820a4246693f4328a27466fa

# Package build options
build_options="gir"
Expand Down
18 changes: 18 additions & 0 deletions srcpkgs/python3-ebooklib/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'python3-ebooklib'
pkgname=python3-ebooklib
version=0.20
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3-lxml python3-six"
short_desc="Versatile Python library for EPUB manipulation and processing"
maintainer="Hendrik Boll <fanyx@posteo.net>"
license="AGPL-3.0-or-later"
homepage="https://github.com/aerkalov/ebooklib"
distfiles="https://github.com/aerkalov/ebooklib/archive/refs/tags/v${version}.tar.gz"
checksum=b8dc574bf675e4832e69ef13514d4578d547f85619db6dbf5d0428e999838377

post_install() {
vlicense LICENSE.txt
}
18 changes: 18 additions & 0 deletions srcpkgs/python3-jxlpy/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'python3-jxlpy'
pkgname=python3-jxlpy
version=0.9.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel python3-Cython libjxl-devel"
depends="python3-Cython"
short_desc="Cython bindings and Pillow plugin for JPEG XL"
maintainer="Hendrik Boll <fanyx@posteo.net>"
license="MIT"
homepage="https://github.com/olokelo/jxlpy"
distfiles="https://github.com/olokelo/jxlpy/archive/refs/tags/${version}.tar.gz"
checksum=a1884ce5ffc908d856a82b8acfa54ba2ed986533e9d50f00a512e5351bf9e7a3

post_install() {
vlicense LICENSE
}