Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 711458

Summary: net-print/brother-ql700-bin-3.1.5.0 (New Package)
Product: Gentoo Linux Reporter: Jeremy <jeremy>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: bob.mt.wya, jeremy, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: brother-ql700-bin-3.1.5.0-r1.ebuild
brother-ql700-bin-3.1.5.0-r2.ebuild

Description Jeremy 2020-03-03 22:28:23 UTC
Hi,

Attached please find ebuild to install the Brother binary drivers, etc. for the Brother QL-700 usb label printer. 

I suggest net-print/brother-ql700-bin
Comment 1 Jeremy 2020-03-03 22:30:49 UTC
Created attachment 617006 [details]
brother-ql700-bin-3.1.5.0-r1.ebuild
Comment 2 Jonas Stein gentoo-dev 2020-03-03 22:48:26 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

• Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman
• Please remove obsolete (and most of the empty) lines
• KEYWORDS need ~ after a version bump (or new ebuid) run ekeyword ~all YOUREBUILD
• please fix the header. (see /usr/portage/skel.ebuild and https://devmanual.gentoo.org/ebuild-writing/eapi/)
• A bot can look for additional mistakes, if you upload a PR via github
Comment 3 Jeremy 2020-03-04 18:18:40 UTC
OK, Jonas, I have made the changes you suggested and then run repoman -dx full :

RepoMan scours the neighborhood...
  LICENSE.invalid [fatal]       1
   net-print/brother-ql700-bin/brother-ql700-bin-3.1.5.0-r1.ebuild: brother-eula
  metadata.missing [fatal]      1
   net-print/brother-ql700-bin/metadata.xml
Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."
 
----------------------------

On the Brother website, I right-clicked on the frame showing the EULA
and save the html file to brother-eula and added it to my ebuild directory
and regenerated the manifest, but repoman doesn't like it. 

Also found the developer page for metadata.xml
but haven't created a minimal metadata.xml file yet. 

I can attach my current ebuild. Do I need to bump the version number to -r2
or distinguish it on this bug page somehow?
Comment 4 Jeremy 2020-03-09 15:31:45 UTC
Created attachment 617618 [details]
brother-ql700-bin-3.1.5.0-r2.ebuild

Updated ebuild.
Comment 5 Alex Orange 2020-05-19 21:38:25 UTC
I've found I need to change /opt/brother/PTouch/ql700/cupswrapper/brother_lpdwrapper_ql700 line 47 to:
my $basedir = `readlink -f $0`;

and chmod +x /opt/brother/PTouch/ql700/lpd/filter_ql700 /opt/brother/PTouch/ql700/lpd/rastertobrpt1

to get past a lot of errors. I'm still not getting anything to print. So I think this still needs work.
Comment 6 charles17 2020-05-19 22:18:06 UTC
(In reply to Alex Orange from comment #5)
> I've found I need to change
> /opt/brother/PTouch/ql700/cupswrapper/brother_lpdwrapper_ql700 line 47 to:
> my $basedir = `readlink -f $0`;
> 
> and chmod +x /opt/brother/PTouch/ql700/lpd/filter_ql700
> /opt/brother/PTouch/ql700/lpd/rastertobrpt1
> 
> to get past a lot of errors. I'm still not getting anything to print. So I
> think this still needs work.

You might alternatively try net-print/brlaser
Comment 7 Alex Orange 2020-10-05 19:11:27 UTC
(In reply to charles17 from comment #6)
> (In reply to Alex Orange from comment #5)
> > I've found I need to change
> > /opt/brother/PTouch/ql700/cupswrapper/brother_lpdwrapper_ql700 line 47 to:
> > my $basedir = `readlink -f $0`;
> > 
> > and chmod +x /opt/brother/PTouch/ql700/lpd/filter_ql700
> > /opt/brother/PTouch/ql700/lpd/rastertobrpt1
> > 
> > to get past a lot of errors. I'm still not getting anything to print. So I
> > think this still needs work.
> 
> You might alternatively try net-print/brlaser

Huh? brlaser does not report support for QL-700. Nor does that have anything to do with whether this ebuild should be used or not.
Comment 8 Alex Orange 2020-10-05 19:17:11 UTC
(In reply to Alex Orange from comment #5)
> I've found I need to change
> /opt/brother/PTouch/ql700/cupswrapper/brother_lpdwrapper_ql700 line 47 to:
> my $basedir = `readlink -f $0`;
> 
> and chmod +x /opt/brother/PTouch/ql700/lpd/filter_ql700
> /opt/brother/PTouch/ql700/lpd/rastertobrpt1
> 
> to get past a lot of errors. I'm still not getting anything to print. So I
> think this still needs work.

I apparently didn't get back to this after I got my printer to work. This works for me, you just need to know there's some stupid mode on the printer "editor lite" mode or something like that. Once you turn that off (the LED over it goes out) it prints fine. Frustrating manufacturer defect in my mind.

TL;DR: I support this ebuild for what it's worth.
Comment 9 Alex Orange 2020-10-05 19:39:50 UTC
One last thing I'd like to add, this driver also seems to work perfectly fine for the QL800 (just tested right now).