Monday Mar 24, 2008

When I was in university, I used to go to use CTem, FTerm to visit some BBS site, like bbs.newsmth.org. Mostly my schoolmates, that's was part of my study life. Now my work is under Non-Windows, QTerm is  a very-likely tool. It is a QT based BBS tool.


Because QT is quite big, can not upload here.

I committed the spec files to SFE, build yourself if you need..

$pkgtool --download build SFEqt.spec SFEqterm.spec

Enjoy

Tuesday Mar 11, 2008

I'm involved project OpenSync for several months, here I'd like to introduce a easy/fast way to build it on Solaris.

What you will need
==================
 - OS: Solaris Express Developer Edition (SXDE)
 - Compiler: SunStudio 10/11/12
 - Build Env: Common Build Enviroment (CBE) [2]

Check out spec files
==========================
$svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk spec-files-extra
$svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/spec-files/trunk spec-files

Build OpenSync with spec files
==============================
$cd spec-files
$pkgtool --download build SUNWsqlite3.spec

$cd ../spec-files-extra
$pkgtool --download build SFEcmake.spec SFEcheck.spec SFEswig.spec \
 SFEwbxml.spec SFEpython-httplib.spec SFEopenobex.spec \
 SFElibsyncml.spec SFElibopensync.spec SFEmsynctool.spec \
 SFElibopensync-plugin-*.spec

Now you could start to play with it.

Wednesday Jan 09, 2008

I'm so happy my name is under gnome bugzilla statistics of 2007, although my name is not top, I'm already involved in GNOME community. In the past year, I decided to transfer my work role from a release engineer to a developer. At the beginning, I spent several months on learning stuff. I kept asking questions to senior people, kept reading documents and codes, and kept active to accepting new work. Many thanks to those people who ever offered help to me.

With these works done, I'm fulling love with FOSS developing, and I definitely will keep on putting my energy on it.

Friday Dec 07, 2007

Indiana announce a developer preview edition, I get it and install on my pc.

The whole experience is okay, expect that there are some bugs and broken utilities. Be patient Man,  this is only a preview version.

I want to use Imagine to upgrade some of my packages, Migi told me the bundled the pkg is broken, I need use the trunk version. But no make and hg is bundeled.

I only have SUNWipkg which I build by my previous blog entry - Setup a IPS repository . Unfortunately, pkgadd is broken for the exsiting bug pkgadd broken in Preview 1

What can I do? A simple script would help.

#cd SUNWipkg
#export basedir=`cat pkginfo |grep ^BASEDIR|awk -F\= '{print $2}'`
#for i in `cat pkgmap |grep  ^"1 f"|awk '{print $4}'`; do cp $basedir/$i $basedir/$i.old; cp ./reloc/$i $basedir/$i; done

Another case is vino, the bundled vino does not allow use control remotely. 

 #cd SNWgnome-remote-desktop
#export basedir=`cat pkginfo |grep ^BASEDIR|awk -F\= '{print $2}'`
#for i in `cat pkgmap |grep  ^"1 f"|awk '{print $4}'`; do cp $basedir/$i $basedir/$i.old; cp ./reloc/$i $basedir/$i; done

 That's what I did, I'm going to setup a vermillion IPS repostory, and use Image to upgrade my GNOME.
 

Thursday Dec 06, 2007

What you will need

Build ipkg

#hg clone ssh://anon@hg.opensolaris.org/hg/pkg/gate
#cd gate/src/
#make
#make install

Install ipkg

#pkgadd -d ../packages/i386 SUNWipkg
#svccfg import /var/svc/manifest/pkg-server.xml

Verify the server is working

#svcs -a|grep pkg
online 14:52:40 svc:/application/pkg/server:default
Open a brower, access URL of your server,
for example: http://my-ips-server:80

You are now have setup the IPS repository sucessfully,
the default port is 80, default repo_dir is /var/pkg/repo.

Tuesday Oct 23, 2007

With help of Michal Pryc  and Erwann Chenede, I am now able to create easy use install-script for my projects. Here is how to:

1) You have install script for SVR4 packages

2) Create a base .sh script

You need to edit install and needed files to fit your requirements.
Please adjust the value  "skip=54", which is currently at line 34 of the script.
This value should equal the line number of this .sh file plus one.

3) make a .tar.bz2 for packages.

   # /usr/sfw/bin/gtar -jcf opensync-0.3.3-solaris-x86.tar.bz2 SFEswig \
SFEsqlite SFEwbxml SFEpylibs-httplib2 SFEopenobex SFElibsyncml \
SFElibopensync SFElibopensync-plugin-file SFElibopensync-plugin-evo2 \
SFElibopensync-plugin-gcal SFElibopensync-plugin-palm \
SFElibopensync-plugin-sml SFElibopensync-plugin-vfmt \
SUNWgnome-sync SUNWgnome-sync-plugins \
SUNWgnome-sync-root install-opensync

4) cp opensync-version-solaris-arch.sh opensync-0.3.3-solaris-x86.sh

5) cat opensync-0.3.3-solaris-x86.tar.bz2 >> opensync-0.3.3-solaris-x86.sh

6) Try this script

    # cp opensync-0.3.3-solaris-x86.sh /tmp
    # cd /tmp/
    # sh ./opensync-0.3.3-solaris-x86.sh -x
    # sh ./opensync-0.3.3-solaris-x86.sh

 Here we go.

Thursday May 10, 2007

To be honest, I did not think I can finish some work during the one and half month in Dublin office. ZhaoZhou once said, business trip will not be easy, work may turn into only thing you can do, now I should say that is true.

This is sun office in Dublin, where we work for one and a half month.


