Sandbox

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Sandbox - Test page for Wiki editing: Cleanup)
(Sandbox - Test page for Wiki editing)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{| class="wikitable" style="background#00CC00;border-left:1px solid white;border-right:1px solid white;border-top:0px solid white; border:1px solid #00CC00; float:right; margin: 0 0 1em 1em;"
 +
! style="background:#00cc00;border-left:1px solid white;border-right:5px solid white;border-top:0px solid white; border:1px solid #00CC00;" |<font color=white>Hardware</font>
 +
|-
 +
!style="background:#ffffff;border-left:1px solid white;border-right:1px solid white;border-top:0px solid white; border:1px solid #FFFFff;" |<div align=left>[[Openmoko-supported hardware]]
 +
|-
 +
!style="background:#FFFFff;border-left:1px solid white;border-right:1px solid white;border-top:0px solid white; border:1px solid #FFFFff;" |<div align=left>[[HXD8]]</div>
 +
|}
 +
 +
 +
 +
==簡體中文首頁BOX==
 +
<table class="wikitable" cellspacing="4" cellpadding="6" width="100%" style="color:white">
 +
<tr style="background:#ff6600; text-align:center; font-weight:bold">
 +
<td width="50%">Openmoko 大陆区最近消息</td>
 +
<td width="50%">Openmoko 台湾区最近消息</td>
 +
</tr>
 +
<tr valign="top" style="background:#333333">
 +
<td>
 +
<!-- News are included from the Template:News -->
 +
 +
</td>
 +
<td>
 +
:* [[Openmoko E-courseware|Openmoko E-courseware: 开放手机教材计划]]
 +
:* [[Openmoko Education Taiwan|Openmoko 校园课程与演讲 (台湾)]]
 +
:* [[Openmoko Taiwan Media Coverage|Openmoko 媒体报导 (台湾)]]
 +
:* [http://pixnet.net/openmoko Openmoko 相片集锦 (台湾)]
 +
:* [[Openmoko Taiwan|Openmoko 其他活动 (台湾)]]
 +
'''<font color=white>Openmoko 校园计划</font>'''
 +
:* [[Tsing Hua OpenLab|清华大学 OpenLab (台湾)]]
 +
:* [[Openmoko Taiwan Summer Intern|2008 暑期实习计划 (台湾)]]
 +
</td>
 +
</tr>
 +
<tr style="background:#ff6600; text-align:center; font-weight:bold">
 +
<td width="50%">Openmoko 全球最近消息</td>
 +
<td width="50%">Openmoko 繁中文讨论区热门主题</td>
 +
</tr>
 +
<tr valign="top" style="background:#333333">
 +
<td>
 +
<!-- 全球最新消息 -->
 +
{{News}}
 +
 +
* [[News Archive|(news archive)]]
 +
</td>
 +
<td>
 +
<!-- 繁体中文讨论区最新消息 -->
 +
<font color=white>
 +
:* [http://www.digitimes.com.tw/n/article.asp?id=0000112252_MKV3T4VS4WT8ON3IIXRQG Android/FreeRunner 相关报导]
 +
:* 11/06: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=9 Andorid是否可以porting到FreeRunner]
 +
:* 11/04: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=31 使用FreeRunner 的入门信息]
 +
:* 11/02: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=10&t=34 安装pidgin时候发生了error]
 +
:* 10/30: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=31 如何使用 Qtopia 开发 FreeRunner 应用程序]
 +
:* 10/17: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=18&t=26 目前台面上的发行版(distribution)试用感想]
 +
:* 10/17: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=20&t=25 Hi~刚拿到openmoko]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=7 编译程序的问题!(二)]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=16&t=24 My notbook PC can't find the usb0]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=23 无法编译 openmoko-sample2]
 +
:* 10/10: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=22 Couldn't upgrade the updated kernel and rootfs?]
 +
</font>
 +
</td>
 +
</tr>
 +
</table>
 +
 +
 +
