From 54a91b7a371805ebe3b862c9573e680a9833aebc Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Thu, 12 Jun 2025 14:05:45 +0200 Subject: [PATCH] gnu: Replace usages of sane-backends with sane. Replacement done using: find gnu/packages -name '*.scm' -print0 | xargs -0 sed -ri \ -e 's/"sane-backends" ,sane-backends/"sane" ,sane/' \ -e 's/(list[^"]+sane)-backends/\1/' \ -e 's/^( +sane)-backends/\1/' * gnu/packages/hardware.scm (hw-probe)[inputs]: * gnu/packages/wine.scm (wine)[inputs]: * gnu/packages/python-xyz.scm (python-sane)[inputs]: * gnu/packages/ocr.scm (gimagereader)[inputs]: * gnu/packages/libreoffice.scm (libreoffice)[inputs]: * gnu/packages/kde.scm (ksanecore)[inputs]: * gnu/packages/gnome.scm (simple-scan, ocrfeeder, colord)[inputs]: * gnu/packages/scanner.scm (scanbd, xsane, sane-airscan)[inputs]: Replace sane-backends with sane. Change-Id: If995e846ed4f53a740119b362e07c36c90a621cb --- gnu/packages/gnome.scm | 6 +++--- gnu/packages/hardware.scm | 2 +- gnu/packages/kde.scm | 2 +- gnu/packages/libreoffice.scm | 2 +- gnu/packages/ocr.scm | 2 +- gnu/packages/python-xyz.scm | 2 +- gnu/packages/scanner.scm | 6 +++--- gnu/packages/wine.scm | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6d5c55d0fd4..63b65d42482 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5791,7 +5791,7 @@ output devices.") docbook-xsl gtk-doc/stable libxslt - sane-backends + sane vala))))) ;for VAPI, needed by simple-scan (define-public geoclue @@ -7230,7 +7230,7 @@ USB transfers with your high-level application or system daemon.") gdk-pixbuf gusb libadwaita - sane-backends)) + sane)) (home-page "https://gitlab.gnome.org/GNOME/simple-scan") (synopsis "Document and image scanner") (description @@ -13993,7 +13993,7 @@ world.") ("python-pyenchant" ,python-pyenchant) ("python-reportlab" ,python-reportlab) ("python-sane" ,python-sane) - ("sane-backends" ,sane-backends) + ("sane" ,sane) ("tesseract-ocr" ,tesseract-ocr))) (home-page "https://wiki.gnome.org/Apps/OCRFeeder") (synopsis "Complete OCR Suite") diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index cdf5f6d5463..0f8f5e7809b 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -476,7 +476,7 @@ sharing.") procps psmisc ;for pstree rpm - sane-backends + sane smartmontools sysstat upower diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 2a59b2b7202..c9148479d6c 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -1384,7 +1384,7 @@ transport data and for performing public transport journey queries.") (list extra-cmake-modules)) (inputs (list ki18n - sane-backends)) + sane)) (home-page "https://invent.kde.org/libraries/ksanecore") (synopsis "Library providing logic to interface scanners") (description diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 24edbfba4de..a372793c6a6 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -1190,7 +1190,7 @@ commonly called @code{ftoa} or @code{dtoa}.") python-lxml qrcodegen-cpp redland - sane-backends + sane unixodbc unzip vigra diff --git a/gnu/packages/ocr.scm b/gnu/packages/ocr.scm index cc7c6ba665c..bfb32b36e53 100644 --- a/gnu/packages/ocr.scm +++ b/gnu/packages/ocr.scm @@ -213,7 +213,7 @@ default. To add support for more languages, the leptonica podofo poppler-qt5 - sane-backends + sane qtbase-5 qtspell quazip-5 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bc99fc776bc..b43b06f67d5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35540,7 +35540,7 @@ restores the original state after the string is printed.") (native-inputs (list python-pytest)) (inputs - (list sane-backends)) + (list sane)) (home-page "https://github.com/python-pillow/Sane") (synopsis "Python interface to the SANE scanner") (description "This package provides Python interface to the SANE scanner diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm index 9251ef91489..1ab869499bb 100644 --- a/gnu/packages/scanner.scm +++ b/gnu/packages/scanner.scm @@ -81,7 +81,7 @@ libjpeg-turbo libpng libxml2 - sane-backends)) + sane)) (home-page "https://github.com/alexpevzner/sane-airscan") (synopsis "SANE backend for eSCL (AirScan) and WSD document scanners") (description ; no @acronym{eSCL} because the meaning isn't officially known @@ -348,7 +348,7 @@ standard.") (native-inputs (list pkg-config)) (inputs - (list dbus libconfuse sane-backends eudev zlib)) + (list dbus libconfuse sane eudev zlib)) (home-page "https://scanbd.sourceforge.io") (synopsis "Configurable scanner button monitor") (description "Scanbd stands for scanner button daemon. It regularly polls @@ -429,7 +429,7 @@ provided the driver also exposes the buttons.") lcms libjpeg-turbo libtiff - sane-backends + sane xdg-utils)) ;to open the manual from the Help menu (home-page "https://gitlab.com/sane-project/frontend/xsane") (synopsis "Featureful graphical interface for document and image scanners") diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index df1796f7808..e9f9311db7d 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -185,7 +185,7 @@ integrate Windows applications into your desktop.") libgphoto2 openldap samba - sane-backends + sane libpcap libusb libice