Page MenuHomeFreeBSD

D31702.id94253.diff
No OneTemporary

D31702.id94253.diff

diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -35,7 +35,7 @@
_LIBVERSION= 0.6800.3
PLIST_SUB= LIBVERSION=${_LIBVERSION}
-OPTIONS_DEFINE= DEBUG FAM_ALTBACKEND MANPAGES NLS
+OPTIONS_DEFINE= DEBUG FAM_ALTBACKEND MANPAGES NLS TEST
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
@@ -46,6 +46,9 @@
MANPAGES_USE= GNOME=libxslt:build
MANPAGES_MESON_TRUE= man
+TEST_DEPENDS= dbus-daemon:devel/dbus
+TEST_MESON_TRUE= tests
+
.include <bsd.port.pre.mk>
# doesn't build yet
diff --git a/devel/glib20/files/patch-gio_tests_meson.build b/devel/glib20/files/patch-gio_tests_meson.build
new file mode 100644
--- /dev/null
+++ b/devel/glib20/files/patch-gio_tests_meson.build
@@ -0,0 +1,61 @@
+--- gio/tests/meson.build.orig 2021-06-10 18:57:57 UTC
++++ gio/tests/meson.build
+@@ -49,7 +49,6 @@ gio_tests = {
+ 'buffered-output-stream' : {},
+ 'cancellable' : {},
+ 'contexts' : {},
+- 'contenttype' : {},
+ 'converter-stream' : {},
+ 'credentials' : {},
+ 'data-input-stream' : {},
+@@ -94,7 +93,6 @@ gio_tests = {
+ 'tls-interaction' : {'extra_sources' : ['gtesttlsbackend.c']},
+ 'tls-database' : {'extra_sources' : ['gtesttlsbackend.c']},
+ 'tls-bindings' : {'extra_sources' : ['gtesttlsbackend.c']},
+- 'gdbus-address-get-session' : {},
+ 'win32-appinfo' : {},
+ }
+
+@@ -151,10 +149,6 @@ endif
+ if host_machine.system() != 'windows'
+ gio_tests += {
+ 'file' : {},
+- 'gdbus-peer' : {
+- 'dependencies' : [libgdbus_example_objectmanager_dep],
+- 'install_rpath' : installed_tests_execdir
+- },
+ 'gdbus-peer-object-manager' : {},
+ 'live-g-file' : {},
+ 'socket-address' : {},
+@@ -190,31 +184,14 @@ if host_machine.system() != 'windows'
+ }
+ endif
+
+- # Uninstalled because of the check-for-executable logic in DesktopAppInfo
+- # unable to find the installed executable
+- if not glib_have_cocoa
+- gio_tests += {
+- 'appinfo' : {
+- 'install' : false,
+- },
+- 'desktop-app-info' : {
+- 'install' : false,
+- },
+- }
+- endif
+-
+ test_extra_programs += {
+ 'basic-application' : {},
+ 'dbus-launch' : {},
+- 'appinfo-test' : {},
+ }
+
+ if not glib_have_cocoa
+ test_extra_programs += {
+ 'apps' : {},
+- }
+- gio_tests += {
+- 'mimeapps' : {},
+ }
+ endif
+

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 26, 9:30 PM (8 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24251714
Default Alt Text
D31702.id94253.diff (2 KB)

Event Timeline