Work in face-to-face is most effective way, things are done very quickly, much better than email and IRC. And hence, my communication ability has been improved.

Work closely with senior guys make me full of passion, of course learn a lot. Harry is a push guy, he is always telling you what you need do, I'm a quesion guy, dare not to ask silly questions. :)That makes me learn a lot. Of course, continuously ask same question is not good, I think I'm not that person. :):):) Here, I worked well with Ghee Tao, and finished ospm demo, check out http://blogs.sun.com/gheet/entry/solaris_printing_experience_presto


The write board, Ghee and me wrote on it


Discussed with Calum Benson about OpenSync GUI, which is almost done. I get touch with OpenSync community, and will send out to community the design for discussion. I'm ready to start developing the new GUI, hope will get one usable version in one or two months.


This is my cubicle


Fixed several vino and gnome-keyring bugs belong to me. Fixed bunch of bugs on Anjuta project. and those patches are almost accepted by community, plan to apply check in permission after I fix several more bugs.

Get in touch the author of RAB to see whether it can help vino in accessibility. I will evaluate it when new version is available.

 

Dublin have many varieties of restaurants, most popular are Italy, India and Chinese. In my previous trip to US, I did not get well with the wast food, cheese and sweet made my stomach bad. But this time does not, maybe because we could find many Chinese restaurants to adjust.



Almost every Irish will mention Guinness beer, I do like Guinness, that's why I went to Guinness storehouse twice.

See, lots of people are waiting to enter. The ticket is 14 Euro for Adult, and 9.5 for student. You can get a fresh jot and enjoy whole Dublin city on the top of factory.



Breakfast: we ate things bought from supper market, bread, instant noodle, dumpling and pizza. There are two Chinese supper markets nearby our apartment, Asia market and Eastern market. Asia market is bigger, but will be closed at 7:00pm, which need us buy things at weekend. And we often go to Dunner Store, a Ireland local supermarket.
For lunch, we eat sandwich at office, which is quick and okay.
And for Dinner, we tried different restaurant, but after half a month, the biggest question is where to eat. The issue annoys us lots.

The 66 restaurant, we went there lots times.


Damien recommended us a Thai restaurant called Chili Club, which is good, we went there twice.


India food:


How to order is very a difficult thing for us, we do not know what it tastes like, so the tricky thing is we order different thing and share.
We lived in South West of city center, and Sun office is North East of Dublin, there is about 5-6 kilometers, not very long compared in Beijing. Here I'm going to show you how to get to office daily.

The normal route happened everyday:
Apartment         -- Tara street dart station (by foot, 20 mins)
Tara                  -- Clontarf Road (by dart, 10 mins)
Clontarf Road   -- office (by bus offered by East point park, 5 mins)
Count some waiting time, almost spend 50mins.

The best traffic tool is by foot, what we Chinese say 11 road. Traffic is not good, maybe big city always has this problem. We walked a lot, almost 5 kilometers in total one day. I do not think it is a bad thing, we can meet lots of things on the road. People here walk very fast, whatever man or woman, I could not catch at the beginning, but now, heihei, I'm one of them.



Two layer bus is special in Dublin, we bought a monthly adult ticket, it servers train and bus. Almost each bus will go to city center, where is bad traffic and I need not go there for work. Interesting thing is bus stop board only shows several big stops, for visitor like me, I must ask each bus whether they go to my place.
There is tour bus, this will take you almost every popular attraction in Dublin every 10 mins, very convenient. But I did not take it.

We did not take bus much, the most common thing we take the bus happened when the dart is out of service. We only need take 2 stops on dart, but we met more than three times out of service or breakdown. Then we must get off on Conolly stop, and go to city center for bus. Good thing is we can eat Chinese food since we need go across China Town.
See, Zhaozhou and Harry is looking for where we should take off. There are two kinds of trains, Dart is green and Commuter is blue, Commuter does not stop at Clontarf Road, we did not take it.

This is the park bus take us between office and dart.


There is another train on the street called Luas, but we did not take it.


Ireland, one of top ten livable countries for human being, when I talked to my friends I'll go to Ireland for several months, they'll give admiration eyes on me, and here I come. It's my honor one member of ERI star of 2006 and I get a chance to work in Sun's office in Dublin for one and a half month.

We spent almost 24 hours on travel from Beijing to Dublin, stayed for such a long 6 hours in Frankfurt airport. We were exhausting when I settled down on Hotel. Harry and I spent one week in Hotel, then moved to an apartment that company rent.

To be honest, I do not like Dublin at the first sight. This city is dirty, people are smoking everywhere on the roads, lots of dog-end can be found in public area; Drivers are crazy, they always give quick stop just before the stop line, which I was too scared to go across road even the light is green for people; everything is expensive, calculated to RMB, I won't buy anything.

But after a time living here, after we have chance to go outside of Dublin city in the weekends, I know why people love Ireland. God give such a big green, plain grand to Ireland, the air is 100 times cleaner than that of Beijing. I'll give show you what I think for Dublin, what I think for Ireland with words and pictures.

Some of photos are on http://www.flickr.com/photos/84713615@N00/

Sunday May 06, 2007

This are lots of shows on the road, not just begger, it is interest, we can not see it on Beijing road, show some pictures here.

















Here I shows some funny pictures I took:

Cool bicycle:


Clibming in office:


Two Yuan shop is not only for China:


Bill's 40 years car


Lost finding:


Sexy chair:


A tired tour:


Five cool people:


Election posters:


Malahide Castle:








Newgrange:


Glendalough:














Cliffs of moher:










Howth harbor:






This blog copyright 2008 by halton