From owner-freebsd-gnome Sat Feb 2 10:19:16 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from sushi.sanyusan.se (h12n2fls34o835.telia.com [213.67.31.12]) by hub.freebsd.org (Postfix) with ESMTP id E720E37B404; Sat, 2 Feb 2002 10:19:10 -0800 (PST) Received: (from anders@localhost) by sushi.sanyusan.se (8.11.6/8.11.6) id g12IIoX53827; Sat, 2 Feb 2002 19:18:50 +0100 (CET) (envelope-from anders) Date: Sat, 2 Feb 2002 19:18:50 +0100 From: Anders Andersson To: Tomas Kindahl Cc: gnome@FreeBSD.ORG, sobomax@FreeBSD.ORG Subject: Re: bug report + patch for ggv 1.0.2 Message-ID: <20020202181850.GC295@sushi.sanyusan.se> References: <20020201161330.GG240@mhd.mh.se> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <20020201161330.GG240@mhd.mh.se> User-Agent: Mutt/1.3.27i 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 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 01, 2002 at 05:13:30PM +0100, Tomas Kindahl wrote: > 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. Maxim, I have tested this and the included patch works fine. Could you please commit this. Just add the attached patch to print/ggv/files and bump PORTREVISION maybe. -- Anders Andersson UNIX, Networking and Security consultant +46 (0)705 87 53 35 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src::gtkgs.c" --- src/gtkgs.c.orig Tue Oct 23 23:37:33 2001 +++ src/gtkgs.c Sat Feb 2 19:14:29 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); --lrZ03NoBR/3+SXJZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message