<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hao&#039;s Blog &#187; Open Source</title>
	<atom:link href="http://www.haostudio.idv.tw/blog/?cat=7&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://www.haostudio.idv.tw/blog</link>
	<description>小豪的日誌</description>
	<lastBuildDate>Thu, 10 Nov 2016 10:53:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>在Linux 環境中安裝Qt Library. (build from Qt source code)</title>
		<link>https://www.haostudio.idv.tw/blog/?p=414</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=414#comments</comments>
		<pubDate>Thu, 14 Jul 2011 06:04:40 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=414</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

(1) 到Qt網站下載Qt Library source code. 我目前下載的版本是qt-everywhere-opensource-src-4.7.3.tar.gz.  將其copy到$HOME/src中
(2) 因為我只想將Qt中安裝給自己使用, 所以目標是將Qt裝在自己的home directory.並且編譯成static library. 所以安裝動作如下:

cd ~/src
tar -zxvf qt-everywhere-opensource-src-4.7.3.tar.gz
cd qt-everywhere-opensource-src-4.7.3
./configure -prefix $HOME/bin/Qt-4.7.3 -static -largefile -opensource
make
make install

(3) 裝完後, 將環境變數的PATH新增$HOME/bin/Qt-4.7.3/bin 即可
(4) 注意: 因為我是將Qt 裝在自己的home directory, 所以$HOME/bin/Qt-4.7.3/bin 裡面有一個qmake的程式, 通常Linux也會內建一個qmake程式, 有時這兩個版本會不相容. 所以當你要執行qmake這個程式時, 請確定是執行到$HOME/bin/Qt-4.7.3/bin/qmake.  通常只要注意path設定的先後順序, 如下, 應該就沒問題:

PATH=$HOME/bin/Qt-4.7.3/bin/:$PATH

(5) 若需要更多的選項, 請下列指令來顯示這些選項的說明

 ./configure --help

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=414</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Samba中新增一個目錄, 讓Windows User不需帳號也能存取</title>
		<link>https://www.haostudio.idv.tw/blog/?p=409</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=409#comments</comments>
		<pubDate>Mon, 21 Jun 2010 06:37:34 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[架站]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=409</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

最近有個需求, 就是要在Samba server 中開啟一個shared的目錄, 讓Windows 的User沒有帳號, 也可以存取此目錄.
感覺上是個簡單的問題, 但是我卻搞了好久才搞定&#8230;.
首先在Samba有開一個shared的目錄, 權限如下:

[shared]
        path = /home/shared
        writeable = no
        browseable = yes
        guest ok = yes

