SHA256
1
0
forked from pool/screengrab

Update to version 2.8.0

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=47
This commit is contained in:
Michael Vetter 2024-07-25 05:30:18 +00:00 committed by Git OBS Bridge
commit aec7d3b3ff
10 changed files with 400 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

3
screengrab-2.7.0.tar.xz Normal file
View File

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

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHix0VHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+PPUP/isDcC8/ch3FLvhpqa9CccD9uys0
X8NxJnMlLRakaHzqMy3Ux/ISbsG0H172jrpyHim1i6ONuulrWzH1HKj5cijq6tHe
v5mo9ehSEjpWHcJpxqPTVxXN1WEiQF8tf2WMaThMncNuERAvETlltTPLzE+nFFJt
g6qO86dqAmT40TuotfsAFH1euo0xgUM83zjiQNBE7IxlCWnxRXI1T8F/EaUa9fM0
HS8FoEhJNkxxnLako5hZwxz1uppir3zD1+g2otZVHyiUmvqrjZcpblRZclTQKDh3
Q80UBdVdD7wXU6EZAj3UOafOY+N8wi8XTv7OFG+QQ2OIEUJiHDK4R0UX9yHRhP2B
wvk3civuyUAWHt+rHLBxCOCBbUviFmfpSm8ctzKzqGHruUUPYAfUHN8uc3xBkLYy
Fo5p/BFkKNh/i+0XUZLLkoOoL9ax5PtOBoI2hb2sUcb5ZQVr8PIxwCdemSO8hoKF
MTA6x/sAGyqvMIgrp9H97kpud6NWtInNrL1yasfnT331YyyKOxEsUEEiOkp0wDDy
R4NRpKsEipp2CWEiQfR54xwAnyynjyuwpw8mr8YaJHZNw2bLBFEmS6ZoDcV8QkWK
XJ76bpXGNDkq5PJ1+5O1rMOzajsvf/eDh24pYy8OUk30vktNCmUbsctOu49HPYSs
BmPdpGJG1aR+jPei
=79yS
-----END PGP SIGNATURE-----

3
screengrab-2.8.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c646ee834d49dd51aba5512f24b626d5178e6decd70f9bd2af6ed93ac7ba8b3
size 345980

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfuYAVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+DT8P/2SnlrW0CasVNg86pBtkkxszfprB
9CDPr9m9ZT7GnVSp2RdPL5QZ7ivQEGAzOlICIltAziZJ4jQFwLr4ScVz/KxbmL0h
66ZXIfuim1ga4Vk0Zdb+s/XqBh+9NStsEjhpiM7/4awf+kXz5L+e1oX+GtBAmm5m
Srt8wcfSNiBVYvx057nINZjWXnpbE7wAqOAqodVrUqOEspM4qbQ2xuBSYZKimtU9
z46IOcN/rKXhFok3gH9+c03UcfajF70goRffSaK1ZCwZaWRUWKpdDamaYxYYQyyg
NXCDfJKSI+jiDGxe28sB8FYzQcL4NcLkJVC6tcB0gWHccNTgqwO7Iszdo8fM4OwN
BhlakJas/RfT5UhSgnLtcstgXdqGOxr6HnD5mOKNErA9IAOJZT9DNA+EaLRIg5nj
nd+tmwHyNLFbkPbu8vWStGH8oVJd/Wa1fhdnfea9P/f/7hehGbpA2vIq6hO2GFFZ
VRSfE8Cbqri/YVRBp7sIViH9u6B6Txf7+2PkdnUPXJYnQSss6CT2tVCtp6Tp72lG
Ntqj5VQhuaUr455wi4JkCoKCXqI3wImpRoyqzyY9N7pUCyxoo9NFiRKYy7y4Psr9
iEod0AdMuV71thiOy1O0OK5i/RWXHBAHT+HZbNkwosK0U6DmlWg8Cp1w5MyM/IPS
cxAbP11M90ZdcX/l
=ypTZ
-----END PGP SIGNATURE-----

