cups/cups-1.3.3-pswrite.patch

28 lines
1.4 KiB
Diff

--- cups-1.3.3/conf/mime.types.orig 2007-10-15 18:42:58.000000000 +0200
+++ cups-1.3.3/conf/mime.types 2007-10-15 18:44:56.000000000 +0200
@@ -76,7 +76,10 @@
(contains(0,4096,<0a>%!) + \
!contains(0,4096,"ENTER LANGUAGE")))
#application/x-dvi dvi string(0,<F702>)
-application/netscape-ps ps (string(0,%!) + contains(30,200,"Mozilla"))
+application/mozilla-ps ps (string(0,%!) + \
+ contains(30,200,"Creator: Mozilla PostScript"))
+application/netscape-ps ps (string(0,%!) + \
+ contains(30,200,"Creator: Mozilla (NetScape)"))
application/vnd.hp-HPGL hpgl \
string(0,<1B>E<1B>%0B) \
string(0,<1B>%-1B) string(0,<201B>)\
--- cups-1.3.3/conf/mime.convs.in.orig 2007-10-15 18:42:58.000000000 +0200
+++ cups-1.3.3/conf/mime.convs.in 2007-10-15 18:46:39.000000000 +0200
@@ -41,7 +41,9 @@
application/pdf application/postscript 33 pdftops
application/postscript application/vnd.cups-postscript 66 pstops
#application/x-dvi application/postscript 50 dvitops
-application/netscape-ps application/vnd.cups-postscript 33 ogonki
+application/netscape-ps application/postscript 33 ogonki
+#application/mozilla-ps application/postscript 33 pswrite
+application/mozilla-ps application/vnd.cups-postscript 66 pstops
application/vnd.hp-HPGL application/postscript 66 hpgltops
application/x-cshell application/postscript 33 texttops
application/x-csource application/postscript 33 texttops