My Contribution to Debian, 2013-4
QA upload:
- python-libpcap/0.6.4-1, sponsor by Sebastian Ramacher
Team upload:
- haproxy, upload by Vincent Bernat
Pending uploads (New):
* Debian Ruby Extras, sponsor by Cédric Boutillier
- ruby-mongo -- Ruby driver for MongoDB
- ruby-bson-ext -- C extensions to accelerate the Ruby BSON serialization
* PKG OpenStack, sponsor by Thomas Goirand
- python-heatclient -- client library and CLI for OpenStack Heat
Upload to unstable:
* PKG-PHP-PEAR, sponsor by Thomas Goirand
- php-calendar
- php-cache-lite
- php-html-template-it
- php-net-dime
- php-net-sieve
- php-services-weather
- enchant , sponsor by Aron Xu
Note:
- lintian -EvIL +pedantic
i3 window manager
ช่วงที่ผ่านได้หา Desktop Environment (DE) ไว้ใช้แทน GNOME 3 (ใช้ Mutter เป็น wm) สุดท้ายมาลงเอยที่ i3-wm (Tiling window manager) พัฒนาขึ้นด้วยภาษาซี ผู้พัฒนาและดูแลแพกเกจใน Debian คือ Michael Stapelberg (เป็นคนอัพโหลดแพคเกจแรกในเดเบียนให้ผม) สามารถติดตั้งได้ผ่านระบบจัดการแพคเกจของ Debian และ Ubuntu ( {apt-get,aptitude} install i3)
เนื่องจาก i3 เป็น wm เครื่องมือที่จะใช้งานเราต้องหามาใช้เองไม่เหมือนกับพวก GNOME, KDE , Xfce ที่จะมีเครื่องมือต่างๆ มาให้พร้อมแล้ว สำหรับการปรับแต่งเบื้องต้นมีดังนี้
- LightDM แทน GDM3
- การเปลี่ยนภาษาใช้ setxkbmap สามารถกำหนดให้ทำงานทุกครั้งได้โดยการเพิ่มคอนฟิคไฟล์ดังนี้
$ echo 'exec_always setxkbmap us,th -option grp:alt_shift_toggle' >> ~/.i3/config
- สำหรับ terminal emulator ใช้ rxvt-unicode เป็นตัวที่ใช้ประจำใน Puppy Linux ปรับสีเป็นแบบ low contrast (ไม่แสบตาดี)
ดัดแปลงคอนฟิคจาก https://gist.github.com/davidbeckingsale/564084
- จัดการเรื่องการเชื่อมต่อ network ใช้ wicd
- การเชื่อมต่อ 2 จอใช้ xrandr (ถ้าต้องการ GUI ก็ arandr)
จากประสบการณ์ที่ใช้งานบน Thinkpad X200si - Debian (Sid):
- ทำงานได้เลื่อนดีไม่มีหน่วง
- เอกสารการใช้งานเข้าใจง่าย
- การสั่งงานแบบใช้คีย์ลัดไม่ต้องย้ายมือออกจากแป้นพิมพ์บ่อย แต่จะว่าไปปกติก็ไม่ค่อยได้ย้ายมือออกจากแป้นพิมพ์เพราะใช้ trackpoint
- เรียบง่ายแต่มีประสิทธิภาพ
* ความหมายของ "X Windows", "Window Manager", and "Desktop Environment"
เนื่องจาก i3 เป็น wm เครื่องมือที่จะใช้งานเราต้องหามาใช้เองไม่เหมือนกับพวก GNOME, KDE , Xfce ที่จะมีเครื่องมือต่างๆ มาให้พร้อมแล้ว สำหรับการปรับแต่งเบื้องต้นมีดังนี้
- LightDM แทน GDM3
- การเปลี่ยนภาษาใช้ setxkbmap สามารถกำหนดให้ทำงานทุกครั้งได้โดยการเพิ่มคอนฟิคไฟล์ดังนี้
$ echo 'exec_always setxkbmap us,th -option grp:alt_shift_toggle' >> ~/.i3/config
- สำหรับ terminal emulator ใช้ rxvt-unicode เป็นตัวที่ใช้ประจำใน Puppy Linux ปรับสีเป็นแบบ low contrast (ไม่แสบตาดี)
ดัดแปลงคอนฟิคจาก https://gist.github.com/davidbeckingsale/564084
- จัดการเรื่องการเชื่อมต่อ network ใช้ wicd
- การเชื่อมต่อ 2 จอใช้ xrandr (ถ้าต้องการ GUI ก็ arandr)
จากประสบการณ์ที่ใช้งานบน Thinkpad X200si - Debian (Sid):
- ทำงานได้เลื่อนดีไม่มีหน่วง
- เอกสารการใช้งานเข้าใจง่าย
- การสั่งงานแบบใช้คีย์ลัดไม่ต้องย้ายมือออกจากแป้นพิมพ์บ่อย แต่จะว่าไปปกติก็ไม่ค่อยได้ย้ายมือออกจากแป้นพิมพ์เพราะใช้ trackpoint
- เรียบง่ายแต่มีประสิทธิภาพ
* ความหมายของ "X Windows", "Window Manager", and "Desktop Environment"
My Contribution to Debian, 2013-3
RC bugs:
#703957 [libarchive] libarchive: CVE-2013-0211
+ patch to fix
#704042 [mongodb] CVE-2013-1892 -- mongodb: Remote shell access via run method's use of native_helper
+ report and link to fix
#703553 [src:furiusisomount] src:furiusisomount: missing source for compiled gettext (.mo) files
+ patch to fix
WNPP:
#682302 ITA: php-net-sieve, #682303 ITA: php-html-template-it, Sponsor by Thomas Goirand
#580680 ITA: enchant, Sponsor by Aron Xu
UDD: bapase.cgi -- output with tablesorter
+ patch to fix
+ report and link to fix
+ patch to fix
WNPP:
UDD: bapase.cgi -- output with tablesorter
My Contribution to Debian, 2013-2
RC bugs:
WNPP bugs:
Notes:
- I joined the pkg-php-pear team after fixed a RC bug (php-soap).
- http://linux.sut.ac.th/~prach/php-pear-wnpp.txt
My Contribution to Debian, 2013-1
Fixed orphan package:
#
RC bugs:
+ patch to fix
+ patch to fix
#701115 : [S] owncloud: multiple vulnerabilities
+ nmu (t-p-u by Gregor Herrmann)
#701134 : php-soap: directory vs. symlink conflict
+ patch to fix
Bugs:
#671790 merge by #674480 libvncserver-dev: "Multi-Arch: same" but files differ across architectures
+ patch to fix
Packaging:
#701766: RFS: python-libpcap/0.6.2-1 [QA]
#700296: RFS: libapache2-mod-geoip/1.2.8-1 [ITA]
#700410: RFS: furiusisomount/0.11.3.1~repack0-2 [ITA]
#700397: RFS: enchant/1.6.0-8 [ITA]
#701706: RFS: ocamlrss/2.0-1 [ITP]
Notes:
- git format-patch -1 commit-SHA
PHP extension for Thai word break
ทดลองเขียน php extension เป็นการตัดคำโดยใช้ libthai ต้องขอบคุณ พี่เทพ สำหรับคำแนะนำ
ได้ผลลัพธ์ตามรูปแต่ยังไม่สมบูรณ์เพราะยังต้องใช้ iconv ของ php ช่วยก่อนจะส่งไปให้ th_brk_line() แล้วก็ยังอีกหลายเรื่องที่ต้องแก้ไข
php:
$str="การบ้านเยอะมากสงสัยไม่เสร็จแน่เลยนอนตากลมอยู่บ้านดีกว่า";
$new = th_brk_line(iconv('UTF-8','TIS-620',$str));
echo iconv('TIS-620','UTF-8',$new);
output:
ref:
http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/
http://linux.thai.net/pub/thailinux/software/libthai/doc/libthai-0.1.7/
ป้ายกำกับ:
libthai,
php,
php-libthai,
thai word break
By
Prach Pongpanich
My Debian logs
Fixed
- #
643900- ITA: "tpb -- program to use the IBM ThinkPad(tm) special keys" Sponsor by Michael Stapelberg
- #
656917- src:tpb: "debconf question should mention what this TPB is"
- #
661622- src:isoqlog: "FTBFS"
- #
663563- src:tnftp: "FTBFS: mv: cannot stat ..."
- #
530166- src:pvpgn "bashism in /bin/sh script"
ป้ายกำกับ:
debian,
debian bts,
debian qa,
dpkg
By
Prach Pongpanich
Subscribe to:
Posts (Atom)


