pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add xdg-utils: update to 1.2.1



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Jun 4 19:40:04 2024 +0200
Changeset:	6cf1c2d9bd9741428e3ce5621a6659f8f4ad636f

Modified Files:
	Makefile
Added Files:
	xdg-utils/DESCR
	xdg-utils/Makefile
	xdg-utils/PLIST
	xdg-utils/distinfo

Log Message:
Add xdg-utils: update to 1.2.1

=== xdg-utils 1.2.1 ===
2024-02-06 Slatian
  * Proper quoting of `_MANUALPAGE` and `_USAGE` sections. (#243)

2024-01-30 Harald Sitter
  * xdg-icon-resource: unbreak syntax by removing stray grave accent

=== xdg-utils 1.2.0 ===
2024-01-23 Slatian
  * 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

2024-01-23 ssk-wh
  * xdg-settings:  Add support for deeping-desktop browser setting in
    xdg-settings.

2024-01-23 Nicholas Guriev
  * all: Fix config.status warning about ignored --datarootdir setting

2023-11-15 Slatian
  * 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

2023-10-25 Harald Sitter
  * xdg-settings: read KDE browser settings the right way around

2023-10-11 Najib Idrissi
  * xdg-open: Improve WSL support

2023-09-29 yan12125
   * xdg-mime: actually handle lists in mimeapps.list correctly

2023-09-28 Alexandre Abrioux
   * xdg-open: handle spaces in .desktop file path

2023-09-26 Slatian
   * xdg-open: Quote Browser variable to avod unintentional code execution
   * xdg-screensaver: Add missing result gathering (#219)

2023-09-21 Luís Pereira
   * all: Enhance LXQt Desktop Enviromment support

2023-09-11 Christophe Giboudeaux
   * xdg-terminal: don't run 'kreadconfig' if KDE_SESSION_VERSION is >= 5

2023-08-31 Simon Lees <sflees%suse.de@localhost>
   * xdg-open: Revert putting process in background from !55 (#224)

2023-08-22 Lennard Hofmann
   * all: shellcheck fixes; make xdg-mime DASH-compatible

2023-08-22 Lennard Hofmann
   * xdg-email: do not run BROWSER if xdg-open failed

2023-08-14 Dani Llewellyn <dani%bowlhat.net@localhost>
   * Ensure POSIX-compliant shell scripting to support DASH

2023-08-09 Ville Skyttä
   * all: : spelling fixes

2023-08-09 Joe Mou
   * Fix set_url_scheme_handler_gnome3 to not associate text/html handler

2023-08-09 Reuben Thomas
   * xdg-screensaver: fix the freedesktop screensaver
   * xdg-screensaver: implement support for "gnome3" DE
   * xdg-screensaver: better error detection for freedesktop 'status' command

2023-08-07 Johannes Löthberg
   * xdg-desktop-menu: Drop obsolete GNOME support

2023-08-07 Vasyl Vavrychuk
   * xdg-open: support WSL (FDO#108975)

2023-08-07 Hillwood Yang
   * xdg-su: support deepin

2023-08-07 Heiko Nickerl
   * xdg-mime: If mimeapps.list is a symlink, retain the symlink (#7)

2023-08-07 Baltazár Radics
   * xdg-open: fix search_desktop_file's logic

2023-08-07 Naim Favier
   * xdg-open: handle local hostname in `file:` URLs

2023-08-07 Florian Limberger <florian.limberger%inovex.de@localhost>
   * xdg-desk-menu: Check if defaults file exists during installation

2023-08-07 JaredD
   * xdg-su: Remove quotes for lxqt-sudo cmd arg

2023-08-07 Lily Foster
   * xdg-open: handle opening files when DE=flatpak

2023-08-07 shamibi
   * xdg-open: replace egrep and fgrep

2023-07-05 Nicolas Fella
   * all: Plasma 6 support

2022-11-06 Eli Schwartz
   * all: Fix various bashism's

2021-08-05 Mladen Milinkovic
   * xdg-email: fails on kde with desktop files (#187)

2020-11-13 Meven Car <meven.car%enioka.com@localhost>
   * xdg-settings: support for default-web-browser for Plasma 5.19+

2020-02-20 Andrea Tarocchi
   * xdg-open: fix incorrect search of directories with spaces in the name(#166)

2019-04-13 Martin Puppe
   * xdg-mime: return correct exit code for GNOME

2019-04-01  Cameron Fieber
   * xdg-open: support digits in uri scheme regex

2019-04-01 Simon Lees <sflees%suse.de@localhost>
   * xdg-terminal: Terminal fixes
   * xdg-screensaver: Sanitize xscreensaver before sending over dbus
   * xdg-su: improve docs
   * xdg-open: fix comment typo

2019-04-01 mvdlinde
   * xdg-screensaver: Enable cinnamon screensaver for xdg aware desktop environments (eg lxqt)

2019-03-17 Reuben Thomas
   * xdg-su: Documentation improvements
   * xdg-open: fix comment typo

2019-03-26 Iain Lane <iain.lane%canonical.com@localhost>
   * xdg-screensaver: Sanitise window name before sending it over the bus

2019-09-19 XRevan86
   * xdg-terminal: Fixes -x argument, which is the default for {gnome,mate}-terminal

2019-09-19 Ronan Arraes Jardim Chagas <ronisbr%gmail.com@localhost>
   * xdg-terminal: Fix a bug when xdg-terminal needs gsettings to get the default terminal (FDO#93231)

2019-01-12 Richard Tollerton
   * xdg-open: handle file://localhost/
   * test-lib.sh: run: eat xdg-open's exit code

=== xdg-utils 1.1.5 ===

2018-09-11 Alberto Salvia Novella <es20490446e%gmail.com@localhost>
   * all: Deepin Desktop name standarised as "deepin"
   * xdg-email: Support for Deepin (BR107877)

=== xdg-utils 1.1.4 ===

2018-05-24
   * xdg-open: better pcmanfm check (BR106636,BR106161)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6cf1c2d9bd9741428e3ce5621a6659f8f4ad636f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 xdg-utils/DESCR    | 24 ++++++++++++++++++++++++
 xdg-utils/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++
 xdg-utils/PLIST    | 17 +++++++++++++++++
 xdg-utils/distinfo |  5 +++++
 5 files changed, 92 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f2fda6b4f2..8454496f27 100644
--- a/Makefile
+++ b/Makefile
@@ -5810,6 +5810,7 @@ SUBDIR+=	xbsql
 SUBDIR+=	xcape
 SUBDIR+=	xcb-util-xrm-git
 SUBDIR+=	xchat2-tcl
+SUBDIR+=	xdg-utils
 SUBDIR+=	xdiskusage
 SUBDIR+=	xebece
 SUBDIR+=	xemacs-hg
diff --git a/xdg-utils/DESCR b/xdg-utils/DESCR
new file mode 100644
index 0000000000..2f64480399
--- /dev/null
+++ b/xdg-utils/DESCR
@@ -0,0 +1,24 @@
+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
+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.  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.
diff --git a/xdg-utils/Makefile b/xdg-utils/Makefile
new file mode 100644
index 0000000000..cd2499656e
--- /dev/null
+++ b/xdg-utils/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.18 2023/06/06 12:41:58 riastradh Exp $
+
+DISTNAME=	xdg-utils-1.2.1
+CATEGORIES=	misc
+MASTER_SITES=	https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v1.2.1/
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	https://www.freedesktop.org/wiki/Software/xdg-utils/
+COMMENT=	Tools to assist applications with various desktop integration tasks
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}/xdg-utils-v1.2.1-356c380ad6fecc9ce6bea1f6a77986ba67402c80
+
+TOOL_DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto
+TOOL_DEPENDS+=	w3m-[0-9]*:../../www/w3m
+
+GNU_CONFIGURE=	yes
+USE_LANGUAGES=	# none
+USE_TOOLS+=	bash:run gmake ggrep:run gsed:run
+
+SUBST_CLASSES+=		gsed
+SUBST_FILES.gsed=	scripts/xdg-*.in
+SUBST_STAGE.gsed=	pre-configure
+SUBST_MESSAGE.gsed=	Use GNU grep/sed instead of grep/sed.
+SUBST_SED.gsed+=	-e "s, sed , ${TOOLS_PATH.gsed} ,g"
+SUBST_SED.gsed+=	-e "s, grep , ${TOOLS_PATH.ggrep} ,g"
+
+SUBST_CLASSES+=		paths
+SUBST_FILES.paths=	scripts/xdg-*.in
+SUBST_STAGE.paths=	pre-configure
+SUBST_MESSAGE.paths=	Avoid hardcoded paths.
+SUBST_SED.paths+=	-e "s,/usr/local,${PREFIX},g"
+SUBST_SED.paths+=	-e "s,/etc,${PKG_SYSCONFDIR},g"
+
+SUBST_CLASSES+=		man
+SUBST_FILES.man=	scripts/man/xdg-*.1
+SUBST_STAGE.man=	post-build
+SUBST_MESSAGE.man=	Clean up manpages.
+SUBST_SED.man+=		-e 's,^[ 	]*,,'
+SUBST_SED.man+=		-e '/^$$/d'
+
+# "foo > /dev/null 2> /dev/null" gives "foo: not found" with NetBSD's sh
+REPLACE_BASH+=	scripts/xdg-*
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/xdg-utils/PLIST b/xdg-utils/PLIST
new file mode 100644
index 0000000000..671479a841
--- /dev/null
+++ b/xdg-utils/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.2 2013/03/17 19:56:43 markd Exp $
+bin/xdg-desktop-icon
+bin/xdg-desktop-menu
+bin/xdg-email
+bin/xdg-icon-resource
+bin/xdg-mime
+bin/xdg-open
+bin/xdg-screensaver
+bin/xdg-settings
+man/man1/xdg-desktop-icon.1
+man/man1/xdg-desktop-menu.1
+man/man1/xdg-email.1
+man/man1/xdg-icon-resource.1
+man/man1/xdg-mime.1
+man/man1/xdg-open.1
+man/man1/xdg-screensaver.1
+man/man1/xdg-settings.1
diff --git a/xdg-utils/distinfo b/xdg-utils/distinfo
new file mode 100644
index 0000000000..712265f20d
--- /dev/null
+++ b/xdg-utils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.12 2021/10/26 10:59:37 nia Exp $
+
+BLAKE2s (xdg-utils-1.2.1.tar.gz) = 7b21ef9af5d162262187a4f673073e55a1ed2bab2290e8c58e62b7f107d2e3e7
+SHA512 (xdg-utils-1.2.1.tar.gz) = c0b882f6e891a74239ad4924bf556074ba96eead059cfa675ceed681ff74c32100db8a6c6b12e866622009cd510d67b1c6dc807b1358ca9a58045d066c080ddc
+Size (xdg-utils-1.2.1.tar.gz) = 307670 bytes


Home | Main Index | Thread Index | Old Index