Sync from SUSE:SLFO:Main telepathy-logger revision 69eb3b878002cbeff65d363423f016fb

This commit is contained in:
Adrian Schröter 2024-11-12 12:19:20 +01:00
parent a0b472b330
commit 2efa244784
2 changed files with 47 additions and 4 deletions

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Jul 11 12:07:10 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Add -fpermissive to %optflags so that GCC 14 does not throw
compile time errors when encountering C99 violations.
-------------------------------------------------------------------
Tue Jan 16 16:02:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Own /usr/share/gtk-doc: glib no longer uses gtk-doc and as a
consequence cannot be held responsible to deliver that basic
directory structure.
-------------------------------------------------------------------
Thu Aug 10 11:12:26 UTC 2023 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
- Split the gsettings schema to a separate package
+ The telepathy-logger library has an hard dependency on the schema, and if
it's missing (before this change it has been part of the telepathy-logger
daemon) it will cause the loading application to crash.
+ The library does now require the schema package
- Drop dangling %glib2_gsettings_schema_requires macro.
-------------------------------------------------------------------
Tue May 18 08:23:32 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package telepathy-logger
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -40,7 +40,6 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(telepathy-glib) >= 0.19.2
%glib2_gsettings_schema_requires
%description
tp-logger is a headless Observer client that logs information received by the
@ -52,6 +51,23 @@ information related to logging (most frequent contacts, etc.). It also provides
a GLib-compatible client API for making bulk log requests (e.g. for display
logs in applications without having to provide lots of information over D-Bus).
%package schema
Summary: Required schema for the Telepathy Framework Centralized Logging
Group: System/Libraries
BuildArch: noarch
%description schema
tp-logger is a headless Observer client that logs information received by the
Telepathy framework. It features pluggable backends to log different sorts of
messages, in different formats.
tp-logger features a Telepathy-style D-Bus API to expose logs and interesting
information related to logging (most frequent contacts, etc.). It also provides
a GLib-compatible client API for making bulk log requests (e.g. for display
logs in applications without having to provide lots of information over D-Bus).
This package provides required GSettings schemas for the tp-logger library.
%package devel
Summary: Development files for the Telepathy Framework Centralized Logging
Group: Development/Languages/C and C++
@ -72,6 +88,7 @@ logs in applications without having to provide lots of information over D-Bus).
%package -n libtelepathy-logger3
Summary: Centralized Logging for the Telepathy Framework
Group: System/Libraries
Requires: telepathy-logger-schema >= %{version}
%description -n libtelepathy-logger3
tp-logger is a headless Observer client that logs information received by the
@ -117,6 +134,7 @@ logs in applications without having to provide lots of information over D-Bus).
%autosetup -p1
%build
%global optflags %{optflags} -fpermissive
%configure \
--disable-static \
--enable-public-extensions
@ -135,7 +153,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libexecdir}/telepathy-logger
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/clients
%{_datadir}/telepathy/clients/Logger.client
@ -149,6 +166,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files -n libtpl-extensions3
%{_libdir}/libtpl-extensions.so.*
%files schema
%{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
%files devel
%{_includedir}/telepathy-logger-0.2/
%{_includedir}/tpl-extensions/
@ -156,7 +176,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libtelepathy-logger.so
%{_libdir}/libtpl-extensions.so
%{_libdir}/pkgconfig/tpl-extensions.pc
%{_datadir}/gtk-doc/html/telepathy-logger/
%{_datadir}/gtk-doc/
%{_datadir}/gir-1.0/TelepathyLogger-0.2.gir
%changelog