1
0

Compare commits

...

13 Commits

Author SHA256 Message Date
Ana Guerrero
5589cc504b Accepting request 1235448 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1235448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=11
2025-01-07 19:53:27 +00:00
12a5edb632 - Update to version 1.1.4:
+ Fixed:
    - image-rs: Support `image/qoi` mime-type for QOI in addition
      to `image/x-qoi`.
    - libglycin:
      . Include stdint.h.
      . Remove dependency on gtk in header and move it to
        libglycin-gtk4.

- Update URL and git url to new upstream home (GNOME core).
  Following this, run all services, ensure the new url works as
  expected.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=25
2025-01-06 22:40:26 +00:00
Ana Guerrero
f061638c63 Accepting request 1230135 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1230135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=10
2024-12-11 20:05:28 +00:00
6cbb0208cd OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=23 2024-12-11 14:57:33 +00:00
Ana Guerrero
38b46788b6 Accepting request 1226289 from GNOME:Factory
- Update to version 1.1.2:
  + Added: Output loader output as debug messages. The loader
    output is captured and added to errors. But it's not accessible
    if the loader doesn't return. In that case, this feature is useful.
  + Fixed:
    - Fix jpegxl-rs version to 0.10.3. Version 0.10.4 does not
      build on arm64 and builds libjxl instead of using the system
      library.
  + Fix memory format mapping for RGBA 32bit float image from
    image-rs. This fixes rendering for a lot of OpenEXR images.
  + glycin-heif: Disable bindgen for libheif-rs since it won't
    build with libheif 1.19 or newer otherwise.
- Drop glycin-loaders-libheif-non-default.patch: Upstream fixed the
  build issue.

  rebuild libheif-rs create as a workaround (forwarded request 1225969 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1226289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=9
2024-11-25 22:23:21 +00:00
f9d8ad7dbf - Update to version 1.1.2:
+ Added: Output loader output as debug messages. The loader
    output is captured and added to errors. But it's not accessible
    if the loader doesn't return. In that case, this feature is useful.
  + Fixed:
    - Fix jpegxl-rs version to 0.10.3. Version 0.10.4 does not
      build on arm64 and builds libjxl instead of using the system
      library.
  + Fix memory format mapping for RGBA 32bit float image from
    image-rs. This fixes rendering for a lot of OpenEXR images.
  + glycin-heif: Disable bindgen for libheif-rs since it won't
    build with libheif 1.19 or newer otherwise.
- Drop glycin-loaders-libheif-non-default.patch: Upstream fixed the
  build issue.

  rebuild libheif-rs create as a workaround

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=21
2024-11-25 14:18:37 +00:00
Ana Guerrero
579164af25 Accepting request 1223957 from GNOME:Factory
- Update vendor tarball.
- Add glycin-loaders-libheif-non-default.patch: change setting to
  rebuld libheif-rs create as a workaround
  (gh#Cykooz/libheif-rs#28).

OBS-URL: https://build.opensuse.org/request/show/1223957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=8
2024-11-14 15:08:16 +00:00
4cdd0e6268 Add patch tag
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=19
2024-11-13 13:28:51 +00:00
773dab9cf5 - Update vendor tarball.
- Add glycin-loaders-libheif-non-default.patch: change setting to
  rebuld libheif-rs create as a workaround
  (gh#Cykooz/libheif-rs#28).

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=18
2024-11-13 12:41:19 +00:00
Ana Guerrero
9663e7472c Accepting request 1204687 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1204687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=7
2024-09-30 13:41:47 +00:00
f22a31e91a Scripted push of GNOME 47
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=16
2024-09-30 07:38:34 +00:00
Ana Guerrero
8f5336faaa Accepting request 1201525 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1201525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glycin-loaders?expand=0&rev=6
2024-09-17 16:18:46 +00:00
0463b05a22 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=14 2024-09-17 07:22:34 +00:00
7 changed files with 215 additions and 19 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/sophie-h/glycin.git</param>
<param name="url">https://gitlab.gnome.org/GNOME/glycin.git</param>
<param name="scm">git</param>
<param name="revision">1.0.1</param>
<param name="revision">1.1.4</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:c6400fa56b4d734f05309b2f55b57e2acdfd848f04a1c54fe19a207de6c62f88
size 11116045

View File

@ -1,3 +1,125 @@
-------------------------------------------------------------------
Sat Jan 4 08:16:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.4:
+ Fixed:
- image-rs: Support `image/qoi` mime-type for QOI in addition
to `image/x-qoi`.
- libglycin:
. Include stdint.h.
. Remove dependency on gtk in header and move it to
libglycin-gtk4.
-------------------------------------------------------------------
Tue Dec 17 08:46:52 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update URL and git url to new upstream home (GNOME core).
Following this, run all services, ensure the new url works as
expected.
-------------------------------------------------------------------
Wed Dec 11 08:45:45 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update vendor tarball (fixes build for i586).
-------------------------------------------------------------------
Sat Nov 23 11:17:09 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.2:
+ Added: Output loader output as debug messages. The loader
output is captured and added to errors. But it's not accessible
if the loader doesn't return. In that case, this feature is useful.
+ Fixed:
- Fix jpegxl-rs version to 0.10.3. Version 0.10.4 does not
build on arm64 and builds libjxl instead of using the system
library.
+ Fix memory format mapping for RGBA 32bit float image from
image-rs. This fixes rendering for a lot of OpenEXR images.
+ glycin-heif: Disable bindgen for libheif-rs since it won't
build with libheif 1.19 or newer otherwise.
- Drop glycin-loaders-libheif-non-default.patch: Upstream fixed the
build issue.
-------------------------------------------------------------------
Wed Nov 13 10:23:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update vendor tarball.
- Add glycin-loaders-libheif-non-default.patch: change setting to
rebuild libheif-rs create as a workaround
(gh#Cykooz/libheif-rs#28).
-------------------------------------------------------------------
Wed Sep 25 07:28:00 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Temp disable update of vendors, stay with versions specified by
upstream to fix build on aarch64 and ppc64le. Following this,
"downgrade" the vendor tarball.
-------------------------------------------------------------------
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.4
mtime: 1735945021
commit: af015db81a0da146c4e56213baf9d1cc3eaa551e

View File

@ -1,7 +1,7 @@
#
# spec file for package glycin-loaders
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,11 +19,11 @@
%bcond_without jxl
Name: glycin-loaders
Version: 1.0.1
Version: 1.1.4
Release: 0
Summary: Sandboxed image rendering
License: LGPL-2.1-or-later OR MPL-2.0
URL: https://gitlab.gnome.org/sophie-h/glycin
URL: https://gitlab.gnome.org/GNOME/glycin
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
@ -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:ce3ba8597844034c8bbcd6565128e32284071ae1607f9d6f5d4818848ee4127f
size 24125780