Debian packaging sharing at WoFOSS June meeting
Upcoming SlideShare
Loading in...5
×
 

Debian packaging sharing at WoFOSS June meeting

on

  • 389 views

 

Statistics

Views

Total Views
389
Views on SlideShare
389
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Debian packaging sharing at WoFOSS June meeting Debian packaging sharing at WoFOSS June meeting Presentation Transcript

  • Debian 打包工作坊 心得分享 Hsiao-Ting Wang @WoFOSS, June Meeting
  • 為什麼需要打包Debian軟體套件? murmur:我又沒用過 (不常用) Debian....● 70% Ubuntu套件是直接從Debian來的● 其餘的: ● 只與Ubuntu相關, ex: Ubuntu One ● 由Debian套件做微幅修改 ● Kernel specified
  • *H.P.D == hits per daysource:http://distrowatch.com
  • 那我為什麼要打包套件?● 因為每天要用,常常要裝,包起來比較方便● 這也是選擇自己要維護套件的原則 ○ 天天用,自己吃自己的狗食(自己包裝的狗食?) vs.
  • 打包套件很難嗎? (1/2)● 不難也難● 不難 ○ 因為不管是取得原始碼、處理套件相依性、 編 譯成可執行檔,Debian都有相關工具可以使用 ■ apt-get source package_name ■ sudo apt-get build-dep package_name ■ dpkg-buildpackage -rfakeroot
  • 打包套件很難嗎? (2/2)● 難,尤其是你想上傳到官方套件庫給其它用戶用 ○ 要讀懂 Debian 各種軟體Policy文件 ■ 很多,全英文 ○ 要了解開放原始碼各種授權方案 ○ 要跟upstream 作者打好關係 ○ 要跟上upstream 開發速度 ○ 要「管理」你套件的用戶 ■ bug verification, bug report, feature request
  • 成為DD你也行 (Debian Developer) Ref: http://hychen.wuweig.org/blog/2010/12/16/howto-become-dd/
  • 參考資料● Debian New Maintainers Guide (June 19, 2012) ● http://www.debian.org/doc/manuals/maint- guide/maint-guide.en.pdf