From 8b590bb4794e5f008229d31f5c80bfbd429aa60b Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Sat, 3 Apr 2021 15:14:34 -0700 Subject: src/sensors: drop option for removed reverse engineering tools --- meson.build | 4 ---- meson_options.txt | 1 - src/sensors/meson.build | 20 -------------------- src/sensors/munki/meson.build | 20 -------------------- 4 files changed, 45 deletions(-) delete mode 100644 src/sensors/munki/meson.build diff --git a/meson.build b/meson.build index 1233dbc..6af7c03 100644 --- a/meson.build +++ b/meson.build @@ -176,10 +176,6 @@ if get_option('vapi') vapigen = find_program('vapigen') endif -if get_option('reverse') - conf.set('CD_BUILD_REVERSE', '1') -endif - if get_option('daemon') conf.set_quoted('DAEMON_USER', get_option('daemon_user')) if get_option('daemon_user') == 'root' diff --git a/meson_options.txt b/meson_options.txt index 52af113..c184898 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -5,7 +5,6 @@ option('udev_rules', type: 'boolean', value: true, description: 'Install udev ru option('systemd', type : 'boolean', value : true, description : 'Enable systemd integration') option('libcolordcompat', type : 'boolean', value : false, description : 'Enable libcolordcompat.so which is used by ArgyllCMS') option('argyllcms_sensor', type : 'boolean', value : true, description : 'Enable ArgllCMS sensor') -option('reverse', type : 'boolean', value : false, description : 'Enable reverse engineering tools') option('sane', type : 'boolean', value : false, description : 'Enable SANE support') option('vapi', type : 'boolean', value : false, description : 'Build vala bindings') option('print_profiles', type : 'boolean', value : false, description : 'Build extra print profiles') diff --git a/src/sensors/meson.build b/src/sensors/meson.build index 9c89cec..31b48e0 100644 --- a/src/sensors/meson.build +++ b/src/sensors/meson.build @@ -4,25 +4,5 @@ subdir('dtp94') subdir('dummy') subdir('huey') subdir('huey2') -subdir('munki') cargs = ['-DG_LOG_DOMAIN="Cd"'] - -if get_option('reverse') - executable( - 'cd-parse-beagle', - sources : [ - 'cd-parse-beagle.c', - ], - include_directories : [ - root_incdir, - ], - dependencies : [ - gio, - ], - link_with : colordprivate, - c_args : [ - cargs, - ], - ) -endif diff --git a/src/sensors/munki/meson.build b/src/sensors/munki/meson.build deleted file mode 100644 index f93fbba..0000000 --- a/src/sensors/munki/meson.build +++ /dev/null @@ -1,20 +0,0 @@ -if get_option('reverse') - shared_module('colord_sensor_munki', - sources : [ - 'cd-sensor-munki.c', - 'munki-enum.c', - ], - include_directories : [ - src_incdir, - colord_incdir, - lib_incdir, - root_incdir, - ], - c_args : cargs, - dependencies : [ - gio, - gusb, - gudev, - ], - ) -endif -- cgit v1.2.1