From 53bb8c8b55f2744560adda784aba9b5e52e1f1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20G=C5=82owacz?= Date: Sat, 20 Jun 2026 09:19:10 +0200 Subject: [PATCH] brother-mfc9140cdn: New package Add printer driver for Brother MFC-9140CDN. Provides CUPS wrapper and LPR driver for the Brother MFC-9140CDN multifunction printer, sourced from Brother's official Linux RPM packages. Checklist: - [x] Package was built and tested against unstable - [x] I agree to license this contribution and all my previous contributions under the licensing terms in LICENSE.md and have the power and authority to grant those licenses. --- packages/b/brother-mfc9140cdn/abi_used_libs32 | 2 + .../b/brother-mfc9140cdn/abi_used_symbols32 | 52 ++++++++++++++ packages/b/brother-mfc9140cdn/monitoring.yaml | 6 ++ packages/b/brother-mfc9140cdn/package.yml | 47 +++++++++++++ .../b/brother-mfc9140cdn/pspec_x86_64.xml | 68 +++++++++++++++++++ 5 files changed, 175 insertions(+) create mode 100644 packages/b/brother-mfc9140cdn/abi_used_libs32 create mode 100644 packages/b/brother-mfc9140cdn/abi_used_symbols32 create mode 100644 packages/b/brother-mfc9140cdn/monitoring.yaml create mode 100644 packages/b/brother-mfc9140cdn/package.yml create mode 100644 packages/b/brother-mfc9140cdn/pspec_x86_64.xml diff --git a/packages/b/brother-mfc9140cdn/abi_used_libs32 b/packages/b/brother-mfc9140cdn/abi_used_libs32 new file mode 100644 index 000000000000..0b7acb551439 --- /dev/null +++ b/packages/b/brother-mfc9140cdn/abi_used_libs32 @@ -0,0 +1,2 @@ +libc.so.6 +libm.so.6 diff --git a/packages/b/brother-mfc9140cdn/abi_used_symbols32 b/packages/b/brother-mfc9140cdn/abi_used_symbols32 new file mode 100644 index 000000000000..a3114778a2bd --- /dev/null +++ b/packages/b/brother-mfc9140cdn/abi_used_symbols32 @@ -0,0 +1,52 @@ +libc.so.6:_IO_putc +libc.so.6:__assert_fail +libc.so.6:__ctype_b_loc +libc.so.6:__errno_location +libc.so.6:__libc_start_main +libc.so.6:__strtol_internal +libc.so.6:calloc +libc.so.6:close +libc.so.6:exit +libc.so.6:fclose +libc.so.6:feof +libc.so.6:fflush +libc.so.6:fgetc +libc.so.6:fgets +libc.so.6:fopen +libc.so.6:fprintf +libc.so.6:fputs +libc.so.6:fread +libc.so.6:free +libc.so.6:fscanf +libc.so.6:fseek +libc.so.6:fwrite +libc.so.6:getenv +libc.so.6:gettimeofday +libc.so.6:localtime +libc.so.6:lseek +libc.so.6:malloc +libc.so.6:memcpy +libc.so.6:memset +libc.so.6:open +libc.so.6:printf +libc.so.6:read +libc.so.6:remove +libc.so.6:setbuf +libc.so.6:signal +libc.so.6:snprintf +libc.so.6:sprintf +libc.so.6:sscanf +libc.so.6:strcat +libc.so.6:strchr +libc.so.6:strcmp +libc.so.6:strcpy +libc.so.6:strncmp +libc.so.6:strncpy +libc.so.6:strrchr +libc.so.6:strstr +libc.so.6:system +libc.so.6:time +libc.so.6:vfprintf +libc.so.6:vsprintf +libc.so.6:write +libm.so.6:pow diff --git a/packages/b/brother-mfc9140cdn/monitoring.yaml b/packages/b/brother-mfc9140cdn/monitoring.yaml new file mode 100644 index 000000000000..5dec52f923ee --- /dev/null +++ b/packages/b/brother-mfc9140cdn/monitoring.yaml @@ -0,0 +1,6 @@ +releases: + id: ~ # Check https://release-monitoring.org/projects/search/ + rss: ~ # For example https://github.com/PyO3/maturin/releases.atom + # No known CPE, checked 2026-06-20 +security: + cpe: ~ diff --git a/packages/b/brother-mfc9140cdn/package.yml b/packages/b/brother-mfc9140cdn/package.yml new file mode 100644 index 000000000000..726866cd4c7d --- /dev/null +++ b/packages/b/brother-mfc9140cdn/package.yml @@ -0,0 +1,47 @@ +# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json +name : brother-mfc9140cdn +version : 1.1.4 +release : 1 +source : + - https://download.brother.com/welcome/dlf100406/mfc9140cdncupswrapper-1.1.4-0.i386.rpm : dadbb924f2d8eebe315397dd8b2ed104b36467177f192b11feb9096de3ef5a95 + - https://download.brother.com/welcome/dlf100404/mfc9140cdnlpr-1.1.2-1.i386.rpm : c4a9dafe1ba141c801f9ae68e0297cbfed424bfb0dc2232e2515bd33583db2ba +homepage : https://global.brother +license : + - Distributable + - GPL-2.0-or-later +component : drivers.printer +extract : false +strip : false +summary : Printer driver for Brother MFC-9140CDN +description: | + Printer driver for Brother MFC-9140CDN. + Note that some portions are binary and provided for hardware enablement so may not meet typical Solus packaging standards for paths. +builddeps : + - rpm +rundeps : + - a2ps + - ghostscript + - glibc-32bit + - psutils +setup : | + # Extract rpms + for i in $sources/*.rpm; do + rpm2cpio ${i} | cpio -idmv + done +install : | + install -d -m 00755 $installdir + # Install rpm files + mv opt $installdir/ + + # PPD + install -d -m 00755 $installdir/usr/share/cups/model/Brother + install -m 00644 $installdir/opt/brother/Printers/mfc9140cdn/cupswrapper/brother_mfc9140cdn_printer_en.ppd \ + $installdir/usr/share/cups/model/Brother/ + + # Filtry CUPS + install -d -m 00755 $installdir/usr/lib/cups/filter + ln -s /opt/brother/Printers/mfc9140cdn/lpd/filtermfc9140cdn \ + $installdir/usr/lib/cups/filter/filtermfc9140cdn + ln -s /opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn \ + $installdir/usr/lib/cups/filter/cupswrappermfc9140cdn + %install_license diff --git a/packages/b/brother-mfc9140cdn/pspec_x86_64.xml b/packages/b/brother-mfc9140cdn/pspec_x86_64.xml new file mode 100644 index 000000000000..d8ddb4df7270 --- /dev/null +++ b/packages/b/brother-mfc9140cdn/pspec_x86_64.xml @@ -0,0 +1,68 @@ + + + brother-mfc9140cdn + https://global.brother + + aquila.pl + aquilapl@int.pl + + Distributable + GPL-2.0-or-later + drivers.printer + Printer driver for Brother MFC-9140CDN + Printer driver for Brother MFC-9140CDN. +Note that some portions are binary and provided for hardware enablement so may not meet typical Solus packaging standards for paths. + + https://sources.getsol.us/README.Solus + + + brother-mfc9140cdn + Printer driver for Brother MFC-9140CDN + Printer driver for Brother MFC-9140CDN. +Note that some portions are binary and provided for hardware enablement so may not meet typical Solus packaging standards for paths. + + drivers.printer + + /opt/brother/Printers/mfc9140cdn/cupswrapper/brcupsconfpt1 + /opt/brother/Printers/mfc9140cdn/cupswrapper/brother_mfc9140cdn_printer_en.ppd + /opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn + /opt/brother/Printers/mfc9140cdn/inf/ImagingArea + /opt/brother/Printers/mfc9140cdn/inf/brmfc9140cdnfunc + /opt/brother/Printers/mfc9140cdn/inf/brmfc9140cdnrc + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-c-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-c_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-k-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-k_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-m-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-m_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-y-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/0600-y_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-c-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-c_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-k-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-k_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-m-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-m_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-y-TS_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/lut/capt-y_cache12.bin + /opt/brother/Printers/mfc9140cdn/inf/paperinfij2 + /opt/brother/Printers/mfc9140cdn/inf/setupPrintcapij + /opt/brother/Printers/mfc9140cdn/lpd/brmfc9140cdnfilter + /opt/brother/Printers/mfc9140cdn/lpd/filtermfc9140cdn + /opt/brother/Printers/mfc9140cdn/lpd/psconvertij2 + /usr/lib/cups/filter/cupswrappermfc9140cdn + /usr/lib/cups/filter/filtermfc9140cdn + /usr/share/cups/model/Brother/brother_mfc9140cdn_printer_en.ppd + /usr/share/licenses/brother-mfc9140cdn + + + + + 2026-06-20 + 1.1.4 + Packaging update + aquila.pl + aquilapl@int.pl + + + \ No newline at end of file