- Leave gutenprint-recommended printers alone, rather than pointing them to
gimp-print as before.
This commit is contained in:
parent
19bd3cf4d0
commit
78e9fd8c3e
@ -8,7 +8,7 @@
|
|||||||
Summary: Foomatic printer database.
|
Summary: Foomatic printer database.
|
||||||
Name: foomatic
|
Name: foomatic
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 44%{?dist}
|
Release: 45%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
@ -121,16 +121,7 @@ tar xjf %{SOURCE5}
|
|||||||
# Fix up 'gimp-print' references to point to 'gimp-print-ijs'.
|
# Fix up 'gimp-print' references to point to 'gimp-print-ijs'.
|
||||||
perl -pi -e 's,>gimp-print<,>gimp-print-ijs<,' printer/*.xml
|
perl -pi -e 's,>gimp-print<,>gimp-print-ijs<,' printer/*.xml
|
||||||
|
|
||||||
# Recommend gimp-print-ijs instead of gutenprint for each printer that
|
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
||||||
# gimp-print-ijs can actually drive.
|
|
||||||
sed -ne 's,^.*<id>printer/\(.*\)</id>.*$,\1,p' \
|
|
||||||
foomatic-3.0.2/foomatic-db-20061031/db/source/driver/gimp-print-ijs.xml |\
|
|
||||||
while read f; do
|
|
||||||
perl -pi -e 's,>gutenprint<,>gimp-print-ijs<,' \
|
|
||||||
foomatic-3.0.2/foomatic-db-20061031/db/source/printer/$f.xml
|
|
||||||
done
|
|
||||||
|
|
||||||
# For any remaining gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
|
||||||
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
||||||
|
|
||||||
# Remove references to foo2zjs and foo2oak (bug #208851).
|
# Remove references to foo2zjs and foo2oak (bug #208851).
|
||||||
@ -282,6 +273,10 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
%{_var}/cache/foomatic
|
%{_var}/cache/foomatic
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 11 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-45
|
||||||
|
- Leave gutenprint-recommended printers alone, rather than pointing them
|
||||||
|
to gimp-print as before.
|
||||||
|
|
||||||
* Tue Jan 9 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-44
|
* Tue Jan 9 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-44
|
||||||
- Removed m2300w files (bug #203381).
|
- Removed m2300w files (bug #203381).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user