]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-config.patch
- rel.5
[packages/lynx.git] / lynx-config.patch
1 diff -Nur lynx2-8-5.orig/lynx.cfg lynx2-8-5/lynx.cfg
2 --- lynx2-8-5.orig/lynx.cfg     Sun Jun 10 16:24:29 2001
3 +++ lynx2-8-5/lynx.cfg  Sun Jun 10 16:16:44 2001
4 @@ -1,5 +1,5 @@
5  # lynx.cfg file.
6 -# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
7 +# The default placement for this file is /etc/lynx.cfg (Unix)
8  #                                     or Lynx_Dir:lynx.cfg (VMS)
9  #
10  # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
11 @@ -11,7 +11,7 @@
12  # Definition pairs are of the form  VARIABLE:DEFINITION
13  # NO spaces are allowed between the pair items.
14  #
15 -#  If you do not have write access to /usr/local/lib you may change
16 +#  If you do not have write access to /etc you may change
17  #  the default location of this file in the userdefs.h file and recompile,
18  #  or specify its location on the command line with the "-cfg"
19  #  command line option.
20 @@ -42,8 +42,8 @@
21  #
22  # Then in ~/lynx.cfg:
23  #
24 -#   INCLUDE:/usr/local/lib/lynx.cfg
25 -#           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
26 +#   INCLUDE:/etc/lynx.cfg
27 +#           ^^^^^^^^^^^^^ or whatever is appropriate on your system
28  # and now your own tweaks.
29  #
30  # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful.  You can
31 @@ -88,7 +88,8 @@
32  # Normally we expect you will connect to a remote site, e.g., the Lynx starting
33  # site:
34  #STARTFILE:http://lynx.isc.org/
35 -STARTFILE:file://localhost/usr/share/doc/HTML/index.html
36 +#STARTFILE:file://localhost/usr/share/doc/HTML/index.html
37 +STARTFILE:file://localhost/~/
38  #
39  # As an alternative, you may want to use a local URL.  A good choice for this is
40  # the user's home directory:
41 @@ -112,9 +113,8 @@
42  #   This should be changed to the local path.
43  #
44  #HELPFILE:http://www.subir.com/lynx/lynx_help/lynx_help_main.html
45 -.ex
46 -HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html
47 -
48 +# default in PLD is:
49 +#HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html.gz
50  
51  .h2 DEFAULT_INDEX_FILE
52  # DEFAULT_INDEX_FILE is the default file retrieved when the
53 --- lynx2-8-6/makefile.in.orig  2006-09-04 01:25:39.000000000 +0200
54 +++ lynx2-8-6/makefile.in       2007-02-25 20:32:56.534815121 +0100
55 @@ -64,7 +64,7 @@
56  DOCDIR= $(DESTDIR)$(docdir)
57  
58  ## Where you want the help-files installed
59 -helpdir= @datadir@/lynx_help
60 +helpdir= @datadir@/lynx/help
61  HELPDIR= $(DESTDIR)$(helpdir)
62  
63  ##set the relative location of the WWW library Implementation directory,
64 @@ -337,7 +337,7 @@
65         @-rm -f help_files.tmp
66  
67  install-help : help_files.sed $(HELPDIR)
68 -       - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -fr *)
69 +       - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -fr *)
70         test -d $(HELPDIR)/keystrokes || mkdir $(HELPDIR)/keystrokes
71  @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
72  @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
73 @@ -413,12 +413,12 @@
74  
75  uninstall \
76  uninstall-help ::
77 -       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
78 +       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
79  
80  uninstall \
81  uninstall-doc ::
82         -test -d $(DOCDIR) && WD=`cd $(DOCDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_doc$$!!'` && test $$WD != $$HEAD && rm -rf $(DOCDIR)
83 -       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
84 +       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
85  
86  $(BINDIR) \
87  $(MANDIR) \
88 diff -Nur lynx2-8-4.orig/userdefs.h lynx2-8-4/userdefs.h
89 --- lynx2-8-4.orig/userdefs.h   Sun Jun 10 16:24:29 2001
90 +++ lynx2-8-4/userdefs.h        Sun Jun 10 16:16:44 2001
91 @@ -93,7 +93,7 @@
92   * mailcap files (see the examples in the samples directory).
93   */
94  #ifndef LYNX_CFG_FILE
95 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
96 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
97  #endif /* LYNX_CFG_FILE */
98  
99  /**************************
100 @@ -277,7 +277,7 @@
101  #ifdef DOSPATH
102  #define LYNX_CFG_FILE "./lynx.cfg"
103  #else
104 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
105 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
106  #endif /* DOSPATH */
107  #endif /* LYNX_CFG_FILE */
108  #endif /* HAVE_CONFIG_H */
109 @@ -478,7 +478,7 @@
110   * http://www.subir.com/lynx/lynx_help/lynx_help_main.html
111   *   This should be changed here or in lynx.cfg to the local path.
112   */
113 -#define HELPFILE "http://www.subir.com/lynx/lynx_help/lynx_help_main.html"
114 +#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
115  /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
116  
117  /*****************************
This page took 0.064288 seconds and 3 git commands to generate.