wok-current rev 2820
Add Dillo (Hg version) - Provide CSS support!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 29 21:18:16 2009 +0200 (2009-04-29) |
parents | cfba44c15c99 |
children | 18b8dc71d9bf |
files | dillo-hg/receipt dillo-hg/stuff/dillo-index.html dillo-hg/stuff/dillo.css dillo-hg/stuff/dillo.desktop dillo-hg/stuff/dillo.png dillo-hg/stuff/dillorc dillo-hg/stuff/pics/slitaz-dillo.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dillo-hg/receipt Wed Apr 29 21:18:16 2009 +0200 1.3 @@ -0,0 +1,58 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dillo-hg" 1.7 +VERSION="1058" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Light and fast web browse using FLTK (Hg version)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.dillo.org/" 1.12 +DEPENDS="fltk-2.0.x libpng jpeg zlib" 1.13 +BUILD_DEPENDS="$DEPENDS fltk-2.0.x-dev libpng-dev jpeg-dev zlib-dev \ 1.14 +python mercurial" 1.15 +CONFLICTS="dillo" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION 1.21 + echo "Cloning revision $VERSIN from Dillo repository..." 1.22 + hg clone --rev $VERSION \ 1.23 + http://hg.dillo.org/dillo $PACKAGE-$VERSION || exit 0 1.24 + cd $src 1.25 + ./autogen.sh && 1.26 + ./configure \ 1.27 + --sysconfdir=/etc/dillo \ 1.28 + --prefix=/usr \ 1.29 + $CONFIGURE_ARGS && 1.30 + make && 1.31 + make DESTDIR=$PWD/_pkg install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/lib \ 1.38 + $fs/usr/share/webhome \ 1.39 + $fs/usr/share/applications \ 1.40 + $fs/usr/share/pixmaps 1.41 + cp -a $_pkg/usr/bin $fs/usr 1.42 + cp -a $_pkg/usr/lib/dillo $fs/usr/lib 1.43 + strip -s $fs/usr/lib/dillo/dpi/*/* 1.44 + chmod +x $fs/usr/bin/* 1.45 + # Config files with custom dillorc and webhome page. 1.46 + cp -a $_pkg/etc $fs 1.47 + cp stuff/dillorc $fs/etc/dillo 1.48 + cp stuff/dillo-index.html $fs/usr/share/webhome 1.49 + cp stuff/dillo.css $fs/usr/share/webhome 1.50 + cp -a stuff/pics $fs/usr/share/webhome 1.51 + cp -a stuff/dillo.desktop $fs/usr/share/applications 1.52 + cp -a stuff/dillo.png $fs/usr/share/pixmaps 1.53 + chown -R root.root $fs 1.54 +} 1.55 + 1.56 +pre_install() 1.57 +{ 1.58 + if [ -d $1/var/lib/tazpkg/installed/$CONFLICTS ]; then 1.59 + echo "y" | tazpkg remove $CONFLICTS 1.60 + fi 1.61 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/dillo-hg/stuff/dillo-index.html Wed Apr 29 21:18:16 2009 +0200 2.3 @@ -0,0 +1,77 @@ 2.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 2.7 +<head> 2.8 + <title>SliTaz Dillo - Web Homepage</title> 2.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 2.10 + <meta name="author" content="Christophe Lincoln"/> 2.11 + <link rel="shortcut icon" href="favicon.ico" /> 2.12 + <link rel="stylesheet" type="text/css" href="dillo.css" /> 2.13 +</head> 2.14 +<body bgcolor="#ffffff"> 2.15 + 2.16 +<!-- Header and quick navigation --> 2.17 +<div id="header"> 2.18 +<div id="quicknav"> 2.19 + <a name="top"></a> 2.20 +</div> 2.21 +<h1 align="center"><font color="#3E1220">Browse the Web</font></h1> 2.22 +</div> 2.23 + 2.24 +<!-- Content. --> 2.25 +<div id="content"> 2.26 +<div class="content-right"></div> 2.27 + 2.28 +<div style="text-align: center; padding: 20px;"> 2.29 +<table> 2.30 + <!-- Search Wikipedia --> 2.31 + <tr> 2.32 + <th><strong>[ Wikipedia ]</strong></th> 2.33 + <td> 2.34 + <form action="http://www.wikipedia.org/search-redirect.php" method="get"> 2.35 + <input type="hidden" name="language" value="en" /> 2.36 + <input type="text" name="search" size="30" /> 2.37 + <input type="submit" name="go" value="Search" /> 2.38 + </form> 2.39 + </td> 2.40 + </tr> 2.41 + <!-- Search Google --> 2.42 + <tr> 2.43 + <th><strong>[ Google ]</strong></th> 2.44 + <td> 2.45 + <form method="get" action="http://www.google.com/search"> 2.46 + <input type="text" name="q" size="30" maxlength="255" value="" /> 2.47 + <input type="submit" value="Search" /> 2.48 + </form> 2.49 + </td> 2.50 + </tr> 2.51 +</table> 2.52 +</div> 2.53 + 2.54 +<!-- 10 Cloud tag are available. --> 2.55 +<div id="cloud"> 2.56 +<p> 2.57 + <a href="http://forum.slitaz.org/" class="tag5">SliTaz Forum</a> - 2.58 + <a href="http://www.dillo.org/" class="tag8">Dillo Website</a> - 2.59 + <a href="http://www.dillo.org/FAQ.html" class="tag6">Dillo FAQ</a> - 2.60 + <a href="http://pkgs.slitaz.org/" class="tag4">Packages</a> - 2.61 + <a href="http://www.slitaz.org/" class="tag7">SliTaz GNU/Linux</a> - 2.62 + <a href="http://www.dillo.org/dillo2-help.html" class="tag6">Dillo Manual</a> - 2.63 + <a href="http://www.slitaz.org/en/doc/handbook/liveusb.html" class="tag5">LiveUSB</a> - 2.64 + <a href="http://labs.slitaz.org/news" class="tag3">Labs News</a> - 2.65 + <a href="http://www.slitaz.org/en/get/flavors.html" class="tag6">LiveCD flavor</a> - 2.66 + <a href="http://boot.slitaz.org/" class="tag8">Web Boot</a> 2.67 +</p> 2.68 +</div> 2.69 + 2.70 +<div style="text-align: center; padding: 32px;"> 2.71 +<img 2.72 + src="pics/slitaz-dillo.png" 2.73 + style="width: 96px; height: 48px;" /> 2.74 +</div> 2.75 + 2.76 +<!-- End of content --> 2.77 +</div> 2.78 + 2.79 +</body> 2.80 +</html>
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/dillo-hg/stuff/dillo.css Wed Apr 29 21:18:16 2009 +0200 3.3 @@ -0,0 +1,143 @@ 3.4 +/* 3.5 + CSS style for SliTaz GNU/Linux *book. 3.6 + Pankso 2007 - www.slitaz.org 3.7 +*/ 3.8 + 3.9 +body { 3.10 + font: 13px sans-serif, vernada, arial; 3.11 + background: #222222; 3.12 + margin: 0; 3.13 + padding-bottom: 100%; 3.14 +} 3.15 + 3.16 +#header { 3.17 + background: #f0ba08; 3.18 + color: black; 3.19 + height: 50px; 3.20 + border-top: 1px solid black; 3.21 + border-bottom: 1px solid black; 3.22 +} 3.23 +#quicknav { 3.24 + margin-right: 6px; 3.25 + text-align: right; 3.26 + font-size: 12px; 3.27 + font-weight: bold; 3.28 + margin-right: 6px; 3.29 + } 3.30 + 3.31 +#quicknav a { 3.32 + background: inherit; 3.33 + color: white; 3.34 + text-decoration: none; 3.35 +} 3.36 + 3.37 +#quicknav a:hover { 3.38 + background: inherit; 3.39 + color: #222222; 3.40 +} 3.41 + 3.42 +/* content. */ 3.43 + 3.44 +#content { 3.45 + background: #ffffff; 3.46 + color: black; 3.47 + padding: 20px; 3.48 + margin: 20px 50px 0px 50px; 3.49 + width: auto; 3.50 + text-align: justify; 3.51 +} 3.52 + 3.53 +#content li { 3.54 + line-height: 1.5em; 3.55 + text-align: left; 3.56 +} 3.57 + 3.58 +/* Legal informations */ 3.59 + 3.60 +#copy { 3.61 + font-size: 11px ; 3.62 + text-align: center ; 3.63 + background: transparent; 3.64 + color: #ffffff; 3.65 + padding-top: 20px; 3.66 +} 3.67 + 3.68 +#copy a { 3.69 + background: inherit; 3.70 + color: #a8a8a8; 3.71 +} 3.72 + 3.73 +#copy a:hover { 3.74 + background: inherit; 3.75 + color: #EDEDED; 3.76 +} 3.77 + 3.78 +/* Clouds */ 3.79 + 3.80 +#cloud { 3.81 + padding: 10px 80px 10px 80px; 3.82 + line-height: 3em; 3.83 + text-align: center; 3.84 +} 3.85 +#cloud a { padding: 4px; color: #956411; } 3.86 +#cloud a.tag1 { font-size: 0.7em; font-weight: 100; } 3.87 +#cloud a.tag2 { font-size: 0.8em; font-weight: 200; } 3.88 +#cloud a.tag3 { font-size: 0.9em; font-weight: 300; } 3.89 +#cloud a.tag4 { font-size: 1.0em; font-weight: 400; } 3.90 +#cloud a.tag5 { font-size: 1.2em; font-weight: 500; } 3.91 +#cloud a.tag6 { font-size: 1.4em; font-weight: 600; } 3.92 +#cloud a.tag7 { font-size: 1.6em; font-weight: 700; } 3.93 +#cloud a.tag8 { font-size: 1.8em; font-weight: 800; } 3.94 +#cloud a.tag9 { font-size: 2.2em; font-weight: 900; } 3.95 +#cloud a.tag10 { font-size: 2.5em; font-weight: 900; } 3.96 + 3.97 +/* General HTML entities for content. */ 3.98 + 3.99 +h1 { 3.100 + margin: 0px 0px 0px 16px; 3.101 +} 3.102 + 3.103 +h2 { 3.104 + margin: 12px 0; 3.105 + color: #484B7C; 3.106 + background: white; 3.107 +} 3.108 + 3.109 +h3 { 3.110 + font-weight: bold; 3.111 + color: #6c0023; 3.112 + background: white; 3.113 +} 3.114 + 3.115 +a { 3.116 + text-decoration: underline; 3.117 +} 3.118 +a:hover { 3.119 + text-decoration: none; 3.120 +} 3.121 + 3.122 +pre { 3.123 + padding: 5px; 3.124 + color: black; 3.125 + background: #e1e0b0; 3.126 +} 3.127 +pre.script { 3.128 + padding: 10px; 3.129 + color: black; 3.130 + background: #e8e8e8; 3.131 + border: 1px inset #333333; 3.132 +} 3.133 + 3.134 +code { 3.135 + font-size: 12px; 3.136 + color: #669900; 3.137 + background: transparent; 3.138 +} 3.139 + 3.140 +li { 3.141 + line-height: 1.4em; 3.142 +} 3.143 + 3.144 +hr { 3.145 + border: 0pt none; 3.146 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/dillo-hg/stuff/dillo.desktop Wed Apr 29 21:18:16 2009 +0200 4.3 @@ -0,0 +1,10 @@ 4.4 +[Desktop Entry] 4.5 +Name=Dillo Web Browser 4.6 +Name[de]=Netznavigator Dillo 4.7 +Name[fr]=Navigateur Web Dillo 4.8 +Name[pt_PT]=Navegador Web Dillo 4.9 +Type=Application 4.10 +Categories=Network; 4.11 +MimeType=text/html;application/xhtml+xml; 4.12 +Exec=dillo %u 4.13 +Icon=dillo.png
5.1 Binary file dillo-hg/stuff/dillo.png has changed
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/dillo-hg/stuff/dillorc Wed Apr 29 21:18:16 2009 +0200 6.3 @@ -0,0 +1,228 @@ 6.4 +# dillorc 6.5 +# Sample dillo initialization file. 6.6 +# 6.7 +# Lines that start with a '#' are comments. 6.8 +# "#option=..." shows the built-in default. 6.9 +# "# option=..." is an additional example. 6.10 +# "option=..." overrides the built-in value. 6.11 + 6.12 +#------------------------------------------------------------------------- 6.13 +# FIRST SECTION :) 6.14 +#------------------------------------------------------------------------- 6.15 + 6.16 +# Set the desired initial browser size 6.17 +# geometry=650x545+0+20 6.18 +#geometry=780x580 6.19 + 6.20 +# Change this if you want to have text-only browsing from the start. 6.21 +# (there's a toggle button near the bug meter to change this on-the-fly) 6.22 +#load_images=YES 6.23 + 6.24 +# Change this if you want to disable loading of CSS stylesheets. 6.25 +#load_stylesheets=YES 6.26 + 6.27 +# Change this if you want to disable parsing of embedded CSS. 6.28 +#parse_embedded_css=YES 6.29 + 6.30 +# Change the buffering scheme for drawing 6.31 +# 0 no double buffering - useful for debugging 6.32 +# 1 light buffering using a single back buffer for all windows 6.33 +# 2 full fltk-based double buffering for all windows 6.34 +#buffered_drawing=1 6.35 + 6.36 +# Set your default directory for download/save operations 6.37 +#save_dir=/tmp 6.38 + 6.39 +#------------------------------------------------------------------------- 6.40 +# RENDERING SECTION 6.41 +#------------------------------------------------------------------------- 6.42 + 6.43 +# Fontnames: 6.44 +# - some fonts may slow down rendering. 6.45 +# - try to tune a fontname/font_factor combination. 6.46 +# Ex. {helvetica, lucida, times, "new century schoolbook", utopia, ...} 6.47 +# The values below represent the defaults. 6.48 +# 6.49 +#font_serif="DejaVu Serif" 6.50 +#font_sans_serif="DejaVu Sans" 6.51 +#font_cursive="DejaVu Sans" 6.52 +#font_fantasy="DejaVu Sans" 6.53 +#font_monospace="DejaVu Sans Mono" 6.54 + 6.55 +# All font sizes are scaled by this value 6.56 +# font_factor=1.5 6.57 +#font_factor=1.0 6.58 + 6.59 +# Maximum font size in pixels 6.60 +#font_max_size=100 6.61 + 6.62 +# Minimum font size in pixels 6.63 +#font_min_size=6 6.64 + 6.65 +# Show tooltip popup for images? 6.66 +# Note: We use the "title" attribute and not "alt". 6.67 +# More info at: http://bugzilla.mozilla.org/show_bug.cgi?id=25537 6.68 +# *** NOT HOOKED UP YET *** 6.69 +# 6.70 +#show_tooltip=YES 6.71 + 6.72 +# Set this to YES if you want to limit the word wrap width to the viewport 6.73 +# width (may be useful for iPAQ) 6.74 +# *** NOT HOOKED UP YET *** 6.75 +# 6.76 +#limit_text_width=NO 6.77 + 6.78 + 6.79 +#------------------------------------------------------------------------- 6.80 +# PARSING SECTION 6.81 +#------------------------------------------------------------------------- 6.82 + 6.83 +# If you prefer more accurate HTML bug diagnosis over better rendering 6.84 +# (page authors and webmasters) set the following to "NO". 6.85 +# 6.86 +#w3c_plus_heuristics=YES 6.87 + 6.88 + 6.89 +#------------------------------------------------------------------------- 6.90 +# NETWORK SECTION 6.91 +#------------------------------------------------------------------------- 6.92 + 6.93 +# Set the start page. 6.94 +# start_page="about:blank" 6.95 +# start_page="http://www.dillo.org" 6.96 +# start_page="file:/home/jcid/custom_page.html" 6.97 +start_page="file:/usr/share/webhome/dillo-index.html" 6.98 + 6.99 +# Set the home location 6.100 +# home="file:/home/jcid/HomePage/Home.html" 6.101 +home="file:/usr/share/webhome/dillo-index.html" 6.102 + 6.103 +# Set the URL used by the web search dialog. 6.104 +# "%s" is replaced with the search keywords separated by '+'. 6.105 +# search_url="http://search.lycos.com/?query=%s" 6.106 +# search_url="http://www.alltheweb.com/search?cat=web&query=%s" 6.107 +#search_url="http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s" 6.108 + 6.109 +# If set, dillo will ask web servers to send pages in this language. 6.110 +# This setting does NOT change dillo's user interface. 6.111 +# Format explained: www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4 6.112 +# Language-REGION values: www.iana.org/assignments/language-subtag-registry 6.113 +# (by default, no Accept-Language header is sent) 6.114 +# http_language="de" 6.115 +# http_language="pt-BR" 6.116 +# http_language="vi,de-CH,de;q=0.5,th;q=0.3" 6.117 +http_language="en" 6.118 + 6.119 +# Set the proxy information for http. 6.120 +# WARNING: - HTTPS does not currently use the proxy settings. 6.121 +# - FTP and downloads plugins use wget. To use a proxy with them, 6.122 +# you will need to configure wget accordingly. 6.123 +# http_proxy="http://localhost:8080/" 6.124 +#(by default, no proxy is used) 6.125 + 6.126 +# If you need to provide a user/password pair for the proxy, 6.127 +# set the proxy user name here and Dillo will ask for the password later. 6.128 +# http_proxyuser="joe" 6.129 +#(by default, no proxy is used) 6.130 + 6.131 +# Set the domains to access without proxy 6.132 +# no_proxy = ".hola.com .mynet.cl .hi.de" 6.133 +#(by default, no proxy is used) 6.134 + 6.135 +# Set the HTTP Referer (sic) header. 6.136 +# Note that there is no option to reveal the page that you came from because it 6.137 +# would endanger your privacy. 'host' and 'path' allow you to pretend that the 6.138 +# link you followed was on the same site that you're going to. 6.139 +# none : Don't send any Referer header at all. 6.140 +# host : Send the requested URI's hostname. 6.141 +# path : Send the requested URI's host and path. 6.142 +#http_referer=host 6.143 + 6.144 + 6.145 +#------------------------------------------------------------------------- 6.146 +# COLORS SECTION 6.147 +#------------------------------------------------------------------------- 6.148 + 6.149 +# If your eyes suffer with white backgrounds, change this. 6.150 +#allow_white_bg=YES 6.151 + 6.152 +# When set to YES, the page author's visited link color may be overridden 6.153 +# to allow better contrast with text/links/background 6.154 +#contrast_visited_color=YES 6.155 + 6.156 +#------------------------------------------------------------------------- 6.157 +# USER INTERFACE SECTION 6.158 +#------------------------------------------------------------------------- 6.159 + 6.160 +# Size of dillo panel (used to enlarge the browsing area) 6.161 +# tiny : recommended for iPAQ (with small_icons) 6.162 +# small : very nice! (it's "medium" without icon titles) 6.163 +# medium : nice! 6.164 +# large : Traditional 6.165 +# panel_size=tiny 6.166 +panel_size=small 6.167 +# panel_size=medium 6.168 +# panel_size=large 6.169 + 6.170 +#small_icons=NO 6.171 + 6.172 +# Here you can choose to hide some widgets of the dillo panel... 6.173 +#show_back=YES 6.174 +#show_forw=YES 6.175 +#show_home=YES 6.176 +#show_reload=YES 6.177 +#show_save=YES 6.178 +#show_stop=YES 6.179 +#show_bookmarks=YES 6.180 +#show_tools=YES 6.181 +#show_filemenu=YES 6.182 +#show_clear_url=YES 6.183 +#show_url=YES 6.184 +#show_search=YES 6.185 +#show_progress_box=YES 6.186 + 6.187 +# Start dillo with the panels hidden? 6.188 +#fullwindow_start=NO 6.189 + 6.190 +# When filling out forms, our default behaviour is to submit on enterpress, 6.191 +# but only when there's a single text entry (to avoid incomplete submits). 6.192 +# OTOH, if you have to fill out the same form repeatedly, you may find it 6.193 +# useful to keep away from the mouse by forcing enter to submit. 6.194 +#enterpress_forces_submit=NO 6.195 + 6.196 +# A mouse's middle click over a link opens a new Tab. 6.197 +# If you prefer to open a new Window instead, set it to NO. 6.198 +#middle_click_opens_new_tab=YES 6.199 + 6.200 +# Mouse middle click by default drives drag-scrolling. 6.201 +# To paste an URL into the window instead of scrolling, set it to NO. 6.202 +# Note: You could always paste the URL onto the URL box clear button. 6.203 +#middle_click_drags_page=YES 6.204 + 6.205 +# Focus follows new Tabs. 6.206 +# You can hold SHIFT to temporarily revert this behaviour. 6.207 +#focus_new_tab=YES 6.208 + 6.209 + 6.210 +#------------------------------------------------------------------------- 6.211 +# DEBUG MESSAGES SECTION 6.212 +#------------------------------------------------------------------------- 6.213 + 6.214 +# Soon we should add the "show_debug_messages=NO" option... 6.215 + 6.216 +# Generic messages (mainly for debugging specific parts) 6.217 +# Change this to disable them. 6.218 +#show_msg=YES 6.219 + 6.220 + 6.221 +#------------------------------------------------------------------------- 6.222 +# HTML BUG MESSAGES SECTION 6.223 +#------------------------------------------------------------------------- 6.224 + 6.225 +# Accepted by the W3C validator but "strongly discouraged" by the SPEC. 6.226 +# (Such as "TAB character inside <PRE>"). 6.227 +#show_extra_warnings=NO 6.228 + 6.229 + 6.230 +# ----------------------------------------------------------------------- 6.231 +# dillorc ends here.
7.1 Binary file dillo-hg/stuff/pics/slitaz-dillo.png has changed