rebuilt without .la files [release 0.112-2mamba;Sun Jun 23 2024]

This commit is contained in:
Silvan Calarco 2024-06-23 23:06:51 +02:00
parent 9207ab4bec
commit e5370b0813
2 changed files with 8 additions and 54 deletions

View File

@ -1,40 +0,0 @@
From 3e0828f57c3925ea9b63d22ab82d991a0fea0536 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: Thu, 02 Jun 2011 12:49:51 +0000
Subject: Fix regression in marshalling objects as object paths
This regressed while fixing fd.o #36811. NetworkManager apparently uses
this idiom.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37852
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628890
Tested-by: Michael Biebl <biebl@debian.org>
Reviewed-by: Colin Walters <walters@verbum.org>
---
diff --git a/dbus/dbus-gobject.c b/dbus/dbus-gobject.c
index 3b0bd17..7ee0b4f 100644
--- a/dbus/dbus-gobject.c
+++ b/dbus/dbus-gobject.c
@@ -3049,16 +3049,16 @@ out:
const char *
_dbus_gobject_get_path (GObject *obj)
{
- GSList *registrations;
+ ObjectExport *oe;
ObjectRegistration *o;
- registrations = g_object_get_data (obj, "dbus_glib_object_registrations");
+ oe = g_object_get_data (obj, "dbus_glib_object_registrations");
- if (registrations == NULL)
+ if (oe == NULL || oe->registrations == NULL)
return NULL;
/* First one to have been registered wins */
- o = registrations->data;
+ o = oe->registrations->data;
return o->object_path;
}
--
cgit v0.8.3-6-g21f6

View File

@ -1,14 +1,13 @@
Name: libdbus-glib
Version: 0.112
Release: 1mamba
Release: 2mamba
Summary: GLIB bindings for %{name}
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://dbus.freedesktop.org
URL: https://www.freedesktop.org/wiki/Software/dbus/
Source: http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz
Patch0: %{name}-0.94-fix_regression_in_marshalling_objects_as_object_paths.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -38,8 +37,7 @@ Provides: dbus-glib-devel = %{?epoch:%epoch:}%{version}-%{release}
%description devel
D-BUS is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity.
This package contains the development files for GLIB binding libraries for
D-BUS.
This package contains the development files for GLIB binding libraries for D-BUS.
%package tools
Group: System/Tools
@ -62,7 +60,6 @@ This package includes the %{name} API documentation.
%prep
%setup -q -n dbus-glib-%{version}
#%patch0 -p1
%build
%configure --enable-gtk-doc
@ -85,15 +82,9 @@ This package includes the %{name} API documentation.
%files devel
%defattr(-,root,root)
%{_includedir}/dbus-1.0/dbus/dbus-*.h
%{_libdir}/libdbus-glib-1.so
%{_libdir}/libdbus-glib-1.la
%{_libdir}/libdbus-glib-1.a
%{_includedir}/dbus-1.0/dbus/dbus-glib-bindings.h
%{_includedir}/dbus-1.0/dbus/dbus-gtype-specialized.h
#%{_includedir}/dbus-1.0/dbus/dbus-glib-error-enum.h
%{_includedir}/dbus-1.0/dbus/dbus-glib-lowlevel.h
%{_includedir}/dbus-1.0/dbus/dbus-glib.h
%{_includedir}/dbus-1.0/dbus/dbus-gvalue-parse-variant.h
%{_libdir}/pkgconfig/*.pc
%doc NEWS README
@ -102,7 +93,7 @@ This package includes the %{name} API documentation.
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%{_bindir}/dbus-binding-tool
%{_libexecdir}/dbus-bash-completion-helper
%{_mandir}/man1/dbus-binding-tool.1.gz
%{_mandir}/man1/dbus-binding-tool.1*
%files apidocs
%defattr(-,root,root)
@ -110,6 +101,9 @@ This package includes the %{name} API documentation.
%{_datadir}/gtk-doc/html/dbus-glib/*
%changelog
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.112-2mamba
- rebuilt without .la files
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 0.112-1mamba
- automatic version update by autodist