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

Bug 4200

Summary: ghostscript-7.05.ebuild update; Added Brother HL-1250 driver
Product: Gentoo Linux Reporter: Bardur Arantsson <bugs-gentoo.org>
Component: New packagesAssignee: Grant Goodyear (RETIRED) <g2boojum>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gs7.05-gdevhl12.c
ghostscript-7.05-hl1250-ebuild.patch
gs-7.05-r1.patch

Description Bardur Arantsson 2002-06-26 12:15:12 UTC
Hi,  
  
For some reason support for the Brother HL-1250 printer was never activated in  
gs 6.53 and the driver dissappeared from the gs 7.xx source. However, I've  
been using the old driver from 6.53 in 7.05 with great success (only 1200x600  
DPI mode has been thoroughly tested, but the other modes have worked for me in  
the past).  
  
I've created a patch against the 7.05 ebuild (attached as  
ghostscript-7.05-hl1250.patch), and attached the driver file itself (copied  
exactly as-was from the gs 6.53 source). The driver file ("gs7.05-gdevhl12.c") 
should be put in the "files/" subdirectory of the ghostscript package.  
  
The changes to the ebuild simply copy the driver to the proper source  
directory and ensure that the driver is included in the build. This is done 
via a sed command, since patching the Makefile.in would conflict with the 
patch for the lxm3200 driver.
Comment 1 Bardur Arantsson 2002-06-26 12:16:18 UTC
Created attachment 1821 [details]
gs7.05-gdevhl12.c
Comment 2 Bardur Arantsson 2002-06-26 12:18:25 UTC
Created attachment 1822 [details, diff]
ghostscript-7.05-hl1250-ebuild.patch
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2002-06-28 15:50:54 UTC
Would you mind hacking a patch for the 7.05-r1 ebuild?

Thanks,
g2boojum
Comment 4 Bardur Arantsson 2002-06-28 16:41:56 UTC
I've updated the patch and attached it. 
 
Comment 5 Bardur Arantsson 2002-06-28 16:42:52 UTC
Created attachment 1862 [details, diff]
gs-7.05-r1.patch
Comment 6 Grant Goodyear (RETIRED) gentoo-dev 2002-07-03 22:18:14 UTC
Compiled, so I'm assuming it works.  Sorry it took me so long.  Thanks!

Comment 7 Bardur Arantsson 2002-07-11 16:32:03 UTC
The small patch to the ebuild which actually enables the driver has not *not*  
been applied yet. It works fine (also with 7.05-r2), although you need to 
change the file name in the patch file. 
  
Comment 8 Grant Goodyear (RETIRED) gentoo-dev 2002-07-12 13:54:07 UTC
hl1250 shows up in my "gs --help", so I'm guessing it works.  Sorry for the 
previous brain damage on my part.