-
-
Notifications
You must be signed in to change notification settings - Fork 140
brother-mfc9140cdn: New package #9362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| libc.so.6 | ||
| libm.so.6 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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: ~ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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/ | ||
|
Comment on lines
+37
to
+39
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be combined into a single line: install -Dm 00644 $installdir/opt/brother/Printers/mfc9140cdn/cupswrapper/brother_mfc9140cdn_printer_en.ppd \
-t $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 | ||
|
Comment on lines
+43
to
+46
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A better practice is to use the ln -srv $installdir/opt/brother/Printers/mfc9140cdn/lpd/filtermfc9140cdn \
$installdir/usr/lib/cups/filter/filtermfc9140cdn
ln -srv $installdir/opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn \
$installdir/usr/lib/cups/filter/cupswrappermfc9140cdn |
||
| %install_license | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need to pass a list of files to this macro for it to do anything. Unfortunately, Brother doesn't include any license files in the RPMs. From my understanding, a future CUPS on the horizon is going to make all of these drivers obsolete, so I guess this problem will solve itself. Let's just remove the macro call entirely. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| <PISI> | ||
| <Source> | ||
| <Name>brother-mfc9140cdn</Name> | ||
| <Homepage>https://global.brother</Homepage> | ||
| <Packager> | ||
| <Name>aquila.pl</Name> | ||
| <Email>aquilapl@int.pl</Email> | ||
| </Packager> | ||
| <License>Distributable</License> | ||
| <License>GPL-2.0-or-later</License> | ||
| <PartOf>drivers.printer</PartOf> | ||
| <Summary xml:lang="en">Printer driver for Brother MFC-9140CDN</Summary> | ||
| <Description xml:lang="en">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. | ||
| </Description> | ||
| <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive> | ||
| </Source> | ||
| <Package> | ||
| <Name>brother-mfc9140cdn</Name> | ||
| <Summary xml:lang="en">Printer driver for Brother MFC-9140CDN</Summary> | ||
| <Description xml:lang="en">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. | ||
| </Description> | ||
| <PartOf>drivers.printer</PartOf> | ||
| <Files> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/cupswrapper/brcupsconfpt1</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/cupswrapper/brother_mfc9140cdn_printer_en.ppd</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/ImagingArea</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/brmfc9140cdnfunc</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/brmfc9140cdnrc</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-c-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-c_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-k-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-k_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-m-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-m_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-y-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/0600-y_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-c-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-c_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-k-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-k_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-m-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-m_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-y-TS_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/lut/capt-y_cache12.bin</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/paperinfij2</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/inf/setupPrintcapij</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/lpd/brmfc9140cdnfilter</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/lpd/filtermfc9140cdn</Path> | ||
| <Path fileType="data">/opt/brother/Printers/mfc9140cdn/lpd/psconvertij2</Path> | ||
| <Path fileType="library">/usr/lib/cups/filter/cupswrappermfc9140cdn</Path> | ||
| <Path fileType="library">/usr/lib/cups/filter/filtermfc9140cdn</Path> | ||
| <Path fileType="data">/usr/share/cups/model/Brother/brother_mfc9140cdn_printer_en.ppd</Path> | ||
| <Path fileType="data">/usr/share/licenses/brother-mfc9140cdn</Path> | ||
| </Files> | ||
| </Package> | ||
| <History> | ||
| <Update release="1"> | ||
| <Date>2026-06-20</Date> | ||
| <Version>1.1.4</Version> | ||
| <Comment>Packaging update</Comment> | ||
| <Name>aquila.pl</Name> | ||
| <Email>aquilapl@int.pl</Email> | ||
| </Update> | ||
| </History> | ||
| </PISI> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
monitoring.yamlfile should look like this for packages that won't ever benefit from it.