Ubuntu/Debian依赖包mono gtk#应用程序



我正在为Ubuntu/Debian (.deb)打包Mono gtk#应用程序。

  • 我如何找出控制文件中列出的依赖关系?
  • 对于mono和gtk#本身,哪些是标准的?是那些以-dev结尾的?

我看过Debian的打包文档,但是那些例子似乎过于复杂,有安装后的钩子等。

mono文档中的示例主要涉及带有automake等的源代码发行版。我只想把二进制文件放进去

我刚刚完成了为debian打包gtk# mono应用程序(Wide Margin)的过程。

这是我的控制文件:
Source: widemargin
Section: gnome
Priority: extra
Maintainer: Debian CLI Applications Team <pkg-cli-apps-team@lists.alioth.debian.org>
Uploaders: Daniel Hughes <trampster@gmail.com>
Build-Depends: debhelper (>= 7.0.50~), cli-common-dev (>= 0.7.1), mono-xbuild (>= 2.6.7), libgtk2.0-cil-dev (>= 2.12.10), mono-devel (>= 2.6.7), libglade2.0-cil-dev (>= 2.12.10)
Standards-Version: 3.9.2
Homepage: https://bitbucket.org/trampster/widemargin
Vcs-Git: git://git.debian.org/git/pkg-cli-apps/packages/widemargin.git
Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/widemargin.git
Package: widemargin
Architecture: all
Depends: ${cli:Depends}, ${misc:Depends}
Description: bible reading and study application
 Wide Margin is a bible reading and study application. It has a focus on
 speed and simplicity. Features include, as you type searching and passage
 navigation, familiar browser based interface, full navigation history and 
 a built in reading planner which will have you read the old testament 
 once and the new testament twice every year.

这里需要注意的重要一点是,如果你在你的Depends节中使用${cli:Depends}, ${misc:Depends},依赖项会自动为你分类。但是你必须手动设置Build-Depends。

第二个技巧是进入#debian-cli irc通道,它包含所有用于debian的单包程序。他们是超级有帮助的,当你的包准备好了,他们会为你赞助。

看看这个教程:

https://wiki.ubuntu.com/PackagingGuide/Mono

我自己还没试过,不过到目前为止它似乎很简洁。

最新更新