commit bb8c73f013e4f337f22176cc01ab3b8b1b10f203645263ecf94a5a74bc06590f Author: Dirk Mueller Date: Thu Jul 25 11:01:19 2024 +0000 - Separate xdg-screensaver into a subpackage to isolate Perl dependency (bsc#1216537). OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-utils?expand=0&rev=101 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/install-some-more-scripts.diff b/install-some-more-scripts.diff new file mode 100644 index 0000000..27d8498 --- /dev/null +++ b/install-some-more-scripts.diff @@ -0,0 +1,26 @@ +From: Jiri Slaby +Subject: Install some more scripts + +Why are they commented in the repo? + +--- + scripts/Makefile.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- a/scripts/Makefile.in ++++ b/scripts/Makefile.in +@@ -20,11 +20,11 @@ SCRIPTS = \ + xdg-open \ + xdg-email \ + xdg-screensaver \ +- xdg-settings +-# xdg-su ++ xdg-settings \ ++ xdg-su \ ++ xdg-terminal + # xdg-copy \ + # xdg-file-dialog +-# xdg-terminal + + MANPAGES= $(SCRIPTS:%=man/%.1) + WEBPAGES= $(SCRIPTS:%=html/%.html) diff --git a/xdg-utils-v1.2.1.tar.gz b/xdg-utils-v1.2.1.tar.gz new file mode 100644 index 0000000..6b2faf1 --- /dev/null +++ b/xdg-utils-v1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6b648c064464c2636884c05746e80428110a576f8daacf46ef2e554dcfdae75 +size 307637 diff --git a/xdg-utils.changes b/xdg-utils.changes new file mode 100644 index 0000000..c65c125 --- /dev/null +++ b/xdg-utils.changes @@ -0,0 +1,621 @@ +------------------------------------------------------------------- +Sun Jul 21 08:08:07 UTC 2024 - Matej Cepl + +- Separate xdg-screensaver into a subpackage to isolate Perl + dependency (bsc#1216537). + +------------------------------------------------------------------- +Wed Mar 13 09:52:36 UTC 2024 - christophe@krop.fr + +- Update to version 1.2.1: + * Better shellcheck tooling + * Use 1.2.99 for the Version in the development branch while + not releasing. + * Update ChangeLog + * Adapt the script the places the _MANUALPAGE and _USAGE + sections to handle the new quotes + * Quote all _MANUALPAGE and _USAGE openers to interpret them + as literals + * Made slightly misleading command example easier to + understand. (Hopefully) + +------------------------------------------------------------------- +Thu Feb 01 09:48:12 UTC 2024 - sflees@suse.de + +- Update to version 1.2.0+20240130: + * xdg-icon-resource: unbreak syntax by removing stray grave accent + (boo#1219420) + +------------------------------------------------------------------- +Tue Jan 30 03:49:59 UTC 2024 - Simon Lees + +- Update to Version 1.2.0 (Lining up with the upstream release) + * all: Add xdg-realpath to better handle Canonicalizing filenames (#66) + * xdg-open: Use url.dll as url opener on wsl (#242) + * tests: Fix quoting issues in t-xdg-open.sh + * xdg-open: Added a reporting issues section to xdg-open in the hopes + that more issues will be attributed correctly + * xdg-mime: Added a secutity note on xdg-mime default to warn against confusing + openers and runners + * xdg-open: Added paragraph explaining the wiered return behaviour of xdg-open + * xdg-email: shellcheck + * xdg-mime: shellcheck + * xdg-settings: Add support for deeping-desktop browser setting in + xdg-settings. + * all: Fix config.status warning about ignored --datarootdir setting + * all: Shellchecked xdg-utils-common.in + * xdg-open: shellcheck + * xdg-mime: Create a generic implementation for KDE + * all: Move to markdown for README's + * xdg-mime: Improve Documentation around query file/default + * xdg-open: Document not handling '-' at the start of filenames + * xdg-open: Deduplicate URL recognition + * xdg-open: remove unused open_generic_xdg_file_mime + * xdg-open: use LC_ALL=C with URLs + * xdg-open: Fix URI/URL handling + * xdg-email: Remove default BROWSER logic, no longer needed + * xdg-mime: Improve synopsis + * xdg-settings: read KDE browser settings the right way around + * xdg-open: Improve WSL support + * xdg-mime: actually handle lists in mimeapps.list correctly + +------------------------------------------------------------------- +Fri Sep 29 08:50:42 UTC 2023 - Simon Lees + +- Update to version 1.2.0-beta1+20230929: + * Set Version to 1.2.0-beta1 + * Update Changes and Release Notes + * fix(xdg-open): handle spaces in .desktop file path + * Quote Browser variable to avod unintentional code execution + * Add missing result gathering + * Enhance LXQt Desktop Enviromment support + * xdg-terminal: don't run 'kreadconfig' if KDE_SESSION_VERSION is >= 5 +- Drop the following fix, now actually included upstream + * xdg-terminal-don-t-run-kreadconfig-if-KDE_SESSION_VE.patch +- The following entries may have been missed in previous changelog + versions + * all: shellcheck fixes; make xdg-mime DASH-compatible + * xdg-email: do not run BROWSER if xdg-open failed + * Ensure POSIX-compliant shell scripting to support DASH + * all: spelling fixes + * Fix set_url_scheme_handler_gnome3 to not associate text/html handler + * xdg-screensaver: fix the freedesktop screensaver + * xdg-screensaver: implement support for "gnome3" DE + * xdg-screensaver: better error detection for freedesktop 'status' command + * xdg-desktop-menu: Drop obsolete GNOME support + * xdg-open: support WSL (FDO#108975) + * xdg-su: support deepin + * xdg-mime: If mimeapps.list is a symlink, retain the symlink (#7) + * xdg-open: fix search_desktop_file's logic + * xdg-open: handle local hostname in `file:` URLs + * xdg-desk-menu: Check if defaults file exists during installation + * xdg-su: Remove quotes for lxqt-sudo cmd arg + * xdg-open: handle opening files when DE=flatpak + +------------------------------------------------------------------- +Thu Sep 21 05:47:59 UTC 2023 - jslaby@suse.cz + +- Update to version 1.1.3+20230831: + * Revert putting process in background from !55 +- revert _service to the original state +- revert drop of xdg-terminal-don-t-run-kreadconfig-if-KDE_SESSION_VE.patch + (bsc#1215384) + +------------------------------------------------------------------- +Thu Aug 31 18:12:21 UTC 2023 - Enrico Belleri + +- Update to 1.1.3+20230830 + * Patches: + - 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch + - support-deepin-desktop.patch + - xdg-utils-egrep.patch + are merged upstream + * Support for KDE Plasma 6 + +------------------------------------------------------------------- +Sun Sep 4 17:29:24 UTC 2022 - Andreas Stieger + +- xdg-open: convert usage of obsolete egrep to grep -E + add xdg-utils-egrep.patch, boo#1203092 + +------------------------------------------------------------------- +Tue Jul 26 07:16:43 UTC 2022 - jslaby@suse.cz + +- Update to version 1.1.3+20210805: + * xdg-email fails on kde with desktop files #187 +- switch to obs_scm + +------------------------------------------------------------------- +Mon Aug 30 08:54:16 UTC 2021 - jslaby@suse.cz + +- Update to version 1.1.3+20201113: + * Fix xdg-settings support for default-web-browser for Plasma 5.19+ + +------------------------------------------------------------------- +Sat Apr 24 12:51:58 UTC 2021 - Hillwood Yang + +- Add support-deepin-desktop.patch + +------------------------------------------------------------------- +Wed Dec 30 15:09:47 UTC 2020 - Frederic Crozat + +- Move call-browser and desktop-launch symlink from + desktop-data-openSUSE/SLE to xdg-utils (bsc#170316). + +------------------------------------------------------------------- +Tue Jun 09 06:43:27 UTC 2020 - jslaby@suse.com + +- Update to version 1.1.3+20200220: + * fixed #166: xdg-open dose not search correctly in directories with spaces in the name + +------------------------------------------------------------------- +Wed Oct 30 16:12:34 UTC 2019 - Christophe Giboudeaux + +- Add 0001-Don-t-run-kreadconfig-if-KDE_SESSION_VERSION-is-5.patch + to read the KDE Frameworks config file if necessary (boo#1155462) + +------------------------------------------------------------------- +Mon Sep 30 10:47:49 UTC 2019 - jslaby@suse.com + +- Update to version 1.1.3+20190413: + * xdg-mime: return correct exit code for GNOME + +------------------------------------------------------------------- +Tue Apr 23 04:44:28 UTC 2019 - jslaby@suse.com + +- Update to version 1.1.3+20190401: + * support digits in uri scheme regex + * Enable cinnamon screensaver for xdg aware desktop environments (eg lxqt) + * xdg-open: fix comment typo + * xdg-su: fix some easy TODOs + * xdg-screensaver: Sanitise window name before sending it over the bus + * Fixes -x argument, which is the default for {gnome,mate}-terminal + * Fix a bug when xdg-terminal needs gsettings to get the default terminal + * test-lib.sh: run: eat xdg-open's exit code + * xdg-open: handle file://localhost/ + * Restore matching of older deepin names + * xdg-email: Support for Deepin + * xdg-open: better pcmanfm check (BR106636,BR106161) + * open for post 1.1.3 development +- Removed (merged upstream): + * xdg-terminal-fix-gsettings.patch + * xdg-terminal-fix-terminal--x-arg.patch +- Fix URL + +------------------------------------------------------------------- +Wed May 23 09:17:31 UTC 2018 - alarrosa@suse.com + +- Update to version 20180510 (1.1.3): + * bump version, prep for 1.1.3 release + * xdg-open: use pcmanfm only if it is available (BR106161) + * Add Deepin Desktop Environment support. + * Avoid argument injection vulnerability in open_envvar() (CVE-2017-18266, + boo#1093086, fdo#103807) + * xdg-settings: check_browser is broken under kde when just the binary + is specified (BR106343) + * xdg-open: Fixes LXQt behavior + * xdg-mime awk script syntax error (BR104298) + * Spelling fixes (BR103255) + * xdg-mime.1: Add missing period + * Fix tests for 1f8e58d51e6fb3f50f59ed2d8265f2f346ac68e6 + +- Drop fix-kde-browser-check.patch which is already included upstream + +------------------------------------------------------------------- +Tue May 1 05:28:49 UTC 2018 - sflees@suse.de + +- boo#1051353 can't set default browser on kde. + * fix-kde-browser-check.patch + +------------------------------------------------------------------- +Tue May 23 09:30:35 UTC 2017 - jslaby@suse.com + +- Update to version 20170508: + * xdg-open: Add "chromium" to fallback browsers + * changelog for prior commit + * xdg-mime: fails on encountering a list for x-scheme-handler (BR44163) + * common: implement vendor dirs in desktop_file_to_binary (BR44163) + * Add better support for Enlightenment and LXQt (BR98561) + * xdg-screensaver: Restore previous X11 screensaver timeout (BR#98509) + * adjust version for release/tag +- removed common-vendor-dirs-in-desktop_to_binary.patch +- removed fix-enlightenment-lxqt-support.patch +- removed xdg-mime-return-existing-desktop-files.patch + +------------------------------------------------------------------- +Tue Nov 15 00:26:14 UTC 2016 - sflees@suse.de + +- Update to 20160610 + * Fixes for last update +- boo#1004321 desktop files with a - are still valid, issue in + common-vendor-dirs-in-desktop_to_binary.patch +- boo#959912 Introduce LXQt support, renamed + fix-enlightenment-support.patch to fix-enlightenment-lxqt-support.patch + +------------------------------------------------------------------- +Fri May 20 04:54:39 UTC 2016 - sflees@suse.de + +- Update to 20160520 + * xdg-mime: support for KDE Frameworks 5.6 + * xdg-mime does not write the file it reads in a query (BR95051) + * xdg-screensaver: Add cinnamon-screensaver D-Bus API support. + * xdg-open: standardize output redirection style +- Fix issues related to xdg-open/xdg-mime generic code paths. + * common-vendor-dirs-in-desktop_to_binary.patch + * xdg-mime-return-existing-desktop-files.patch + +------------------------------------------------------------------- +Sat Feb 6 11:12:43 UTC 2016 - sor.alexei@meowr.ru + +- Fix a mistake with build architecture. + +------------------------------------------------------------------- +Fri Jan 22 12:34:23 UTC 2016 - sor.alexei@meowr.ru + +- Update to 20151219: + * xdg-open: Improve fallbacks, add open_generic (almost) + everywhere (fdo#93442). + * xdg-open: Standardise output redirection style. +- Add xdg-terminal-fix-terminal--x-arg.patch: fix for "-x" usage + (default option for MATE and GNOME terminals). +- Spec cleanup. + +------------------------------------------------------------------- +Sun Dec 6 10:23:11 UTC 2015 - jslaby@suse.com + +- update to 20151112 + * xdg-utils-common: bump version number + * Check for $WAYLAND_DISPLAY as well as $DISPLAY. + +------------------------------------------------------------------- +Thu Dec 3 17:08:12 UTC 2015 - ronisbr@gmail.com + +- Add patch `xdg-terminal-fix-gsettings.patch` to fix upstream + bfo#93231 + +------------------------------------------------------------------- +Tue Nov 3 10:55:15 UTC 2015 - jslaby@suse.com + +- update to 20151005 + * ChangeLog: add debian bug number + * ChangeLog: add some space + * xdg-open: Add proper quoting so that files with spaces in their names can be opened in generic mode and LXDE + * t-xdg-open: test opening files with spaces in LXDE too + * t-xdg-open: quote file variable properly in mock_xdg_mime() + * xdg-open: Fix regression in generic mode (wrong variable name) + * t-xdg-open: improve mocking of xdg-mime (check all arguments) + * t-xdg-open: can open -> opens + * t-xdg-open: test that it can open files with spaces in their names in generic mode + * t-xdg-open: move generic open file testing to its own function + * t-xdg-open: move xdg-mime mocking to its own function + * t-xdg-open: use the mock script argument instead of writing a mock script manually + * oops, fix spelling of name + * xdg-screensaver: Run 'xset -dpms' and then 'xset +dpms' to reset the DPMS timer + * add .dir-locals.el that switches off change-log-mode in Emacs for ChangeLog + * add t-xdg-screensaver + * xdg-screensaver: handle XDG_CURRENT_DESKTOP=X-Generic + * test-lib: take arbitrary script code as argument to mock + * remove org.freedesktop.ScreenSaver support from TODO + * release xdg-utils 1.1.0 + * xdg-email: Remove obsolete references to http://portland.freedesktop.org/wiki/EmailConfig from the manual + * add releaseinfo element to xdg-settings manual + * Add references to specifications to the manuals + * xdg-open: use sed to remove file URL query strings, the shell will interpret '?' as any character despite escaping + * xdg-open: Only strip queries (?) and fragments (#) from file URLs before decoding them, not from (decoded) paths + * t-xdg-open: test that it can open files with # characters in generic mode + * t-xdg-open: test that it can open files in generic mode + * t-xdg-open: under -> in + * t-xdg-open: separate out proper testcases + * autotests: don't print test filename + * xdg-email: Rewrite open_kde() + * t-xdg-email: update KDE tests + * autotests: Add t-xdg-email.sh with KDE5 test + * Revert "Remove .sh extension from autotests" + * Remove .sh extension from autotests + * +x on t-xdg-settings.sh + * xdg-settings: apply basename to browser desktop file in generic mode + * t-xdg-settings: test $BROWSER in generic mode + * xdg-settings: Add a proper generic mode. + * xdg-settings: Detect generic DE instead of failing. (Debian bug #787791) + * autotests: add t-xdg-settings.sh + * add /failed-tests to autotests/.gitignore + * test-lib: add mock_output() + * xdg-open, xdg-email: Add iceweasel to the list of fallback browsers. (Debian bug #788047) + * add Debian bug number to ChangeLog + * test-lib: better assertion failed message for assert_run + * indentation + * use $LABHOME/.local/share for $XDG_DATA_HOME + * is -> are + * t-xdg-open: also test Cinnamon + * xdg-open: Fall back to generic mode if gvfs-open and gnome-open are missing. Don't try to use gnome-open if running under GNOME 3 or Cinnamon. + * t-xdg-open.sh: test that gnome3 and gnome2 fall back to generic if gvfs-open and gnome-open are missing + * xdg-mime: Check ~/.config/mimeapps.list instead of ~/.config/applications/mimeapps.list when looking for default application. + * test-lib: always mock x-www-browser so we have a fallback + * put default apps in $XDG_CONFIG_HOME/mimeapps.list + * test-lib: add mock_desktop_file and mock_default_app + * test-lib: add XDG_CONFIG_HOME and create it in reset_lab_() + * test-lib: nicer output formatting + * merge t-xdg-open-url and t-xdg-open-file into t-xdg-open + * autotests: set COMMAND_TESTED in each test file and rename test_that to test_that_it which prints the command to be tested. Also remove test file printing from makefile + * test-lib: don't trace which commands are run unless TRACE_RUN=1 + * add test_that invocations before every test + * test-lib: rename setup_lab to reset_lab_ + * test-lib: add test_that function that resets the lab, echoes the argument and records it + * test-lib: add XDG_CONFIG_DIRS to environment + * autotests: add LABHOME directory lab/home and set HOME to LABHOME when running xdg-utils commands + * test-lib: clear $BROWSER in setup_lab + * xdg-utils-common: Add support for GNOME-Flashback:GNOME value X-Generic. + * xdg-open: Percent-decode file:// URLs in open_lxde and add testcase. (BR89654) + * autotests/Makefile.in: use rm -f insted of -rm + * autotests: remove Makefile in distclean target + * speling + * xdg-icon-resouce: Don't try to install anything into empty $icon_dir's. + * add autotests/t-xdg-icon-resource.sh + * test-lib.sh: pass on XDG_UTILS_DEBUG_LEVEL in run() + * autotests: add autotest target to subdir makefile + * test-lib.sh: add assert_file_exists + * test-lib.sh: create hicolor icon directories in lab + * add changelog entry: xdg-open: Try www-browser first of the non-X browsers. + * Merge branch 'feature/try-www-browser-first' into upstream + * add changelog entry: xdg-open: Add support for running without X. + * Merge branch 'feature/no-X' into upstream + * changelog message: xdg-email: Add support for the environment variable. + * Merge branch 'feature/mailer-envvar' into upstream + * thank Ben Hutchings for the gnome-screensaver perl script + * add changelog message for the gnome-screensaver suspend perl code + * Merge branch 'bug/gnome3-screensaver-suspend' into upstream + * use Makefile.in in autotests for consistency + * changelog entry for the new automatic test suite + * check that $BROWSER with %s is safe from shell injection + * use empty default target in autotests/Makefile to avoid running tests as part of the build process + * Merge branch 'bug/prefer-browser-envvar' into feature/autotests + * run tests with sh in case they lack the x-bit + * add extra blank line after test failures output + * add autotests to SUBDIRS in top-level makefile and add clean target + * collect failed assertions instead of aborting + * check that $BROWSER overrides mimeapps.list in generic mode + * add BROWSER to env + * add autotest target to top makefile + * Try $BROWSER first in generic mode if it is set by the user. + * add generic and lxde tests to t-xdg-open-url.sh + * add test t-xdg-mime-query-default.sh + * make applications directories and add assert_equal() function + * Introduce an automated test suite. + * move www-browser to separate feature/patch + * Try www-browser first when running without $DISPLAY. + * Add support for using xdg-open and xdg-email without X. + * Add $MAILER support to xdg-email. + * Use DBus API for GNOME since gnome-screensaver-command --poke has been removed + * xdg-email: Recipients passed to Thunderbird are incorrectly quoted (BR91996) + * xdg-email: generic mode does nothing (BR92008) + * xdg-email: Icedove support (BR91997) + * xdg-email: bashism: relies on bash's echo in run_thunderbird() (BR91990) + * xdg-open shell script contains bash code (BR86028) + * xdg-open: Add support for multi-word $BROWSER commands (BR91989) + * Changelog for previous commit + * xdg-icon-resource: quote var expansions + * xdg-icon-resource: does not support filenames with spaces (BR91758) + * xdg-screensaver support for xautolock (BR89655) + * xdg-screensaver: fix a comment typo + * xdg-mime: remove obsolete workaround for bug #33094 + * amend changelog to be more specific + * add changelog for last batch of commits + * xdg-terminal: add support for GNOME3, Cinnamon, MATE + * xdg-su: add support for Cinnamon + * xdg-settings: add support for all GVfs-based desktops + * xdg-open: use cygstart on Cygwin + * xdg-open: fix operation on Darwin + * xdg-open: add support for Cinnamon + * xdg-mime: add support for all GVfs-based desktops + * xdg-mime: implement Mime Apps Spec + * xdg-file-dialog: use zenity on Cinnamon and MATE + * xdg-email: add support for all GVfs-based desktops + * xdg-copy: add support for all GVfs-based desktops + * Add detection of Cinnamon desktop + * Improve detection of GNOME Classic and Flashback sessions + * followup commit, copy-n-paste fail + * xdg-email: generic check for assigned mailto (BR79929) + * xdg-mime: search mimeinfo.cache in $xdg_user_dir too (BR31629) + * typo from previous commit + * xdg-open: does not exit if it does not recognize the mimetype (BR89902) + * xdg-desktop-menu: does not support filenames with spaces (BR66605) + * xdg-open: fix regression where & gets replaced with \\& in URLs + * xdg-email: thunderbird launch in xdg-email in gnome3 fails (BR61475) + * add ChangeLog entry for previous commit + * xdg-mime: do not report multiple desktop files (BR60329) + * one more s/$arg/$target/ rename fix for prior commit + * xdg-open: safer xdg-open (BR89130) +- Remove: xdg-mime-generic-do-not-return-more-than-one-default.patch +- Remove: xdg-screensaver-gnome-perl.diff + +------------------------------------------------------------------- +Tue Jan 20 12:14:38 UTC 2015 - jslaby@suse.com + +- update to 20150119 + * xdg-open: Improve performance of get_key function + * xdg-open: better fix for command injection vulnerability (bnc#913676) + * xdg-screensaver: Change screensaver_freedesktop's interpretation of GetActive + * xdg-mime: dereference symlinks when using mimetype or file + * xdg-open: command injection vulnerability + * xdg-screensaver should control X11's screensaver in xfce as fallback + +------------------------------------------------------------------- +Sun Dec 28 08:43:50 UTC 2014 - simon@simotek.net + +- add fix-enlightenment-support.patch + * xdg-su and xdg-terminal both detected enlightenment then did nothing + * xdg-su and xdg-terminal both use terminology rather then xterm now + +------------------------------------------------------------------- +Thu Nov 27 15:41:10 UTC 2014 - jslaby@suse.com + +- Update to 20141009: + * more of plasma5 +- xdg-mime-generic-do-not-return-more-than-one-default.patch (bnc#906625) +- .spec cleanup + +------------------------------------------------------------------- +Tue Sep 23 16:32:40 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 20140922: + * Initial support for Plasma5 + * XFCE .desktop file created for browser selection is broken + (fdo#56092) + * Unnecessary filtering file:// for pcmanfm (fdo#63153) + * fails if user sets a custom IFS environment variable + (fdo#81386) + * xdg-utils-common is broken, xdg-open uses bashism (fdo#83979) + * xdg-email: do not encode - character + +------------------------------------------------------------------- +Mon Jun 30 14:54:19 UTC 2014 - fcrozat@suse.com + +- Update to 20140630: + * manpage for xdg-su and xdg-terminal + * xdg-terminal: better support for screen and rxvt variants + * add xdg-settings tool + * improve KDE detection + * xdg-open: various fixes + * xdg-screensaver: use D-Bus api to lock GNOME screensaver + +------------------------------------------------------------------- +Thu Jan 9 13:51:11 UTC 2014 - jslaby@suse.com + +- update to 20140109 + * xdg-mime: generic, handle filenames with colon (bnc#854777) + * xdg-desktop-menu: improperly check for vendor prefix ... + * xdg-screensaver: Support MATE desktop part 2 + * xdg-desktop-menu: Unquoted file name (BR69399) + * xdg-open: Detect Enlightenment and make use of it + * xdg-open: be more paranoid in escaping +- xdg-open-be-more-paranoid-in-escaping.patch: remove + +------------------------------------------------------------------- +Wed Oct 2 15:34:42 UTC 2013 - fcrozat@suse.com + +- Requires which package, otherwise most xdg scripts won't work + properly. + +------------------------------------------------------------------- +Mon May 20 11:57:03 UTC 2013 - jslaby@suse.com + +- update to 20121008 + * xdg-mime does not search mimeinfo.cache (BR31629) +- xdg-open-be-more-paranoid-in-escaping.patch: xdg-open: be more + paranoid in escaping (bnc#811959) + +------------------------------------------------------------------- +Mon Sep 17 13:24:00 UTC 2012 - jslaby@suse.com + +- update to snapshot from 20120916 + * mate support added + * switch to local _service + * fix bad date in the file name + +------------------------------------------------------------------- +Mon Aug 20 16:18:37 CEST 2012 - jslaby@suse.de + +- update to snapshot from 20120809 + * fix xdg-su for icewm (bnc#776202) + * remove xfce-su.diff (merged) + * few fixes (syntax errors in some cases and such) + * see ChangeLog for updates + +------------------------------------------------------------------- +Fri Jun 29 00:27:04 CEST 2012 - jslaby@suse.de + +- update to snapshot from 20120310 + * many local patches are gone, since they were merged + * fixes many issues (see bnc#749612, bnc#703396, bnc#752977) + * see ChangeLog for updates +- clean the specfile a bit + +------------------------------------------------------------------- +Mon May 21 10:16:02 UTC 2012 - vargusz@fazekas.hu + +- Fix xdg-screensaver issues with Gnome 3 (bnc#559110) + +------------------------------------------------------------------- +Sun Oct 23 23:12:02 UTC 2011 - pascal.bleser@opensuse.org + +- add xdg-terminal + +------------------------------------------------------------------- +Sat May 21 13:48:19 UTC 2011 - ctrippe@opensuse.org + +- Fix xdg-open to probably parse the version for KDE4 (bnc#694543) + +------------------------------------------------------------------- +Tue Jul 20 21:21:59 UTC 2010 - reddwarf@opensuse.org + +- Fix screensaver handling in KDE4 + +------------------------------------------------------------------- +Sun Mar 28 17:43:15 UTC 2010 - andrea@opensuse.org + +- added xdg-utils-1.0.2-bnc591714.patch to fix bnc#591714 + +------------------------------------------------------------------- +Thu Jan 14 18:01:21 UTC 2010 - andrea@opensuse.org + +- added LXDE support + +------------------------------------------------------------------- +Sun Aug 16 13:43:52 CEST 2009 - aj@suse.de + +- Add some support for KDE4, taken from upstream CVS. + +------------------------------------------------------------------- +Thu Feb 7 13:13:48 CET 2008 - dmueller@suse.de + +- fix command injection (#bnc355061, CVE-2008-0386) + +------------------------------------------------------------------- +Mon Oct 22 14:25:40 CEST 2007 - stbinner@suse.de + +- update to 1.0.2: + * SVG icons are not supported but doc still mentioned SVG + * xdg-email can now be used without any e-mail address + * do not use mktemp without arguments, it breaks on systems with + certain older versions of mktemp + +------------------------------------------------------------------- +Thu Sep 20 18:57:34 CEST 2007 - dmueller@suse.de + +- fix xdg-su outside KDE/GNOME (#309164) + +------------------------------------------------------------------- +Thu Aug 30 11:35:02 CEST 2007 - dmueller@suse.de + +- fix xdg-su for XFCE (#304753) + +------------------------------------------------------------------- +Tue May 22 14:25:00 CEST 2007 - dmueller@suse.de + +- add xdg-su (#275937) + +------------------------------------------------------------------- +Mon Nov 6 09:48:46 CET 2006 - dmueller@suse.de + +- update to 1.0.1: + * Several shell syntax issues causing failures on Ubuntu 6.10 + * Spurious output on stdout when running xdg-desktop-menu + * Non-ascii mailto URI handling of xdg-email on non-UTF8 locales + under KDE + +------------------------------------------------------------------- +Fri Oct 27 18:04:35 CEST 2006 - dmueller@suse.de + +- don't build as root + +------------------------------------------------------------------- +Wed Sep 27 11:58:49 CEST 2006 - dmueller@suse.de + +- update to 1.0rc1: + * for changes, see /usr/share/doc/packages/xdg-utils/ChangeLog + +------------------------------------------------------------------- +Thu Jun 22 13:27:51 CEST 2006 - dmueller@suse.de + +- Initial package (TP1) + diff --git a/xdg-utils.obsinfo b/xdg-utils.obsinfo new file mode 100644 index 0000000..004c7eb --- /dev/null +++ b/xdg-utils.obsinfo @@ -0,0 +1,4 @@ +name: xdg-utils +version: 1.2.1+20240208 +mtime: 1707369507 +commit: 54b6c1e4da163598c8e903978a29b543f97b0cda diff --git a/xdg-utils.spec b/xdg-utils.spec new file mode 100644 index 0000000..0f0e39e --- /dev/null +++ b/xdg-utils.spec @@ -0,0 +1,112 @@ +# +# spec file for package xdg-utils +# +# 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: xdg-utils +Version: 1.2.1 +Release: 0 +Summary: Utilities to uniformly interface desktop environments +License: MIT +Group: System/GUI/Other +URL: https://www.freedesktop.org/wiki/Software/xdg-utils/ +Source: https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v%{version}/xdg-utils-v%{version}.tar.gz +# PATCH-FEATURE-OPENSUSE install-some-more-scripts.diff jslaby@suse.cz +Patch0: install-some-more-scripts.diff +BuildRequires: make +# for xmlto to be able to generate text from html +BuildRequires: w3m +BuildRequires: xmlto +Requires: which +BuildArch: noarch + +%description +The xdg-utils package is a set of simple scripts that provide basic +desktop integration functions for any Free Desktop, such as Linux. + +They are intended to provide a set of de-facto standards. +This means that: + * Third party software developers can rely on these xdg-utils for + all of their simple integration needs. + +* Developers of desktop environments can make sure that their + environments are well supported. + + If a desktop developer wants to be certain that their + environment functions with all third party software, then can + simply make sure that these utilities work properly in their + environment. + +%package screensaver +Summary: Command line tool for controlling the screensaver +Requires: %{name} = %{version}-%{release} +Requires: perl +Requires: perl-Net-DBus +Requires: perl-X11-Protocol + +%description screensaver +xdg-screensaver provides commands to control the screensaver. + +For use inside a desktop session only. It is not recommended to +use xdg-screensaver as root. + +Separated from the main package to isolate Perl dependency. + +%prep +%autosetup -p1 -n %{name}-v%{version} + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install + +# Make call-browser executable, symlink (bsc#170316) +ln -snf xdg-open %{buildroot}%{_bindir}/call-browser +ln -snf xdg-open %{buildroot}%{_bindir}/desktop-launch + +%files +%defattr(-,root,root) +%doc ChangeLog README.md TODO +%license LICENSE +%{_bindir}/call-browser +%{_bindir}/desktop-launch +%{_bindir}/xdg-desktop-icon +%{_bindir}/xdg-desktop-menu +%{_bindir}/xdg-email +%{_bindir}/xdg-icon-resource +%{_bindir}/xdg-mime +%{_bindir}/xdg-open +%{_bindir}/xdg-su +%{_bindir}/xdg-settings +%{_bindir}/xdg-terminal +%{_mandir}/man1/xdg-desktop-icon.1%{?ext_man} +%{_mandir}/man1/xdg-desktop-menu.1%{?ext_man} +%{_mandir}/man1/xdg-email.1%{?ext_man} +%{_mandir}/man1/xdg-icon-resource.1%{?ext_man} +%{_mandir}/man1/xdg-mime.1%{?ext_man} +%{_mandir}/man1/xdg-open.1%{?ext_man} +%{_mandir}/man1/xdg-terminal.1%{?ext_man} +%{_mandir}/man1/xdg-settings.1%{?ext_man} +%{_mandir}/man1/xdg-su.1%{?ext_man} + +%files screensaver +%license LICENSE +%{_bindir}/xdg-screensaver +%{_mandir}/man1/xdg-screensaver.1%{?ext_man} + +%changelog