diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-11-15 23:40:37 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-17 18:42:47 +0700 |
commit | d5ecec6fd3e12b12e0a9b3ec23c490f17309e580 (patch) | |
tree | 6754a1c1695827a5a093cd7031ce9dca1bd970cb /libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch | |
parent | b297cdbf7d14856ba69b6bfa64dd894859419501 (diff) |
libraries/libdbusmenu: Updated for version 16.04.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch')
-rw-r--r-- | libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch b/libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch new file mode 100644 index 0000000000000..4955c7c3091c5 --- /dev/null +++ b/libraries/libdbusmenu/0002-gtkdoc-check-Move-over-gtkdoc-check-unit-tests-to-th.patch @@ -0,0 +1,78 @@ +From 761ae73c061f9be0ae8dcd97893e75d6e02fbf46 Mon Sep 17 00:00:00 2001 +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Fri, 6 Oct 2017 11:13:09 +0200 +Subject: [PATCH] gtkdoc-check: Move over gtkdoc-check unit tests to the docs/ + directory and use AM's unit testing API. (However, this seems to be broken + currently, so we disable those tests completely, for now (current solution + after hours of investigating). + +--- + docs/libdbusmenu-glib/reference/Makefile.am | 1 + + docs/libdbusmenu-gtk/reference/Makefile.am | 2 +- + tests/Makefile.am | 22 ---------------------- + 3 files changed, 2 insertions(+), 23 deletions(-) + +diff --git a/docs/libdbusmenu-glib/reference/Makefile.am b/docs/libdbusmenu-glib/reference/Makefile.am +index 9274c5c..924a795 100644 +--- a/docs/libdbusmenu-glib/reference/Makefile.am ++++ b/docs/libdbusmenu-glib/reference/Makefile.am +@@ -93,4 +93,5 @@ if ENABLE_GTK_DOC + TESTS_ENVIRONMENT = cd $(srcdir) && \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) ++# TESTS = $(GTKDOC_CHECK) + endif +diff --git a/docs/libdbusmenu-gtk/reference/Makefile.am b/docs/libdbusmenu-gtk/reference/Makefile.am +index 8cc3d07..ce1e8ca 100644 +--- a/docs/libdbusmenu-gtk/reference/Makefile.am ++++ b/docs/libdbusmenu-gtk/reference/Makefile.am +@@ -93,5 +93,5 @@ if ENABLE_GTK_DOC + TESTS_ENVIRONMENT = cd $(srcdir) && \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) ++# TESTS = $(GTKDOC_CHECK) + endif +- +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 64e3e75..98409d6 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -40,12 +40,6 @@ TESTS += \ + # test-gtk-submenu + endif + +-if ENABLE_GTK_DOC +-TESTS += \ +- test_libdbusmenu_glib_gtkdoc \ +- test_libdbusmenu_gtk_gtkdoc +-endif +- + # The Python test only work on the system copy of + # dbusmenu, so while they can be usefule they're not + # good tests of what you're currently building. Handy +@@ -545,22 +539,6 @@ test-mago: test-gtk-label-client test-gtk-label-server $(srcdir)/dbusmenu-gtk/ma + @echo PYTHONPATH=$(abs_srcdir)/dbusmenu-gtk/mago_tests mago -f dbusmenu.xml -t $(abs_builddir)/mago.results --log-level=debug >> $@ + @chmod +x $@ + +-######################### +-# Other +-######################### +- +-test_libdbusmenu_glib_gtkdoc: +- @echo "#!/bin/bash" > $@ +- @echo cd $(abs_top_builddir)/docs/libdbusmenu-glib/reference >> $@ +- @echo gtester --verbose -k $(GTKDOC_CHECK_PATH) >> $@ +- @chmod +x $@ +- +-test_libdbusmenu_gtk_gtkdoc: +- @echo "#!/bin/bash" > $@ +- @echo cd $(abs_top_builddir)/docs/libdbusmenu-gtk/reference >> $@ +- @echo gtester --verbose -k $(GTKDOC_CHECK_PATH) >> $@ +- @chmod +x $@ +- + examplesdir = $(docdir)/examples/ + + examples_DATA = \ +-- +2.11.0 + |