[gtk] Drop unmaintained print backends



commit e61e6a864b04b5ee5b3724af8f3ca72c5009c5cf
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 15 21:53:51 2018 -0500

    Drop unmaintained print backends
    
    The papi and test printbackends have not seen any
    maintenance in a long time.

 modules/printbackends/meson.build                |  20 +-
 modules/printbackends/papi/gtkprintbackendpapi.c | 838 -----------------------
 modules/printbackends/papi/gtkprintbackendpapi.h |  42 --
 modules/printbackends/papi/gtkprinterpapi.c      | 114 ---
 modules/printbackends/papi/gtkprinterpapi.h      |  59 --
 modules/printbackends/papi/meson.build           |  10 -
 modules/printbackends/test/gtkprintbackendtest.c | 594 ----------------
 modules/printbackends/test/gtkprintbackendtest.h |  39 --
 modules/printbackends/test/meson.build           |  10 -
 9 files changed, 1 insertion(+), 1725 deletions(-)
---
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index fa6ef4567d..e3b346875f 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -1,8 +1,6 @@
 all_print_backends = [
   'cups',
-  'papi',
   'cloudprint',
-  'test',
 ]
 
 enabled_print_backends = get_option('print-backends').split(',')
@@ -52,18 +50,6 @@ if enable_cups != 'no'
   endif
 endif
 
-# Checks to see if we should compile with PAPI backend for GTK+
-enable_papi = enabled_print_backends.contains('papi')
-if enable_papi != 'no'
-  want_papi = enable_papi == 'yes'
-  libpapi = cc.find_library('libpapi', required : false)
-  if libpapi.found() and cc.has_function('papiServiceCreate', args : '-lpapi')
-    print_backends += ['papi']
-  elif want_papi
-    error('Cannot find libpapi.')
-  endif
-endif
-
 # Checks to see if we should compile with cloudprint backend for GTK+
 enable_cloudprint = enabled_print_backends.contains('cloudprint')
 if enable_cloudprint != 'no'
@@ -88,12 +74,8 @@ if os_unix
   endif
 endif
 
-if enabled_print_backends.contains('test')
-  print_backends += ['test']
-endif
-
 # Automatic fall-back to the lpr backend
-if not print_backends.contains('papi') and not print_backends.contains('cups')
+if not print_backends.contains('cups')
   print_backends += ['lpr']
 endif
 


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