13
screengrab-link.patch Normal file
View File

@ -0,0 +1,13 @@
Index: screengrab-2.4.0/CMakeLists.txt
===================================================================
--- screengrab-2.4.0.orig/CMakeLists.txt
+++ screengrab-2.4.0/CMakeLists.txt
@@ -183,7 +183,7 @@ add_executable(screengrab
)
if(SG_EXT_EDIT)
- target_link_libraries(screengrab extedit)
+ target_link_libraries(screengrab extedit Qt5Xdg)
endif()
if(SG_DBUS_NOTIFY)

190
screengrab.changes Normal file
View File

@ -0,0 +1,190 @@
-------------------------------------------------------------------
Thu Jul 25 03:45:20 UTC 2024 - ming li <mli@suse.com>
- Update to 2.8.0:
* Ported to Qt6.
-------------------------------------------------------------------
Wed Feb 21 07:04:52 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Mon Nov 6 03:15:03 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.7.0:
* Updated the code, made some code cleanup, and updated translations
-------------------------------------------------------------------
Sat Apr 15 18:04:38 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.6.0:
* Updated translations and bumped the version
-------------------------------------------------------------------
Sat Nov 5 18:21:33 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Update to 2.5.0:
* Fixed the screenshot of window and its decoration with multi-screen setups.
* Removed shared libraries.
* Removed fix-no-undefined-builderror.patch
-------------------------------------------------------------------
Sun Aug 28 18:27:32 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Add patch to correct failing build. [gh#lxqt/screengrab#310]
* fix-no-undefined-builderror.patch
- Cleaned up %build section
- Modified %files, due to new additions from upstream
-------------------------------------------------------------------
Fri Apr 29 06:31:47 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 2.4.0:
* Used an SVG icon instead of the blurry PNG icon.
* Fixed several problems in calling external editors or default app.
* Added metadata file.
- Use -DSG_EXT_EDIT=ON
- Add screengrab-link.patch
-------------------------------------------------------------------
Mon Nov 8 10:15:23 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 2.3.0:
* Bumped minimum required Qt version to 5.15 and made a small
fix to About dialog.
-------------------------------------------------------------------
Fri Apr 16 10:40:23 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 2.2.0:
* Code cleanup as well as translations update.
-------------------------------------------------------------------
Wed Nov 4 14:06:43 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 2.1.0:
* Fixed screen area and window modes with scale factors > 1.
-------------------------------------------------------------------
Mon Apr 27 18:04:35 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Requires Qt5Xdg 3.5.0 or higher
-------------------------------------------------------------------
Mon Apr 27 11:31:04 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Changed screengrab.keyring to tsujan's key
-------------------------------------------------------------------
Sat Apr 25 09:32:28 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Update to version 2.0.1
* Only translations are updated.
-------------------------------------------------------------------
Tue Mar 24 07:03:55 UTC 2020 - Max Lin <mlin@suse.com>
- Disable RPATH for building
-------------------------------------------------------------------
Thu Jan 23 08:31:15 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 2.0.0:
* Improved translations
* Improved user experience (less noise with command line, better
screen area instructions and better off-screen screenshots).
* Code update and clean-up, including the removal of the
deprecated class QDesktopWidget.
* Bumped screengrab version to 2.0.0
* Updated translations
* Removed Qxt
* Fixed typo in function name
* Set min. Qt version to 5.10.0
* Removed upload module (#183)
* Removed QDesktopWidget
* Removed (duplicated) string casts definitions
* Deleted useless warning fixes #174
* Make CMakeLists.txt a bit more strict
* Updated QtXdg minimum required version
* Use the new QtXdg XdgMimeApps class
* Improved Screen Area instructions (#162)
* Don't use automatic string conversions
* Avoid char raw strings literals memory allocations
-------------------------------------------------------------------
Fri Mar 1 10:26:56 UTC 2019 - mvetter@suse.com
- Update to 1.101:
* Only translations was changed
-------------------------------------------------------------------
Thu Jan 31 10:57:37 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 1.100:
* Dont crash with invalid config format
-------------------------------------------------------------------
Mon Jul 23 11:28:17 UTC 2018 - mvetter@suse.com
- Update to 1.99:
* Update translations
* Add X11Extras and Network to link target
- Remove screengrab-1.98-build.patch: upstreamed
-------------------------------------------------------------------
Tue May 22 11:11:46 UTC 2018 - mvetter@suse.com
- Require Qt >= 5.7.1
- Rename build.patch to screengrab-1.98-build.patch
- Add new default config file screengrab.conf
-------------------------------------------------------------------
Tue May 22 10:58:19 UTC 2018 - adam.majer@suse.de
- cleanup cmake build
- build.patch: add missing requirements
-------------------------------------------------------------------
Tue May 22 10:29:04 UTC 2018 - mvetter@suse.com
- Update to 1.98:
* Update translations
* A more specific condition for Ctrl+C
* Filter out Ctrl+C in Delay box
* No window screenshot with shaded windows
* Always use contents rect Fixes https://github.com/lxqt/screengrab/issues/67
* Never scale up beyond real size
* Several fixes, especially for the tray icon
* __DATE__ and __TIME__ macro are not very helpful for reproducible builds.
* Added a minimum default configuration
* Handle invalid window screenshots
* Corrected a grammar mistake
* Always use native (LXQt) file dialog
* Just changed the location of a comment
* Cleanup and fixes
* Some ui polishing
* Improve screengrab app behaviour
* Drops Qt foreach
* fix some uris
* Update references in about dialog
-------------------------------------------------------------------
Sun May 20 09:31:14 UTC 2018 - mvetter@suse.com
- Cleanup with spec-cleaner
- Adjust URL and tarball link
- Rename screengrab-keyring.gpg to screengrab.keyring
- Dont require gpg-offline, let OBS do checking
- Remove icon cache update statements
-------------------------------------------------------------------
Sat Feb 10 21:18:34 UTC 2018 - and.november@opensuse.org
- run spec-cleaner
-------------------------------------------------------------------
Sat Feb 10 13:22:11 UTC 2018 - and.november@opensuse.org
- build with Qt5

52
screengrab.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0
ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K
X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF
uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/
1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG
sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM
zoP1GluWn2atNWpRh/K97gyAGgr2fSmrAA4d1JrVbMujZAHoHAOKwJKqX9jPziPZ
BFHfhcIOzG3ZhXAuumHsd7uwfPBVt20g+G+cOjBghbSSu9EOtMkAZl1g3ybvZixu
Jtxa5ex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0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ
wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv
kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW
Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD
bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO
NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK-----

81
screengrab.spec Normal file
View File

@ -0,0 +1,81 @@
#
# spec file for package screengrab
#
# 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/
#
Name: screengrab
Version: 2.8.0
Release: 0
Summary: Qt tool for creating screenshots
License: GPL-2.0-only
Group: System/X11/Utilities
URL: https://github.com/lxqt/screengrab
Source: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Patch0: screengrab-link.patch
BuildRequires: cmake >= 3.1.0
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: pkgconfig(Qt5Xdg) >= 3.11.0
BuildRequires: pkgconfig(Qt6Core) >= 6.6
BuildRequires: pkgconfig(Qt6DBus)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(Qt6Xdg) >= 4.0.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-shape)
BuildRequires: pkgconfig(xcb-xfixes)
Recommends: %{name}-lang
%description
Screenshot taker with the ability to publish them via hosting services.
%lang_package
%prep
%autosetup -p1
%build
%cmake
%install
%cmake_install
rm -rf %{buildroot}%{_datadir}/doc
%find_lang %{name} --with-qt
%files
%license COPYING
%doc AUTHORS CHANGELOG README.md docs/html
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
%{_datadir}/screengrab/screengrab.conf
%{_datadir}/metainfo/%{name}.metainfo.xml
%files lang -f %{name}.lang
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/translations
%changelog