設定完後, 重新啟用samba, [...]]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=409</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安裝SID Simulator 到CentOS 5.2中</title>
		<link>https://www.haostudio.idv.tw/blog/?p=406</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=406#comments</comments>
		<pubDate>Fri, 11 Jun 2010 02:22:04 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[EDA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[embedded system]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=406</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

首先參考這裡,  去抓SID 的source code.
我抓的檔是:sid-20100601.tar.bz2
在Linux 中, 建立一個目錄src, 並將SID 的source code放到這個目錄.
然後將下面的code 存成build_sid.sh, 並且和SID 的source code 放在一起.

#!/bin/bash
INSTALL_PATH=~/bin/sid
SID_TAR_BALL=sid-20100601.tar.bz2

#
# Variables
#
BUILD_DIR=build
SRC_DIR=sid_src
#
# Remove old install-directory then create new
#
if [ -d ${INSTALL_PATH} ]; then
    rm -rf ${INSTALL_PATH}/*
else
    mkdir -p ${INSTALL_PATH}
fi

#
# Create source directory
#
if [ -d ${SRC_DIR} ]; then
    rm [...]]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=406</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crossplatform chm reader</title>
		<link>https://www.haostudio.idv.tw/blog/?p=400</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=400#comments</comments>
		<pubDate>Mon, 26 Apr 2010 02:05:34 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=400</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

真不錯, 幾乎所有平台都有xchm.
http://xchm.sourceforge.net/index.html
在MAC 下, 最簡單的方式就是用macport 來安裝.
sudo port install xchm

2010/05/05 更新.
@@##xxx用port install 竟然失敗, 卡在python 有問題, 過不了&#8230;..算了, 還是裝別人編譯好的檔來用吧~~
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=400</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SID simulator</title>
		<link>https://www.haostudio.idv.tw/blog/?p=396</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=396#comments</comments>
		<pubDate>Tue, 06 Apr 2010 11:14:15 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[EDA]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[embedded system]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=396</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

SID is a framework for building computer system simulations.
Specifically, a simulation is comprised of a collection of loosely coupled components. Simulated systems may range from a CPU&#8217;s instruction set to a large multi-processor embedded system. 
以上擷取至http://sources.redhat.com/sid
簡單來說就是拿它來做軟硬體的模擬啦&#8230;.
SID 的source code 一直都無法從Redhat 的CVS server抓下來.
後來Google 教我從這裡也可以抓到SID 的source code 喔.
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=396</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Synergy+ : Share Keyboard &amp; Mouse (支援Windows/Linux/MacOS)</title>
		<link>https://www.haostudio.idv.tw/blog/?p=388</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=388#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:24:21 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=388</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

剛剛才找到的一個非常實用的軟體: 讓兩部電腦共用Keyboard &#038; Mouse. (螢幕沒有共用)
Synergy+
他是Synergy的延伸版本. 因為Synergy 在2006年以後就沒有再改版了.
而Synergy+ 是基於Synergy改版而來的. 到目前為止還有持續在改版喔~~
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=388</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Cygwin中安裝wxWidgets</title>
		<link>https://www.haostudio.idv.tw/blog/?p=383</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=383#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:48:56 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=383</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

繼在Linux中安裝wxWidgets之後,
現在又有需求將wxWidgets裝在Cygwin中.
(1) 先到http://www.cygwin.com/下載並安裝cygwin. 我目前裝的是1.7 beta版. 並且所有的套件全部裝上, 以免缺東缺西的很討厭. 反正我HDD夠大,沒差那1,2GB
(2) 到http://www.wxwidgets.org/下載wxWidgets source code. 我目前用的是wxX11-2.8.10.tar.gz. 並將其copy到Cygwin 中的$HOME/src
(3)因為我只想將wxWidget中安裝給自己使用, 所以目標是將wxWidget裝在自己的home directory.
(4) 新增一個檔案叫做install_wx_cygwin.sh 在$HOME/src中, 內容如下:

#!/bin/bash
export CFLAGS=-mno-cygwin
export CPPFLAGS=-mno-cygwin
export CXXFLAGS=-mno-cygwin
export LDFLAGS="-mno-cygwin -mwindows"
./configure --prefix=$HOME --with-msw --enable-unicode --disable-shared --enable-std_iostreams --disable-precomp-headers --without-expat
make
make install
make samples

(5) 接下來在Cygwin中執行的操作如下:

cd $HOME/src
chmod +x install_wx_cygwin.sh
tar -zxvf wxX11-2.8.10.tar.gz
cd wxX11-2.8.10
../install_wx_cygwin.sh

(6)裝完後, 將環境變數的PATH新增$HOME/bin 即可
參考文章http://wiki.wxwidgets.org/Cygwin
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=383</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visio 的替代品&#8211;Dia (For Linux/Windows/Mac)</title>
		<link>https://www.haostudio.idv.tw/blog/?p=377</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=377#comments</comments>
		<pubDate>Mon, 23 Nov 2009 16:00:17 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=377</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});


Dia 網站: http://live.gnome.org/Dia
Dia for Mac: http://dia.darwinports.com/
Dia for Windows: http://dia-installer.de/
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=377</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在ubuntu執行wxWidget程式的問題</title>
		<link>https://www.haostudio.idv.tw/blog/?p=374</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=374#comments</comments>
		<pubDate>Mon, 12 Oct 2009 07:10:35 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=374</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

我有一個base on wxWidget 2.8.10 的GUI程式, 是在CentOS 5.2的環境中編譯的.
當初在compile wxWidget 2.8.10時, 特別加上了『&#8211;disable-shared』的參數.
參考這裡.
所以我本想這支程式應該可以在許多的Linux Distribution 中執行.
所以剛剛把它拿到ubtuntu 9.0.4中跑,結果這程式竟然需要libexpat.so.0 這個shared library.
而且好死不死, ubuntu 9.0.4中竟然無法安裝libexpat0 (原因是太舊了&#8230;.),  哇哩列～～
情急之下,  只好先拿libexpat.so.1.5.2頂著先用.
如下:

cd /usr/lib
sudo ln -s libexpat.so.1.5.2 libexpat.so.0

還好, 我的程式跑起來了,  先躲過一關了,  接下來要了解為何wxWidgets要吃libexpat這個shared library&#8230;&#8230;嗯來去問Google看看]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=374</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux下, 又一個好用的editor, Kate</title>
		<link>https://www.haostudio.idv.tw/blog/?p=365</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=365#comments</comments>
		<pubDate>Wed, 23 Sep 2009 11:11:44 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[FreeSoftware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=365</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

剛剛在一台新裝CentOS 5.2 中, 臨時要用一個text editor來看C/C++ 的code.
又很懶得去裝 jedit/MadEdit/Geany 等這些軟體.
所以就很順手的使用了gedit.
雖然gedit還算可以, 但是總沒有我想要的功能: 『C/C++ symbol viewer』
剛剛才發現, 原來用yum 安裝kdeaddons 套件後, 可以使用kde 的一套text editor, 叫做kate.
它內建的plug-in就有』C/C++ symbol viewer』的功能&#8230;..耶~~ 還不錯用喔,  如下圖.

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=365</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
