11 Commits

Author SHA256 Message Date
9e91bdf1b3 Accepting request 1315883 from X11:LXQt
- Update to version 3.1.0:
  * Better border color for selection rectangle on X11
  * Fixed saving when filename or date format is emtpy in Options
  * Fixed building with Qt 6.10
  * Fixed calling of external editors with some apps (especially
    Flatpak apps)
  * Drop 0001-fix-for-Qt-6.10.patch

OBS-URL: https://build.opensuse.org/request/show/1315883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screengrab?expand=0&rev=22
2025-11-06 17:14:19 +00:00
a5331db27d - Update to version 3.1.0:
* Better border color for selection rectangle on X11
  * Fixed saving when filename or date format is emtpy in Options
  * Fixed building with Qt 6.10
  * Fixed calling of external editors with some apps (especially
    Flatpak apps)
  * Drop 0001-fix-for-Qt-6.10.patch

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=58
2025-11-05 19:11:35 +00:00
b36632bd33 Accepting request 1311771 from X11:LXQt
- Add 0001-fix-for-Qt-6.10.patch for compatibility with Qt 6.10

OBS-URL: https://build.opensuse.org/request/show/1311771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screengrab?expand=0&rev=21
2025-10-17 15:25:48 +00:00
1f0f9c7f24 - Add 0001-fix-for-Qt-6.10.patch for compatibility with Qt 6.10
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=56
2025-10-15 14:08:17 +00:00
170cfdd87a Accepting request 1279305 from X11:LXQt
OBS-URL: https://build.opensuse.org/request/show/1279305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screengrab?expand=0&rev=20
2025-05-23 12:31:06 +00:00
ed74de96f0 Accepting request 1278296 from home:sfalken:branches:X11:LXQt
- Update to 3.0.0:
  * Add Wayland compatibility
  * Added command-line option for saving screenshot and exiting
    without showing window.
  * Show the window on the screen with cursor under X11
  * Fixed 2 old X11 bugs in auto-saving and --minimized
    command-line option
  * Use LXQt build tools for compilation
  * GUI Cleanup

OBS-URL: https://build.opensuse.org/request/show/1278296
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=54
2025-05-22 14:36:11 +00:00
8c8a2e8a56 Accepting request 1270845 from X11:LXQt
OBS-URL: https://build.opensuse.org/request/show/1270845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screengrab?expand=0&rev=19
2025-04-22 15:26:23 +00:00
09f0578320 - Update to version 2.10.0:
* Made copying/saving notifications optional
  * Corrected the organization domain
  * Call 'setDesktopFileName()' to set proper app-id on wayland
  * Don't allocate useless resources in single instance mode
  * Fixed handling of shared memory
  * Fixed FTBFS due to 'cmake_minimum_required'
- Removed Group: Declarations, no longer used

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=52
2025-04-18 14:22:26 +00:00
0ca93d7401 Accepting request 1223247 from X11:LXQt
- Removed:
  * screengrab-link.patch

