stefan-langenmaier / brother-overlay

Portage overlay for Brother printer and scanner software
GNU General Public License v3.0
34 stars 42 forks source link

Brother MFC-6490CW CUPS and LPR support #72

Closed mehw closed 4 years ago

mehw commented 5 years ago

Hi!

The printer-drivers overlay had been recently removed from repositories.xml.

I do have a Brother MFC-6490CW printer/scanner (inherited from my grandpa), and I'm happy to see that brother-overlay provides a way to install the scanner driver.

What about CUPS and LPR drivers...?

Is it possible/useful to add them to brother-overlay?

Also, MFC-6490CW isn't listed in the Gentoo's Brother networked printer guide.

A quick CUPS/LPR drivers fix is to add the printer-drivers overlay back via a layman's overlay xml file:

/etc/layman/overlays/printer-drivers.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
  <repo quality="experimental" status="unofficial">
    <name>printer-drivers</name>
    <description lang="en">User-submitted ebuilds for printer drivers</description>
    <homepage>https://cgit.gentoo.org/proj/printer-drivers.git/</homepage>
    <owner type="project">
      <email>printing@gentoo.org</email>
      <name>Gentoo printing team</name>
    </owner>
    <source type="git">https://anongit.gentoo.org/git/proj/printer-drivers.git</source>
    <source type="git">git://anongit.gentoo.org/proj/printer-drivers.git</source>
    <source type="git">git+ssh://git@git.gentoo.org/proj/printer-drivers.git</source>
    <feed>https://cgit.gentoo.org/proj/printer-drivers.git/atom/</feed>
    <!-- <feed>https://cgit.gentoo.org/proj/printer-drivers.git/rss/</feed> -->
  </repo>
</repositories>

Another way explained in brother-overlay's README.md is via a portage's ebuild repository:

/etc/portage/repos.conf/printer-drivers.conf

[printer-drivers]
location = /usr/local/portage/overlays/printer-drivers
sync-type = git
sync-uri = https://anongit.gentoo.org/git/proj/printer-drivers.git
auto-sync = yes

What do you think? Should the Brother MFC-6490CW's CUPS and LPR drivers be added to brother-overlay?

stefan-langenmaier commented 4 years ago

Hi @mehw ,

sorry I haven't responded yet and thanks a lot for your very detailed issue. First of all I didn't even know about the printer-drivers overlay. :) In general I would be more than happy to add an ebuild for this printer to the overlay.

mehw commented 4 years ago

Hi @stefan-langenmaier,

sorry I haven't responded yet and thanks a lot for your very detailed issue.

don't worry I'm pretty busy too...

In general I would be more than happy to add an ebuild for this printer to the overlay.

Should I open a PR? I don't want to take the credit for ebuilds which are alredy in the printer-drivers overlay...

brother-mfc6490cw-cups:

brother-mfc6490cw-lpr:

Let me know what you plan to do. Thanks!

stefan-langenmaier commented 4 years ago

Hey,

if you can open a pull request that'd be excellent. Currently all printer ebuilds in this repo install the lpr and cups drivers together and I'd like to keep with this for the sake of consistency. Do you think you can create a "merged" ebuild. I'm sure you can mention where you have the original idea/ebuilds from. :) But technically/license-wise it shouldn't be an issue to use them in this repository aswell.

Cheers!

mehw commented 4 years ago

if you can open a pull request that'd be excellent.

Ok @stefan-langenmaier... PR #75 created...

Do you think you can create a "merged" ebuild. I'm sure you can mention where you have the original idea/ebuilds from. :)

All the above done.

So, I'm going to close this issue now. The conversation may continue in the PR.

Cheers!