Bo's blog

Wednesday, December 14, 2005




BuildingAndConfiguring




Note

This documentation is a little out of date. Any volunteers to update it?


There are a number of packages involved in PicoGUI. For most users, you'll want to build pgserver, cli_c, and a few programs from apps or even ports. In general, C programs depend on cli_c being built and installed while Perl programs will require cli_perl.

See also BuildingWithMinGW if you want to run a suitably defenestratable build.




  • Building and configuring pgserver

    • Prerequisites: JPEG and SDL libraries including headers. Can be disabled.

    • Prepare the environment by running ''./autogen.sh'' if you downloaded PicoGUI from CVS.

    • Run ''./configure'' to create the makefiles. There are some important ConfigurationOptions you might want to set. You might also consider how to set up the server for a CrossCompilation?.

    • Run ''make menuconfig'' and choose how to set your server up. Important settings:

      • Target system

        • ''Use UNIX sockets instead of TCP/IP'' If you select this, you must also specify ''--enable-unix-sockets'' when running configure for cli_c.




      • Debugging

        • ''Electric Fence malloc debugging'' Disable this if you don't have Electric Fence installed.




      • Fonts

        • ''Fixed 13 ja (Japanese Unicode)'' This font is ''huge''. Do not select it unless you intend to work on PicoGUI's Unicode support.




      • Input Drivers

        • ''Touchscreen calibration'' Enable this if you intend to use a touchscreen. So far only the Palmax driver uses this, and you won't be able to select that driver without enabling touchscreen calibration.







    • Build the pgserver with ''make''. You may run into errors with undefined references to something_regfunc; this is generally because of cross-dependencies between input and output drivers (for instance, ncurses, X11 and SDL all have one driver of each type - both must be enabled together).

    • Optionally, install with ''make install''. You can also run pgserver in place; it has no external dependencies, and can be told where to find its configuration using the flag ''-c pgserver.conf''.

    • NOTE: Now that cli_c and themetools don't have their own copy of the picogui headers, you'll need to install pgserver or just copy the headers to /usr/local/include to compile cli_c and themetools. There are probably some ./configure settings to work around this but MicahDowty? sucks at build systems...

    • Write an appropriate [pgserver.conf]?




  • Building and installing the C client library (cli_c)

    • Prepare the environment using ''./autogen.sh'' (only for code from CVS) .

    • Generate the makefiles using ''./configure''. Remember to add the option ''--enable-unix-sockets'' if you enabled them in the server, as the current version only supports either one or the other. You can use the CrossCompilation? options used for the server to configure the client.

    • Build the library by running ''make''

    • Install it by running ''make install'' as root.

    • Make sure that the library can be found:

      • Verify that /usr/local/lib is listed in /etc/ld.so.conf

      • Run ldconfig







  • Building and installing the theme file utilities (themetools)

    • Prepare the environment using ''./autogen.sh'' (only for code from CVS) .

    • Generate the makefiles using ''./configure''. If you want support for compiling OpenGL themes, you need to have the OpenGL headers installed, and add the ''--enable-opengl'' flag to ''./configure''.

    • Build the tools with ''make''

    • Install it by running ''make install'' as root.

    • You should now have ''themec'' and ''thdump'' binaries on your system
























Labels: ,

Friday, October 07, 2005

Address Change List for Moving

For Canadian:

SIN Card
驾照(6,7天内)
健康卡
枫业卡
加拿大护照上的地址
电话
保险公司
Cable TV,或卫星公司
CCRA
CIC
EI
所有银行
所有信用卡(VISA,Master,AMEX,CT,HBC,Sears,Cosco,...)
通知Mortgage(house, car, boat, ...)
股票帐户注册
公司地址
家庭医生
牙医
会员卡(Library,airmile,aeroplan,sears,Esso,etc.)
CAA
给孩子转学
给朋友做的ref
通知亲朋好友
通知国内的爸爸妈妈
邮购公司
校友会
邮局改地址
中了奖的奖票
没有收到的rebate
公司或学校,
以前的公司
Will

留下搬家的发票,如果你符合条件,可以下一年用来抵税。要记下你前一个房东的地址,住在这里的时间,房东的姓名,将来做Security Clearance的时候要用,5年10年以后,你可能早忘了。找工作的Agent 或以发出的CV or Resume.

其实重要的就几个:
1 驾照,在shopping mall里的机器上改。
2 CCRA, 打电话,人家会问你去年的收入和退税,不改会影响小孩的牛奶费
3 如果你在移民局有没Close案子,去CIC网站上改。

其他的不太着急,别忘了就行了。
健康卡,在shopping mall里的机器上改。
银行和信用卡,打电话,帐单或T5, 寄到别人那不太好。
公司和以前的公司,主要是T4,
打电话保险公司,car, 你如距离远了,保险公司会加钱保险公司,
政府之外的健康保险,打电话CAA, 打电话

可以online change的
Driver's Licence, Health Card:
http://www.serviceontario.ca/english/iac/address_change.htm
CCRA:
http://www.cra-arc.gc.ca/eservices/tax/individuals/aco/menu-e.html
CIC:
http://www.cic.gc.ca/english/e-services/index.html
邮局
http://www.canadapost.ca/personal/o...n/default-e.asp

Labels:

Monday, August 29, 2005

How to register a Canadian car at Massachusetts

To register a Canadian car at Massachusetts, you need the following 5 paperwork.

1. A letter from manufacturer stating the vehicle meets safety and emmision standards
2. Custom form ( retrieve from the entry custom )
3. Photo ID ( license and Passport )
4. Registration of Canada or Title
5. RMV1 form with insurance stamp and agent's signature. ( That means you need get an auto insurance before register the car )

To get a letter from manufacturer
Mine is Volkswagen, they need you to provide the following information:
1. Registration and
2. The Engine Family Number and
3. the reason why you need this letter.
need 7-10 work days

If you forget the custom form, and you still can get it locally by contact the local registry office.


The following information was got from MA registry office

In order to apply for your registration and title transaction, please submit the following documents to your local full service RMV office:

1.) A completed RMV-1 Application (insurance stamp and agent's signature is required)
2.) Your original certificate of title or sufficient proof of ownership for your vehicle if title exempt
3.) MVU-29 Sales Tax Exemption Form
4.) $50.00 title fee and the new registration fee (Money order, cash or check only)
5.) Original U.S. Custom's Entry Form from the U.S. Customs Office

Please Note: Acceptable "proof of ownership" would be:
- Original Certificate of Title in the owner/seller's name
- The owner/seller's current or last known Registration Certificate
- Copy of the owner/seller's current or last known City or Town Excise bill
- The owner/seller's Sales Tax Receipt from the Department of Revenue (DOR)

Registration fees are determined by the type of registration plate you wish to have on your vehicle. After completing the transaction, you will receive a new registration certificate in your name, new plates and ayear of expiration decal for the rear plate over the counter. The title will be processed and mailed in approximately six (6) to eight (8) weeks. If you have a loan on the vehicle, the title will be maileddirectly to the lienholder listed on the RMV-1 Application. You must obtain a Massachusetts vehicle inspection within seven (7) days of the registration date.

To obtain the RMV-1 Application and/or MVU-29 form, please contact your authorized insurance agent, local RMV office or our Telephone Center at (617)351-4500 (within 339/617/781/857 area code) or 1(800)858-3926 (from all other MA area codes) Monday through Friday from 9 a.m. to 5 p.m., except holidays.

Labels: