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
This commit is contained in:
commit
8f5336faaa
5
_service
5
_service
@ -3,7 +3,7 @@
|
|||||||
<service name="obs_scm" mode="manual">
|
<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/sophie-h/glycin.git</param>
|
||||||
<param name="scm">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="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
@ -19,8 +19,5 @@
|
|||||||
<param name="srcdir">glycin</param>
|
<param name="srcdir">glycin</param>
|
||||||
<param name="update">true</param>
|
<param name="update">true</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="cargo_audit" mode="manual">
|
|
||||||
<param name="srcdir">glycin</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:83d9f90052f0dfe3814d1711da5d811e3031fbfa293dac6c98e4ccc0ee9114ab
|
|
||||||
size 10424845
|
|
3
glycin-loaders-1.1.1.obscpio
Normal file
3
glycin-loaders-1.1.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4d8a185438f053831c3b4db629a632d63b8b85280d3c367a5842a93e3b509b70
|
||||||
|
size 11085837
|
@ -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>
|
Thu Apr 4 08:02:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: glycin-loaders
|
name: glycin-loaders
|
||||||
version: 1.0.1
|
version: 1.1.1
|
||||||
mtime: 1711837760
|
mtime: 1726480753
|
||||||
commit: a2d84ae939962f129ea3cfd9a32d6f78329a42bb
|
commit: ce58882288245c1650a444243e0e90c87e53f835
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%bcond_without jxl
|
%bcond_without jxl
|
||||||
|
|
||||||
Name: glycin-loaders
|
Name: glycin-loaders
|
||||||
Version: 1.0.1
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sandboxed image rendering
|
Summary: Sandboxed image rendering
|
||||||
License: LGPL-2.1-or-later OR MPL-2.0
|
License: LGPL-2.1-or-later OR MPL-2.0
|
||||||
@ -33,31 +33,80 @@ BuildRequires: git
|
|||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if %{with jxl}
|
%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
|
%endif
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(gtk4) >= 4.12.0
|
BuildRequires: pkgconfig(gtk4) >= 4.12.0
|
||||||
|
BuildRequires: pkgconfig(lcms2)
|
||||||
BuildRequires: pkgconfig(libheif) >= 1.17.4
|
BuildRequires: pkgconfig(libheif) >= 1.17.4
|
||||||
|
BuildRequires: pkgconfig(librsvg-2.0)
|
||||||
BuildRequires: pkgconfig(libseccomp) >= 2.5.0
|
BuildRequires: pkgconfig(libseccomp) >= 2.5.0
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(vapigen)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sandboxed and extendable image decoding.
|
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
|
%prep
|
||||||
%autosetup -p1 -a1
|
%autosetup -p1 -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export RUSTFLAGS="%{build_rustflags}"
|
|
||||||
%meson \
|
%meson \
|
||||||
-Dloaders=glycin-heif,glycin-image-rs,glycin-svg%[%{with jxl}?",glycin-jxl":""] \
|
-Dloaders=glycin-heif,glycin-image-rs,glycin-svg%[%{with jxl}?",glycin-jxl":""] \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export RUSTFLAGS="%{build_rustflags}"
|
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libglycin-1-0
|
||||||
|
%ldconfig_scriptlets -n libglycin-gtk4-1-0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{_libexecdir}/glycin-loaders
|
%dir %{_libexecdir}/glycin-loaders
|
||||||
%dir %{_libexecdir}/glycin-loaders/1+
|
%dir %{_libexecdir}/glycin-loaders/1+
|
||||||
@ -75,4 +124,32 @@ export RUSTFLAGS="%{build_rustflags}"
|
|||||||
%{_datadir}/glycin-loaders/1+/conf.d/glycin-jxl.conf
|
%{_datadir}/glycin-loaders/1+/conf.d/glycin-jxl.conf
|
||||||
%endif
|
%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
|
%changelog
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:feff61aef99c093241390a7dd06fd611adb8123633445b2d1b9309ce04a60df1
|
oid sha256:4e507262d9164572641821a3e6cdc29b9ad57592aaedad0de7a72ff9710c1a8e
|
||||||
size 36240031
|
size 28657751
|
||||||
|
Loading…
Reference in New Issue
Block a user