==test for main page box==
 +
<table class="wikitable" cellspacing="4" cellpadding="6" width="100%" style="color:white">
 +
<tr style="background:#ff6600; text-align:center; font-weight:bold">
 +
<td width="50%">Openmoko 大陸區最近消息</td>
 +
<td width="50%">Openmoko 台灣區最近消息</td>
 +
</tr>
 +
<tr valign="top" style="background:#333333">
 +
<td>
 +
<!-- News are included from the Template:News -->
 +
 +
</td>
 +
<td>
 +
:* [[Openmoko E-courseware|Openmoko E-courseware: 開放手機教材計畫]]
 +
:* [[Openmoko Education Taiwan|Openmoko 校園課程與演講 (台灣)]]
 +
:* [[Openmoko Taiwan Media Coverage|Openmoko 媒體報導 (台灣)]]
 +
:* [http://pixnet.net/openmoko Openmoko 相片集錦 (台灣)]
 +
:* [[Openmoko Taiwan|Openmoko 其他活動 (台灣)]]
 +
'''<font color=white>Openmoko 校園計畫</font>'''
 +
:* [[Tsing Hua OpenLab|清華大學 OpenLab (台灣)]]
 +
:* [[Openmoko Taiwan Summer Intern|2008 暑期實習計畫 (台灣)]]
 +
</td>
 +
</tr>
 +
<tr style="background:#ff6600; text-align:center; font-weight:bold">
 +
<td width="50%">Openmoko 全球最近消息</td>
 +
<td width="50%">Openmoko 繁中文討論區熱門主題</td>
 +
</tr>
 +
<tr valign="top" style="background:#333333">
 +
<td>
 +
<!-- 全球最新消息 -->
 +
{{News}}
 +
 +
* [[News Archive|(news archive)]]
 +
</td>
 +
<td>
 +
<!-- 繁體中文討論區最新消息 -->
 +
<font color=white>
 +
:* [http://www.digitimes.com.tw/n/article.asp?id=0000112252_MKV3T4VS4WT8ON3IIXRQG Android/FreeRunner 相關報導]
 +
:* 11/06: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=9 Andorid是否可以porting到FreeRunner]
 +
:* 11/04: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=31 使用FreeRunner 的入門資訊]
 +
:* 11/02: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=10&t=34 安裝pidgin時候發生了error]
 +
:* 10/30: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=31 如何使用 Qtopia 開發 FreeRunner 應用程式]
 +
:* 10/17: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=18&t=26 目前檯面上的發行版(distribution)試用感想]
 +
:* 10/17: [http://www.openmoko-tw.net/phpbb/viewtopic.php?f=20&t=25 Hi~剛拿到openmoko]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=7 編譯程式的問題!(二)]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=16&t=24 My notbook PC can't find the usb0]
 +
:* 10/15: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=23 無法編譯 openmoko-sample2]
 +
