The NetBSD Project

CVS log for pkgsrc/misc/xdg-utils/Makefile

[BACK] Up to [] / pkgsrc / misc / xdg-utils

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 17 08:39:13 2018 UTC (5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD
Changes since 1.14: +3 -9 lines
Diff to previous 1.14 (colored)

*: Replace custom tool setup with new ggrep.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 20 00:43:33 2018 UTC (6 months, 4 weeks ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

xdg-utils: Avoid hardcoded paths via a SUBST

Previously all xdg-utils scripts just honored system /usr/local and /etc, fix
that by substitute them via SUBST framework.


Revision 1.13 / (download) - annotate - [select for diffs], Sat May 12 10:11:49 2018 UTC (10 months, 1 week ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

xdg-utils: Update misc/xdg-utils to 1.1.3

pkgsrc changes:
 - Update HOMEPAGE (follow redirects)
 - Take MAINTAINERship

xdg-utils 1.1.3
   * xdg-open: Add Deepin Desktop Environment support (BR106143)
   * xdg-open: use pcmanfm only if it is available (BR106161)
   * xdg-open: Argument injection in xdg-open open_envvar (BR103807)
   * xdg-settings: check_browser is broken under kde when just the binary is specified (BR106343)
   * xdg-open: Fixes LXQt behavior (BR81674,BR103146)
   * xdg-mime awk script syntax error (BR104298)

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 6 09:03:03 2017 UTC (18 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Follow some redirects.

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 9 18:58:29 2017 UTC (22 months, 1 week ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)

Update misc/xdg-utils to 1.1.2

xdg-utils 1.1.2
 * xdg-open: Add "chromium" to fallback browsers (BR99366)
 * xdg-mime: fails on encountering a list for x-scheme-handler (BR44163)
 * xdg-screensaver: Restore previous X11 screensaver timeout (BR#98509)
 * Add gio tool support (BR99063)
 * xdg-open/xdg-email: add flatpack support (BR98824)
 * Add support for LXQt
 * Add enlightenment to xdg-email, xdg-settings
 * xdg-open: prefer open_generic_xdg_x_scheme_handler over open_envvar (BR96472)
 * xdg-mime: ensure check_mimeapps_list returns only primary item (BR44163)
 * xdg-mime: xdg-mime does not write the file it reads in a query (BR95051)
 * xdg-mime: properly handle varied ktraderclient5 output (BR94946)
 * xdg-screensaver: support cinnamon-screensaver (BR92966)
 * xdg-open: improve fallbacks, add open_generic (almost) everywhere (BR93442)
 * Check for $WAYLAND_DISPLAY as well as $DISPLAY. Move display checking
   to a common has_display() function. Thanks to Pasi Sjöholm for reporting.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 15 16:16:52 2016 UTC (2 years, 6 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.9: +14 -6 lines
Diff to previous 1.9 (colored)

Use the full path to GNU tools grep and sed.
Cleans build and fixes runtime on Linux and on SunOS.
Bump PKGREVISION to pick up fixed up scripts.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 13 21:40:22 2016 UTC (2 years, 9 months ago) by youri
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Category is misc.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 15 10:53:35 2015 UTC (3 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.7: +7 -12 lines
Diff to previous 1.7 (colored)

Update xdg-utils to 1.1.1:

=== xdg-utils 1.1.1 ===

2015-10-05 Per Olofsson <>
   * xdg-screensaver: Run 'xset -dpms' and then 'xset +dpms' to reset
     the DPMS timer. Thanks to Stephen Thomas for the idea.
     (Debian bug #745340)
   * xdg-open: Fix regression in generic mode (wrong variable name) which
     prevented files from being opened using the desktop file/mimeapps.list
   * xdg-open: Add proper quoting so that files with spaces in their names
     can be opened in generic mode and LXDE. (Debian bug #801048)

=== xdg-utils 1.1.0 ===

2015-10-04 Per Olofsson <>
   * Add references to specifications to the manuals. (Debian bug #800826)
   * xdg-email: Remove obsolete references to from the manual.

2015-10-03 Per Olofsson <>
   * xdg-email: Rewrite open_kde()
   * xdg-open: Only strip queries (?) and fragments (#) from file URLs before
     decoding them, not from (decoded) paths. Otherwise we can't open files
     with hash or question marks in their names. (Debian bug #800355)

2015-09-27 Per Olofsson <>
   * xdg-settings: Detect generic DE instead of failing. (Debian bug #787791)
   * xdg-settings: Add a proper generic mode.

2015-09-26 Per Olofsson <>
   * xdg-mime: Check ~/.config/mimeapps.list instead of
     ~/.config/applications/mimeapps.list when looking for default
   * 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. (Debian bug #685304)
   * xdg-open, xdg-email: Add iceweasel to the list of fallback browsers.
     (Debian bug #788047)

2015-09-25 Per Olofsson <>
   * xdg-utils-common: Add support for $XDG_CURRENT_DESKTOP value X-Generic.
     When set, xdg-utils will pretend that it is running under a generic DE
     which can be useful for debugging purposes.

2015-09-23 Per Olofsson <>
   * xdg-open: Percent-decode file:// URLs in open_lxde and add testcase.

2015-09-22 Per Olofsson <>
   * Add a fully automated (non-interactive) test suite (under development).
     Run it using "make autotest".
   * xdg-screensaver: Use the DBus API from a Perl script to inhibit
     gnome-screensaver. This is necessary since the SimulateUserActivity call
     is not implemented. Calling Inhibit using dbus-send does not work either
     since gnome-screensaver watches the pid of the calling process and
     dbus-send exits immediately. Distributions are advised to make xdg-utils
     depend on the Perl modules Net::DBus and X11::Protocol. Thanks to
     Ben Hutchings for writing the Perl script.
   * xdg-email: Add support for the $MAILER environment variable.
   * xdg-open: Add support for running without X.
   * xdg-open: Try www-browser first of the non-X browsers. (www-browser is
     a symlink to the preferred non-X browser in Debian.)
   * xdg-icon-resource: Don't try to install anything into empty $icon_dir's.

2015-09-20 Per Olofsson <>
   * xdg-open: Try $BROWSER first in generic mode if it is set by the user.

2015-09-18 Rex Dieter <>
   * xdg-email: Recipients passed to Thunderbird are incorrectly quoted (BR91996)

2015-09-16 Rex Dieter <>
   * xdg-screensaver support for xautolock (BR89655)
   * xdg-icon-resource: does not support filenames with spaces (BR91758)
   * xdg-open: Add support for multi-word $BROWSER commands (BR91989)
   * xdg-open shell script contains bash code (BR86028)
   * xdg-email: bashism: relies on bash's echo in run_thunderbird() (BR91990)
   * xdg-email: Icedove support (BR91997)
   * xdg-email: generic mode does nothing (BR92008)

2015-07-15 Rex Dieter <>
   * better for other (non-gnome) GVfs-based desktops, from Yaakov Selkowitz <>

2015-07-01 Rex Dieter <>
   * xdg-email: generic check for assigned mailto (BR79929)

2015-04-13 Rex Dieter <>
   * xdg-mime: search mimeinfo.cache in $xdg_user_dir too (BR31629)

2015-04-06 Rex Dieter <>
   * xdg-open: does not exit if it does not recognize the mimetype (BR89902)

2015-04-04 Rex Dieter <>
   * xdg-desktop-menu:  does not support filenames with spaces (BR66605)

2015-03-23 Rex Dieter <>
   * xdg-open:  fix regression where & gets replaced with \\& in URLs

2015-03-02 Rex Dieter <>
   * xdg-email: thunderbird launch in xdg-email in gnome3 fails (BR61475)

2015-02-24 Lionel Orry <>
   * xdg-mime: do not report multiple desktop files (BR60329)

2015-02-20 Rex Dieter <>
   * xdg-open: safer xdg-open (BR89130), inspired by patch from Vincent Bernat <>

2015-01-19 Rex Dieter <>
   * xdg-open: better fix for command injection vulnerability (BR66670)
   * xdg-open is extremely slow because get_key executes grep unnecessarily (BR88524)

2015-01-15 Reuben Thomas <>
   * xdg-mime: dereference symlinks when using mimetype or file (BR39923)
   * xdg-screensaver: Change screensaver_freedesktop's interpretation of GetActive (BR29859)

2015-01-05 Rex Dieter <>
   * xdg-open: command injection vulnerability (BR66670)

2015-01-04 Rex Dieter <>
   * xdg-screensaver should control X11's screensaver in xfce as fallback (BR80089)

2014-10-09 Rex Dieter <>
   * xdg-screensaver plasma5 support

2014-09-22 Rex Dieter <>
   * Initial support for Plasma5 (largely thanks to Karol Herbst)

2014-09-19 Rex Dieter <>
   * XFCE .desktop file created for browser selection is broken (BR56092)
   * Unnecessary filtering file:// for pcmanfm (BR63153)
   * fails if user sets a custom IFS environment variable (BR81386)

2014-09-17 Rex Dieter <>
   * xdg-utils-common is broken, xdg-open uses bashism (BR83979)

2014-08-25 Rex Dieter <>
   * xdg-email: do not encode - character

2014-04-26 Rex Dieter <>
   * xdg-open fails to open web browser urls with a query string (BR45857)

2014-02-07 Rex Dieter <>
   * Improvement of detecting KDE session (BR63157)

2013-10-24 Rex Dieter <>
   * xdg-desktop-menu: improperly check for vendor prefix on Estonian locale (BR70742)

2013-09-16 Rex Dieter <>
   * xdg-desktop-menu: Unquoted file name (BR69399)

2013-07-13 Igor Murzov <>
   * xdg-open: detect Enlightenment and make use of it (BR66944)

2012-10-08 Rex Dieter <>
   * xdg-mime does not search mimeinfo.cache (BR31629)

2012-09-16 Rex Dieter <>
   * xdg-su: use gnomesu for mate (BR54941)

2012-08-20 Rex Dieter <>
   * xdg-su: stop checking xsu (thanks to Jiri Slaby)
   * xdg-su: use gnomesu for xfce if available (thanks to Jiri Slaby)

2012-08-09 Rex Dieter  <>
   * xdg-open fails to open a url in a "generic" environment (BR45859)
   * xdg-screensaver syntax error if DISPLAY isn't set (BR41144)
   * do not check for /etc/debian_version before using xdg-open (BR46814)
   * Setting $BROWSER=xdg-open can cause infinite loop (BR44047)

2012-03-10 Rex Dieter <>
   * allow DESKTOP_SESSION='Xfce Session' to match xfce

2012-03-02 Rex Dieter <>
   * "unknown DE" improvements (BR45295)
   * xdg-terminal incompatible with TERM=screen and TERM=rxvt-unicode (BR44357)
   * xdg-terminal doesn't handle TERM values like TERM=linux (BR44358)
   * add lubuntu support (BR44775)
   * xdg-open replaces "&" with "%U" in URLs (BR46002)

2011-12-09 Rex Dieter <>
   * initial DE=mate support (mostly just xdg-open so far)

2011-12-07 Rex Dieter <>
   * xdg-screensaver: gnome-screensaver detection broken (BR43575)
   * xdg-open: fix spurious 'x-www-browser: command not found' (RH755553)

2011-09-30 Rex Dieter <>
   * xdg-open: use x-scheme-handler/ instead of uri/ (BR35700)

2011-09-28 Rex Dieter <>
   * Documentation spelling fixes (BR41193).  Thanks to Ville Skyttä
   * Fix external links in docs, use <ulink> for them (BR41194). Thanks to
     Ville Skyttä
   * Avoid some unnecessary stat calls (BR41195). Thanks to Ville Skyttä
   * xdg-open: improve debugging output (BR40959)
   * xdg-open: look up default applications by URI scheme (BR35700)
   * xdg-settings: support registering default scheme handler (merge from
     chromium folks)

2011-08-29 Rex Dieter <>
   * xdg-open cant open some valid urls if URL doesnt match existing
   filename (BR34915).  Thanks to Leho Kraav.

2011-08-27 Rex Dieter <>
   * xdg-terminal fails to open terminal on generic desktop (BR40418)

2011-08-12 Rex Dieter <>
   * xdg-email fails with unicode strings if using gawk (BR13139)
   * xdg-email: Thunderbird 5 needs unescaped addresses (BR40041)

2011-08-11 Rex Dieter <>
   * xdg-terminal : remove remaining '==' bash'isms (BR38959)

2011-07-19 Rex Dieter <>

2011-07-13 Rex Dieter <>
   * xdg-mime : use 'file --mime-type' instead of 'file -i' (BR39166)

2011-05-10 Rex Dieter <>
   * xdg-mime : handle home dirs with spaces, mimeapps.list not existing.  Thanks to Mike Mammarella.

2011-05-05 Rex Dieter <>
   * : add missing ;;

2011-05-04 Rex Dieter <>
   * : move a couple of utility functions here (from
   xdg-settings), needed for xdg-email
   * : binary_to_desktop_file, handle vendor dirs

2011-04-20 Rex Dieter <>
   * xdg-desktop-icon does not work when user desktop dir has spaces (BR36417)

2011-04-14 Rex Dieter <>
   * xdg-open does not detect xfce (BR25941)
   * xdg-open's list of fallback browsers excludes seamonkey (BR33699)
   * text BROWSER=+elinks
   * xdg-open is sensitive to default grep options (BR34164)
   * xdg-{open,email} should try x-www-browser (BR33095)
   * xdg-email outputs errors with localized KDE4 (BR32924)
   * xdg-email runs kmailservice with incorrect locale (BR33106)
   * spurious capture of which in KMIMETYPEFINDER (BR31444)

2011-04-12 Rex Dieter <>
   * suppress 'which gnome-default-applications-properties' output.  Thanks to Mike Mammarella.

2011-04-08 Rex Dieter <>
   * xdg-mime: add mimeapps.list support. Thanks to Chris Coulson.

2011-03-31 Rex Dieter <>
   * Don't overwrite a /usr/share/applications/defaults.list symlink (BR35794)
   * Use D-Bus API for GNOME screensaver (BR29860)
   * Initial support for DE=Darwin, Default for $BROWSER under Mac OS (BR35500)

2011-03-28 Rex Dieter <>
   * xdg-open cannot detect xfce 4.8 correctly (BR33321)
   * xdg-mime's info_generic doesn't normalize symlinks (BR33097)
   * mimetype support for xdg-mime (generic) (BR33094)
   * open_generic_xdg_mime is broken when a .desktop file
     Exec has arguments (BR30453)

2011-02-01 Rex Dieter <>
   * add support for GNOME 3.x

2011-01-09 Fathi Boudra <>
   * xdg-email: call kfmclient_fix_exit_code() under KDE 3 only.
     Thanks to Luc Menut. (BR32924)
   * xdg-utils-common: set C.UTF-8 locale to make sure the version parsing is
     done as expected. Under some locales the KDE version string doesn't start
     with "KDE".
   * xdg-terminal: Fix failure because the which std output is wrongly
     redirected to /dev/null in terminal_kde(). Thanks to Luc Menut.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 21 15:35:27 2014 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.6: +20 -3 lines
Diff to previous 1.6 (colored)

Use GNU sed and bash to make these tools work a bit better.
This at least fixes xdg-screensaver.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 17 19:56:43 2013 UTC (6 years ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

Update to version 1.1.0rc1 (from 2010)

adds support for kde4 and lxde.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 8 09:57:41 2012 UTC (6 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (colored)

Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 5 12:05:01 2011 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

The syntax doesn't work on most shells, remove the patches again until
they're fixed properly. Reported by drochner. Bump PKGREVISION.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 5 09:13:42 2011 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Fix CVE-2008-0386 using patch from upstream repository.

Patch created by Makoto Fujiwara.


Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 4 16:47:54 2010 UTC (9 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)


Revision / (download) - annotate - [select for diffs] (vendor branch), Tue Dec 9 15:04:56 2008 UTC (10 years, 3 months ago) by wiz
Branch: TNF
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-20081209
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of xdg-utils-1.0.2:

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 defacto standards. This means

* 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.  This will
hopefully mean that 'third tier' window managers such as XFCE and
Blackbox can reach full parity with Gnome and KDE in terms of third
party ISV support.

* Distribution vendors can provide custom versions of these utilities

If a distribution vendor wishes to have unusual systems, they can
provide custom scripts, and the third party software should still
continue to work.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 9 15:04:56 2008 UTC (10 years, 3 months ago) by wiz
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>