]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-config.patch
- added png Icon for desktp file,
[packages/lynx.git] / lynx-config.patch
1 diff -Nur lynx2-8-4.orig/configure.in lynx2-8-4/configure.in
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 @@
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  
13 @@ -696,7 +696,7 @@
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
22 diff -Nur lynx2-8-4.orig/lynx.cfg lynx2-8-4/lynx.cfg
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
25 @@ -1,12 +1,12 @@
26  # lynx.cfg file.
27 -# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
28 +# The default placement for this file is /etc/lynx.cfg (Unix)
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  #
35 -#  If you do not have write access to /usr/local/lib you may change
36 +#  If you do not have write access to /etc you may change
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.
40 @@ -42,8 +42,8 @@
41  #
42  # Then in ~/lynx.cfg:
43  #
44 -#   INCLUDE:/usr/local/lib/lynx.cfg
45 -#           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
46 +#   INCLUDE:/etc/lynx.cfg
47 +#           ^^^^^^^^^^^^^ or whatever is appropriate on your system
48  # and now your own tweaks.
49  #
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
73 diff -Nur lynx2-8-4.orig/makefile.in lynx2-8-4/makefile.in
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
76 @@ -48,16 +48,16 @@
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  docdir1= $(shell echo "$(docdir)"|sed -e 's!^/!!')
89  
90  ## Where you want the help-files installed
91 -helpdir= @libdir@/lynx_help
92 +helpdir= @datadir@/lynx/help
93  HELPDIR= $(DESTDIR)$(helpdir)
94  helpdir1= $(shell echo "$(helpdir)"|sed -e 's!^/!!')
95  
96 @@ -360,7 +360,7 @@
97         @-rm -f help_files.tmp
98  
99  install-help : help_files.sed $(HELPDIR)
100 -       (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf *)
101 +       (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf *)
102  @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
103  @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
104  @LYNXCFG_MAKE@ @-rm -f alphatoc.html body.html cattoc.html
105 @@ -438,12 +438,12 @@
106  
107  uninstall \
108  uninstall-help ::
109 -       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
110 +       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
111  
112  uninstall \
113  uninstall-doc ::
114         -test -d $(DOCDIR) && WD=`cd $(DOCDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_doc$$!!'` && test $$WD != $$HEAD && rm -rf $(DOCDIR)
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
116 +       -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
117  
118  $(BINDIR) $(MANDIR) $(LIBDIR) $(HELPDIR) $(DOCDIR) :
119         $(srcdir)/mkdirs.sh $@
120 diff -Nur lynx2-8-4.orig/userdefs.h lynx2-8-4/userdefs.h
121 --- lynx2-8-4.orig/userdefs.h   Sun Jun 10 16:24:29 2001
122 +++ lynx2-8-4/userdefs.h        Sun Jun 10 16:16:44 2001
123 @@ -93,7 +93,7 @@
124   * mailcap files (see the examples in the samples directory).
125   */
126  #ifndef LYNX_CFG_FILE
127 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
128 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
129  #endif /* LYNX_CFG_FILE */
130  
131  /**************************
132 @@ -277,7 +277,7 @@
133  #ifdef DOSPATH
134  #define LYNX_CFG_FILE "./lynx.cfg"
135  #else
136 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
137 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
138  #endif /* DOSPATH */
139  #endif /* LYNX_CFG_FILE */
140  #endif /* HAVE_CONFIG_H */
141 @@ -478,7 +478,7 @@
142   * http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
143   *   This should be changed here or in lynx.cfg to the local path.
144   */
145 -#define HELPFILE "http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html"
146 +#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
147  /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
148  
149  /*****************************
This page took 0.053924 seconds and 3 git commands to generate.