Ana Guerrero 2024-09-17 16:18:46 +00:00 committed by Git OBS Bridge
commit 8f5336faaa
7 changed files with 155 additions and 16 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/sophie-h/glycin.git</param>
<param name="scm">git</param>
<param name="revision">1.0.1</param>
<param name="revision">1.1.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
@ -19,8 +19,5 @@
<param name="srcdir">glycin</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual">
<param name="srcdir">glycin</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83d9f90052f0dfe3814d1711da5d811e3031fbfa293dac6c98e4ccc0ee9114ab
size 10424845

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d8a185438f053831c3b4db629a632d63b8b85280d3c367a5842a93e3b509b70
size 11085837

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
Mon Sep 16 11:08:00 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.1:
+ Glycin failed to detect the SVGZ format since the files were
just detected as gzip files via the magic bytes.
- Bump maximum version of pkgconfig(libjxl) BuildRequires.
-------------------------------------------------------------------
Fri Sep 13 15:28:21 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.0:
+ Fixed: tests: Update to test image which uses an explicit font
name in SVG, not depending on the correct default font setting
on the system for the test to pass.
+ Changed: glycin-utils: Don't use regex feature of env-logger to
save almost 1 MB binary size in each loader.
- Changes from version 1.1.beta:
+ Add tests for animations
+ Automatically detect if glycin is used inside a Flatpak
development environment and disable sandbox in that case.
Otherwise, flatpak-spawn wouldn't use the loaders from the
right Flatpak or might not find a installed Flatpak at all.
+ Capture the stderr and stdout from loaders and editors and
included it in the new ErrorCtx type that the API now returns.
+ Also include free swap as free memory in the calculation of how
much memory a loader can use.
+ If the fontconfig cache was not up-to-date, rendering SVGs with
text would fail. There is now a loader config option to enable
passing a writable fontconfig cache dir into the loader
sandbox. This fixes the issue. The cache is per loader binary.
+ Sealing memfds sometimes fails. Is is solved via retrying the
seal until it works. In the past this was limited to very short
time of retries. The interval is now much longer and properly
async.
+ There was an error in the hardcoded limit for the texture size.
The limit is now fixed and 8GB as intended.
- Changes from version 1.1.alpha:
+ A specific error if no loaders are configured instead of giving
an unknown format error.
+ Bindings for C and other languages via GObject Introspection
under the name libglycin and libglycin-gtk4.
+ Loaders are now accompanied by editors that can return an image
with image operations applied.
+ Option to use tokio throughout instead of async-io.
+ glycin: List of mime types `glycin::DEFAULT_MIME_TYPES` that
the default loaders support.
+ glycin: New loader option to apply transformations like
rotate/mirror from metadata by default.
+ loaders: Use specific OutOfMemory error type.
+ glycin: Use a specific error type when no loaders are
configured.
+ jxl: Libjxl version 0.10 is now required.
+ svg: Use C bindings in SVG loader to reduce binary size.
- Stop exporting rustflags, no longer needed.
- Add pkgconfig(librsvg-2.0), pkgconfig(lcms2), pkgconfig(lcms2),
pkgconfig(gobject-introspection-1.0) and pkgconfig(vapigen)
BuildRequires: New dependencies.
- Add new sub-packages and needed macros and Requires for them:
+ libglycin-1-0
+ libglycin-gtk4-1-0
+ typelib-1_0-Gly_1
+ typelib-1_0-GlyGtk4_1
+ glycin-loaders-devel
-------------------------------------------------------------------
Thu Apr 4 08:02:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,4 +1,4 @@
name: glycin-loaders
version: 1.0.1
mtime: 1711837760
commit: a2d84ae939962f129ea3cfd9a32d6f78329a42bb
version: 1.1.1
mtime: 1726480753
commit: ce58882288245c1650a444243e0e90c87e53f835

View File

