gnome-session: remove workarounds that aren't needed anymore

This commit is contained in:
Enno Boland 2018-03-19 20:49:24 +01:00
parent 7f58880ac0
commit 08157903ad
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 3 additions and 25 deletions

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-gnome-session_main_c,v 1.13 2015/04/03 12:43:19 ajacoutot Exp $
XXX no rpmatch(3) on OpenBSD
--- gnome-session/main.c.orig Fri Apr 3 14:18:31 2015
+++ gnome-session/main.c Fri Apr 3 14:19:42 2015
@@ -260,7 +260,7 @@ main (int argc, char **argv)
debug_string = g_getenv ("GNOME_SESSION_DEBUG");
if (debug_string != NULL) {
- debug = rpmatch (debug_string) == TRUE || atoi (debug_string) == 1;
+ debug = atoi (debug_string) == 1;
}
error = NULL;

View File

@ -2,9 +2,9 @@
pkgname=gnome-session
version=3.28.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
build_style=meson
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel xmlto"
configure_args="-Dsystemd_journal=false"
makedepends="upower-devel json-glib-devel gtk+3-devel libSM-devel
startup-notification-devel libXtst-devel dbus-glib-devel elogind-devel
gsettings-desktop-schemas-devel gnome-desktop-devel"
@ -16,10 +16,3 @@ homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0b803d9a6011f5d49d9b4c3c15390e8b6f36ef710f4dc47756109f982455acd1
pre_configure() {
sed -i "s/^#ifdef HAVE_SYSTEMD/#if 0/" \
gnome-session/main.c \
gnome-session/gsm-manager.c \
gnome-session/gsm-autostart-app.c
}