1
0

Accepting request 1190491 from home:manfred-h:X11:xfce

- Update to 1.11.1
  * Drop unnecessary libxml dependency
  * Translation Updates

OBS-URL: https://build.opensuse.org/request/show/1190491
OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-screenshooter?expand=0&rev=83
This commit is contained in:
Maurizio Galli 2024-08-01 03:01:40 +00:00 committed by Git OBS Bridge
commit d64f9b1dff
8 changed files with 719 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:992066cfecfb44a68681340bfd55d524d40410aac3da6ef25c6c6cb2150a5965
size 813187

View File

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

View File

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

View File

@ -0,0 +1,137 @@
diff -rup a/configure.ac b/configure.ac
--- a/configure.ac 2024-05-28 23:17:26.000000000 +0200
+++ b/configure.ac 2024-05-29 09:30:19.333885138 +0200
@@ -58,7 +58,7 @@ dnl ***********************************
XDT_CHECK_OPTIONAL_FEATURE([X11],
[x11],
[
- XDT_FEATURE_DEPENDENCY([LIBX11], [x11], [1.6.7])
+ XDT_FEATURE_DEPENDENCY([LIBX11], [x11], [1.6.5])
XDT_FEATURE_DEPENDENCY([GDKX11], [gdk-x11-3.0], [3.24.0])
XDT_FEATURE_DEPENDENCY([XINPUT2], [xi], [1.7.8])
XDT_FEATURE_DEPENDENCY([LIBXEXT], [xext], [1.0.0])
diff -rup a/config.h.in b/config.h.in
--- a/config.h.in 2024-05-28 23:24:00.000000000 +0200
+++ b/config.h.in 2024-05-29 09:30:25.267216340 +0200
@@ -58,7 +58,7 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-/* Define if x11 >= 1.6.7 present */
+/* Define if x11 >= 1.6.5 present */
#undef HAVE_LIBX11
/* Define if xext >= 1.0.0 present */
diff -rup a/configure b/configure
--- a/configure 2024-05-28 23:24:00.000000000 +0200
+++ b/configure 2024-05-29 09:31:02.307203033 +0200
@@ -15569,11 +15569,11 @@ fi
if test x"$xdt_feature_deps_check_only" = x"yes"; then
- if ! $PKG_CONFIG --exists "x11 >= 1.6.7" >/dev/null 2>&1; then
+ if ! $PKG_CONFIG --exists "x11 >= 1.6.5" >/dev/null 2>&1; then
if test x"$xdt_feature_deps_missing" = x""; then
- xdt_feature_deps_missing="x11 >= 1.6.7"
+ xdt_feature_deps_missing="x11 >= 1.6.5"
else
- xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.7"
+ xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.5"
fi
fi
else
@@ -15727,9 +15727,9 @@ fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.7" >&5
-printf %s "checking for x11 >= 1.6.7... " >&6; }
- if $PKG_CONFIG "--atleast-version=1.6.7" "x11" >/dev/null 2>&1; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.5" >&5
+printf %s "checking for x11 >= 1.6.5... " >&6; }
+ if $PKG_CONFIG "--atleast-version=1.6.5" "x11" >/dev/null 2>&1; then
LIBX11_VERSION=`$PKG_CONFIG --modversion "x11"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_VERSION" >&5
printf "%s\n" "$LIBX11_VERSION" >&6; }
@@ -15746,7 +15746,7 @@ printf %s "checking LIBX11_LIBS... " >&6
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_LIBS" >&5
printf "%s\n" "$LIBX11_LIBS" >&6; }
- LIBX11_REQUIRED_VERSION=1.6.7
+ LIBX11_REQUIRED_VERSION=1.6.5
@@ -15775,7 +15775,7 @@ printf "%s\n" "found, but $xdt_cv_versio
echo "*** The required package x11 was found on your system,"
echo "*** but the installed version ($xdt_cv_version) is too old."
- echo "*** Please upgrade x11 to atleast version 1.6.7, or adjust"
+ echo "*** Please upgrade x11 to atleast version 1.6.5, or adjust"
echo "*** the PKG_CONFIG_PATH environment variable if you installed"
echo "*** the new version of the package in a nonstandard prefix so"
echo "*** pkg-config is able to find it."
@@ -15787,7 +15787,7 @@ printf "%s\n" "not found" >&6; }
echo "*** The required package x11 was not found on your system."
- echo "*** Please install x11 (atleast version 1.6.7) or adjust"
+ echo "*** Please install x11 (atleast version 1.6.5) or adjust"
echo "*** the PKG_CONFIG_PATH environment variable if you"
echo "*** installed the package in a nonstandard prefix so that"
echo "*** pkg-config is able to find it."
@@ -16733,11 +16733,11 @@ printf "%s\n" "not found" >&6; }
if test x"$xdt_feature_deps_check_only" = x"yes"; then
- if ! $PKG_CONFIG --exists "x11 >= 1.6.7" >/dev/null 2>&1; then
+ if ! $PKG_CONFIG --exists "x11 >= 1.6.5" >/dev/null 2>&1; then
if test x"$xdt_feature_deps_missing" = x""; then
- xdt_feature_deps_missing="x11 >= 1.6.7"
+ xdt_feature_deps_missing="x11 >= 1.6.5"
else
- xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.7"
+ xdt_feature_deps_missing="$xdt_feature_deps_missing, x11 >= 1.6.5"
fi
fi
else
@@ -16891,9 +16891,9 @@ fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.7" >&5
-printf %s "checking for x11 >= 1.6.7... " >&6; }
- if $PKG_CONFIG "--atleast-version=1.6.7" "x11" >/dev/null 2>&1; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6.5" >&5
+printf %s "checking for x11 >= 1.6.5... " >&6; }
+ if $PKG_CONFIG "--atleast-version=1.6.5" "x11" >/dev/null 2>&1; then
LIBX11_VERSION=`$PKG_CONFIG --modversion "x11"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_VERSION" >&5
printf "%s\n" "$LIBX11_VERSION" >&6; }
@@ -16910,7 +16910,7 @@ printf %s "checking LIBX11_LIBS... " >&6
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBX11_LIBS" >&5
printf "%s\n" "$LIBX11_LIBS" >&6; }
- LIBX11_REQUIRED_VERSION=1.6.7
+ LIBX11_REQUIRED_VERSION=1.6.5
@@ -16939,7 +16939,7 @@ printf "%s\n" "found, but $xdt_cv_versio
echo "*** The required package x11 was found on your system,"
echo "*** but the installed version ($xdt_cv_version) is too old."
- echo "*** Please upgrade x11 to atleast version 1.6.7, or adjust"
+ echo "*** Please upgrade x11 to atleast version 1.6.5, or adjust"
echo "*** the PKG_CONFIG_PATH environment variable if you installed"
echo "*** the new version of the package in a nonstandard prefix so"
echo "*** pkg-config is able to find it."
@@ -16951,7 +16951,7 @@ printf "%s\n" "not found" >&6; }
echo "*** The required package x11 was not found on your system."
- echo "*** Please install x11 (atleast version 1.6.7) or adjust"
+ echo "*** Please install x11 (atleast version 1.6.5) or adjust"
echo "*** the PKG_CONFIG_PATH environment variable if you"
echo "*** installed the package in a nonstandard prefix so that"
echo "*** pkg-config is able to find it."