@ -19,7 +19,7 @@
%bcond_without jxl
Name: glycin-loaders
Version: 1.0.1
Version: 1.1.1
Release: 0
Summary: Sandboxed image rendering
License: LGPL-2.1-or-later OR MPL-2.0
@ -33,31 +33,80 @@ BuildRequires: git
BuildRequires: meson
BuildRequires: pkgconfig
%if %{with jxl}
BuildRequires: (pkgconfig(libjxl) >= 0.8.2 with pkgconfig(libjxl) < 0.11.0)
BuildRequires: (pkgconfig(libjxl) >= 0.8.2 with pkgconfig(libjxl) < 0.13.0)
%endif
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.12.0
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libheif) >= 1.17.4
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libseccomp) >= 2.5.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(vapigen)
%description
Sandboxed and extendable image decoding.
%package -n libglycin-1-0
Summary: Shared library for %{name}
%description -n libglycin-1-0
Sandboxed and extendable image decoding.
This package provides the shared library for %{name}
%package -n libglycin-gtk4-1-0
Summary: Shared library for %{name}
%description -n libglycin-gtk4-1-0
Sandboxed and extendable image decoding.
This package provides the shared library for %{name}
%package -n typelib-1_0-Gly_1
Summary: Introspection bindings for %{name}
%description -n typelib-1_0-Gly_1
Sandboxed and extendable image decoding.
This package provides introspection bindings for %{name}
%package -n typelib-1_0-GlyGtk4_1
Summary: Introspection bindings for %{name}
%description -n typelib-1_0-GlyGtk4_1
Sandboxed and extendable image decoding.
This package provides introspection bindings for %{name}
%package devel
Summary: Development Files for %{name}
Requires: libglycin-1-0 = %{version}
Requires: libglycin-gtk4-1-0 = %{version}
Requires: typelib-1_0-GlyGtk4_1 = %{version}
Requires: typelib-1_0-Gly_1 = %{version}
%description devel
Sandboxed and extendable image decoding.
This package provides developments files for %{name}
%prep
%autosetup -p1 -a1
%build
export RUSTFLAGS="%{build_rustflags}"
%meson \
-Dloaders=glycin-heif,glycin-image-rs,glycin-svg%[%{with jxl}?",glycin-jxl":""] \
%{nil}
%meson_build
%install
export RUSTFLAGS="%{build_rustflags}"
%meson_install
%ldconfig_scriptlets -n libglycin-1-0
%ldconfig_scriptlets -n libglycin-gtk4-1-0
%files
%dir %{_libexecdir}/glycin-loaders
%dir %{_libexecdir}/glycin-loaders/1+
@ -75,4 +124,32 @@ export RUSTFLAGS="%{build_rustflags}"
%{_datadir}/glycin-loaders/1+/conf.d/glycin-jxl.conf
%endif
%files -n libglycin-1-0
%{_libdir}/libglycin-1.so.0
%files -n libglycin-gtk4-1-0
%{_libdir}/libglycin-gtk4-1.so.0
%files -n typelib-1_0-Gly_1
%{_libdir}/girepository-1.0/Gly-1.typelib
%files -n typelib-1_0-GlyGtk4_1
%{_libdir}/girepository-1.0/GlyGtk4-1.typelib
%files devel
%dir %{_includedir}/glycin-1
%{_includedir}/glycin-1/glycin.h
%dir %{_includedir}/glycin-gtk4-1
%{_includedir}/glycin-gtk4-1/glycin-gtk4.h
%{_libdir}/libglycin-1.so
%{_libdir}/libglycin-gtk4-1.so
%{_libdir}/pkgconfig/glycin-1.pc
%{_libdir}/pkgconfig/glycin-gtk4-1.pc
%{_datadir}/gir-1.0/Gly-1.gir
%{_datadir}/gir-1.0/GlyGtk4-1.gir
%{_datadir}/vala/vapi/libglycin-1.deps
%{_datadir}/vala/vapi/libglycin-1.vapi
%{_datadir}/vala/vapi/libglycin-gtk4-1.deps
%{_datadir}/vala/vapi/libglycin-gtk4-1.vapi
%changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:feff61aef99c093241390a7dd06fd611adb8123633445b2d1b9309ce04a60df1
size 36240031
oid sha256:4e507262d9164572641821a3e6cdc29b9ad57592aaedad0de7a72ff9710c1a8e
size 28657751