- Update to version 2.9.0:
  * Pre-release changes (#379)
  * Updated *.ts files (#380)
  * Weblate commits (#377)
  * Weblate commits (#376)
  * Weblate commits (#372)
  * Weblate commits (#371)
  * Weblate commits (#370)
  * Fix pointer QList related memory leak
  * Properly initializes and destroys shortcuts settings
  * Weblate commits (#365)

OBS-URL: https://build.opensuse.org/request/show/1223247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screengrab?expand=0&rev=18
2024-11-11 12:46:19 +00:00
34edee10da - Removed:
* screengrab-link.patch

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=50
2024-11-11 00:35:53 +00:00
0fdfc8713f - Update to version 2.9.0:
* Pre-release changes (#379)
  * Updated *.ts files (#380)
  * Weblate commits (#377)
  * Weblate commits (#376)
  * Weblate commits (#372)
  * Weblate commits (#371)
  * Weblate commits (#370)
  * Fix pointer QList related memory leak
  * Properly initializes and destroys shortcuts settings
  * Weblate commits (#365)

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=49
2024-11-11 00:25:28 +00:00
7 changed files with 116 additions and 54 deletions

View File

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

View File

@@ -1,17 +0,0 @@
-----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-----

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

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

View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCgAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmkLRnEVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+4+QQAMTyARQuYRaMzlH8RCPR5X8sScQn
0I6e8Ej3wYYrdsu8XBFQeV9+w1HjUdjoGduG3R74OzWY2kmCMScm/mfnrTt3wP3+
OHu8v+CSsHQnGi3uevjP+mac0HEDu21s/JUiLzG07imQqOvTH0nCN/abGlnVZyr6
N04PYjNYwhOZwQMDKMejA1L4c5z0FEl2Ff9TtjKFeif7LEBNB4e9hbZlNitlL389
6vsQjOpA24duJyW7Z/hfH8Hqpf6Aj/ntce5u3A9zWK+6unP1gXSZAxyyrlmeQlwF
yC6LHJolo8eN5UJeIa89kgNNNVKhKErrJ9Uj6yFlZDCMQCtk3MQtN4OTUEUlifrD
CStc6haBOC8ykSxqw50PL2FONDK18HIBvNqNDoNkI7wu7m3lI1vHKdGVh5D+G/AB
sHdhtcB9OAasgx/jpgrAGrVt00WNwfXpwjg8UV/KIP9qYoQCfludcL6po30+cIEO
psdxK6si3+gDkR/p72xtLnyzINNuL1rFG5j1R6R96pHjgSQ8ZN5zqmDTWbjb+j4E
2hy/nCnO9QghzSZLtMusgmfr90s52wvCq2NrpRSehuC7R8SaiDv/1Il78uMAUz8O
uW+uPKBiOVMBsBL4TByO1p1Oe8nqQ0WYbwJ1gQr4SHQ54SEM0tj6VRkjGjKalBMG
I3UMjpG9lGnlf5cb
=lQwu
-----END PGP SIGNATURE-----

View File

@@ -1,13 +0,0 @@
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)

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Wed Nov 5 19:09:36 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Update to version 3.1.0:
* Better border color for selection rectangle on X11
* Fixed saving when filename or date format is emtpy in Options
* Fixed building with Qt 6.10
* Fixed calling of external editors with some apps (especially
Flatpak apps)
* Drop 0001-fix-for-Qt-6.10.patch
-------------------------------------------------------------------
Wed Oct 15 14:07:46 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add 0001-fix-for-Qt-6.10.patch for compatibility with Qt 6.10
-------------------------------------------------------------------
Sat May 17 15:21:55 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Update to 3.0.0:
* Add Wayland compatibility
* Added command-line option for saving screenshot and exiting
without showing window.
* Show the window on the screen with cursor under X11
* Fixed 2 old X11 bugs in auto-saving and --minimized
command-line option
* Use LXQt build tools for compilation
* GUI Cleanup
-------------------------------------------------------------------
Thu Apr 17 22:19:13 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Update to version 2.10.0:
* Made copying/saving notifications optional
* Corrected the organization domain
* Call 'setDesktopFileName()' to set proper app-id on wayland
* Don't allocate useless resources in single instance mode
* Fixed handling of shared memory
* Fixed FTBFS due to 'cmake_minimum_required'
- Removed Group: Declarations, no longer used
-------------------------------------------------------------------
Mon Nov 11 00:35:28 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Removed:
* screengrab-link.patch
-------------------------------------------------------------------
Wed Nov 6 21:46:01 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to version 2.9.0:
* Pre-release changes (#379)
* Updated *.ts files (#380)
* Weblate commits (#377)
* Weblate commits (#376)
* Weblate commits (#372)
* Weblate commits (#371)
* Weblate commits (#370)
* Fix pointer QList related memory leak
* Properly initializes and destroys shortcuts settings
* Weblate commits (#365)
-------------------------------------------------------------------
Thu Jul 25 03:45:20 UTC 2024 - ming li <mli@suse.com>

View File

@@ -17,30 +17,37 @@
Name: screengrab
Version: 2.8.0
Version: 3.1.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
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Patch0: screengrab-link.patch
BuildRequires: cmake >= 3.1.0
BuildRequires: cmake >= 3.5.0
BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(LayerShellQt) >= 6.3.5
BuildRequires: cmake(lxqt2-build-tools)
BuildRequires: cmake(Qt6Core) >= 6.6
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6GuiPrivate)
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: cmake(Qt6Network)
BuildRequires: cmake(Qt6WaylandClient)
BuildRequires: cmake(Qt6WaylandClientPrivate)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(qt6xdg) >= 4.0.0
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
@@ -54,28 +61,34 @@ Screenshot taker with the ability to publish them via hosting services.
%lang_package
%prep
%autosetup -p1
%autosetup -p1 -S git_am
%build
%cmake
%cmake_qt6 \
-DSG_EXT_EDIT="1" \
-DSG_DBUS_NOTIFY="1"
%qt6_build
%install
%cmake_install
%qt6_install
rm -rf %{buildroot}%{_datadir}/doc
%find_lang %{name} --with-qt
%files
%license COPYING
%doc AUTHORS CHANGELOG README.md docs/html
%doc AUTHORS CHANGELOG README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
%{_datadir}/screengrab/screengrab.conf
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/%{name}.conf
%{_datadir}/metainfo/%{name}.metainfo.xml
%files lang -f %{name}.lang
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/translations
%dir %{_datadir}/%{name}/translations
%if 0%{?sle_version}
%{_datadir}/%{name}/translations/%{name}_???.qm
%endif
%changelog