[gtk/wip/remove-cloudprint] Remove Google Cloud Print backend This service was shut down at the start of 2021.




commit af15f5d0042c572347d36bb60c159a41ca2ab79c
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon Jul 5 10:42:39 2021 -0500

    Remove Google Cloud Print backend
    This service was shut down at the start of 2021.
    
    This helpfully removes any dependency on json-glib, librest (and libsoup).

 meson_options.txt                                 |    5 -
 modules/printbackends/gtkcloudprintaccount.c      |  662 -------------
 modules/printbackends/gtkcloudprintaccount.h      |   74 --
 modules/printbackends/gtkprintbackendcloudprint.c | 1034 ---------------------
 modules/printbackends/gtkprintbackendcloudprint.h |   40 -
 modules/printbackends/gtkprintercloudprint.c      |  231 -----
 modules/printbackends/gtkprintercloudprint.h      |   43 -
 modules/printbackends/meson.build                 |   17 -
 po-properties/POTFILES.in                         |    2 -
 po/POTFILES.in                                    |    2 -
 10 files changed, 2110 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 4193415151..402caec5fb 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -44,11 +44,6 @@ option('print-cups',
        value: 'auto',
        description : 'Build the cups print backend')
 
-option('print-cloudprint',
-       type: 'feature',
-       value: 'auto',
-       description : 'Build the cloudprint print backend')
-
 # Optional features
 
 option('vulkan',
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index 833a160747..77d97307f2 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -40,23 +40,6 @@ else
   )
 endif
 
-rest_dep = dependency('rest-0.7', required : get_option('print-cloudprint'))
-json_glib_dep = dependency('json-glib-1.0', required : get_option('print-cloudprint'))
-if rest_dep.found() and json_glib_dep.found()
-  print_backends += 'cloudprint'
-  shared_module('printbackend-cloudprint',
-    sources: [
-      'gtkprintbackendcloudprint.c',
-      'gtkprintercloudprint.c',
-      'gtkcloudprintaccount.c',
-    ],
-    c_args: printbackends_args,
-    dependencies: [ libgtk_dep, rest_dep, json_glib_dep ],
-    name_suffix: module_suffix,
-    install_dir: printbackends_install_dir,
-    install: true)
-endif
-
 # The 'file' print backend cannot be disabled
 print_backends += 'file'
 shared_module('printbackend-file',
diff --git a/po-properties/POTFILES.in b/po-properties/POTFILES.in
index 9dca72a3d5..dbba25451d 100644
--- a/po-properties/POTFILES.in
+++ b/po-properties/POTFILES.in
@@ -344,11 +344,9 @@ gtk/paper_names_offsets.c
 gtk/script-names.c
 modules/media/gtkffmediafile.c
 modules/media/gtkgstsink.c
-modules/printbackends/gtkprintbackendcloudprint.c
 modules/printbackends/gtkprintbackendcups.c
 modules/printbackends/gtkprintbackendfile.c
 modules/printbackends/gtkprintbackendlpr.c
-modules/printbackends/gtkprintercloudprint.c
 modules/printbackends/gtkprintercups.c
 tools/encodesymbolic.c
 tools/gtk-builder-tool.c
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 13da729578..4805b90e27 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -390,11 +390,9 @@ gtk/ui/gtkstatusbar.ui
 gtk/ui/gtkvolumebutton.ui
 modules/media/gtkffmediafile.c
 modules/media/gtkgstsink.c
-modules/printbackends/gtkprintbackendcloudprint.c
 modules/printbackends/gtkprintbackendcups.c
 modules/printbackends/gtkprintbackendfile.c
 modules/printbackends/gtkprintbackendlpr.c
-modules/printbackends/gtkprintercloudprint.c
 modules/printbackends/gtkprintercups.c
 tools/encodesymbolic.c
 tools/gtk-builder-tool.c


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