From d6d40c56b7005d47cccdf226aa986f4f160bbb73d5ab883e675b9403390c9a55 Mon Sep 17 00:00:00 2001 From: Muhammad Akbar Yanuar Mantari Date: Wed, 23 Oct 2024 14:59:57 +0000 Subject: [PATCH] - add glycin-loaders Requires: needed to open jxl and avif properly OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/identity?expand=0&rev=7 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + identity-0.6.0.tar.xz | 3 ++ identity-0.7.0.tar.xz | 3 ++ identity.changes | 36 +++++++++++++++++++ identity.spec | 81 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 147 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 identity-0.6.0.tar.xz create mode 100644 identity-0.7.0.tar.xz create mode 100644 identity.changes create mode 100644 identity.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/identity-0.6.0.tar.xz b/identity-0.6.0.tar.xz new file mode 100644 index 0000000..45e0f90 --- /dev/null +++ b/identity-0.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0a177dd1e399ab79cc0ed9265fc65903c7d54f2f4e906ecf6b687de3e502f73 +size 37684100 diff --git a/identity-0.7.0.tar.xz b/identity-0.7.0.tar.xz new file mode 100644 index 0000000..3f62d7f --- /dev/null +++ b/identity-0.7.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43dec5533b60aaa1b4d256d5d9879aa487b2115cef5f3f1818935dde9da284d6 +size 38192672 diff --git a/identity.changes b/identity.changes new file mode 100644 index 0000000..cc32a4b --- /dev/null +++ b/identity.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Wed Oct 23 14:51:23 UTC 2024 - Muhammad Akbar Yanuar Mantari + +- add glycin-loaders Requires: needed to open jxl and avif properly + +------------------------------------------------------------------- +Tue Oct 1 18:14:24 UTC 2024 - Muhammad Akbar Yanuar Mantari + +- Update to Version 0.7.0 + * Images are now loaded with glycin, adding support for many + more formats like AVIF and JPEG XL, and improving + compatibility, like using the correct color space for JPEG + images. + * Zoom level now takes into account fractional display scale. + * Fixed unusably fast zoom on mice with high-resolution scroll + wheels. + * Fixed slightly blurry image borders on some zoom levels. + * Added an Alt+Enter shortcut to open the media properties + dialog. + * Updated to the GNOME 47 platform. + * Updated translations. +- Add BuildRequires to build glycin: + * pkgconfig(libseccomp) + * pkgconfig(lcms2) +- Add meson_test to validate files + +------------------------------------------------------------------- +Thu Dec 21 04:30:24 UTC 2023 - Muhammad Akbar Yanuar Mantari + +- Rename binary from identity to identity-compare + +------------------------------------------------------------------- +Wed Dec 6 21:58:10 UTC 2023 - Muhammad Akbar Yanuar Mantari + +- Initial package + diff --git a/identity.spec b/identity.spec new file mode 100644 index 0000000..05efde9 --- /dev/null +++ b/identity.spec @@ -0,0 +1,81 @@ +# +# spec file for package identity +# +# Copyright (c) 2024 mantarimay +# 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/ +# + + +%define _lto_cflags %{nil} +%define appid org.gnome.gitlab.YaLTeR.Identity +%define rurl abddc256d6b3b7fce433a40eae4588fe +Name: identity +Version: 0.7.0 +Release: 0 +Summary: Compare images and videos +License: GPL-3.0-or-later +URL: https://gitlab.gnome.org/YaLTeR/identity +Source: https://gitlab.gnome.org/-/project/12785/uploads/%{rurl}/%{name}-%{version}.tar.xz +BuildRequires: blueprint-compiler +BuildRequires: cargo-packaging +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(dav1d) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-video-1.0) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libadwaita-1) >= 1.6.0 +BuildRequires: pkgconfig(libwebpdemux) +BuildRequires: pkgconfig(libseccomp) +Requires: glycin-loaders + +%description +A program for comparing multiple versions of an image or video. + +%lang_package + +%prep +%autosetup + +sed -i "s/output: meson.project_name()/output: 'identity-compare'/g" src/meson.build +sed -i "s/Exec=identity/Exec=identity-compare/g" data/org.gnome.gitlab.YaLTeR.Identity.desktop.in.in + +%build +%meson +%meson_build + +%install +%meson_install + +%find_lang %{name} + +%check +%meson_test + +%files +%license COPYING +%doc README.md +%{_bindir}/%{name}-compare +%{_datadir}/applications/%{appid}.desktop +%{_datadir}/%{name}/ +%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml +%{_datadir}/icons/hicolor/*/apps/%{appid}*.svg +%{_datadir}/metainfo/%{appid}.metainfo.xml + +%files lang -f %{name}.lang + +%changelog