From ba769ebfe1b47d625ac1c7cb5460f580ecc2a7c5a473c0cb465b1982dccecce3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 14 Oct 2024 11:11:11 +0000 Subject: [PATCH] - Update to version 47.1: + Optimize caps selection for 16:9. + Only get devices from pipewire. - Add gstreamer-plugins-rs Requires, Snapshot needs the gst-plugin-gtk4 provided by it during runtime. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/snapshot?expand=0&rev=22 --- .gitattributes | 23 +++++++ .gitignore | 1 + _constraints | 8 +++ _service | 22 ++++++ snapshot-46.3.obscpio | 3 + snapshot-47.0.1.obscpio | 3 + snapshot-47.1.obscpio | 3 + snapshot.changes | 148 ++++++++++++++++++++++++++++++++++++++++ snapshot.obsinfo | 4 ++ snapshot.spec | 84 +++++++++++++++++++++++ vendor.tar.zst | 3 + 11 files changed, 302 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _constraints create mode 100644 _service create mode 100644 snapshot-46.3.obscpio create mode 100644 snapshot-47.0.1.obscpio create mode 100644 snapshot-47.1.obscpio create mode 100644 snapshot.changes create mode 100644 snapshot.obsinfo create mode 100644 snapshot.spec create mode 100644 vendor.tar.zst 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/_constraints b/_constraints new file mode 100644 index 0000000..a275540 --- /dev/null +++ b/_constraints @@ -0,0 +1,8 @@ + + + + + 10 + + + diff --git a/_service b/_service new file mode 100644 index 0000000..244c8bd --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + + https://gitlab.gnome.org/GNOME/Incubator/snapshot.git + git + 47.1 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + + *.tar + zst + + + snapshot + true + + + diff --git a/snapshot-46.3.obscpio b/snapshot-46.3.obscpio new file mode 100644 index 0000000..027886c --- /dev/null +++ b/snapshot-46.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e34bf73659aae4658d6189535156513ffa52c0795010915cdaa449fef55b23d +size 1924108 diff --git a/snapshot-47.0.1.obscpio b/snapshot-47.0.1.obscpio new file mode 100644 index 0000000..03b75be --- /dev/null +++ b/snapshot-47.0.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1c2bfd3839cad9e8fa5c2485dc9591c9d40ca6c459574f21e33dc9d6a4271e3 +size 2016780 diff --git a/snapshot-47.1.obscpio b/snapshot-47.1.obscpio new file mode 100644 index 0000000..2a8b031 --- /dev/null +++ b/snapshot-47.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0376b7ac925656d3266259689e72ddfa5fdcdbfff96852805b55c69585752a28 +size 2021388 diff --git a/snapshot.changes b/snapshot.changes new file mode 100644 index 0000000..4241aa6 --- /dev/null +++ b/snapshot.changes @@ -0,0 +1,148 @@ +------------------------------------------------------------------- +Sat Oct 12 16:53:41 UTC 2024 - Bjørn Lie + +- Update to version 47.1: + + Optimize caps selection for 16:9. + + Only get devices from pipewire. +- Add gstreamer-plugins-rs Requires, Snapshot needs the + gst-plugin-gtk4 provided by it during runtime. + +------------------------------------------------------------------- +Sun Sep 15 19:10:21 UTC 2024 - Bjørn Lie + +- Update to version 47.0.1: + + Fix a build issue where the tarballs would be generated with + missing vendor packages. + +------------------------------------------------------------------- +Sun Sep 15 15:02:12 UTC 2024 - Bjørn Lie + +- Update to version 47.0: + + Improve recording pipeline + + Improve video player performance + + Offload DMABUFs in Viewfinder + + Squash various bugs + + Update dependencies + + Use glycin for viewing images + + Updated translations. +- Cleanup spec for old obsolete rust exports. + +------------------------------------------------------------------- +Fri Aug 30 08:54:27 UTC 2024 - Bjørn Lie + +- Update to version 47.beta: + + Offload DMABUFs in Viewfinder + + Improve recording pipeline + + Update dependencies + + Squash various bugs + + Updated translations. +- Add liblcms2-devel and libseccomp-devel BuildRequires: new + dependencies. + +------------------------------------------------------------------- +Tue May 7 10:11:55 UTC 2024 - Dominique Leuenberger + +- Update to version 46.3: + + Assume cameras are front cameras by default. + + Update caps when switching cameras. + + Do not store caps file on errors. + + Avoid unnecessary stream restarts. + + Updated translations. + +------------------------------------------------------------------- +Fri Apr 12 07:36:22 UTC 2024 - Dominique Leuenberger + +- Update to version 46.2: + + Disable portal. + + Always use prefered caps. + +------------------------------------------------------------------- +Thu Apr 4 08:06:50 UTC 2024 - Dominique Leuenberger + +- Update to version 46.1: + + Require only rustc 1.70. + + Fix framerate comparison. + + Filter out more IR cameras. + + Update translations. + +------------------------------------------------------------------- +Fri Mar 15 21:02:03 UTC 2024 - Dominique Leuenberger + +- Update to version 46.0: + + Update to zbus 4.0. + + Improve default camera resolution selection. + + Update Dependencies. + + Update translations. + +------------------------------------------------------------------- +Mon Mar 4 07:36:04 UTC 2024 - Dominique Leuenberger + +- Update to version 46.rc: + + Improve default camera resolution selection. + +------------------------------------------------------------------- +Mon Feb 19 17:45:37 UTC 2024 - Dominique Leuenberger + +- Update to version 46.beta: + + Better camera resolution and formatting. + + Update Dependencies. + + Update translations. + +------------------------------------------------------------------- +Sat Dec 9 11:29:31 UTC 2023 - Bjørn Lie + +- Update to version 45.1: + + Various Bugfixes + + Update internal libraries + + Updated translations. +- Drop cargo_config as source, no longer needed. + +------------------------------------------------------------------- +Sat Sep 16 12:29:34 UTC 2023 - Bjørn Lie + +- Update to version 45.0: + + Various Bugfixes + + Use pipewire node description to name cameras + + Updated translations. + +------------------------------------------------------------------- +Sat Aug 19 08:58:09 UTC 2023 - Bjørn Lie + +- Update to version 45.beta: + + Improve Video Player controller. + + Improved accessibility. + + Update styles throughout the app. + + Squash various bugs. + + Updated translations. + +------------------------------------------------------------------- +Mon Jul 24 12:38:11 UTC 2023 - Bjørn Lie + +- Add back cargo_audit to _service, now that it is back in working + order. + +------------------------------------------------------------------- +Tue Jul 11 19:15:40 UTC 2023 - Bjørn Lie + +- Update to version 45.alpha: + + Minor release with updates to various dependencies. + + Update Aperture to v0.2, update Rust to 1.70 + + Update to Libadwaita 1.4, use new adaptive components + + Show all window controls on the top of the window + + Improved accessibility + + Squash various bugs + + Updated translations. + +------------------------------------------------------------------- +Mon May 22 23:16:06 UTC 2023 - Luciano Santos + +- Update to version 44.2: + + Many improvements and fixes. + + Updated translations. +- Add gstreamer-plugins-bad-1.0 pkgconfig module as a new build + requirement for camerabin. + +------------------------------------------------------------------- +Fri Mar 31 19:07:56 UTC 2023 - Bjørn Lie + +- Initial packaging for openSUSE. diff --git a/snapshot.obsinfo b/snapshot.obsinfo new file mode 100644 index 0000000..02ba1b4 --- /dev/null +++ b/snapshot.obsinfo @@ -0,0 +1,4 @@ +name: snapshot +version: 47.1 +mtime: 1728750748 +commit: 03ec152e3031a6b290c0f0735322a475a55be92c diff --git a/snapshot.spec b/snapshot.spec new file mode 100644 index 0000000..afdc3bc --- /dev/null +++ b/snapshot.spec @@ -0,0 +1,84 @@ +# +# spec file for package snapshot +# +# Copyright (c) 2024 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 gstreamer_version 1.20 + +Name: snapshot +Version: 47.1 +Release: 0 +Summary: Take pictures and videos +License: GPL-3.0-or-later +URL: https://gitlab.gnome.org/GNOME/snapshot +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst + +BuildRequires: appstream-glib +BuildRequires: cargo-packaging +BuildRequires: desktop-file-utils +BuildRequires: liblcms2-devel +BuildRequires: libseccomp-devel +BuildRequires: libxml2-tools +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(glib-2.0) >= 2.75 +BuildRequires: pkgconfig(gstreamer-1.0) >= %{gstreamer_version} +BuildRequires: pkgconfig(gtk4) >= 4.13.6 +BuildRequires: pkgconfig(libadwaita-1) >= 1.4.0 +## Needed for camerabin +BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= %{gstreamer_version} +## +BuildRequires: pkgconfig(gstreamer-video-1.0) >= %{gstreamer_version} +Requires: gstreamer-plugins-rs + +%description +%{summary}. + +%lang_package + +%prep +%autosetup -p1 -a1 + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang %{name} %{?no_lang_C} + +%check +%{cargo_test} +desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Snapshot.desktop +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Snapshot.metainfo.xml + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_datadir}/applications/org.gnome.Snapshot.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.Snapshot.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Snapshot.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Snapshot-symbolic.svg +%{_datadir}/metainfo/org.gnome.Snapshot.metainfo.xml +# resources.gresource should probably not be packaged, but never mind this early in the development +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/resources.gresource + +%files lang -f %{name}.lang + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..6948095 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:980f43c1407f306433f9a2db33ddfcc67ce3da3af67a713eb77017c2a7125fa6 +size 29925571