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
This commit is contained in:
Luciano Santos 2023-09-01 04:39:55 +00:00 committed by Git OBS Bridge
commit 932fed2cfc
5 changed files with 114 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ef09baa70fddfabdef697256c1dad6a63b0d4a4401fdc3941192af3dc6b63ba
size 41052028

22
glycin-loaders.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Wed Aug 23 18:54:59 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <dimstar@opensuse.org>
- Initial package, version 0.1.beta.3.

65
glycin-loaders.spec Normal file
View File

@ -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