這篇是練習過程的筆記, betaradio 現在還是處於 broken 的狀態
準備好原始碼
準備好原始碼
$ wget http://betaradio.googlecode.com/files/betaradio-0.1.2.tar.bz2初始化動作
$ tar xf betaradio-0.1.2.tar.bz2 && cd betaradio-0.1.2
$ export DEBFULLNAME="Shih-yuan Lee (FourDollars)"然後編輯 debian/control
$ export DEBEMAIL="fourdollars@gmail.com"
$ dh_make -s -c gpl -f ../betaradio-0.1.2.tar.bz2
Source: betaradio編輯 debian/changelog
Section: net
Priority: extra
Maintainer: Shih-yuan Lee (FourDollars) <fourdollars@gmail.com>
Build-Depends: debhelper (>= 7), autotools-dev, libgstreamer0.10-dev, libcurl-dev, libgtk2.0-dev
Standards-Version: 3.8.0
Homepage: http://code.google.com/p/betaradio/
Package: betaradio
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer0.10-plugins-base, gstreamer0.10-plugins-bad, gstreamer0.10-plugins-ugly, gstreamer0.10-ffmpeg, gstreamer0.10-alsa
Description: hiChannel electric radio client
With this client you can listen to the hiChannel electric radio (http://hichannel.hinet.net/radio/index.jsp) without opening a browser.
It displays a icon on system tray that you can click and select the channel you want to listen to.
$ debchange修改內容
betaradio (0.1.2-1ubuntu1) karmic; urgency=low產生 deb source package
* Initial release.
-- Shih-yuan Lee (FourDollars) <fourdollars@gmail.com> Fri, 31 Jul 2009 00:03:22 +0800
$ debuild -S上傳 deb package 至 Launchpad PPA
$ dput ppa:fourdollars/ppa betaradio_0.1.2-1ubuntu1_source.changes上傳的動作需要先註冊 Launchpad 帳號並且設定好 SSH public key 跟 GPG public key 還有產生 PPA 設定之後才能夠正常上傳