[gnome-builder/wip/gtk4-port] plugins/shellcmd: remove old shellcmd sources



commit fe899b551dc81f1bad527ef4fa9db145dd10f2f9
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 10 13:48:44 2022 -0700

    plugins/shellcmd: remove old shellcmd sources
    
    This plugin is going to be architected differeing going forward so it can
    provide run commands, build commands, etc. It also needs to have the
    editor revamped to support that.

 .../shellcmd/gbp-shellcmd-application-addin.c      |   91 --
 .../shellcmd/gbp-shellcmd-application-addin.h      |   35 -
 src/plugins/shellcmd/gbp-shellcmd-command-editor.c |  286 -----
 src/plugins/shellcmd/gbp-shellcmd-command-editor.h |   37 -
 .../shellcmd/gbp-shellcmd-command-editor.ui        |  209 ----
 src/plugins/shellcmd/gbp-shellcmd-command-model.c  |  435 --------
 src/plugins/shellcmd/gbp-shellcmd-command-model.h  |   50 -
 .../shellcmd/gbp-shellcmd-command-provider.c       |  309 ------
 .../shellcmd/gbp-shellcmd-command-provider.h       |   31 -
 src/plugins/shellcmd/gbp-shellcmd-command-row.c    |   93 --
 src/plugins/shellcmd/gbp-shellcmd-command-row.h    |   36 -
 src/plugins/shellcmd/gbp-shellcmd-command-row.ui   |   31 -
 src/plugins/shellcmd/gbp-shellcmd-command.c        | 1131 --------------------
 src/plugins/shellcmd/gbp-shellcmd-command.h        |   70 --
 src/plugins/shellcmd/gbp-shellcmd-list.c           |  186 ----
 src/plugins/shellcmd/gbp-shellcmd-list.h           |   35 -
 .../shellcmd/gbp-shellcmd-preferences-addin.c      |  151 ---
 .../shellcmd/gbp-shellcmd-preferences-addin.h      |   31 -
 src/plugins/shellcmd/meson.build                   |   15 -
 src/plugins/shellcmd/shellcmd-plugin.c             |   13 -
 src/plugins/shellcmd/shellcmd.gresource.xml        |    2 -
 21 files changed, 3277 deletions(-)
---
diff --git a/src/plugins/shellcmd/meson.build b/src/plugins/shellcmd/meson.build
index e6d03e030..482dbbc7b 100644
--- a/src/plugins/shellcmd/meson.build
+++ b/src/plugins/shellcmd/meson.build
@@ -2,33 +2,18 @@ if get_option('plugin_shellcmd')
 
 plugins_sources += files([
   'shellcmd-plugin.c',
-  'gbp-shellcmd-application-addin.c',
-  'gbp-shellcmd-command.c',
-  'gbp-shellcmd-command-editor.c',
-  'gbp-shellcmd-command-model.c',
-  'gbp-shellcmd-command-provider.c',
-  'gbp-shellcmd-command-row.c',
-  'gbp-shellcmd-list.c',
-  'gbp-shellcmd-preferences-addin.c',
 ])
 
 plugin_shellcmd_enum_headers = [
   'gbp-shellcmd-command.h',
 ]
 
-plugin_shellcmd_enums = gnome.mkenums_simple('gbp-shellcmd-enums',
-     body_prefix: '#include "config.h"',
-   header_prefix: '#include <libide-gui.h>',
-         sources: plugin_shellcmd_enum_headers,
-)
-
 plugin_shellcmd_resources = gnome.compile_resources(
   'shellcmd-resources',
   'shellcmd.gresource.xml',
   c_name: 'gbp_shellcmd',
 )
 
-plugins_sources += plugin_shellcmd_enums
 plugins_sources += plugin_shellcmd_resources
 plugins_include_directories += [include_directories('.')]
 
diff --git a/src/plugins/shellcmd/shellcmd-plugin.c b/src/plugins/shellcmd/shellcmd-plugin.c
index 26b841cc8..ea215ae6b 100644
--- a/src/plugins/shellcmd/shellcmd-plugin.c
+++ b/src/plugins/shellcmd/shellcmd-plugin.c
@@ -20,23 +20,10 @@
 
 #include "config.h"
 
-#include <libide-gui.h>
 #include <libpeas/peas.h>
 
-#include "gbp-shellcmd-application-addin.h"
-#include "gbp-shellcmd-command-provider.h"
-#include "gbp-shellcmd-preferences-addin.h"
 
 _IDE_EXTERN void
 _gbp_shellcmd_register_types (PeasObjectModule *module)
 {
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_APPLICATION_ADDIN,
-                                              GBP_TYPE_SHELLCMD_APPLICATION_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_COMMAND_PROVIDER,
-                                              GBP_TYPE_SHELLCMD_COMMAND_PROVIDER);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_SHELLCMD_PREFERENCES_ADDIN);
 }
diff --git a/src/plugins/shellcmd/shellcmd.gresource.xml b/src/plugins/shellcmd/shellcmd.gresource.xml
index 47849fb90..4af547c31 100644
--- a/src/plugins/shellcmd/shellcmd.gresource.xml
+++ b/src/plugins/shellcmd/shellcmd.gresource.xml
@@ -2,7 +2,5 @@
 <gresources>
   <gresource prefix="/plugins/shellcmd">
     <file>shellcmd.plugin</file>
-    <file preprocess="xml-stripblanks">gbp-shellcmd-command-editor.ui</file>
-    <file preprocess="xml-stripblanks">gbp-shellcmd-command-row.ui</file>
   </gresource>
 </gresources>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]