]> git.pld-linux.org Git - packages/lynx.git/blame - lynx-config.patch
- 2.8.4pre.1, updated lynx.cfg, autoconf, config patches
[packages/lynx.git] / lynx-config.patch
CommitLineData
d1f006ef 1diff -Nur lynx2-8-4.orig/configure.in lynx2-8-4/configure.in
398a1959
JB
2--- lynx2-8-4.orig/configure.in Sun Jun 10 16:24:29 2001
3+++ lynx2-8-4/configure.in Sun Jun 10 16:16:44 2001
4@@ -434,7 +434,7 @@
d1f006ef
JB
5 cf_libdir=`echo $cf_libdir | sed -e s@'^NONE/'@$prefix/@ -e s@'^NONE/'@$ac_default_prefix/@`
6
7 AC_MSG_CHECKING(for location of config-file)
8-LYNX_CFG_FILE=$cf_libdir/lynx.cfg
9+LYNX_CFG_FILE=$sysconfdir/lynx.cfg
10 AC_DEFINE_UNQUOTED(LYNX_CFG_FILE,"$LYNX_CFG_FILE")
11 AC_MSG_RESULT($LYNX_CFG_FILE)
12
398a1959 13@@ -696,7 +696,7 @@
d1f006ef
JB
14 AC_MSG_RESULT(yes)
15
16 AC_MSG_CHECKING(for location of style-sheet file)
17- LYNX_LSS_FILE=$cf_libdir/lynx.lss
18+ LYNX_LSS_FILE=$datadir/lynx/lynx.lss
19 AC_DEFINE_UNQUOTED(LYNX_LSS_FILE,"$LYNX_LSS_FILE")
20 AC_MSG_RESULT($LYNX_LSS_FILE)
21 INSTALL_LSS=install-lss
22diff -Nur lynx2-8-4.orig/lynx.cfg lynx2-8-4/lynx.cfg
398a1959
JB
23--- lynx2-8-4.orig/lynx.cfg Sun Jun 10 16:24:29 2001
24+++ lynx2-8-4/lynx.cfg Sun Jun 10 16:16:44 2001
1bc64cfa
AF
25@@ -1,12 +1,12 @@
26 # lynx.cfg file.
27-# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
d1f006ef 28+# The default placement for this file is /etc/lynx.cfg (Unix)
1bc64cfa
AF
29 # or Lynx_Dir:lynx.cfg (VMS)
30 #
31 #
32 # Definition pairs are of the form VARIABLE:DEFINITION
33 # NO spaces are allowed between the pair items.
34 #
b4bdc598 35-# If you do not have write access to /usr/local/lib you may change
d1f006ef 36+# If you do not have write access to /etc you may change
1bc64cfa
AF
37 # the default location of this file in the userdefs.h file and recompile,
38 # or specify its location on the command line with the "-cfg"
39 # command line option.
d1f006ef 40@@ -42,8 +42,8 @@
1bc64cfa
AF
41 #
42 # Then in ~/lynx.cfg:
43 #
6e9d7575 44-# INCLUDE:/usr/local/lib/lynx.cfg
d1f006ef
JB
45-# ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
46+# INCLUDE:/etc/lynx.cfg
47+# ^^^^^^^^^^^^^ or whatever is appropriate on your system
6e9d7575 48 # and now your own tweaks.
49 #
d1f006ef
JB
50 # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful. You can
51@@ -88,7 +88,8 @@
52 # Normally we expect you will connect to a remote site, e.g., the Lynx starting
53 # site:
54 #STARTFILE:http://lynx.browser.org/
55-STARTFILE:file://localhost/usr/share/doc/HTML/index.html
56+#STARTFILE:file://localhost/usr/share/doc/HTML/index.html
57+STARTFILE:file://localhost/~/
58 #
59 # As an alternative, you may want to use a local URL. A good choice for this is
60 # the user's home directory:
61@@ -112,9 +113,8 @@
62 # This should be changed to the local path.
63 #
64 #HELPFILE:http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
65-.ex
66-HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html
67-
68+# default in PLD is:
69+#HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html.gz
70
71 .h2 DEFAULT_INDEX_FILE
72 # DEFAULT_INDEX_FILE is the default file retrieved when the
73diff -Nur lynx2-8-4.orig/makefile.in lynx2-8-4/makefile.in
398a1959
JB
74--- lynx2-8-4.orig/makefile.in Mon Apr 2 02:51:46 2001
75+++ lynx2-8-4/makefile.in Sun Jun 10 16:29:52 2001
d1f006ef
JB
76@@ -48,15 +48,15 @@
77 MANDIR= $(DESTDIR)$(mandir)
78
79 ## Where you want the lynx.cfg file installed
80-libdir= @libdir@
81+libdir= @sysconfdir@
82 LIBDIR= $(DESTDIR)$(libdir)
83
84 ## Where you want the doc-files installed
85-docdir= @libdir@/lynx_doc
86+docdir= @datadir@/lynx_doc
87 DOCDIR= $(DESTDIR)$(docdir)
88
89 ## Where you want the help-files installed
90-helpdir= @libdir@/lynx_help
91+helpdir= @datadir@/lynx/help
92 HELPDIR= $(DESTDIR)$(helpdir)
93
94 ##set the relative location of the WWW library Implementation directory,
398a1959 95@@ -360,7 +360,7 @@
d1f006ef
JB
96 @-rm -f help_files.tmp
97
98 install-help : help_files.sed $(HELPDIR)
398a1959
JB
99- (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf *)
100+ (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf *)
d1f006ef
JB
101 @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
102 @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
103 @LYNXCFG_MAKE@ @-rm -f alphatoc.html body.html cattoc.html
398a1959 104@@ -438,12 +438,12 @@
d1f006ef
JB
105
106 uninstall \
107 uninstall-help ::
398a1959
JB
108- -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
109+ -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
d1f006ef
JB
110
111 uninstall \
112 uninstall-doc ::
398a1959
JB
113 -test -d $(DOCDIR) && WD=`cd $(DOCDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_doc$$!!'` && test $$WD != $$HEAD && rm -rf $(DOCDIR)
114- -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
115+ -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
JB
116
117 $(BINDIR) $(MANDIR) $(LIBDIR) $(HELPDIR) $(DOCDIR) :
118 $(srcdir)/mkdirs.sh $@
119diff -Nur lynx2-8-4.orig/userdefs.h lynx2-8-4/userdefs.h
398a1959
JB
120--- lynx2-8-4.orig/userdefs.h Sun Jun 10 16:24:29 2001
121+++ lynx2-8-4/userdefs.h Sun Jun 10 16:16:44 2001
d1f006ef
JB
122@@ -93,7 +93,7 @@
123 * mailcap files (see the examples in the samples directory).
124 */
125 #ifndef LYNX_CFG_FILE
126-#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
127+#define LYNX_CFG_FILE "/etc/lynx.cfg"
128 #endif /* LYNX_CFG_FILE */
129
130 /**************************
131@@ -277,7 +277,7 @@
132 #ifdef DOSPATH
133 #define LYNX_CFG_FILE "./lynx.cfg"
134 #else
135-#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
136+#define LYNX_CFG_FILE "/etc/lynx.cfg"
137 #endif /* DOSPATH */
138 #endif /* LYNX_CFG_FILE */
139 #endif /* HAVE_CONFIG_H */
140@@ -478,7 +478,7 @@
141 * http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
142 * This should be changed here or in lynx.cfg to the local path.
143 */
144-#define HELPFILE "http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html"
145+#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
146 /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
147
148 /*****************************
This page took 0.041259 seconds and 4 git commands to generate.