Fix inconsistent IDs in specification (#1915831)

Resolves: #1915831
This commit is contained in:
David King 2021-12-13 16:23:39 +00:00
parent 3c51e8d2aa
commit 066b2e0de7
3 changed files with 35 additions and 27 deletions

View File

@ -1,25 +0,0 @@
From 49766bca28bb6fc57689f6061669bb44362d694d Mon Sep 17 00:00:00 2001
From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date: Tue, 2 Nov 2010 17:02:37 +0100
Subject: [PATCH] notify_notification_set_image_from_pixbuf: ref the pixbuf (#633829)
---
libnotify/notification.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libnotify/notification.c b/libnotify/notification.c
index 2d5ecd9..571eff6 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -695,7 +695,7 @@ notify_notification_set_image_from_pixbuf (NotifyNotification *notification,
image_len,
TRUE,
(GDestroyNotify) g_object_unref,
- pixbuf));
+ g_object_ref (pixbuf)));
notify_notification_set_hint (notification, hint_name, value);
}
--
1.7.1

View File

@ -0,0 +1,26 @@
From 34bf541f11b57995a019731e5a8d328422458bd3 Mon Sep 17 00:00:00 2001
From: David King <amigadave@amigadave.com>
Date: Mon, 13 Dec 2021 15:20:32 +0000
Subject: [PATCH] docs: Use consistent IDs in spec build
This avoids differences between IDs for separate builds of the
specification.
https://bugzilla.redhat.com/show_bug.cgi?id=1915831
---
docs/config.xsl | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/config.xsl b/docs/config.xsl
index 7aa9def..59490e7 100644
--- a/docs/config.xsl
+++ b/docs/config.xsl
@@ -3,4 +3,5 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
+ <xsl:param name="generate.consistent.ids" select="1"/>
</xsl:stylesheet>
--
2.33.1

View File

@ -2,12 +2,16 @@
Name: libnotify
Version: 0.7.9
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Desktop notification library
License: LGPLv2+
URL: http://www.gnome.org
Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=1915831#
# https://bugzilla.redhat.com/show_bug.cgi?id=1915831#
# https://bugzilla.redhat.com/show_bug.cgi?id=1915831
Patch0: libnotify-0.7.9-consistent-ids.patch
BuildRequires: docbook-xsl-ns
BuildRequires: gdk-pixbuf2-devel
@ -36,7 +40,7 @@ This package contains libraries and header files needed for
development of programs using %{name}.
%prep
%setup -q
%autosetup -p1
%build
%meson
@ -66,6 +70,9 @@ development of programs using %{name}.
%doc %{_docdir}/libnotify/spec/
%changelog
* Mon Dec 13 2021 David King <amigadave@amigadave.com> - 0.7.9-7
- Fix inconsistent IDs in specification (#1915831)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.9-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688