[Lunar-commits] <moonbase> links: CONFIGURE and DEPENDS update

Duncan Gibson engelsman at lunar-linux.org
Sat Nov 27 15:01:57 CET 2010


commit 118a5ff466eb67a62c1a4e5f4c3fd1a1ced4c9e2
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sat Nov 27 15:01:57 2010 +0100

    links: CONFIGURE and DEPENDS update
    
    removed old flags like javascript (afaik there is no more such flag,
    I looked at ./configure --help)
    generally with this submission I provide few more and better explained
    options
---
 web/links/BUILD     |    9 ---------
 web/links/CONFIGURE |   15 ++++++++++++++-
 web/links/DEPENDS   |   37 +++++++++----------------------------
 web/links/DETAILS   |    8 ++++----
 4 files changed, 27 insertions(+), 42 deletions(-)

diff --git a/web/links/BUILD b/web/links/BUILD
deleted file mode 100644
index 7816d75..0000000
--- a/web/links/BUILD
+++ /dev/null
@@ -1,9 +0,0 @@
-(
-
-  if [ "$USE_JSCRIPT" == "y" ] ; then
-    OPTS="$OPTS --enable-javascript"
-  fi
-
-  default_build
-  
-) > $C_FIFO 2>&1
diff --git a/web/links/CONFIGURE b/web/links/CONFIGURE
index 7da3fb9..855544a 100644
--- a/web/links/CONFIGURE
+++ b/web/links/CONFIGURE
@@ -1 +1,14 @@
-mquery USE_JSCRIPT "Enable javascript interpreter?" y
+mquery GRAPHICS    "enable graphics mode? (you have to use libpng later)" \
+                   n                                                      \
+		   "--enable-graphics"                                    \
+		   "--disable-graphics"
+
+if [ "`get_module_config GRAPHICS`" = "y" ]; then
+
+mquery FB_GRAPHICS "with Framebuffer graphics mode?" \
+                   n                                 \
+		   "--with-fb"                       \
+		   "--without-fb"
+
+fi
+
diff --git a/web/links/DEPENDS b/web/links/DEPENDS
index 0b7e348..ed270bd 100644
--- a/web/links/DEPENDS
+++ b/web/links/DEPENDS
@@ -1,31 +1,12 @@
 depends  ncurses
 
-optional_depends  libpng                  \
-                  "--enable-graphics"     \
-                  "--disable-graphics"    \
-                  "for console graphics support"
+optional_depends  libpng   "--enable-graphics" "--disable-graphics" "for graphics mode (needed for Framebuffer, SVGA, X and DirectFB)"
+optional_depends  svgalib  "--with-svgalib"    "--without-svgalib"  "for SVGA graphics mode"
+optional_depends  DirectFB "--with-directfb"   "--without-directfb" "for DirectFB graphics mode"
+optional_depends  tiff     "--with-libtiff"    "--without-libtiff"  "to display tiff images in graphics mode"
+optional_depends  %JPEG    "--with-libjpeg"    "--without-libjpeg"  "to display jpeg images in graphics mode"
+optional_depends  gpm      "--with-gpm"        "--without-gpm"      "for gpm mouse support (needed for Framebuffer graphics mode)"
+optional_depends  openssl  "--with-ssl"        "--without-ssl"      "for encryption (HTTPS)"
+optional_depends  bzip2    "--with-bzip2"      "--without-bzip2"    "to speed up webpages using bzip2 compression"
+optional_depends  zlib     "--with-zlib"       "--without-zlib"     "to speed up webpages using zlib compression"
 
-optional_depends  gpm                     \
-                  "--with-gpm"            \
-                  "--without-gpm"         \
-                  "for gpm mouse support" 
-
-optional_depends  tiff                    \
-                  "--with-libtiff"        \
-                  "--without-libtiff"     \
-                  "for console graphics support"
-
-optional_depends  %JPEG                   \
-                  "--with-libjpeg"        \
-                  "--without-libjpeg"     \
-                  "for additional console graphics support"
-
-optional_depends  "openssl"               \
-                  "--with-ssl"            \
-                  "--without-ssl"         \
-                  "encryption for HTTPS"
-
-#optional_depends  "SDL"                   \
-#                  "--with-sdl"            \
-#                  "--without-sdl"         \
-#                  "for sdl graphics driver"
diff --git a/web/links/DETAILS b/web/links/DETAILS
index 3acb48a..bf5aeb2 100644
--- a/web/links/DETAILS
+++ b/web/links/DETAILS
@@ -3,12 +3,12 @@
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=http://links.twibright.com/download
       SOURCE_VFY=sha1:7588c151e98057f83a2e0b81b3f467e7eee9f824
-        WEB_SITE=http://atrey.karlin.mff.cuni.cz/~clock/twibright/links
+        WEB_SITE=http://links.twibright.com
          ENTERED=20020523
          UPDATED=20080801
-           SHORT="Graphics capable links"
+           SHORT="graphics and text mode web browser"
 
 cat << EOF
-links2 is the graphics capable links. It can be used via svgalib,
-X, fb etc.
+Links is a graphics and text mode web browser. Graphics mode is
+supported via SVGA, Framebuffer, X and DirectFB.
 EOF


More information about the Lunar-commits mailing list