:* 10/10: [http://openmoko-tw.net/phpbb/viewtopic.php?f=10&t=22 Couldn't upgrade the updated kernel and rootfs?]
 +
</font>
 +
</td>
 +
</tr>
 +
</table>
 +
 
= Sandbox - Test page for Wiki editing =
 
= Sandbox - Test page for Wiki editing =
  
Line 6: Line 121:
  
 
----
 
----
 +
 +
This is a test {{Citation needed}} here!
 +
 +
Literal curly brace test:
 +
 +
[[Category:new123]]
 +
 +
 +
 +
 +
 +
<nowiki>device {
 +
        iscan enable;
 +
        pscan enable;
 +
}</nowiki>
 +
 +
 +
hello
 +
 +
with a space
 +
 +
Attached is a beta fix for the .la problem. Untar the .tar.bz2 as root, and execute the following bash script as root:
 +
 +
#!/bin/sh
 +
DIR=/usr/local/openmoko/arm
 +
for la in `find $DIR -iname \*.la`; do
 +
dependency_libs=
 +
. $la
 +
for lib in $dependency_libs ; do
 +
delib=`echo $lib | grep -E .la$`
 +
if [ -z $delib ] ; then
 +
echo -n
 +
elif [ -f $delib ]; then
 +
echo -n
 +
else
 +
basedelib=`basename $delib`
 +
replacedelibs=`find $DIR -iname $basedelib`
 +
found=0
 +
for replacedelib in $replacedelibs ; do
 +
if [ $replacedelib == $delib ]; then
 +
found=1
 +
fi
 +
done
 +
if [ $found -gt 0 ] ; then
 +
echo -n
 +
else
 +
sed_delib=`echo $delib | sed 's/\//\\\\\//g'`
 +
sed_replacedelib=`echo $replacedelib | sed 's/\//\\\\\//g'`
 +
# A bit slow, we could chain expressions for speed. :)
 +
cp $la $la.old
 +
cat $la | sed "s/$sed_delib/$sed_replacedelib/g" > $la.new
 +
mv $la.new $la
 +
rm $la.old
 +
fi
 +
fi
 +
done
 +
done
 +
 +
* Please use the [http://lists.openmoko.org/mailman/listinfo/openmoko-devel Openmoko-Devel] mailing list.
 +
 +
* For Ubuntu 8.04 ( Previous versions don't support libmokoui2 ) the following is required:
 +
sudo apt-get install gcc g++ autoconf automake binutils libtool libglib2.0-dev \
 +
ccache libxrender-dev intltool libmokoui2-dev libgconf2-dev mtools fakeroot alien check
 +
 +
[[Category:Test]]

Latest revision as of 00:11, 27 January 2009

Hardware


[edit] 簡體中文首頁BOX

Openmoko 大陆区最近消息 Openmoko 台湾区最近消息

Openmoko 校园计划

Openmoko 全球最近消息 Openmoko 繁中文讨论区热门主题



[edit] test for main page box

Openmoko 大陸區最近消息 Openmoko 台灣區最近消息

Openmoko 校園計畫

Openmoko 全球最近消息 Openmoko 繁中文討論區熱門主題


[edit] Sandbox - Test page for Wiki editing

Please leave this intro and edit below the line.

Feel free to use this article to try formatting, editing or whatever related. Don't worry, someone will clean up after you.


This is a test Citation needed

here!

Literal curly brace test:



device { iscan enable; pscan enable; }


hello

with a space

Attached is a beta fix for the .la problem. Untar the .tar.bz2 as root, and execute the following bash script as root:

  1. !/bin/sh

DIR=/usr/local/openmoko/arm for la in `find $DIR -iname \*.la`; do dependency_libs= . $la for lib in $dependency_libs ; do delib=`echo $lib | grep -E .la$` if [ -z $delib ] ; then echo -n elif [ -f $delib ]; then echo -n else basedelib=`basename $delib` replacedelibs=`find $DIR -iname $basedelib` found=0 for replacedelib in $replacedelibs ; do if [ $replacedelib == $delib ]; then found=1 fi done if [ $found -gt 0 ] ; then echo -n else sed_delib=`echo $delib | sed 's/\//\\\\\//g'` sed_replacedelib=`echo $replacedelib | sed 's/\//\\\\\//g'`

  1. A bit slow, we could chain expressions for speed. :)

cp $la $la.old cat $la | sed "s/$sed_delib/$sed_replacedelib/g" > $la.new mv $la.new $la rm $la.old fi fi done done

  • For Ubuntu 8.04 ( Previous versions don't support libmokoui2 ) the following is required:
sudo apt-get install gcc g++ autoconf automake binutils libtool libglib2.0-dev \
ccache libxrender-dev intltool libmokoui2-dev libgconf2-dev mtools fakeroot alien check
Views
Personal tools

Sandbox - Test page for Wiki editing

Please leave this intro and edit below the line.

Feel free to use this article to try formatting, editing or whatever related. Don't worry, someone will clean up after you.


Tools