[polari] flatpak: Disable gspell's code-coverage integration



commit fc7f445a15951c05166f67f11be74c39a6d853bc
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Aug 1 00:03:33 2019 +0200

    flatpak: Disable gspell's code-coverage integration
    
    It's another bit that broke after recent runtime changes (likely some
    missing m4-commons macro), and as the integration isn't useful to us
    anyway, just rip it out.
    
    https://gitlab.gnome.org/GNOME/polari/merge_requests/129

 flatpak/gspell-no-code-coverage.patch | 64 +++++++++++++++++++++++++++++++++++
 flatpak/org.gnome.Polari.json         |  4 +++
 2 files changed, 68 insertions(+)
---
diff --git a/flatpak/gspell-no-code-coverage.patch b/flatpak/gspell-no-code-coverage.patch
new file mode 100644
index 0000000..515b58d
--- /dev/null
+++ b/flatpak/gspell-no-code-coverage.patch
@@ -0,0 +1,64 @@
+From a70d50a7781f1a4528e99625c6fe907833dc70cf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner gnome org>
+Date: Thu, 1 Aug 2019 00:00:44 +0200
+Subject: [PATCH] build: Disable code coverage
+
+---
+ Makefile.am           | 2 --
+ configure.ac          | 4 ----
+ gspell/Makefile.am    | 2 --
+ testsuite/Makefile.am | 2 --
+ 4 files changed, 10 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index f732667..3ccf942 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,7 +1,5 @@
+ SUBDIRS = po gspell gspell-app tests testsuite docs
+ 
+-@CODE_COVERAGE_RULES@
+-
+ AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection --enable-vala
+ 
+ pkgconfig_DATA = gspell-$(GSPELL_API_VERSION).pc
+diff --git a/configure.ac b/configure.ac
+index 9135987..22d4198 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -145,10 +145,6 @@ GOBJECT_INTROSPECTION_CHECK([1.42.0])
+ AX_REQUIRE_DEFINED([VAPIGEN_CHECK])
+ VAPIGEN_CHECK
+ 
+-# Code coverage for unit tests
+-AX_REQUIRE_DEFINED([AX_CODE_COVERAGE])
+-AX_CODE_COVERAGE
+-
+ # Valgrind check
+ AX_REQUIRE_DEFINED([AX_VALGRIND_CHECK])
+ AX_VALGRIND_CHECK
+diff --git a/gspell/Makefile.am b/gspell/Makefile.am
+index 88f6577..973c683 100644
+--- a/gspell/Makefile.am
++++ b/gspell/Makefile.am
+@@ -1,7 +1,5 @@
+ SUBDIRS = resources
+ 
+-@CODE_COVERAGE_RULES@
+-
+ AM_CPPFLAGS =                         \
+       -DDATADIR=\""$(datadir)"\"      \
+       -DG_LOG_DOMAIN=\"gspell\"       \
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index 4384baf..e628834 100644
+--- a/testsuite/Makefile.am
++++ b/testsuite/Makefile.am
+@@ -1,5 +1,3 @@
+-@CODE_COVERAGE_RULES@
+-
+ @VALGRIND_CHECK_RULES@
+ 
+ # https://github.com/dtrebbien/GNOME.supp
+-- 
+2.21.0
+
diff --git a/flatpak/org.gnome.Polari.json b/flatpak/org.gnome.Polari.json
index e29cef7..dc8fc91 100644
--- a/flatpak/org.gnome.Polari.json
+++ b/flatpak/org.gnome.Polari.json
@@ -158,6 +158,10 @@
                     "url": "https://gitlab.gnome.org/GNOME/gspell.git";,
                     "tag": "1.8.1",
                     "commit": "ba03499234037861e01ce1e83075e8a32b9790f3"
+                },
+                {
+                    "type": "patch",
+                    "path": "gspell-no-code-coverage.patch"
                 }
             ],
             "cleanup": [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]