diff options
author | Sam James <sam@gentoo.org> | 2024-01-05 09:12:57 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-05 09:37:20 +0000 |
commit | ee208fb6512c9cb605304f625a2f45a32d124d2d (patch) | |
tree | 16ceab00c655108e89fbd62755933592cb3f3149 /dev-util/desktop-file-utils | |
parent | dev-util/ninja: move Emacs files to app-emacs/ninja-mode (diff) | |
download | gentoo-ee208fb6512c9cb605304f625a2f45a32d124d2d.tar.gz gentoo-ee208fb6512c9cb605304f625a2f45a32d124d2d.tar.bz2 gentoo-ee208fb6512c9cb605304f625a2f45a32d124d2d.zip |
dev-util/desktop-file-utils: drop 0.26-r1, 0.26-r2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/desktop-file-utils')
4 files changed, 0 insertions, 186 deletions
diff --git a/dev-util/desktop-file-utils/Manifest b/dev-util/desktop-file-utils/Manifest index 21bf2c1846c4..0bc54c31285e 100644 --- a/dev-util/desktop-file-utils/Manifest +++ b/dev-util/desktop-file-utils/Manifest @@ -1,2 +1 @@ -DIST desktop-file-utils-0.26.tar.xz 83132 BLAKE2B fdbe5427a0278ebe4a9b1bc15a148ecdc3f54b54058b355ae4f9a962fb1c4ec309d24a075973caf8f187a1c74b013e9bed0a7c3668bf888274e77fac9e077ec8 SHA512 5b4e435f0b635d8f898ac7f5759f74a08ffbe2a56d41fee0e84ff57e73b98d08b57b4416f20b99f696dad8bcb1c20792b39acf836b0814220c0b386ea5f6b831 DIST desktop-file-utils-0.27.tar.xz 80808 BLAKE2B 66708cd11d5f81824cad814846cdeac6c339e8e93a7f1dceaeed545d9dc1940523fd64ae890e54632b3d32cc91b258aabd41d6d467081539f978ae2993fdfb22 SHA512 81356239a92fb17885aa85a5192c84c2757ebb2e540920d0d41d07035795f08f4162f41b1a87bb2bfcf70ec61f19f1f158e4395a359f46b46f68cb9e24f259a8 diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.26-r1.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.26-r1.ebuild deleted file mode 100644 index 33328074b152..000000000000 --- a/dev-util/desktop-file-utils/desktop-file-utils-0.26-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit elisp-common meson - -DESCRIPTION="Command line utilities to work with desktop menu entries" -HOMEPAGE="https://freedesktop.org/wiki/Software/desktop-file-utils" -SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" -IUSE="emacs" - -RDEPEND=">=dev-libs/glib-2.12:2" -DEPEND="${RDEPEND}" -BDEPEND=" - app-arch/xz-utils - virtual/pkgconfig - emacs? ( >=app-editors/emacs-23.1:* ) -" - -SITEFILE="50${PN}-gentoo.el" - -DOCS=( AUTHORS ChangeLog HACKING NEWS README ) - -src_compile() { - meson_src_compile - use emacs && elisp-compile misc/desktop-entry-mode.el -} - -src_install() { - meson_src_install - if use emacs; then - elisp-install ${PN} misc/*.el misc/*.elc || die - elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.26-r2.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.26-r2.ebuild deleted file mode 100644 index 4bbe6a30efca..000000000000 --- a/dev-util/desktop-file-utils/desktop-file-utils-0.26-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit elisp-common meson - -DESCRIPTION="Command line utilities to work with desktop menu entries" -HOMEPAGE="https://freedesktop.org/wiki/Software/desktop-file-utils/" -SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="emacs" - -RDEPEND=">=dev-libs/glib-2.12:2" -DEPEND="${RDEPEND}" -BDEPEND=" - app-arch/xz-utils - virtual/pkgconfig - emacs? ( >=app-editors/emacs-23.1:* ) -" - -SITEFILE="50${PN}-gentoo.el" - -DOCS=( AUTHORS ChangeLog HACKING NEWS README ) - -# Will be in next release -PATCHES=( "${FILESDIR}/${P}-support-version-1.5.patch" ) - -src_compile() { - meson_src_compile - use emacs && elisp-compile misc/desktop-entry-mode.el -} - -src_install() { - meson_src_install - if use emacs; then - elisp-install ${PN} misc/*.el misc/*.elc || die - elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-util/desktop-file-utils/files/desktop-file-utils-0.26-support-version-1.5.patch b/dev-util/desktop-file-utils/files/desktop-file-utils-0.26-support-version-1.5.patch deleted file mode 100644 index f4b57d8f2584..000000000000 --- a/dev-util/desktop-file-utils/files/desktop-file-utils-0.26-support-version-1.5.patch +++ /dev/null @@ -1,88 +0,0 @@ -# Adds support for Desktop Entry Specification 1.5. Gentoo bug 795570. -# Upstream commit URLs: -# https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/commit/425177a28b6215e0745f95100160a08e810fd47c -# https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/commit/56d220dd679c7c3a8f995a41a27a7d6f3df49dea - -From 425177a28b6215e0745f95100160a08e810fd47c Mon Sep 17 00:00:00 2001 -From: David King <amigadave@amigadave.com> -Date: Tue, 15 Feb 2022 10:54:40 +0000 -Subject: [PATCH 1/2] validate: support SingleMainWindow key from 1.5 - -Fixes https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59 ---- - src/validate.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/validate.c b/src/validate.c -index 62406ab..ebb03b5 100644 ---- a/src/validate.c -+++ b/src/validate.c -@@ -326,6 +326,9 @@ static DesktopKeyDefinition registered_desktop_keys[] = { - /* Since 1.4 */ - { DESKTOP_BOOLEAN_TYPE, "PrefersNonDefaultGPU", FALSE, FALSE, FALSE, NULL }, - -+ /* Since 1.5 */ -+ { DESKTOP_BOOLEAN_TYPE, "SingleMainWindow", FALSE, FALSE, FALSE, NULL }, -+ - /* Keys reserved for KDE */ - - /* since 0.9.4 */ --- -GitLab - - -From 56d220dd679c7c3a8f995a41a27a7d6f3df49dea Mon Sep 17 00:00:00 2001 -From: David King <amigadave@amigadave.com> -Date: Tue, 15 Feb 2022 10:56:04 +0000 -Subject: [PATCH 2/2] validate: Support version 1.5 - -Bump CURRENT_SPEC_VERSION to 1.5. ---- - man/desktop-file-validate.1 | 2 +- - src/validate.c | 3 +++ - src/validate.h | 2 +- - 3 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/man/desktop-file-validate.1 b/man/desktop-file-validate.1 -index 8e17411..ce87c47 100644 ---- a/man/desktop-file-validate.1 -+++ b/man/desktop-file-validate.1 -@@ -9,7 +9,7 @@ desktop-file-validate \- Validate desktop entry files - .B desktop-file-validate [\-\-no-hints] [\-\-no-warn-deprecated] [\-\-warn-kde] FILE... - .SH DESCRIPTION - The \fIdesktop-file-validate\fP program is a tool to validate desktop --entry files according to the Desktop Entry specification 1.4. -+entry files according to the Desktop Entry specification 1.5. - .PP - The specification describes a file format to provide information such as - name, icon and description for an application. Such a file can then be -diff --git a/src/validate.c b/src/validate.c -index ebb03b5..f9eedee 100644 ---- a/src/validate.c -+++ b/src/validate.c -@@ -961,6 +961,9 @@ handle_version_key (kf_validator *kf, - const char *locale_key, - const char *value) - { -+ if (!strcmp (value, "1.5")) -+ return TRUE; -+ - if (!strcmp (value, "1.4")) - return TRUE; - -diff --git a/src/validate.h b/src/validate.h -index e6efd93..a7952cd 100644 ---- a/src/validate.h -+++ b/src/validate.h -@@ -30,7 +30,7 @@ - - #include <glib.h> - --#define CURRENT_SPEC_VERSION "1.4" -+#define CURRENT_SPEC_VERSION "1.5" - - #define GROUP_KDE_DESKTOP_ENTRY "KDE Desktop Entry" - #define GROUP_DESKTOP_ACTION "Desktop Action " --- -GitLab - |