You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.9 KiB

  1. --- a/plugins/broadmobi/mm-plugin-broadmobi.c
  2. +++ b/plugins/broadmobi/mm-plugin-broadmobi.c
  3. @@ -19,7 +19,6 @@
  4. #define _LIBMM_INSIDE_MM
  5. #include <libmm-glib.h>
  6. -#include "mm-port-enums-types.h"
  7. #include "mm-log-object.h"
  8. #include "mm-plugin-broadmobi.h"
  9. #include "mm-broadband-modem.h"
  10. --- a/plugins/dlink/mm-plugin-dlink.c
  11. +++ b/plugins/dlink/mm-plugin-dlink.c
  12. @@ -19,7 +19,6 @@
  13. #define _LIBMM_INSIDE_MM
  14. #include <libmm-glib.h>
  15. -#include "mm-port-enums-types.h"
  16. #include "mm-log-object.h"
  17. #include "mm-plugin-dlink.h"
  18. #include "mm-broadband-modem.h"
  19. --- a/plugins/meson.build
  20. +++ b/plugins/meson.build
  21. @@ -461,7 +461,7 @@ if plugins_options['huawei']
  22. plugins += {'plugin-huawei': {
  23. 'plugin': true,
  24. 'helper': {'sources': files('huawei/mm-modem-helpers-huawei.c'), 'include_directories': plugins_incs + [huawei_inc], 'c_args': common_c_args + ['-DMM_MODULE_NAME="huawei"']},
  25. - 'module': {'sources': sources + enums_sources, 'include_directories': plugins_incs + [huawei_inc], 'c_args': common_c_args + ['-DMM_MODULE_NAME="huawei"']},
  26. + 'module': {'sources': sources + enums_sources + port_enums_sources, 'include_directories': plugins_incs + [huawei_inc], 'c_args': common_c_args + ['-DMM_MODULE_NAME="huawei"']},
  27. 'test': {'sources': files('huawei/tests/test-modem-helpers-huawei.c') + enums_sources, 'include_directories': huawei_inc, 'dependencies': libhelpers_dep},
  28. }}
  29. --- a/plugins/telit/mm-plugin-telit.c
  30. +++ b/plugins/telit/mm-plugin-telit.c
  31. @@ -21,7 +21,6 @@
  32. #define _LIBMM_INSIDE_MM
  33. #include <libmm-glib.h>
  34. -#include "mm-port-enums-types.h"
  35. #include "mm-log-object.h"
  36. #include "mm-modem-helpers.h"
  37. #include "mm-plugin-telit.h"
  38. --- a/plugins/tplink/mm-plugin-tplink.c
  39. +++ b/plugins/tplink/mm-plugin-tplink.c
  40. @@ -19,7 +19,6 @@
  41. #define _LIBMM_INSIDE_MM
  42. #include <libmm-glib.h>
  43. -#include "mm-port-enums-types.h"
  44. #include "mm-log-object.h"
  45. #include "mm-plugin-tplink.h"
  46. #include "mm-broadband-modem.h"
  47. --- a/src/meson.build
  48. +++ b/src/meson.build
  49. @@ -147,15 +147,15 @@ endif
  50. enums_types = 'mm-port-enums-types'
  51. -enums_sources = []
  52. -enums_sources += gnome.mkenums(
  53. +port_enums_sources = []
  54. +port_enums_sources += gnome.mkenums(
  55. enums_types + '.c',
  56. sources: headers,
  57. c_template: build_aux_dir / enums_types + '.c.template',
  58. fhead: '#include "mm-port-enums-types.h"',
  59. )
  60. -enums_sources += gnome.mkenums(
  61. +port_enums_sources += gnome.mkenums(
  62. enums_types + '.h',
  63. sources: headers,
  64. h_template: build_aux_dir / enums_types + '.h.template',
  65. @@ -165,13 +165,13 @@ enums_sources += gnome.mkenums(
  66. libport = static_library(
  67. 'port',
  68. - sources: sources + enums_sources,
  69. + sources: sources + port_enums_sources,
  70. include_directories: top_inc,
  71. dependencies: deps + private_deps,
  72. )
  73. libport_dep = declare_dependency(
  74. - sources: enums_sources[1],
  75. + sources: port_enums_sources[1],
  76. include_directories: '.',
  77. dependencies: deps,
  78. link_with: libport,