From 3fe2f6485774f321c82617a884c2e1e4d350f55a Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Tue, 8 Apr 2025 20:53:58 +0900 Subject: devel/electron35: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/ --- .../files/patch-printing_printing__features.cc | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 devel/electron35/files/patch-printing_printing__features.cc (limited to 'devel/electron35/files/patch-printing_printing__features.cc') diff --git a/devel/electron35/files/patch-printing_printing__features.cc b/devel/electron35/files/patch-printing_printing__features.cc new file mode 100644 index 000000000000..6e6d665dfee8 --- /dev/null +++ b/devel/electron35/files/patch-printing_printing__features.cc @@ -0,0 +1,26 @@ +--- printing/printing_features.cc.orig 2025-03-24 20:50:14 UTC ++++ printing/printing_features.cc +@@ -21,12 +21,12 @@ BASE_FEATURE(kAddPrinterViaPrintscanmgr, + base::FEATURE_ENABLED_BY_DEFAULT); + #endif // BUILDFLAG(IS_CHROMEOS) + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + // Use the CUPS IPP printing backend instead of the original CUPS backend that + // calls the deprecated PPD API. + BASE_FEATURE(kCupsIppPrintingBackend, + "CupsIppPrintingBackend", +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + base::FEATURE_DISABLED_BY_DEFAULT + #else + base::FEATURE_ENABLED_BY_DEFAULT +@@ -69,7 +69,7 @@ BASE_FEATURE(kEnableOopPrintDrivers, + // out-of-process. + BASE_FEATURE(kEnableOopPrintDrivers, + "EnableOopPrintDrivers", +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + base::FEATURE_ENABLED_BY_DEFAULT + #else + base::FEATURE_DISABLED_BY_DEFAULT -- cgit v1.2.3