Changeset 3833

Show
Ignore:
Timestamp:
04/21/09 12:39:05 (11 months ago)
Author:
kris
Message:

Added our fix to CUPS, which corrects issues with foomatic and such not respecting LOCALBASE properly

Location:
pcbsd
Files:
14 added
4 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk-current/system-overlay/PCBSD/local/bin/foomatic-rip

    r3822 r3833  
    4848 
    4949# CUPS raster drivers are searched here 
    50 my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
     50my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
    5151 
    5252# Location of the configuration file "filter.conf", this file can be 
  • pcbsd/trunk-current/system-overlay/PCBSD/local/libexec/cups/filter/foomatic-rip-hplip

    r3822 r3833  
    4848 
    4949# CUPS raster drivers are searched here 
    50 my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/PCBSD/lib/cups/filter"; 
     50my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
    5151 
    5252# Location of the configuration file "filter.conf", this file can be 
     
    10121012        } elsif (-r "/etc/cups/ppd/${printer}.ppd") { # CUPS config dir 
    10131013            $ppdfile = "/etc/cups/ppd/${printer}.ppd"; 
    1014         } elsif (-r "/PCBSD/local/etc/cups/ppd/${printer}.ppd") { 
    1015             $ppdfile = "/PCBSD/local/etc/cups/ppd/${printer}.ppd"; 
     1014        } elsif (-r "/usr/local/etc/cups/ppd/${printer}.ppd") { 
     1015            $ppdfile = "/usr/local/etc/cups/ppd/${printer}.ppd"; 
    10161016        } elsif (-r "/usr/share/ppr/PPDFiles/${printer}.ppd") { # PPR PPDs 
    10171017            $ppdfile = "/usr/share/ppr/PPDFiles/${printer}.ppd"; 
    1018         } elsif (-r "/PCBSD/local/share/ppr/PPDFiles/${printer}.ppd") { 
    1019             $ppdfile = "/PCBSD/local/share/ppr/PPDFiles/${printer}.ppd"; 
     1018        } elsif (-r "/usr/local/share/ppr/PPDFiles/${printer}.ppd") { 
     1019            $ppdfile = "/usr/local/share/ppr/PPDFiles/${printer}.ppd"; 
    10201020        } else { 
    10211021            rip_die ("There is no readable PPD file for the printer " . 
  • pcbsd/trunk/system-overlay/PCBSD/local/bin/foomatic-rip

    r3822 r3833  
    4848 
    4949# CUPS raster drivers are searched here 
    50 my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
     50my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
    5151 
    5252# Location of the configuration file "filter.conf", this file can be 
  • pcbsd/trunk/system-overlay/PCBSD/local/libexec/cups/filter/foomatic-rip-hplip

    r3822 r3833  
    4848 
    4949# CUPS raster drivers are searched here 
    50 my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/PCBSD/lib/cups/filter"; 
     50my $cupsfilterpath = "/PCBSD/local/lib/cups/filter:/PCBSD/local/lib/cups/filter:/PCBSD/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; 
    5151 
    5252# Location of the configuration file "filter.conf", this file can be 
     
    10121012        } elsif (-r "/etc/cups/ppd/${printer}.ppd") { # CUPS config dir 
    10131013            $ppdfile = "/etc/cups/ppd/${printer}.ppd"; 
    1014         } elsif (-r "/PCBSD/local/etc/cups/ppd/${printer}.ppd") { 
    1015             $ppdfile = "/PCBSD/local/etc/cups/ppd/${printer}.ppd"; 
     1014        } elsif (-r "/usr/local/etc/cups/ppd/${printer}.ppd") { 
     1015            $ppdfile = "/usr/local/etc/cups/ppd/${printer}.ppd"; 
    10161016        } elsif (-r "/usr/share/ppr/PPDFiles/${printer}.ppd") { # PPR PPDs 
    10171017            $ppdfile = "/usr/share/ppr/PPDFiles/${printer}.ppd"; 
    1018         } elsif (-r "/PCBSD/local/share/ppr/PPDFiles/${printer}.ppd") { 
    1019             $ppdfile = "/PCBSD/local/share/ppr/PPDFiles/${printer}.ppd"; 
     1018        } elsif (-r "/usr/local/share/ppr/PPDFiles/${printer}.ppd") { 
     1019            $ppdfile = "/usr/local/share/ppr/PPDFiles/${printer}.ppd"; 
    10201020        } else { 
    10211021            rip_die ("There is no readable PPD file for the printer " .