我正在为Ubuntu / Debian(.deb)打包我的Mono GTK#应用程序。
我查看了Debian打包文档,但这些示例看起来过于复杂,安装后挂钩等。
单声道文档中的示例主要涉及使用automake等的源代码分发。我只想将二进制文件放在那里。
答案 0 :(得分:3)
我刚刚完成了为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频道,它包含所有用于debain的单声道打包器。它们非常有用,并且会在您准备好时为您提供包装。
答案 1 :(得分:1)