slitaz-forge rev 537

arm: microNews support
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 04:50:32 2014 +0200 (2014-05-01)
parents 9a381080da2b
children d0383e006701
files arm/index.html arm/news.txt arm/rpi/index.html arm/tools.cgi
line diff
     1.1 --- a/arm/index.html	Thu May 01 04:15:25 2014 +0200
     1.2 +++ b/arm/index.html	Thu May 01 04:50:32 2014 +0200
     1.3 @@ -31,7 +31,7 @@
     1.4  		<li><a class="nav2" href="tools.cgi?doc&amp;tool=sat">README</a></li>
     1.5  		<li><a class="nav1" href="http://twitter.com/slitaz" 
     1.6  			title="Follow us on Twitter"><img src="images/twitter.png"
     1.7 -			alt="Twitter" /><span class="mobile"> @slitaz</span></a></li>
     1.8 +			alt="Twitter" /></a></li>
     1.9  	</ul>
    1.10  </nav>
    1.11  
    1.12 @@ -68,20 +68,65 @@
    1.13  		alt="slitaz-rpi-links PNG" style="margin: 4px 0;" /></a>
    1.14  </div>
    1.15  
    1.16 +<div class="box-up">
    1.17 +	Stay informed with: <a href="tools.cgi?micronews">SliTaz ARM &micro;News</a>
    1.18 +</div>
    1.19 +
    1.20  <h2>Raspberry Pi</h2>
    1.21  
    1.22  <p>
    1.23  	Currently the SliTaz official ARM port works on the Raspberry Pi and can
    1.24  	be used to setup a small server. DirectFB, Xorg, JWM, E17, Openbox and
    1.25 -	the FOX toolkit is ported and provides a nice and light GUI support. 
    1.26 -	Sat-rpi lets advanced users create custom Rpi flavors with an official
    1.27 -	Kernel, custom boot options and more.
    1.28 +	the FOX toolkit and FLTK is ported and provides a nice and light GUI
    1.29 +	support. Sat-rpi lets advanced users create custom Rpi flavors with
    1.30 +	an official Kernel, custom boot options and more.
    1.31  </p>
    1.32  
    1.33  <div class="box-rpi">
    1.34  	<a href="rpi/">SliTaz Raspberry Pi Home</a>
    1.35  </div>
    1.36  
    1.37 +<h2>SliTaz Tiny/Touch Screen</h2>
    1.38 +
    1.39 +<img src="images/shots/sts-pitft.png" alt="sts-pitft.png" 
    1.40 +	style="float: right; margin: 10px 0 10px 20px;" />
    1.41 +
    1.42 +<p>
    1.43 +	The SliTaz Tiny/Touch Screen aka sts provides a suitable desktop for
    1.44 +	small screens such as a 320x240 TFT display. The screenshot shows sts
    1.45 +	running on the Raspberry PiTFT touchscreen. The desktop is powered
    1.46 +	by Openbox and LXpanel. All applications are started maximised and
    1.47 +	without decoration.
    1.48 +</p>
    1.49 +<p>	
    1.50 +	To close windows and switch desktops you must use the hidden bottom 
    1.51 +	panel. Sts provide a small cmdline tool to handle custom tasks and
    1.52 +	the sts-session script can be used to start an X session via startx
    1.53 +	and ~/.xsession or the Slim login manager.
    1.54 +</p>
    1.55 +
    1.56 +<pre>
    1.57 +$ sts help
    1.58 +</pre>
    1.59 +
    1.60 +<h2>Packages</h2>
    1.61 +
    1.62 +<p>
    1.63 +	All SliTaz ARM packages are automatically built by the
    1.64 +	<a href="http://cook.slitaz.org/cross/arm/">ARM Cooker</a>. To properly
    1.65 +	handle the SLITAZ_ARCH variable, the recommended Package Manager is
    1.66 +	<a href="http://hg.slitaz.org/spk">spk</a>. One way to start
    1.67 +	with the Spk Toolset is to generate a distro and include spk. 
    1.68 +	On a SliTaz ARM system you simply run 'spk-up --list' to get the 
    1.69 +	latest <a href="tools.cgi?pkgs">packages list</a>. The current ARM
    1.70 +	packages mirror URL:
    1.71 +</p>
    1.72 +
    1.73 +<div class="box-dl">
    1.74 +	<a href="http://cook.slitaz.org/cross/arm/packages/"
    1.75 +		>http://cook.slitaz.org/cross/arm/packages/</a>
    1.76 +</div>
    1.77 +
    1.78  <h2>Build distros</h2>
    1.79  
    1.80  <p>
    1.81 @@ -109,47 +154,6 @@
    1.82  # sat mirror &amp;&amp; sat gen --flavor=arm-base
    1.83  </pre>
    1.84  
    1.85 -<h2>Packages</h2>
    1.86 -
    1.87 -<p>
    1.88 -	All SliTaz ARM packages are automatically built by the
    1.89 -	<a href="http://cook.slitaz.org/cross/arm/">ARM Cooker</a>. To properly
    1.90 -	handle the SLITAZ_ARCH variable, the recommended Package Manager is
    1.91 -	<a href="http://hg.slitaz.org/spk">spk</a>. One way to start
    1.92 -	with the Spk Toolset is to generate a distro and include spk. 
    1.93 -	On a SliTaz ARM system you simply run 'spk-up --list' to get the 
    1.94 -	latest <a href="tools.cgi?pkgs">packages list</a>. The current ARM
    1.95 -	packages mirror URL:
    1.96 -</p>
    1.97 -
    1.98 -<div class="box-dl">
    1.99 -	<a href="http://cook.slitaz.org/cross/arm/packages/"
   1.100 -		>http://cook.slitaz.org/cross/arm/packages/</a>
   1.101 -</div>
   1.102 -
   1.103 -<h2>SliTaz Tiny/Touch Screen</h2>
   1.104 -
   1.105 -<img src="images/shots/sts-pitft.png" alt="sts-pitft.png" 
   1.106 -	style="float: right; margin: 10px 0 10px 20px;" />
   1.107 -
   1.108 -<p>
   1.109 -	The SliTaz Tiny/Touch Screen aka sts provides a suitable desktop for
   1.110 -	small screens such as a 320x240 TFT display. The screenshot shows sts
   1.111 -	running on the Raspberry PiTFT touchscreen. The desktop is powered
   1.112 -	by Openbox and LXpanel. All applications are started maximised and
   1.113 -	without decoration.
   1.114 -</p>
   1.115 -<p>	
   1.116 -	To close windows and switch desktops you must use the hidden bottom 
   1.117 -	panel. Sts provide a small cmdline tool to handle custom tasks and
   1.118 -	the sts-session script can be used to start an X session via startx
   1.119 -	and ~/.xsession or the Slim login manager.
   1.120 -</p>
   1.121 -
   1.122 -<pre>
   1.123 -$ sts help
   1.124 -</pre>
   1.125 -
   1.126  <h2>Prebuilt ARM Toolchain</h2>
   1.127  
   1.128  <p>
   1.129 @@ -172,36 +176,31 @@
   1.130  	toolchains and 'cook' is used to cross compile SliTaz packages.
   1.131  </p>
   1.132  
   1.133 -<!--<p>
   1.134 -	README, howto and docs: <a href="tools.cgi?doc&amp;tool=cross">cross</a>
   1.135 -	- <a href="tools.cgi?doc&amp;tool=cook">cook</a>. Here is a quickstart 
   1.136 -	cmdline setup:
   1.137 -</p>-->
   1.138 -
   1.139  <p>
   1.140  	Here is a cmdline quickstart setup:
   1.141  </p>
   1.142  
   1.143  <pre>
   1.144 -Setup the build chroot
   1.145 +1) Setup the build chroot
   1.146 +-------------------------
   1.147  # tazdev gen-chroot --arch=arm
   1.148  # tazdev -c --arch=arm
   1.149  
   1.150 -Setup the cross toolchain
   1.151 +2) Setup the cross toolchain
   1.152 +----------------------------
   1.153  # mkdir -p /cross &amp;&amp; cd /cross
   1.154  # wget http://mirror.slitaz.org/arm/cross/slitaz-arm-toolchain-20140304.tar.bz2
   1.155  # tar xjf slitaz-arm-toolchain-20140304.tar.bz2
   1.156  # cp -a slitaz-arm-toolchain-*/arm /cross
   1.157  
   1.158 -Check the toolchain installation
   1.159 -# export PATH=$PATH:/cross/arm/tools/bin
   1.160 -# arm-slitaz-linux-gnueabi-gcc -v
   1.161 -
   1.162 -Setup cross/cook environment:
   1.163 +3) Setup cross/cook environment
   1.164 +-------------------------------
   1.165  # cross arm-setup
   1.166  # cook setup --wok
   1.167  
   1.168 -Cross compile zlib and check testsuite output
   1.169 +4) Testsuite and cross compile zlib
   1.170 +-----------------------------------
   1.171 +# cross testsuite
   1.172  # cook zlib
   1.173  </pre>
   1.174  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/arm/news.txt	Thu May 01 04:50:32 2014 +0200
     2.3 @@ -0,0 +1,2 @@
     2.4 +20140425: Full PiGlow support: PyGlow + Wiring Pi + custom SliTaz utility
     2.5 +20140501: <a href="codex/pibook.html">SliTaz PiBook</a> is out! Learn how to use SliTaz Raspberry Pi distro
     3.1 --- a/arm/rpi/index.html	Thu May 01 04:15:25 2014 +0200
     3.2 +++ b/arm/rpi/index.html	Thu May 01 04:50:32 2014 +0200
     3.3 @@ -48,10 +48,10 @@
     3.4  	with your Raspberry Pi and SliTaz.
     3.5  </p>
     3.6  
     3.7 -<pre class="box-rpi">
     3.8 -20140501: <a href="../codex/pibook.html">SliTaz PiBook</a> is out! Learn using SliTaz and the Raspberry Pi
     3.9 -20140425: Full PiGlow support: PyGlow + Wiring Pi + custom SliTaz utility
    3.10 -</pre>
    3.11 +<div class="box-rpi">
    3.12 +20140501: <a href="../codex/pibook.html">SliTaz PiBook</a> is out! Learn how
    3.13 +to use SliTaz Raspberry Pi distro - <a href="../tools.cgi?micronews">&micro;News</a>
    3.14 +</div>
    3.15  
    3.16  <div style="text-align: center;">
    3.17  	<a href="../images/shots/tazberry.png"><img 
     4.1 --- a/arm/tools.cgi	Thu May 01 04:15:25 2014 +0200
     4.2 +++ b/arm/tools.cgi	Thu May 01 04:50:32 2014 +0200
     4.3 @@ -54,10 +54,27 @@
     4.4  		esac
     4.5  		echo '</pre>'
     4.6  		html_footer ;;
     4.7 +	
     4.8 +	*\ micronews\ *)
     4.9 +		header
    4.10 +		html_header "microNews" 
    4.11 +		cat << EOT
    4.12 +<h2>SliTaz ARM &micro;News</h2>
    4.13 +<p>
    4.14 +	Development activity can be seen on: 
    4.15 +	<a href="http://hg.slitaz.org/slitaz-arm">SliTaz ARM Hg repo</a>
    4.16 +</p>
    4.17 +<pre style="line-height: 1.6em;">
    4.18 +$(tac news.txt)
    4.19 +</pre>
    4.20 +EOT
    4.21 +		html_footer ;;
    4.22 +		
    4.23  	*\ pkgs\ *)
    4.24  		# TODO: link packages and add link to raw lists
    4.25  		title="- Packages"
    4.26  		count="$(cat $pkgs/packages.list | wc -l)"
    4.27 +		header
    4.28  		html_header "Packages"
    4.29  		cat << EOT
    4.30  <h2>Packages: $count</h2>