Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 19:18:50 +0100
From:      Anders Andersson <anders@hack.org>
To:        Tomas Kindahl <stok@mhd.mh.se>
Cc:        gnome@FreeBSD.ORG, sobomax@FreeBSD.ORG
Subject:   Re: bug report + patch for ggv 1.0.2
Message-ID:  <20020202181850.GC295@sushi.sanyusan.se>
In-Reply-To: <20020201161330.GG240@mhd.mh.se>
References:  <20020201161330.GG240@mhd.mh.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <anders@hack.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020202181850.GC295>