- Leave gutenprint-recommended printers alone, rather than pointing them to

gimp-print as before.
This commit is contained in:
Tim Waugh 2007-01-11 19:14:48 +00:00
parent 19bd3cf4d0
commit 78e9fd8c3e

View File

@ -8,7 +8,7 @@
Summary: Foomatic printer database.
Name: foomatic
Version: 3.0.2
Release: 44%{?dist}
Release: 45%{?dist}
License: GPL
Group: System Environment/Libraries
@ -121,16 +121,7 @@ tar xjf %{SOURCE5}
# Fix up 'gimp-print' references to point to 'gimp-print-ijs'.
perl -pi -e 's,>gimp-print<,>gimp-print-ijs<,' printer/*.xml
# Recommend gimp-print-ijs instead of gutenprint for each printer that
# 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.
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
# Remove references to foo2zjs and foo2oak (bug #208851).
@ -282,6 +273,10 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_var}/cache/foomatic
%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
- Removed m2300w files (bug #203381).