summaryrefslogtreecommitdiff
path: root/gnome-base/gnome-menus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /gnome-base/gnome-menus
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'gnome-base/gnome-menus')
-rw-r--r--gnome-base/gnome-menus/Manifest7
-rw-r--r--gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop.patch171
-rw-r--r--gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop2.patch27
-rw-r--r--gnome-base/gnome-menus/files/gnome-menus-3.8.0-ignore_kde_standalone.patch37
-rw-r--r--gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild53
-rw-r--r--gnome-base/gnome-menus/gnome-menus-3.32.0.ebuild2
6 files changed, 2 insertions, 295 deletions
diff --git a/gnome-base/gnome-menus/Manifest b/gnome-base/gnome-menus/Manifest
index e942b3919892..6d27ed65aadd 100644
--- a/gnome-base/gnome-menus/Manifest
+++ b/gnome-base/gnome-menus/Manifest
@@ -1,8 +1,3 @@
-AUX gnome-menus-3.13.3-multiple-desktop.patch 5094 BLAKE2B 8f70982804f8c8778e0e0eb60496c87b9634b817ca538793ba14c56a66934e540a315ba82a54fb0412bfc95234c5e3485f1a6210eac2125f4b77d9a9cacd6113 SHA512 6d7b3cb6d3e445355ea4c77a2930ef93792d5ce1ec44e449576700cea00f1f9e0fd2f1445a7d41675ed5a976501b458a8e650fd0c8e1adb0c1b364832d6f0972
-AUX gnome-menus-3.13.3-multiple-desktop2.patch 781 BLAKE2B 2da46999a7943a61b0032c77e863b201f9a46598dc5da385b5529afa62d3f826373d315132cd1580ef1e63f264e7cc61ca51757ae2bd509e409b4408f3e9cae9 SHA512 e48c3a35fae90e35bffc1a36713d3b5122de7edb5369a4e34b04c49030a0c33937ad24099814e3003c887d5a0369b9cc927445f965ec2a2cfa9ac55858404f4d
-AUX gnome-menus-3.8.0-ignore_kde_standalone.patch 1665 BLAKE2B 97e21c328c44620d7cacfd302907d846d0d58c86c4e2709231f94318bde97825f59f85616c47d475ec5c1fec969a8d46301532deeb03ab910df2f9cec5692a5e SHA512 db461006883594de834fff029b3aa769afa6955bc94062865d8c71ec224fdd64867693763c3ecb98921c98c7410bacf18dc2110b5322e1956c877e7fcf61bef0
-DIST gnome-menus-3.13.3.tar.xz 404664 BLAKE2B 7772c817317b4af86e740aeea3095f51ff210f73e53160ca2359d45a017236c82fe787956c04a9e0001e2511671438d4955f0bf7947cdfa8649d78fe931d6d79 SHA512 d631eb17ddc1b33227d0e5862a9344a8605ee1e9ebc1f12ce4ac98895adaf8a82ef2a49415d99bc194a02f30f30c3d6d49759f280fbc246c9e482711fd5021d2
DIST gnome-menus-3.32.0.tar.xz 499680 BLAKE2B ee43c2be29f6d3f5eaf5369c3b3809fc2728564321853a6dd23df1d81138868f9be2f57d0bcd0eb69a509e224f77dc357a8c71afe569bfb1bbdb13ce3b80636f SHA512 8a429e092b1e4a1a794473d7cae611684321e797792e1063911ddcbb496140033838b348bc209b4c0566a13233cfa1144cae7a188a483abf34c5af6feb44a884
-EBUILD gnome-menus-3.13.3-r1.ebuild 1396 BLAKE2B 6e7076bf844a4f47bddd2f2c2cc969f1abffdf120ac87d7efee1302f6e02434c639ecbe7276a47e4cad237b3dc070159a8382eaa277f986fdd0759b04157fb0e SHA512 bd9cbb8790b6d560a96228277af9927cf27910a61d741bc01d504935fae9d9acec43ab03e8147c8a3eecc6a02360be73aec7a707b230bbe3d90d9dbf145e5b59
-EBUILD gnome-menus-3.32.0.ebuild 921 BLAKE2B 7bd6fd9a1397875b749f025161ae03ae1cd9b3b4e9d04117b98c9b30556cec5ba57d6a23c26cb1380272be38ee59b3bb0abe5a58274a01c3c8256151e8c41473 SHA512 7de91c7ffba99579bb96c0b9cd3fbf179ff6e628538a402721254aa7a8fe792abbe4463445c4826e4e4fc4e845bd13b2c88ffdc9bb8394384db182be55d56105
+EBUILD gnome-menus-3.32.0.ebuild 918 BLAKE2B 5f2562536257a3f8eb6c082dcdcf75b753539ac8e108414e7ef50b309371c0016100a47d680b9cfe535b91222144874b52ff10b4334856ff71c9303b3e19826e SHA512 65af5c1750b21b3bc4ff144f1e4d519b24ec2b609fd32967bd2d61880555c08b318856774743ac0648527a2323b00ff2f4c8d1dd8922e80ac1396011535a877f
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
diff --git a/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop.patch b/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop.patch
deleted file mode 100644
index 8ec7006fce5b..000000000000
--- a/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop.patch
+++ /dev/null
@@ -1,171 +0,0 @@
-From b4546ab43c2c7ef6fb6cb7e5db83dc3975b56e8e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
-Date: Mon, 27 Oct 2014 18:41:34 +0200
-Subject: desktop-entries: support multiple desktops in XDG_CURRENT_DESKTOP
-
-This is based on glib commit:
-5a5e16e93c4f11e635918ecdb41681f63fd05a39
----
- libmenu/desktop-entries.c | 110 ++++++++++++++++++++++------------------------
- 1 file changed, 52 insertions(+), 58 deletions(-)
-
-diff --git a/libmenu/desktop-entries.c b/libmenu/desktop-entries.c
-index 326f311..bd4f886 100644
---- a/libmenu/desktop-entries.c
-+++ b/libmenu/desktop-entries.c
-@@ -85,32 +85,27 @@ unix_basename_from_path (const char *path)
- return path;
- }
-
--static const char *
--get_current_desktop (void)
-+static const gchar * const *
-+get_current_desktops (void)
- {
-- static char *current_desktop = NULL;
-+ static gchar **result;
-
-- /* Support XDG_CURRENT_DESKTOP environment variable; this can be used
-- * to abuse gnome-menus in non-GNOME desktops. */
-- if (!current_desktop)
-+ if (g_once_init_enter (&result))
- {
-- const char *desktop;
-+ const gchar *desktops;
-+ gchar **tmp;
-
-- desktop = g_getenv ("XDG_CURRENT_DESKTOP");
-+ desktops = g_getenv ("XDG_CURRENT_DESKTOP");
-
-- /* Note: if XDG_CURRENT_DESKTOP is set but empty, do as if it
-- * was not set */
-- if (!desktop || desktop[0] == '\0')
-- current_desktop = g_strdup ("GNOME");
-- else
-- current_desktop = g_strdup (desktop);
-- }
-+ if (desktops)
-+ desktops = "";
-
-- /* Using "*" means skipping desktop-related checks */
-- if (g_strcmp0 (current_desktop, "*") == 0)
-- return NULL;
-+ tmp = g_strsplit (desktops, ":", 0);
-+
-+ g_once_init_leave (&result, tmp);
-+ }
-
-- return current_desktop;
-+ return (const gchar **) result;
- }
-
- static GIcon *
-@@ -151,52 +146,58 @@ key_file_get_icon (GKeyFile *key_file)
- static gboolean
- key_file_get_show_in (GKeyFile *key_file)
- {
-- const gchar *current_desktop;
-- gchar **strv;
-+ const gchar * const *current_desktops;
-+ gchar **only_show_in;
-+ gchar **not_show_in;
- gboolean show_in = TRUE;
-- int i;
--
-- current_desktop = get_current_desktop ();
-- if (!current_desktop)
-- return TRUE;
--
-- strv = g_key_file_get_string_list (key_file,
-- DESKTOP_ENTRY_GROUP,
-- "OnlyShowIn",
-- NULL,
-- NULL);
-- if (strv)
-+ gint i;
-+
-+ current_desktops = get_current_desktops ();
-+ only_show_in = g_key_file_get_string_list (key_file,
-+ DESKTOP_ENTRY_GROUP,
-+ "OnlyShowIn",
-+ NULL,
-+ NULL);
-+ not_show_in = g_key_file_get_string_list (key_file,
-+ DESKTOP_ENTRY_GROUP,
-+ "NotShowIn",
-+ NULL,
-+ NULL);
-+
-+ for (i = 0; current_desktops[i]; i++)
- {
-- show_in = FALSE;
-- for (i = 0; strv[i]; i++)
-+ gint j;
-+
-+ if (only_show_in)
- {
-- if (!strcmp (strv[i], current_desktop))
-+ show_in = FALSE;
-+ for (j = 0; only_show_in[j]; j++)
- {
-- show_in = TRUE;
-- break;
-+ if (g_str_equal (only_show_in[j], current_desktops[i]))
-+ {
-+ show_in = TRUE;
-+ goto out;
-+ }
- }
- }
-- }
-- else
-- {
-- strv = g_key_file_get_string_list (key_file,
-- DESKTOP_ENTRY_GROUP,
-- "NotShowIn",
-- NULL,
-- NULL);
-- if (strv)
-+
-+ if (not_show_in)
- {
- show_in = TRUE;
-- for (i = 0; strv[i]; i++)
-+ for (j = 0; not_show_in[j]; j++)
- {
-- if (!strcmp (strv[i], current_desktop))
-+ if (g_str_equal (not_show_in[j], current_desktops[i]))
- {
- show_in = FALSE;
-+ goto out;
- }
- }
- }
- }
-- g_strfreev (strv);
-+
-+out:
-+ g_strfreev (only_show_in);
-+ g_strfreev (not_show_in);
-
- return show_in;
- }
-@@ -579,14 +580,7 @@ gboolean
- desktop_entry_get_show_in (DesktopEntry *entry)
- {
- if (entry->type == DESKTOP_ENTRY_DESKTOP)
-- {
-- const char *current_desktop = get_current_desktop ();
--
-- if (current_desktop == NULL)
-- return TRUE;
-- else
-- return g_desktop_app_info_get_show_in (((DesktopEntryDesktop*)entry)->appinfo, current_desktop);
-- }
-+ return g_desktop_app_info_get_show_in (((DesktopEntryDesktop*)entry)->appinfo, NULL);
- return ((DesktopEntryDirectory*)entry)->showin;
- }
-
---
-cgit v0.11.2
-
diff --git a/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop2.patch b/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop2.patch
deleted file mode 100644
index 966b060eac27..000000000000
--- a/gnome-base/gnome-menus/files/gnome-menus-3.13.3-multiple-desktop2.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 4befe76fbdb76aa6a986297ef71d1601b2ced42e Mon Sep 17 00:00:00 2001
-From: Josselin Mouette <joss@debian.org>
-Date: Sun, 14 Dec 2014 20:36:36 +0100
-Subject: desktop-entries: fix trivial bug in handling of multiple desktops in
- XDG_CURRENT_DESKTOP.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=741505
----
- libmenu/desktop-entries.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libmenu/desktop-entries.c b/libmenu/desktop-entries.c
-index bd4f886..a463d79 100644
---- a/libmenu/desktop-entries.c
-+++ b/libmenu/desktop-entries.c
-@@ -97,7 +97,7 @@ get_current_desktops (void)
-
- desktops = g_getenv ("XDG_CURRENT_DESKTOP");
-
-- if (desktops)
-+ if (!desktops)
- desktops = "";
-
- tmp = g_strsplit (desktops, ":", 0);
---
-cgit v0.11.2
-
diff --git a/gnome-base/gnome-menus/files/gnome-menus-3.8.0-ignore_kde_standalone.patch b/gnome-base/gnome-menus/files/gnome-menus-3.8.0-ignore_kde_standalone.patch
deleted file mode 100644
index ab6cb92d7dda..000000000000
--- a/gnome-base/gnome-menus/files/gnome-menus-3.8.0-ignore_kde_standalone.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From bf91222f05076f32c0a21aa22f8629dc6ce19eb4 Mon Sep 17 00:00:00 2001
-From: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
-Date: Mon, 25 Feb 2013 16:36:44 +0330
-Subject: [PATCH] gnome-menus-3.7.90-ignore_kde_standalone
-
----
- layout/gnome-applications.menu | 14 +++++++++++++-
- 1 file changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/layout/gnome-applications.menu b/layout/gnome-applications.menu
-index 9242eff..94ea6d4 100644
---- a/layout/gnome-applications.menu
-+++ b/layout/gnome-applications.menu
-@@ -277,7 +277,19 @@
- <And>
- <Not><Category>Core</Category></Not>
- <Not><Category>Screensaver</Category></Not>
--
-+ <Not><Category>X-KDE-settings-accessibility</Category></Not>
-+ <Not><Category>X-KDE-settings-components</Category></Not>
-+ <Not><Category>X-KDE-settings-desktop</Category></Not>
-+ <Not><Category>X-KDE-settings-looknfeel</Category></Not>
-+ <Not><Category>X-KDE-settings-network</Category></Not>
-+ <Not><Category>X-KDE-settings-webbrowsing</Category></Not>
-+ <Not><Category>X-KDE-settings-peripherals</Category></Not>
-+ <Not><Category>X-KDE-settings-hardware</Category></Not>
-+ <Not><Category>X-KDE-settings-power</Category></Not>
-+ <Not><Category>X-KDE-settings-security</Category></Not>
-+ <Not><Category>X-KDE-settings-sound</Category></Not>
-+ <Not><Category>X-KDE-settings-system</Category></Not>
-+ <Not><Category>X-KDE-information</Category></Not>
- <!-- Really Fedora ??? -->
- <Not><Filename>gnome-eog.desktop</Filename></Not>
- <Not><Filename>gnome-file-roller.desktop</Filename></Not>
---
-1.8.1.2
-
diff --git a/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild b/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild
deleted file mode 100644
index b569324415cd..000000000000
--- a/gnome-base/gnome-menus/gnome-menus-3.13.3-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-GCONF_DEBUG="yes"
-
-inherit eutils gnome2
-
-DESCRIPTION="Library for the Desktop Menu fd.o specification"
-HOMEPAGE="https://git.gnome.org/browse/gnome-menus"
-
-LICENSE="GPL-2+ LGPL-2+"
-SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-
-IUSE="+introspection test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.29.15:2
- introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
-"
-# Older versions of slot 0 install the menu editor and the desktop directories
-RDEPEND="${COMMON_DEPEND}
- !<gnome-base/gnome-menus-3.0.1-r1:0
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.40
- sys-devel/gettext
- virtual/pkgconfig
- test? ( dev-libs/gjs )
-"
-
-src_prepare() {
- # Don't show KDE standalone settings desktop files in GNOME others menu
- epatch "${FILESDIR}/${PN}-3.8.0-ignore_kde_standalone.patch"
-
- # desktop-entries: support multiple desktops in XDG_CURRENT_DESKTOP
- # (from 'master')
- epatch "${FILESDIR}"/${P}-multiple-desktop{,2}.patch
-
- gnome2_src_prepare
-}
-
-src_configure() {
- DOCS="AUTHORS ChangeLog HACKING NEWS README"
-
- # Do NOT compile with --disable-debug/--enable-debug=no
- # It disables api usage checks
- gnome2_src_configure \
- $(use_enable introspection) \
- --disable-static
-}
diff --git a/gnome-base/gnome-menus/gnome-menus-3.32.0.ebuild b/gnome-base/gnome-menus/gnome-menus-3.32.0.ebuild
index c9f8efffcd41..802b3eff00cf 100644
--- a/gnome-base/gnome-menus/gnome-menus-3.32.0.ebuild
+++ b/gnome-base/gnome-menus/gnome-menus-3.32.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-menus"
LICENSE="GPL-2+ LGPL-2+"
SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="+introspection test"
RESTRICT="!test? ( test )"