From owner-freebsd-gnome@freebsd.org Sat Jul 9 00:03:58 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A907B85E53 for ; Sat, 9 Jul 2016 00:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 337D31012 for ; Sat, 9 Jul 2016 00:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2F33EB85E52; Sat, 9 Jul 2016 00:03:58 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ED8CB85E51 for ; Sat, 9 Jul 2016 00:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E0591010 for ; Sat, 9 Jul 2016 00:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6903v69038209 for ; Sat, 9 Jul 2016 00:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 210927] x11/yelp: Does not display man pages, Illegal option -Z Date: Sat, 09 Jul 2016 00:03:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rvernica@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 00:03:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210927 --- Comment #1 from Rares Vernica --- I tried to fix this, but I got stuck. Here is what I tried. I patched the "libyelp/yelp-man-parse.c" file: --- a/libyelp/yelp-man-parser.c +++ b/libyelp/yelp-man-parser.c @@ -369,7 +369,7 @@ get_troff (gchar *path, GError **error) { gint ystdout; GError *err =3D NULL; - const gchar *argv[] =3D { "man", "-Z", "-Tutf8", "-EUTF-8", path, NULL= }; + const gchar *argv[] =3D { "man", "-t", path, NULL }; gchar **my_argv; /* g_strdupv() should accept a "const gchar **". */ I replace "-Z" with "-t" and removed "-T" and "-E" arguments. Now, when I run it, I don't get any error on the "man" arguments on the console, but in the "yelp" window, I get: Unknown Error Wrong 'x res' line from troff: %%Creator: groff version 1.19.2 I am not sure how to proceed from here, but I am willing to try more. --=20 You are receiving this mail because: You are the assignee for the bug.=