New package: gnome-panel-3.30.0
This commit is contained in:
parent
28f24efdaa
commit
9b6b53deec
2 changed files with 70 additions and 0 deletions
|
@ -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 <glib/gi18n-lib.h>
|
||||
#include <gtk/gtk.h>
|
||||
-#include <systemd/sd-journal.h>
|
||||
|
||||
#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);
|
||||
|
17
srcpkgs/gnome-panel/template
Normal file
17
srcpkgs/gnome-panel/template
Normal file
|
@ -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 <rasmus.thomsen@protonmail.com>"
|
||||
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
|
Loading…
Reference in a new issue