[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

TERM=vt100 for lynx in rules ?



Hi.

The debian/rules of ph2v23 has 

  lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text

But lynx do not work without TERM setting if build is started as a batch process
(using "at" for ex.)

Can you use this patch for debian/rules ?

 %%

--- rules.old   Fri Oct 27 01:35:43 2000
+++ rules       Fri Oct 27 01:36:37 2000
@@ -95,7 +95,7 @@
        # build Debian's X server wrapper
        $(CC) -Wall -g -O2 -o debian/local/xserver-wrapper debian/local/xserver-wrapper.c
        # generate text version of some HTML docs
-       lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text
+       TERM=vt100 lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text
        gzip -9 debian/local/XFree86-FAQ.text
 else
        # skipping build rule because test_rules was defined

 %%

I think this enables the build using batch process (maybe it works for buildd).

The build log shows:

   Thu Oct 26 17:22:43 UTC 2000

   Full build of Release 6.4 of the X Window System complete.

   make[1]: Leaving directory `/usr/local/src/build/xfree86v4/build/xfree86-4.0.1/build-tree/xc'
   # build Debian's X server wrapper
   cc -Wall -g -O2 -o debian/local/xserver-wrapper debian/local/xserver-wrapper.c
   # generate text version of some HTML docs
   lynx -dump -nolist debian/local/XFree86-FAQ.html > debian/local/XFree86-FAQ.text

   Your terminal lacks the ability to clear the screen or position the cursor.

   make: *** [debian/stampdir/build] Error 1

Thanks.

P.S.

In <[🔎] 20001026123346.A19665@deadbeast.net>, on "Thu, 26 Oct 2000 12:33:46 -0500",
  Branden Robinson <branden@debian.org> wrote:

> On Thu, Oct 26, 2000 at 03:59:01PM +0900, Taketoshi Sano wrote:
> > I have tried to build v22 locally, and found that it needs
> > libpaperg as well as described in Build-Depends currently.
> 
> Thanks for the report.  This fix will go into either v24 or v25.

You're welcome :) and thank you for your great works.
I wish to have the official unstable 4.0.x in Debian sooner.

 (woody is planned to be frozen at mid or end of Jan, and current 3.3.6 
  has problem with the locale settings and with the resource handling 
  for us because of the recent change in libc6).

BTW, Build-Depends should also include groff ?

Regards.
-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>



Reply to: