On Mon, Nov 24, at 07:05 DJ Lucas wrote:
> Ralph Porter wrote:
> > Nevermind...moved on to Lynx
> >
>
> Hmm..maybe time for links removal?
>
Elinks is another text browser that should be considered to go in the
book to replace links, since the feature list is quite impressive even
when compared with a modern gui browser.
For what is worth, it's my default web browser for years, fast, stabel
and with great page compatibility (you can even log in to gmail
application (in the limited version), if you built it against
SpiderMonkey).
Other features are tab support, URI rewriting, lua/perl/ruby scripting,
very configurable, and much more.
For a more detailed information, Thomas Adam has a dedicated page[2].
If you want to build and test elinks, I will suggest to use 0.12pre2
since this branch is quite stable and it has full UTF-8 support.
Here are is a guide to build it:
Sources : http://elinks.cz/download/elinks-0.12pre2.tar.bz2
Md5sum : bfc2a531f633c9e25e108e5ce2d864ea
Js sources: ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
Js Md5sum : 5571134c3863686b623ebe4e6b1f6fe6
Extract the elinks sources and cd to the top dir.
Built js.
Within elinks extracted sources issue:
tar xf /path/to/js-1.7.0.tar.gz
cd js
patch -Np1 -i /path/to/attached/patch/js-1.7.patch
cd src
make -f Makefile.ref;make -f Makefile.ref export
sudo make -f Makefile.ref install
sudo /sbin/ldconfig
cd ../..
Built elinks.
Configure it with lua support (remove the switch if you don't have lua
installed) - perl, guile and ruby interface is also possible:
./configure --prefix=/usr --enable-88-colors --with-x \
--enable-256-colors --enable-exmod -with-lua --enable-utf-8 \
--enable-true-color
Build and install:
make
sudo make install
Test and report any issues you find. There is also a mailing list for
elinks which is hosted by LFS infrastructure. If all goes well and there
is a stable release on the 0.12 branch, around the Xmas when I will have
free time, I am going to try to put this excellent browser in the book.
If anyone is willing to do that job, that would be great either.
1. http://elinks.cz/
2. http://edulinux.homeunix.org/elinks/
> -- DJ Lucas
Regards,
Ag.
diff -Naur js.orig/src/config.mk js/src/config.mk
--- js.orig/src/config.mk 2006-07-28 00:00:57.000000000 +0300
+++ js/src/config.mk 2008-04-03 18:19:20.139995507 +0300
@@ -36,11 +36,16 @@
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
+BUILD_OPT=1
+ifndef PREFIX
+PREFIX = /usr
+endif
+
ifdef JS_DIST
DIST = $(JS_DIST)
else
-DIST = $(DEPTH)/../../dist
+DIST = dist/
endif
# Set os+release dependent make variables
diff -Naur js.orig/src/jsconfig.mk js/src/jsconfig.mk
--- js.orig/src/jsconfig.mk 2003-11-15 02:10:56.000000000 +0200
+++ js/src/jsconfig.mk 2008-04-03 18:22:47.500404088 +0300
@@ -104,8 +104,8 @@
echo $(NSPR_VERSION) > $(NSPR_VERSIONFILE)
endif
-SHIP_DIST = $(MOZ_DEPTH)/dist/$(OBJDIR)
-SHIP_DIR = $(SHIP_DIST)/SHIP
+SHIP_DIST = $(DIST)
+SHIP_DIR = $(PREFIX)
SHIP_LIBS = libjs.$(SO_SUFFIX) libjs.a
ifdef JS_LIVECONNECT
@@ -117,7 +117,7 @@
SHIP_LIBS += jsj.dll jsj.lib
endif
endif
-SHIP_LIBS += $(LCJAR)
+#SHIP_LIBS += $(LCJAR)
SHIP_LIBS := $(addprefix $(SHIP_DIST)/lib/, $(SHIP_LIBS))
SHIP_INCS = js*.h prmjtime.h resource.h *.msg *.tbl
@@ -145,6 +145,14 @@
endif
endif
+install:
+ mkdir -p $(SHIP_DIR)/$(LIBDIR)
+ mkdir -p $(SHIP_DIR)/include
+ mkdir -p $(SHIP_DIR)/bin
+ cp $(SHIP_LIBS) $(SHIP_DIR)/$(LIBDIR)
+ cp $(SHIP_INCS) $(SHIP_DIR)/include
+ cp $(SHIP_BINS) $(SHIP_DIR)/bin
+
ship:
mkdir -p $(SHIP_DIR)/$(LIBDIR)
mkdir -p $(SHIP_DIR)/include
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page