From 9b6b53deecee062d1816772aee0b0319f42b3421 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 4 Oct 2018 14:51:49 +0200 Subject: [PATCH] New package: gnome-panel-3.30.0 --- ...6e7a5608a7a4b96e2de1c6f8be7037f2c391.patch | 53 +++++++++++++++++++ srcpkgs/gnome-panel/template | 17 ++++++ 2 files changed, 70 insertions(+) create mode 100644 srcpkgs/gnome-panel/patches/revert-5ce96e7a5608a7a4b96e2de1c6f8be7037f2c391.patch create mode 100644 srcpkgs/gnome-panel/template diff --git a/srcpkgs/gnome-panel/patches/revert-5ce96e7a5608a7a4b96e2de1c6f8be7037f2c391.patch b/srcpkgs/gnome-panel/patches/revert-5ce96e7a5608a7a4b96e2de1c6f8be7037f2c391.patch new file mode 100644 index 00000000000..a82f5d80999 --- /dev/null +++ b/srcpkgs/gnome-panel/patches/revert-5ce96e7a5608a7a4b96e2de1c6f8be7037f2c391.patch @@ -0,0 +1,53 @@ +index a83e7f0cb..a88337ffd 100644 +--- a/modules/menu/gp-menu-utils.c ++++ b/modules/menu/gp-menu-utils.c +@@ -19,7 +19,6 @@ + + #include + #include +-#include + + #include "gp-menu-utils.h" + +@@ -253,32 +252,6 @@ get_label_if_file (GFile *file) + return get_file_display_name (file, TRUE); + } + +-static void +-child_setup (gpointer user_data) +-{ +- GAppInfo *info; +- const gchar *id; +- gint stdout_fd; +- gint stderr_fd; +- +- info = G_APP_INFO (user_data); +- id = g_app_info_get_id (info); +- +- stdout_fd = sd_journal_stream_fd (id, LOG_INFO, FALSE); +- if (stdout_fd >= 0) +- { +- dup2 (stdout_fd, STDOUT_FILENO); +- close (stdout_fd); +- } +- +- stderr_fd = sd_journal_stream_fd (id, LOG_WARNING, FALSE); +- if (stderr_fd >= 0) +- { +- dup2 (stderr_fd, STDERR_FILENO); +- close (stderr_fd); +- } +-} +- + static void + close_pid (GPid pid, + gint status, +@@ -305,7 +278,7 @@ app_info_launch_uris (GDesktopAppInfo *info, + + flags = G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD; + ret = g_desktop_app_info_launch_uris_as_manager (info, uris, NULL, +- flags, child_setup, info, ++ flags, NULL, NULL, + pid_cb, NULL, + error); + diff --git a/srcpkgs/gnome-panel/template b/srcpkgs/gnome-panel/template new file mode 100644 index 00000000000..7c92023c37b --- /dev/null +++ b/srcpkgs/gnome-panel/template @@ -0,0 +1,17 @@ +# Template file for 'gnome-panel' +pkgname=gnome-panel +version=3.30.0 +revision=1 +patch_args="-Np1" +build_style=gnu-configure +hostmakedepends="gettext-devel glib-devel itstool pkg-config" +makedepends="cairo-devel dconf-devel elogind-devel evolution-data-server-devel + gdm-devel gnome-desktop-devel gnome-menus-devel gtk+3-devel libglib-devel + libgweather-devel libwnck-devel libXrandr-devel libX11-devel pango-devel + polkit-devel" +short_desc="Panel Application for GNOME flashback" +maintainer="Rasmus Thomsen " +license="GPL-2.0-or-later, GFDL-1.1-or-later, LGPL-2.1-or-later" +homepage="https://wiki.gnome.org/Projects/GnomePanel" +distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=1cbfba664df24c0b7bd9d09927c127c1aea1a6407bdf7ea221f443e3f9a1008b