---
# System prepended metadata

title: Debian packaging workshop (4)
tags: [' tossug', hackpad-import]

---

---
hackpadID: 37qXm4zDFbJ
hackpadWorkspace: tossug
tags: hackpad-import, tossug
---
# Debian packaging workshop (4)

上週筆記：[Debian packaging workshop 3](/ylzTYm8PxCq) 

下週筆記：[Debian packaging workshop 5](/FsvIrUHC7iR)

日期：2015/04/28

網路聊天室：[](http://webchat.freenode.net/?channels=tossug)http://webchat.freenode.net/?channels=tossug

YouTube直播錄影：[](http://youtu.be/MR0AQV174Ls)http://youtu.be/MR0AQV174Ls

## 主題一：Python 套件的打包

[](https://wiki.debian.org/Python/Packaging#Example_2:_Python_application)https://wiki.debian.org/Python/Packaging#Example_2:_Python_application

*   We have to add override_dh_auto_build: line because dh detected setup.py file and wants to build modules for all.

## 主題二：how-can-i-help

O (Orphaned) 孤兒套件，等待有心人來領養。

RFA (Maintainer looking for adopter) 維護者想要轉手給別人維護。

ITA (Someone working on adoption) 有人要接手的套件。

RFH (Maintainer looking for help) 套件維護者需要別人的協助。

New bugs suitable for new contributors (tagged ’gift’): 給新手入門使用，新版本的 how-can-i-help 改成 tagged ’new-comer’

New packages removed from Debian ’testing’ (the maintainer might need help): 已經從 testing 移除掉的套件 (套件維護者可能需要別人的協助)

New packages going to be removed from Debian ’testing’ (the maintainer might need help): 快要被移除掉的套件 (套件維護者可能需要別人的協助)

New packages waiting for sponsorship (reviews/tests are also useful): 新的套件需要 Debian developer 的協助（必須要跟 Debian developer 交換過公鑰）

回家練習，從 how-can-i-help --all --old 上面挑一個來維護。

以 [](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772236)https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772236 為例

[](https://packages.debian.org)https://packages.debian.org

[](https://packages.qa.debian.org/h/hime.html)https://packages.qa.debian.org/h/hime.html PTS 舊版的

[](https://tracker.debian.org/pkg/hime)https://tracker.debian.org/pkg/hime Tracker 新版的

[](http://blog.linux.org.tw/~jserv/archives/001838.html)http://blog.linux.org.tw/~jserv/archives/001838.html Quilt 的使用

[](http://wen00072.github.io/blog/2014/06/08/study-on-the-quilt/)http://wen00072.github.io/blog/2014/06/08/study-on-the-quilt/ Quilt 的使用2

Install debian-keyring and put the following line to ~/.gnupg/gpg.conf

*   # debian keyring
*   keyring /usr/share/keyrings/debian-keyring.gpg
*   keyring /usr/share/keyrings/debian-maintainers.gpg

[](http://dep.debian.net/deps/dep3/)http://dep.debian.net/deps/dep3/ Patch 格式

Put the following configuration into ~/.gitconfig

*   <sup>[url "</sup>[](ssh://czchen-guest@git.debian.org/git)<sup>ssh://czchen-guest@git.debian.org/git</sup><sup>"]</sup>
*   <sup>pushInsteadOf =</sup> [](http://alioth.debian.org/anonscm/git)<sup>http://alioth.debian.org/anonscm/git</sup>
*   <sup>pushInsteadOf =</sup> [](https://alioth.debian.org/anonscm/git)<sup>https://alioth.debian.org/anonscm/git</sup>
*   <sup>pushInsteadOf =</sup> [](http://anonscm.debian.org/git)<sup>http://anonscm.debian.org/git</sup>
*   <sup>pushInsteadOf =</sup> [](https://anonscm.debian.org/git)<sup>https://anonscm.debian.org/git</sup>
*   <sup>pushInsteadOf =</sup> [](git://anonscm.debian.org)<sup>git://anonscm.debian.org</sup>
*   <sup>pushInsteadOf =</sup> [](git://git.debian.org)<sup>git://git.debian.org</sup>

[](https://alioth.debian.org/)https://alioth.debian.org/

[](https://alioth.debian.org/projects/pkg-ime/)https://alioth.debian.org/projects/pkg-ime/

[](https://alioth.debian.org/projects/pkg-lxqt/)https://alioth.debian.org/projects/pkg-lxqt/

[](https://alioth.debian.org/projects/pkg-fonts/)https://alioth.debian.org/projects/pkg-fonts/

下週主題：pbuilder 跟 sbuild 以及相關的工具
