Package: gnome-gv
Version: 1:2.8.3-0ubuntu1
Severity: normal
Tags: patch
The file open dialog for gnome-gv specifies "application/postscript" as
it's only valid mime type for documents, but it can also open eps
documents, which have the mime type image/x-eps. Patch to fix this
attached. I'm running the Ubuntu version of it currently, but this patch
should fix the earlier Debian version as well.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (103, 'testing'), (102, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gnome-gv depends on:
ii desktop-file-utils 0.9-1ubuntu1 Utilities for .desktop files
ii gconf2 2.9.91-0ubuntu1 GNOME configuration database syste
ii gs-esp [gs] 7.07.1-9ubuntu2 The Ghostscript PostScript interpr
ii gs-gpl [gs] 8.01-5 The GPL Ghostscript PostScript int
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.9.0-1 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-5 Open-source version of SGI's audio
ii libbonobo2-0 2.8.1-2 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.8.1-1 The Bonobo UI library
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libesd0 0.2.35-2ubuntu2 Enlightened Sound Daemon - Shared
ii libgconf2-4 2.9.91-0ubuntu1 GNOME configuration database syste
ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.6.2-1 The GLib library of C routines
ii libgnome-keyring0 0.4.1-1 GNOME keyring services library
ii libgnome2-0 2.9.1-0ubuntu1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.9.1-0ubuntu1 A powerful object-oriented display
ii libgnomeui-0 2.9.1-0ubuntu1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.9.91-0ubuntu1 The GNOME virtual file-system libr
ii libgnutls11 1.0.16-9 GNU TLS library - runtime library
ii libgpg-error0 1.0-1 library for common error values an
ii libgtk2.0-0 2.6.2-3 The GTK+ graphical user interface
ii libhowl0 0.9.8-2 Library for Zeroconf service disco
ii libice6 6.8.1-1ubuntu12 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii liborbit2 1:2.12.1-0ubuntu1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.8.0-3 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libsm6 6.8.1-1ubuntu12 X Window System Session Management
ii libtasn1-2 0.2.10-3 Manage ASN.1 structures (runtime)
ii libx11-6 6.8.1-1ubuntu12 X Window System protocol client li
ii libxml2 2.6.17-0ubuntu1 GNOME XML library
ii scrollkeeper 0.3.14-9.1 A free electronic cataloging syste
ii xlibs 6.8.1-1ubuntu12 X Window System client libraries m
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
--- src/ggv-window.c.old 2005-02-28 14:48:41.000000000 +0100
+++ src/ggv-window.c 2005-02-28 14:48:56.000000000 +0100
@@ -329,6 +329,7 @@
ps_filter = gtk_file_filter_new();
gtk_file_filter_set_name(ps_filter, _("PostScript Documents"));
gtk_file_filter_add_mime_type(ps_filter, "application/postscript");
+ gtk_file_filter_add_mime_type(ps_filter, "image/x-eps");
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(chooser), ps_filter);
/* second: all files filter */