From 932fed2cfc6cf393ca506d06cf9cd529106de02b6da693fd77a644f0248384f0 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Fri, 1 Sep 2023 04:39:55 +0000 Subject: [PATCH] Accepting request 1108133 from GNOME:Next New package - for loupe OBS-URL: https://build.opensuse.org/request/show/1108133 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + glycin-loaders-0.1.beta.4.tar.xz | 3 ++ glycin-loaders.changes | 22 +++++++++++ glycin-loaders.spec | 65 ++++++++++++++++++++++++++++++++ 5 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 glycin-loaders-0.1.beta.4.tar.xz create mode 100644 glycin-loaders.changes create mode 100644 glycin-loaders.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/glycin-loaders-0.1.beta.4.tar.xz b/glycin-loaders-0.1.beta.4.tar.xz new file mode 100644 index 0000000..27ebf71 --- /dev/null +++ b/glycin-loaders-0.1.beta.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ef09baa70fddfabdef697256c1dad6a63b0d4a4401fdc3941192af3dc6b63ba +size 41052028 diff --git a/glycin-loaders.changes b/glycin-loaders.changes new file mode 100644 index 0000000..a8d5f06 --- /dev/null +++ b/glycin-loaders.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Wed Aug 23 18:54:59 UTC 2023 - Bjørn Lie + +- Update to version 0.1.beta.4: + + Relicense under MPL-2.0 OR LGPL-2.1-or-later + + Add symlinks for license files in crates + + Add cairo dependency for svg loader + + HEIC: Fix filetype detection in config + + tests: + - Add HEIC tests + - Add option to skip image formats in tests + - Run required install before tests (can be disabled) +- Add pkgconfig(cairo) BuildRequires, new dependency. +- Pass explicit + loaders=glycin-heif,glycin-image-rs,glycin-jxl,glycin-svg to + meson, ensure we build all the loaders. +- Update License tag following upstreams relicense. + +------------------------------------------------------------------- +Tue Aug 22 14:01:24 UTC 2023 - Dominique Leuenberger + +- Initial package, version 0.1.beta.3. diff --git a/glycin-loaders.spec b/glycin-loaders.spec new file mode 100644 index 0000000..48fb7f6 --- /dev/null +++ b/glycin-loaders.spec @@ -0,0 +1,65 @@ +# +# spec file for package glycin-loaders +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: glycin-loaders +Version: 0.1.beta.4 +Release: 0 +Summary: Sandboxed image rendering +License: MPL-2.0 OR LGPL-2.1-or-later +URL: https://gitlab.gnome.org/sophie-h/glycin +Source0: https://download.gnome.org/sources/glycin-loaders/0.1/%{name}-%{version}.tar.xz +BuildRequires: cargo-packaging +BuildRequires: git +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(libheif) +BuildRequires: pkgconfig(libxml-2.0) + +%description +Sandboxed and extendable image decoding. + +%prep +%autosetup + +%build +%meson \ + -Dloaders=glycin-heif,glycin-image-rs,glycin-jxl,glycin-svg \ + %{nil} +%meson_build + +%install +%meson_install + +%files +%dir %{_libexecdir}/glycin-loaders +%dir %{_libexecdir}/glycin-loaders/0+ +%{_libexecdir}/glycin-loaders/0+/glycin-heif +%{_libexecdir}/glycin-loaders/0+/glycin-image-rs +%{_libexecdir}/glycin-loaders/0+/glycin-jxl +%{_libexecdir}/glycin-loaders/0+/glycin-svg +%dir %{_datadir}/glycin-loaders +%dir %{_datadir}/glycin-loaders/0+ +%dir %{_datadir}/glycin-loaders/0+/conf.d +%{_datadir}/glycin-loaders/0+/conf.d/glycin-heif.conf +%{_datadir}/glycin-loaders/0+/conf.d/glycin-image-rs.conf +%{_datadir}/glycin-loaders/0+/conf.d/glycin-jxl.conf +%{_datadir}/glycin-loaders/0+/conf.d/glycin-svg.conf + +%changelog