From owner-freebsd-gnome Fri Feb 1 7: 8:30 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from ja.mhd.mh.se (ja.mhd.mh.se [193.10.250.95]) by hub.freebsd.org (Postfix) with ESMTP id 2E6E837B402 for ; Fri, 1 Feb 2002 07:08:27 -0800 (PST) Received: from mainframe.mhd.mh.se (mainframe.mhd.mh.se [10.119.1.16]) by ja.mhd.mh.se (Postfix) with ESMTP id A59F85703C for ; Fri, 1 Feb 2002 16:08:24 +0100 (CET) Received: (from stok@localhost) by mainframe.mhd.mh.se (8.11.6/8.11.6) id g11GDUQ04520 for gnome@freebsd.org; Fri, 1 Feb 2002 17:13:30 +0100 X-Authentication-Warning: mainframe.mhd.mh.se: stok set sender to stok@mhd.mh.se using -f Date: Fri, 1 Feb 2002 17:13:30 +0100 From: Tomas Kindahl To: gnome@freebsd.org Subject: bug report + patch for ggv 1.0.2 Message-ID: <20020201161330.GG240@mhd.mh.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, there is a bug in print/ggv 1.0.2 from ports which prevents one from viewing .pdf files. The bug is fixed in the gnome cvs and ggv unstable release, so I didn't bother contacting the maintainer. / Tomas Kindahl Patch: --- ggv-1.0.2/src/gtkgs.c Tue Oct 23 23:37:33 2001 +++ ggv-1.0.2-new/src/gtkgs.c Thu Jan 31 22:59:59 2002 @@ -1273,7 +1273,7 @@ fname = ggv_quote_filename (filename); filename_dsc = tempnam (g_get_tmp_dir(), "dsc"); filename_err = tempnam (g_get_tmp_dir(), "err"); - cmd = g_strdup_printf (gs_scan_pdf_cmd, "\"", fname ,"\"", "\", filename_dsc"); + cmd = g_strdup_printf (gs_scan_pdf_cmd, fname, filename_dsc); g_free (fname); /* this command (sometimes?) prints error messages to stdout! */ cmdline = g_strdup_printf ("%s >%s 2>&1", cmd, filename_err); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message