]> git.pld-linux.org Git - packages/lynx.git/blame - lynx-config.patch
- rel.5
[packages/lynx.git] / lynx-config.patch
CommitLineData
59822b20
JB
1diff -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 @@
1bc64cfa
AF
5 # lynx.cfg file.
6-# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
d1f006ef 7+# The default placement for this file is /etc/lynx.cfg (Unix)
1bc64cfa
AF
8 # or Lynx_Dir:lynx.cfg (VMS)
9 #
59822b20
JB
10 # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
11@@ -11,7 +11,7 @@
1bc64cfa
AF
12 # Definition pairs are of the form VARIABLE:DEFINITION
13 # NO spaces are allowed between the pair items.
14 #
b4bdc598 15-# If you do not have write access to /usr/local/lib you may change
d1f006ef 16+# If you do not have write access to /etc you may change
1bc64cfa
AF
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.
d1f006ef 20@@ -42,8 +42,8 @@
1bc64cfa
AF
21 #
22 # Then in ~/lynx.cfg:
23 #
6e9d7575 24-# INCLUDE:/usr/local/lib/lynx.cfg
d1f006ef
JB
25-# ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
26+# INCLUDE:/etc/lynx.cfg
27+# ^^^^^^^^^^^^^ or whatever is appropriate on your system
6e9d7575 28 # and now your own tweaks.
29 #
d1f006ef
JB
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:
2e8781c5 34 #STARTFILE:http://lynx.isc.org/
d1f006ef
JB
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 #
3d470ac9 44 #HELPFILE:http://www.subir.com/lynx/lynx_help/lynx_help_main.html
d1f006ef
JB
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
eafdeb9c
JB
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 @@
d1f006ef
JB
56 DOCDIR= $(DESTDIR)$(docdir)
57
58 ## Where you want the help-files installed
eafdeb9c 59-helpdir= @datadir@/lynx_help
d1f006ef
JB
60+helpdir= @datadir@/lynx/help
61 HELPDIR= $(DESTDIR)$(helpdir)
62
3d470ac9 63 ##set the relative location of the WWW library Implementation directory,
eafdeb9c 64@@ -337,7 +337,7 @@
d1f006ef
JB
65 @-rm -f help_files.tmp
66
3d470ac9
TP
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
d1f006ef
JB
71 @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
72 @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
eafdeb9c 73@@ -413,12 +413,12 @@
d1f006ef
JB
74
75 uninstall \
76 uninstall-help ::
398a1959
JB
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)
d1f006ef
JB
79
80 uninstall \
81 uninstall-doc ::
398a1959
JB
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
d1f006ef 85
eafdeb9c
JB
86 $(BINDIR) \
87 $(MANDIR) \
d1f006ef 88diff -Nur lynx2-8-4.orig/userdefs.h lynx2-8-4/userdefs.h
398a1959
JB
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
d1f006ef
JB
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 @@
3d470ac9 110 * http://www.subir.com/lynx/lynx_help/lynx_help_main.html
d1f006ef
JB
111 * This should be changed here or in lynx.cfg to the local path.
112 */
3d470ac9 113-#define HELPFILE "http://www.subir.com/lynx/lynx_help/lynx_help_main.html"
d1f006ef
JB
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.040474 seconds and 4 git commands to generate.