[packages/NetworkManager] - updated to 1.20.4 - removed obsolete gtkdoc patch

qboosh qboosh at pld-linux.org
Wed Oct 2 05:54:09 CEST 2019


commit ac2f3dc3d884a0697b021ccde1611fcbf79f260c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 2 05:57:20 2019 +0200

    - updated to 1.20.4
    - removed obsolete gtkdoc patch

 NetworkManager-gtkdoc.patch | 60 ---------------------------------------------
 NetworkManager.spec         |  6 ++---
 2 files changed, 2 insertions(+), 64 deletions(-)
---
diff --git a/NetworkManager.spec b/NetworkManager.spec
index eb2f5da..e73ae38 100644
--- a/NetworkManager.spec
+++ b/NetworkManager.spec
@@ -6,20 +6,19 @@
 Summary:	Network Manager for GNOME
 Summary(pl.UTF-8):	Zarządca sieci dla GNOME
 Name:		NetworkManager
-Version:	1.20.2
+Version:	1.20.4
 Release:	1
 Epoch:		2
 License:	GPL v2+
 Group:		Networking/Admin
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/1.20/%{name}-%{version}.tar.xz
-# Source0-md5:	81d688e9d5d81ae9da37663c1d74d010
+# Source0-md5:	eaebc22528c9320f5ba47dba2683d382
 Source1:	%{name}.conf
 Source3:	%{name}.tmpfiles
 Source4:	%{name}.init
 Patch0:		ifcfg-path.patch
 Patch1:		%{name}-sh.patch
 Patch2:		systemd-fallback.patch
-Patch3:		%{name}-gtkdoc.patch
 URL:		https://wiki.gnome.org/Projects/NetworkManager
 BuildRequires:	ModemManager-devel >= 1.0.0
 BuildRequires:	audit-libs-devel
@@ -196,7 +195,6 @@ Bashowe uzupełnianie nazw dla polecenia NetworkManagera (nmcli).
 %patch0 -p1
 %patch1 -p1
 %{?with_systemd:%patch2 -p1}
-%patch3 -p1
 
 %build
 %{__gtkdocize}
diff --git a/NetworkManager-gtkdoc.patch b/NetworkManager-gtkdoc.patch
deleted file mode 100644
index 8463991..0000000
--- a/NetworkManager-gtkdoc.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From a369e61d2a20493e6fcde9b6ac7e800174487a41 Mon Sep 17 00:00:00 2001
-From: Beniamino Galvani <bgalvani at redhat.com>
-Date: Fri, 6 Sep 2019 11:00:52 +0200
-Subject: [PATCH] build: use regexp in gtkdoc --ignore-decorators option
-
-gtkdoc-scan supports regular expressions in the --ignore-decorators
-command-line option. Since it is easier to use a regexp than grepping
-macros from a source file, revert the ugly solution from commit
-2d941dc95a1d ('build: fix errors when building with gtk-doc 1.32').
-
-(cherry picked from commit 11cf082a6233a5c2f17da1b49457a66266062678)
----
- docs/libnm/Makefile.am | 4 +---
- docs/libnm/meson.build | 5 +----
- tools/decorators.sh    | 7 -------
- 3 files changed, 2 insertions(+), 14 deletions(-)
- delete mode 100755 tools/decorators.sh
-
-diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am
-index ded32f8218..20dc8de571 100644
---- a/docs/libnm/Makefile.am
-+++ b/docs/libnm/Makefile.am
-@@ -18,10 +18,8 @@ DOC_SOURCE_DIR= \
- 	$(top_srcdir)/libnm \
- 	$(top_builddir)/libnm
- 
--decorators := $(shell $(top_srcdir)/tools/decorators.sh $(top_srcdir)/libnm-core/nm-version.h)
--
- # Extra options to supply to gtkdoc-scan.
--SCAN_OPTIONS=--rebuild-types --rebuild-sections --ignore-decorators "$(decorators)"
-+SCAN_OPTIONS=--rebuild-types --rebuild-sections --ignore-decorators="NM_AVAILABLE_IN_\d_\d\d?|NM_DEPRECATED_IN_\d_\d\d?"
- 
- # Extra options to supply to gtkdoc-mkdb.
- MKDB_OPTIONS=--sgml-mode --output-format=xml
-diff --git a/docs/libnm/meson.build b/docs/libnm/meson.build
-index 3403b339d7..b4a23729bb 100644
---- a/docs/libnm/meson.build
-+++ b/docs/libnm/meson.build
-@@ -32,9 +32,6 @@ configure_file(
-   configuration: version_conf,
- )
- 
--result = run_command(join_paths(meson.source_root(), 'tools', 'decorators.sh'),
--                     join_paths(meson.source_root(), 'libnm-core', 'nm-version.h'))
--
- gnome.gtkdoc(
-   doc_module,
-   main_xml: doc_module + '-docs.xml',
-@@ -46,7 +43,7 @@ gnome.gtkdoc(
-   scan_args: [
-     '--rebuild-types',
-     '--rebuild-sections',
--    '--ignore-decorators=' + result.stdout().strip(),
-+    '--ignore-decorators=NM_AVAILABLE_IN_\d_\d\d?|NM_DEPRECATED_IN_\d_\d\d?',
-     '--ignore-headers=' + ' '.join(private_headers),
-   ],
-   scanobjs_args: '--type-init-func="g_type_init();"',
--- 
-2.22.0
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/NetworkManager.git/commitdiff/ac2f3dc3d884a0697b021ccde1611fcbf79f260c



More information about the pld-cvs-commit mailing list