Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2001 09:45:33 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        doc@freebsd.org
Cc:        "David O'Brien" <obrien@freebsd.org>
Subject:   HEADS-UP: Using www/links instead of www/w3m
Message-ID:  <20010305094533.A2652@canyon.nothing-going-on.org>
In-Reply-To: <20010228105140.A59615@canyon.nothing-going-on.org>; from nik@freebsd.org on Wed, Feb 28, 2001 at 10:51:40AM %2B0000
References:  <200102202001.f1KK1Wn35420@freefall.freebsd.org> <18731.982779702@axl.fw.uunet.co.za> <20010222002023.A11532@canyon.nothing-going-on.org> <3A950131.97836B48@urx.com> <20010222182844.B42668@canyon.nothing-going-on.org> <20010223033303.D1785@dragon.nuxi.com> <20010224041948.C47861@canyon.nothing-going-on.org> <20010227132304.B67703@dragon.nuxi.com> <20010228105140.A59615@canyon.nothing-going-on.org>

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

[-- Attachment #1 --]
It's possible no one paid much attention to this, since the subject line
wasn't terribly descriptive.  I'm resending.  If there's no feedback by
mid-week I'll assume the change is benign for the translators, and
commit.

N

On Wed, Feb 28, 2001 at 10:51:40AM +0000, Nik Clayton wrote:
> On Tue, Feb 27, 2001 at 01:23:04PM -0800, David O'Brien wrote:
> > On Sat, Feb 24, 2001 at 04:19:52AM +0000, Nik Clayton wrote:
> > > For OpenJade you can use -DOPENJADE.
> > 
> > Can you add logic to the Makefile such that it is defined if running on
> > the Alpha?
> 
> See patch.
> 
> > > There's no replacement for w3m yet.  Does links (ports/www/links) work
> > > on the Alpha, and does it handle tables?
> > 
> > It works on the Alpha.  It claims to handle tables, but you would be a
> > better judge if links or lynx is better.
> 
> Attached is a patch that turns on OpenJade if running on the Alpha, and
> uses links instead of w3m.  I'll also need to update the docproj port to
> pull in www/links instead of w3m/lynx as necessary.
> 
> I'd be grateful if people could test this out.  The output from links is
> slightly different to the output from w3m, but I think it's a bit more
> readable.
> 
> However, I have done *no* testing on the translations.  Please could the
> translation teams check that this does the right thing for them.
> 
> Cheers.  I'd like to commit this by the end of the week.
> 
> N
> -- 
> Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
> Telephone line, $24.95 a month.  Software, free.  USENET transmission,
> hundreds if not thousands of dollars.  Thinking before posting, priceless.
> Somethings in life you can't buy.  For everything else, there's MasterCard.
>   -- Graham Reed, in the Scary Devil Monastery

Index: doc.docbook.mk
===================================================================
RCS file: /home/ncvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.27
diff -u -r1.27 doc.docbook.mk
--- doc.docbook.mk	2001/02/26 22:56:59	1.27
+++ doc.docbook.mk	2001/02/28 10:47:56
@@ -53,7 +53,7 @@
 
 MASTERDOC?=	${.CURDIR}/${DOC}.${DOCBOOKSUFFIX}
 
-.if !defined(OPENJADE)
+.if !defined(OPENJADE) || ${MACHINE_ARCH} == "alpha"
 JADE?=		${PREFIX}/bin/jade
 JADECATALOG?=	${PREFIX}/share/sgml/jade/catalog
 NSGMLS?=	${PREFIX}/bin/nsgmls
@@ -226,7 +226,7 @@
 	tar uf ${.TARGET} ${IMAGES_PNG}
 
 ${DOC}.txt: ${DOC}.html-text
-	w3m -T text/html -S -dump ${.ALLSRC} > ${.TARGET}
+	links -dump ${.ALLSRC} > ${.TARGET}
 
 ${DOC}.pdb: ${DOC}.html
 	iSiloBSD -y -d0 -Idef ${DOC}.html ${DOC}.pdb


-- 
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjqjYDwACgkQk6gHZCw343WT9QCfTbQQYQ/VLB+k+/9Vcj/Df190
j98AoIXEtQrgpaErwycJnOmq/XtxggqA
=BvZG
-----END PGP SIGNATURE-----
help

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