411
xfce4-screenshooter.changes Normal file
View File

@ -0,0 +1,411 @@
-------------------------------------------------------------------
Tue Jul 30 13:35:43 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Update to 1.11.1
* Drop unnecessary libxml dependency
* Translation Updates
-------------------------------------------------------------------
Fri Jul 26 09:52:49 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Add BuildRequires to enable Wayland support.
-------------------------------------------------------------------
Thu Jul 25 12:25:22 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Update to 1.11.0
* Drop built-in support for imgur
* Drop jobs-related code
* Drop libsoup dependency
* Use XDG_DATA_HOME in imgur-upload.sh
* Make sure screenshot is copied to clipboard before closing (!56)
* Add more tests
* build: clang: Silence -Wcast-align
* Translation Updates
-------------------------------------------------------------------
Wed May 29 07:15:21 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Update to 1.10.6
* build: Switch from intltool to gettext
* Preliminary Wayland support
* Translation Updates
- Add xfce4-screenshooter-relax-x11-version.patch
-------------------------------------------------------------------
Mon Feb 5 09:43:07 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Update to 1.10.5
* Add imgur support as custom action (!51)
* Translation Updates
- Recommend curl, jq and zenity for the new script imgur.sh
-------------------------------------------------------------------
Wed May 17 17:40:28 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
- Update to 1.10.4
* Fix warning about checking file permissions
* Refactor supported image formats handling (!49)
* Add support to AVIF (#109)
* Add support to JPEG XL (#108)
* Check if the pixbuf-loader supports writing
* Restrict file permission if not saved in a user-owned directory (#2)
* Save preferences when plugin finalizes screenshot (#96)
* Fix screenshot finalize behavior for plugin
* Translation Updates
-------------------------------------------------------------------
Fri Jan 13 16:26:50 UTC 2023 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 1.10.3
* Lower minimal Xfce dependencies back to 4.16
* Remove fallback code
-------------------------------------------------------------------
Thu Jan 5 07:40:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.10.2:
* Fix capture of CSD windows
* Fix active window and region capture modes
* Consider scale factor while capturing screenshots with cairo
* Support libsoup2 and 3 simultaneously
* save dialog: show preview of selected file
* Save preferences of panel plugin
* Translation Updates
-------------------------------------------------------------------
Fri Dec 23 18:57:44 UTC 2022 - Maurizio Galli <maurizio.galli@suse.com>
- Update to version 1.10.1:
* Fixes capture of screenshots after first time (gxo#apps/xfce4-screenshoter#89)
* libsoup: Migrate to 3.0 (gxo#apps/xfce4-screenshoter#88)
* Fix typo in NEWS file
* Translation Updates
-------------------------------------------------------------------
Sun Dec 18 14:54:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
- Update to version 1.10.0:
* Bump requirements for Xfce 4.18
* Introduce custom actions
* Replace deprecated functions
* Added writability check to screenshot_dir
* Include "config.h" before GLib include files
* Revert icon name translation
* Drop subtitles
* Add version check for libxi
* Translation Updates
-------------------------------------------------------------------
Fri Aug 12 08:53:37 UTC 2022 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to version 1.9.11
* Add support to WebP (gxo#apps/xfce4-screenshooter#76)
* Fix window capture in HiDPI mode (gxo#apps/xfce4-screenshooter#73)
* Fix intltool lock file problem during make distcheck
* Add option to Show in File Manager when saving
(gxo#apps/xfce4-screenshooter#47)
* Do not quit after dismissing dialog if invoked from plugin
(gxo#apps/xfce4-screenshooter#71)
* Update COPYING (gxo#apps/xfce4-screenshooter#70)
* Translation Updates
-------------------------------------------------------------------
Sun Mar 13 14:31:28 UTC 2022 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to version 1.9.10
* Use symbolic icons
* Bump Xfce dependencies to 4.14
* _NET_FRAME_EXTENTS support
* Add back button to take new screenshot
(gxo#apps/xfce4-screenshooter!29)
* Fix Imgur upload via CLI (gxo#apps/xfce4-screenshooter!26)
* Set up ScreenshotData after commandline parsing
* Fix compile warning (#62)
* Update to description and addition of donate and translate links
* Replace link to bugzilla with gitlab
(gxo#apps/xfce4-screenshooter!25)
* Translation Updates
-------------------------------------------------------------------
Thu May 20 09:02:54 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to version 1.9.9
* Add link to Imgur ToS (gxo#apps/xfce4-screenshooter#54)
* Add notice about imgur (gxo#apps/xfce4-screenshooter#53)
* Add launchable tag to appdata.xml
* Update help message for --save option
* Add combobox with file extensions
(gxo#apps/xfce4-screenshooter#6)
* Add option to capture window border or not
(gxo#apps/xfce4-screenshooter#4)
* Preserve last used extension
* Save screenshots according to the extension
(gxo#apps/xfce4-screenshooter#6)
* Avoid save dialog loop if action was specified from CLI
(gxo#apps/xfce4-screenshooter#41)
* Respect windows scaling (gxo#apps/xfce4-screenshoote!18)
* Fix compilation warnings
* Add version check for pango
* Correctly calculate dimensions of size window
(gxo#apps/xfce4-screenshooter#37)
* Add option to disable Imgur upload
(gxo#apps/xfce4-screenshooter#20)
* Translation Updates
-------------------------------------------------------------------
Wed Dec 23 02:32:41 UTC 2020 - Maurizio Galli <maurizio.galli@gmail.com>
- Update to version 1.9.8
- Fix dialog icons and add title to error dialog
- Go back to actions dialog if image upload fails (#12)
- Go back to actions dialog if GtkFileChooser is dismissed (#33)
- Make radio buttons execute actions on enter/space press
- Exclude shadow borders from CSD windows (!10)
- Capture mouse cursor in rectangle selection (#30)
- Region size should show updated size (!9)
- Add info about Ctrl to "Select region" tooltip
- Replace AC_CONFIG_MACRO_DIR with AC_CONFIG_MACRO_DIRS (!4)
- Added 24px and 32px icons
- Fix screenshot capture when scale > 1
- Add new App icon and switch to rDNS icon name
- Switch to README.md and foreign automake mode
- bxo#16717: Move from exo-csource to xdt-csource
- Update homepage link at appdata.xml
- Translation Updates
-------------------------------------------------------------------
Mon Nov 4 13:19:10 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to version 1.9.7
* Add warning notice to imgur upload option (bxo#15347)
* Fix cursor capture when near screen edge (bxo#9262)
* Improve wording (bxo#15429)
* Allow compilation with panel 4.15
* Restore libxfce4ui 4.12 compatibility
* Translation Updates
-------------------------------------------------------------------
Mon Aug 26 08:42:34 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to version 1.9.6
* Do not show translation info on --help output (bxo#15883)
* Avoid destroying size window twice (bxo#15792)
* Replace GtkStock buttons
* Add missing NULL as last parameter of
xfce_titled_dialog_new_with_buttons() (bxo#14973)
* Do not use root coordinates for region capture (bxo#15406)
* Install AppData into metainfo
* Update AppData file
* Try to grab seat more than once (bxo#15320)
* Use new xfce_gdk_screen_get_geometry if available
* Make screenshooter-imgur-dialog.ui translatable (bxo#15254)
* Translation Updates
-------------------------------------------------------------------
Fri Aug 16 12:43:08 UTC 2019 - Maurizio Galli <maurizio.galli@gmail.com>
- Fixed sources in spec file
-------------------------------------------------------------------
Thu Aug 15 13:34:17 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Renamed Panel Plugin subpackage to follow upstream naming
xfce4-foo-plugin
- Added bcond for git master builds
-------------------------------------------------------------------
Sat Mar 30 21:32:47 UTC 2019 - Vinzenz Vietzke <vinz@vinzv.de>
- Update to version 1.9.5
* Bug fixed:
- Panel plugin: allow it to save files (bxo#15187)
-------------------------------------------------------------------
Tue Mar 19 05:34:05 UTC 2019 - Maurizio Galli <maurizio.galli@gmail.com>
- Switched URL and Source to https:// in the spec file.
-------------------------------------------------------------------
Mon Mar 18 11:43:57 UTC 2019 - Maurizio Galli <maurizio.galli@gmail.com>
- Update to version 1.9.4
* Enhancements:
- Extended save function to also take files (bxo#14156)
- Show width and height of selection area (bxo#12664)
- Improved imgur dialog (bxo#14973)
- Don't save region/delay/show_mouse if region was specified from CLI
* Bugs fixed:
- React to core X input events when XInput is not available (bxo#15166)
- Fix crash and properly handle cursors on HiDPI
- Delay in panel plugin does not work (bxo#14604)
- Dropped obsolete macros
-------------------------------------------------------------------
Sun Aug 12 17:03:38 UTC 2018 - seife+obs@b1-systems.com
- update to version 1.9.3
- Allow user to move selection rectangle (bxo#14365)
- Allow and remember 0sec delay for all regions (bxo#13763)
- Fix clipboard action handling (bxo#14513)
-------------------------------------------------------------------
Tue May 15 14:21:06 UTC 2018 - seife+obs@b1-systems.com
- update to version 1.9.2
- Remove zimagez support (bxo#14283)
- Use g_app_info_launch() for command launching (bxo#13886)
- Dismiss the progress dialog after upload (bxo#12519)
- Improve thumbnail size clamping
- Allow --clipboard option to be used with the others (bxo#14120)
- Handle device grab failure (bxo#10259)
-------------------------------------------------------------------
Wed Jul 19 07:46:21 UTC 2017 - seife+obs@b1-systems.com
- update to version 1.9.1
- Fix crash on program exit after image upload (bxo#13415)
- version 1.9.0
- Use HTTPS for imgur (bxo#13415)
- version 1.8.99
- Port to GTK+3
- Fix appdata description
- Fix crash in GValueArray handling (bxo#11879)
- Use while instead of when in strings (bxo#12157)
- Fix gray overlay in region mode screenshots (bxo#11922)
- Fix crash when uploading to zimagez (bxo#11879)
- Updated translations
-------------------------------------------------------------------
Tue Jan 27 08:46:53 UTC 2015 - gber@opensuse.org
- update to version 1.8.2
- Enhancements:
- Add imgur.com as possible upload option (bxo#6899)
- Add appdate file (bxo#11202)
- Make region selection with compositing on more usable on
darker backgrounds (bxo#9592)
- Updated translations
- Bugs fixed:
- Fix keyboard navigation between choices (bxo#11325)
- Fix build with automake 1.13 (bxo#10030)
- Use filename-friendly date format for saved files (bxo#8445)
- drop obsolete xfce4-screenshooter-fix-plugin-linking.patch
xfce4-screenshooter-use-docdir.patch,
xfce4-screenshooter-automake-1.13.patch,
xfce4-screenshooter-automake-1.14.patch
- drop -doc subpackage, documentation has been removed
-------------------------------------------------------------------
Thu Oct 16 11:03:15 UTC 2014 - dimstar@opensuse.org
- Add xfce4-screenshooter-automake-1.14.patch: Fully intialize
before doing furher actions. Works around an issue with AM 1.14.
-------------------------------------------------------------------
Wed Mar 13 11:35:46 CET 2013 - pgajdos@suse.cz
- builds with automake 1.13
* automake-1.13.patch
-------------------------------------------------------------------
Mon May 7 12:47:08 UTC 2012 - gber@opensuse.org
- fix xfce4-screenshooter-fix-plugin-linking.patch so the panel
plugin is linked against libscreenshooter
- fix help function by depending on libxfce4ui-tools which provides
xfhelp4 again
-------------------------------------------------------------------
Thu May 3 07:27:12 UTC 2012 - gber@opensuse.org
- update to version 1.8.1
- adapting the panel plugin to xfce4-panel 4.9+
- add a clipboard CLI option
- panel plugin is now built as a library
- fix crash with some window managers
- fix crash with NULL save path
- install documentation to new location
- add explicit -lm link to LIBADD
- plugin installation location compatible with xfce4-panel 4.9+
- update outdated man page
- rebased xfce4-screenshooter-1.8.0-use-docdir.patch as
xfce4-screenshooter-use-docdir.patch
- added xfce4-screenshooter-fix-plugin-linking.patch in order to
link the plugin module correctly
-------------------------------------------------------------------
Tue Apr 3 11:32:33 UTC 2012 - gber@opensuse.org
- specfile cleanup
- added xfce4-screenshooter-fix-crash-with-some-wms.patch which
fixes a crash when taking a screenshot of a window with some
window managers (bxo#8080)
- correct dependencies
-------------------------------------------------------------------
Wed Mar 14 19:29:55 UTC 2012 - gber@opensuse.org
- recommend -lang subpackage
-------------------------------------------------------------------
Fri Oct 21 14:28:25 UTC 2011 - gber@opensuse.org
- added xfce4-screenshooter-1.8.0-use-docdir.patch in order to
allow installation of documentation under docdir
- install HTML documentation under
/usr/share/xfce4/xfce4-screenshooter/html
-------------------------------------------------------------------
Fri Oct 14 15:51:50 UTC 2011 - gber@opensuse.org
- recommend -doc subpackage
-------------------------------------------------------------------
Mon Sep 19 15:24:38 UTC 2011 - gber@opensuse.org
- added xfce4-screenshooter-fix-libm-underlinking.patch in order to
explicitly link against libm
-------------------------------------------------------------------
Mon Aug 1 11:53:31 UTC 2011 - gber@opensuse.org
- update to version 1.8.0
- capture the cursor using XFIXES
- generate valid BBCode
- further bugfixes and translation updates
-------------------------------------------------------------------
Fri Feb 18 00:13:37 UTC 2011 - gber@opensuse.org
- call %desktop_database_post/un
- call %icon_theme_cache_post/un
-------------------------------------------------------------------
Thu Feb 3 20:05:51 UTC 2011 - gber@opensuse.org
- build documentation
-------------------------------------------------------------------
Thu Feb 3 19:49:53 UTC 2011 - gber@opensuse.org
- update to current git snapshot (1.7.9.99_git20110203)
- port to current exo
- port from libxfcegui4 to libxfce4ui
- many bugfixes
- translation updates
- dropped obsolete xfce4-screenshooter-1.7.9-fix-crash.patch and
xfce4-screenshooter-1.7.9-use-system-exo.patch
-------------------------------------------------------------------
Mon Dec 27 14:54:27 UTC 2010 - gber@opensuse.org
- correct group and URL
-------------------------------------------------------------------
Sun Dec 5 14:34:06 UTC 2010 - gber@opensuse.org
- Initial packaging

138
xfce4-screenshooter.spec Normal file
View File

@ -0,0 +1,138 @@
#
# spec file for package xfce4-screenshooter
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2010 Guido Berhoerster.
#
# 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 panel_version 4.16.0
%define plugin screenshooter
%bcond_with git
Name: xfce4-screenshooter
Version: 1.11.1
Release: 0
Summary: Screenshot Tool for the Xfce Desktop
License: GPL-2.0-or-later
Group: Productivity/Graphics/Other
URL: https://goodies.xfce.org/projects/applications/xfce4-screenshooter
Source0: https://archive.xfce.org/src/apps/xfce4-screenshooter/1.10/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE xfce4-screenshooter-relax-x11-version.patch lower required X11 version to allow building for Leap which only has 1.6.5, which is enough, though
Patch0: xfce4-screenshooter-relax-x11-version.patch
BuildRequires: appstream-glib
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: update-desktop-files
BuildRequires: xfce4-dev-tools
BuildRequires: pkgconfig(exo-2) >= 0.12.0
BuildRequires: pkgconfig(gdk-3.0) >= 3.24.0
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gdk-wayland-3.0) >= 3.24.0
BuildRequires: pkgconfig(gdk-x11-3.0) >= 3.24.0
BuildRequires: pkgconfig(glib-2.0) >= 2.66.0
BuildRequires: pkgconfig(gthread-2.0) >= 2.42.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{panel_version}
BuildRequires: pkgconfig(libxfce4ui-2) >= 4.16.0
BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.16.0
BuildRequires: pkgconfig(libxfconf-0) >= 4.16.0
BuildRequires: pkgconfig(pango) >= 1.44.0
BuildRequires: pkgconfig(wayland-client) >= 1.15
BuildRequires: pkgconfig(wayland-scanner) >= 1.15
BuildRequires: pkgconfig(x11) >= 1.6.5
BuildRequires: pkgconfig(xext) >= 1.0.0
BuildRequires: pkgconfig(xfixes) >= 4.0.0
BuildRequires: pkgconfig(xi) >= 1.7.8
%if %{with git}
BuildRequires: xfce4-dev-tools
%endif
Recommends: %{name}-lang = %{version}-%{release}
# needs xfhelp4
Requires: libxfce4ui-tools
Suggests: xfce4-%{plugin}-plugin
Obsoletes: xfce4-screenshooter-doc <= 1.8.1
Provides: xfce4-screenshooter-doc = %{version}
Recommends: curl
Recommends: jq
Recommends: zenity
%description
Xfce4 Screenshooter is a tool for taking screenshots, it can capture the entire
screen, the active window or a selected region. Screenshots may be taken with a
user-specified delay and the resulting images can be saved to a PNG file,
copied it to the clipboard, opened with another application, or uploaded to
ZimageZ, a free online image hosting service.
%package -n xfce4-%{plugin}-plugin
Summary: Screenshot Plugin for the Xfce Panel
Group: System/GUI/XFCE
Requires: xfce4-panel >= %{panel_version}
Requires: xfce4-screenshooter = %{version}-%{release}
# package was renamed in 2019 after Leap 15.1
Provides: xfce4-panel-plugin-%{plugin} = %{version}-%{release}
Obsoletes: xfce4-panel-plugin-%{plugin} < %{version}-%{release}
Obsoletes: xfce4-panel-plugin-%{plugin}-debuginfo
%description -n xfce4-%{plugin}-plugin
This package contains the xfce4-screenshooter Xfce panel plugin.
%lang_package
%prep
%autosetup -p1
%build
%if %{with git}
NOCONFIGURE=1 ./autogen.sh
%configure \
--enable-maintainer-mode \
--disable-static
%else
%configure --disable-static
%endif
%make_build
%install
%make_install
rm -f %{buildroot}%{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.la
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.xml
%find_lang xfce4-screenshooter %{?no_lang_C}
%suse_update_desktop_file -r xfce4-screenshooter -G 'Screenshot Tool' Utility X-SuSE-DesktopUtility GTK
%fdupes %{buildroot}%{_datadir}
%files
%doc NEWS README.md TODO
%license COPYING
%{_bindir}/xfce4-screenshooter
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/xfce4-screenshooter.desktop
%{_datadir}/metainfo/xfce4-screenshooter.appdata.xml
%dir %{_libexecdir}/xfce4/screenshooter
%dir %{_libexecdir}/xfce4/screenshooter/scripts
%{_libexecdir}/xfce4/screenshooter/scripts/imgur-upload.sh
%{_mandir}/man1/xfce4-screenshooter.1*
%files -n xfce4-%{plugin}-plugin
%{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.so
%{_datadir}/xfce4/panel/plugins/screenshooter.desktop
%files lang -f %{name}.lang
%changelog