summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-glib_meson.build
blob: 1d4663b15d41145129ebd730155e3b5bf4001c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-glib_meson.build,v 1.11 2022/11/23 10:41:41 adam Exp $

- Don't bother with gtester as it's slated for deprecation anyway:
  https://gitlab.gnome.org/GNOME/glib/issues/1441

--- glib/meson.build.orig	2022-10-25 12:53:22.000000000 +0000
+++ glib/meson.build
@@ -433,26 +433,8 @@ if host_system == 'windows'
       include_directories : configinc,
       dependencies : [libglib_dep])
   endif
-else
-  gtester = executable('gtester', 'gtester.c',
-    install : true,
-    install_tag : 'bin-devel',
-    c_args : ['-UG_DISABLE_ASSERT'],
-    include_directories : configinc,
-    dependencies : [libglib_dep])
 endif
 
-report_conf = configuration_data()
-report_conf.set('GLIB_VERSION', glib_version)
-report_conf.set('PYTHON', python_name)
-configure_file(
-  input: 'gtester-report.in',
-  output: 'gtester-report',
-  install_dir: get_option('bindir'),
-  install_tag : 'bin-devel',
-  configuration: report_conf,
-  install_mode: 'rwxr-xr-x'
-)
 
 install_data('glib_gdb.py',
   install_dir : glib_pkgdatadir / 'gdb',