openbsd-ports/x11/gtk+4/patches/patch-modules_printbackends_meson_build
2022-03-11 20:15:18 +00:00

36 lines
966 B
Plaintext

Always enable the lpr print backend.
Index: modules/printbackends/meson.build
--- modules/printbackends/meson.build.orig
+++ modules/printbackends/meson.build
@@ -27,18 +27,18 @@ if cups_dep.found()
install_dir: printbackends_install_dir,
install: true,
)
-else
- # Automatic fall-back to the lpr backend
- print_backends += 'lpr'
- shared_module('printbackend-lpr',
- sources: 'gtkprintbackendlpr.c',
- c_args: printbackends_args,
- dependencies: libgtk_dep,
- name_suffix: module_suffix,
- install_dir: printbackends_install_dir,
- install: true,
- )
endif
+
+# Automatic fall-back to the lpr backend
+print_backends += 'lpr'
+shared_module('printbackend-lpr',
+ sources: 'gtkprintbackendlpr.c',
+ c_args: printbackends_args,
+ dependencies: libgtk_dep,
+ name_suffix: module_suffix,
+ install_dir: printbackends_install_dir,
+ install: true,
+)
# The 'file' print backend cannot be disabled
print_backends += 'file'