[OpenIndiana-discuss] Configuring Brother MFC-7360N on Hipster How?

benn benny.lyons at gmx.net
Sun Jun 1 14:14:21 UTC 2025


On Sat, 2025-05-31 at 21:28 +0000, Reginald Beardsley via openindiana-
discuss wrote:
> Brother provides .rpm and .deb files for the printer which is
> attached via wired ethernet.
> The OI printer database doesn't include a driver.  Brother only
> offers .rpm and .deb files for Linux and then various files for MacOS
> X by release.
> 
> Is there an OI native way to extract the PPD from a .rpm or .deb
> file...
If you've got access to Debian, then 'dpkg' is probably easiest:
# Retrieve the relevant Debian package, e.g., whatever.deb, using wget,
curl, ...
# List all individual files ending in '.ppd'
  > dpkg -c whatever.deb | grep -o '\w*\.svg\b'
...

If you do not have access to dpkg, i.e., on OI, then you can process 
Debian packages using 'ar', as a Debian package is simply a Unix
archive, so 'ar' on any Unix machine should do. However, a Debian
package contains compressed tar files, one of which contains the files
that would be listed above using dpkg -c:
  # List contents of whatever.deb
  > ar  tvf whatever.deb
Lists a couple of archive files whatever.tar.xz, ...
Now, one of these compressed tar files is what you require.
So, do something like this (using ar and tar):
  # extract Debain package
  > ar xvf whatever.deb
  # list and find *.ppd
  > tar tvf something1.tar.xx |  grep -o '\w*\.svg\b'
  # If this file contains *ppd files, then extract
  > tar xvf something1.tar.xx 
  # Otherwise try the other archive until you obtain your *ppd files

> ... and install it on Hipster 2024.10?
 'There's the rub'. 
Obtaining the *.ppd files is the easy part. 
To my experience, you would have to produce an OI package, well,
actually a component, as OI doesn't really have packages, and publish
your component to hipster or wherever. One possible route to success, I
assume, would be to look under oi-userland/components for some other
component that contains *ppd files. Then use that as a template to
create your own component.

Beware, I have not tested any of the aforementioned; and there might be
other way. 
> Reg
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
Benn
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the openindiana-discuss mailing list