Source: printer-driver-pantum-bp2400-bm2400
Section: non-free/text
Priority: optional
Maintainer: hao <hao@odata.cc>
Build-Depends:
 debhelper-compat (= 13),
 libcups2-dev,
 libcupsimage2-dev,
 libjbig-dev,
 python3
Standards-Version: 4.7.0
Rules-Requires-Root: no
Homepage: https://www.pantum.cn/support/download/driver/
XS-Autobuild: yes

Package: printer-driver-pantum-bp2400-bm2400
Architecture: any
Depends:
 ${shlibs:Depends},
 ${misc:Depends},
 cups
Recommends: cups-filters | cups-filters-core-drivers
Suggests:
 printer-driver-pantum-bp2400-bm2400-sane,
 printer-driver-pantum-bp2400-bm2400-driverless-scan
Conflicts: pantum
Replaces: pantum
Description: Pantum BP2400/BM2400 series native raster CUPS driver
 This package installs Pantum BP2400/BM2400 series CUPS raster PPDs and the
 self-developed native Pantum GDI/JZJZ raster filter.
 .
 The PPDs use a package-specific filter name instead of the vendor BP2400 and
 BM2400 global names so this package does not overwrite the vendor pantum
 package's filter paths. The native filter builds on amd64, arm64,
 loongarch64, loong64, and other Debian architectures with CUPS and JBIG
 development libraries.
 .
 Pantum's original V1.1.176 raster filter is kept only as a reverse-engineering
 reference in the source tree. It is not used by the default package because it
 is a closed x86-64 binary that would require fragile userspace translation on
 non-amd64 systems.

Package: printer-driver-pantum-bp2400-bm2400-driverless-scan
Architecture: any
Depends:
 ${misc:Depends},
 sane-utils
Recommends: sane-airscan, ipp-usb, avahi-daemon
Suggests:
 printer-driver-pantum-bp2400-bm2400,
 printer-driver-pantum-bp2400-bm2400-sane
Description: Pantum BP2400/BM2400 driverless scan helpers
 This package installs helper documentation and a diagnostic command for the
 standard eSCL/AirScan/ipp-usb scan path used by applications such as
 lz-deepin.
 .
 It does not contain Pantum's private USB SANE backend. Devices that do not
 expose eSCL/AirScan still need the amd64 private SANE backend package or a
 native self-developed backend.

Package: printer-driver-pantum-bp2400-bm2400-sane
Architecture: amd64
Depends:
 ${misc:Depends},
 libc6,
 libjpeg62-turbo | libjpeg8,
 libsane1,
 libstdc++6,
 libusb-1.0-0,
 libcups2
Recommends: sane-utils
Suggests: printer-driver-pantum-bp2400-bm2400
Conflicts: pantum
Replaces: pantum
Description: Pantum BM2400 series SANE scanner support
 This package installs the vendor Pantum pantum_bm2400 SANE backend, sane.d
 registration, support library, and udev USB permissions for BM2400/BM2460
 multifunction models.
 .
 It is limited to amd64 because the bundled vendor SANE backend is a closed
 x86-64 shared object.
