Update to 2.31.1

This commit is contained in:
Kalev Lember 2019-01-08 20:07:06 +01:00
parent bd26e9dbdc
commit bda3e785f3
4 changed files with 8 additions and 54 deletions

1
.gitignore vendored
View File

@ -108,3 +108,4 @@ at-spi2-core-0.3.4.tar.bz2
/at-spi2-core-2.27.92.tar.xz
/at-spi2-core-2.28.0.tar.xz
/at-spi2-core-2.30.0.tar.xz
/at-spi2-core-2.31.1.tar.xz

View File

@ -1,49 +0,0 @@
From 443e46d2d9d29cb9d20192e4978eb633bbbcc9b4 Mon Sep 17 00:00:00 2001
From: David Herrmann <dh.herrmann@gmail.com>
Date: Fri, 10 Aug 2018 16:35:31 +0200
Subject: [PATCH 2/2] bus-launch: use __linux__ over __linux
The canonical way to check for linux support is '__linux__', not
'__linux'. Particularly, on ppc64le '__linux' is not defined and the
build will fail.
For reference, see:
https://sourceforge.net/p/predef/wiki/OperatingSystems/
---
bus/at-spi-bus-launcher.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index 354c04eec7ba1a1ee034a245ee25c0139c48a1e5..b65301def88c2ff8aa5d10ada67507d0201b0984 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -23,11 +23,11 @@
#include "config.h"
#include <unistd.h>
#include <string.h>
#include <signal.h>
-#ifdef __linux
+#ifdef __linux__
#include <sys/prctl.h>
#include <sys/socket.h>
#include <sys/un.h>
#endif
#include <sys/wait.h>
@@ -275,11 +275,11 @@ setup_bus_child_daemon (gpointer data)
close (app->pipefd[0]);
dup2 (app->pipefd[1], 3);
close (app->pipefd[1]);
/* On Linux, tell the bus process to exit if this process goes away */
-#ifdef __linux
+#ifdef __linux__
prctl (PR_SET_PDEATHSIG, 15);
#endif
}
static gboolean
--
2.19.0.rc0

View File

@ -1,12 +1,11 @@
Name: at-spi2-core
Version: 2.30.0
Release: 2%{?dist}
Version: 2.31.1
Release: 1%{?dist}
Summary: Protocol definitions and daemon for D-Bus at-spi
License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/at-spi2-core/2.30/%{name}-%{version}.tar.xz
Patch1: 0002-bus-launch-use-__linux__-over-__linux.patch
Source0: http://download.gnome.org/sources/at-spi2-core/2.31/%{name}-%{version}.tar.xz
BuildRequires: dbus-devel
BuildRequires: gettext
@ -79,6 +78,9 @@ API documentation for libatspi.
%{_libdir}/pkgconfig/atspi-2.pc
%changelog
* Tue Jan 08 2019 Kalev Lember <klember@redhat.com> - 2.31.1-1
- Update to 2.31.1
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 2.30.0-2
- Rebuilt against fixed atk (#1626575)

View File

@ -1 +1 @@
SHA512 (at-spi2-core-2.30.0.tar.xz) = f875738fd8a30dc8eeebb0b1a2631d7ef03e93db4dd8475cddb91c173a4ca7b473149ccb4fa2480df53555654612aa02f571461160e8931f50fda10b6a8b8c21
SHA512 (at-spi2-core-2.31.1.tar.xz) = 7178dd0899ecc97e21cb5eafae4d5e7d0e76029df90c48e4e7ad8e68b12d91298249722f192dfaa1587bbeb7c577ab91a496d09c5bf6b1c9e7db134b6a1f3856