gplugin/gplugin

172bf8a3fa36
Parents 8f3ab5e34d52
Children a3e3b812c1d2
Remove the rust stuff since it now lives in its own repository

Testing Done:
Compiled

Reviewed at https://reviews.imfreedom.org/r/1958/
--- a/meson.build Sun Oct 23 21:53:17 2022 -0500
+++ b/meson.build Sun Oct 23 22:14:46 2022 -0500
@@ -127,7 +127,6 @@
subdir('lua')
subdir('python3')
-subdir('rust')
subdir('vala')
if get_option('doc')
--- a/meson_options.txt Sun Oct 23 21:53:17 2022 -0500
+++ b/meson_options.txt Sun Oct 23 22:14:46 2022 -0500
@@ -59,12 +59,6 @@
)
option(
- 'rs',
- type : 'boolean', value : false,
- description : 'Whether or not to create the rust bindings.'
-)
-
-option(
'vapi',
type : 'boolean', value : true,
description : 'Whether or not to build vapi files for gplugin'
--- a/rust/meson.build Sun Oct 23 21:53:17 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-if not get_option('rs')
- subdir_done()
-endif
-
-add_languages('rust')
-
-subdir('tests')
--- a/rust/tests/meson.build Sun Oct 23 21:53:17 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-e = executable('test-rust-loading', 'test-rust-loading.c',
- include_directories : include_directories('.'),
- c_args: [
- '-DRUST_PLUGIN_DIR="@0@/plugins"'.format(meson.current_build_dir()),
- ],
- link_with : gplugin_loader_tests,
- dependencies : [GLIB, GOBJECT, gplugin_dep])
-test('Rust loading', e)
-
-subdir('plugins')
--- a/rust/tests/plugins/meson.build Sun Oct 23 21:53:17 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-if get_option('rs')
-
-endif # rs
--- a/rust/tests/test-rust-loading.c Sun Oct 23 21:53:17 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2011-2021 Gary Kramlich <grim@reaperworld.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, see <https://www.gnu.org/licenses/>.
- */
-
-#include <glib.h>
-
-#include <gplugin.h>
-#include <gplugin/gplugin-loader-tests.h>
-
-/******************************************************************************
- * Main
- *****************************************************************************/
-gint
-main(gint argc, gchar **argv)
-{
- g_test_init(&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL);
-
- gplugin_loader_tests_main(NULL, RUST_PLUGIN_DIR, "rust");
-
- return g_test_run();
-}