我想为 Ubuntu 16.04 构建一个简单的软件包并将其上传到 Launchpad。它只是一个颜色主题;它基本上需要在 下创建一个新文件夹/usr/share/themes
。该rules
文件如下所示:
#!/usr/bin/make -f
%:
dh $@
override_dh_install:
dh_install Ambiance-LightDark-Blue/ /usr/share/themes
并且control
(请注意假电子邮件):
Source: ambiance-lightdark-blue
Section: misc
Priority: optional
Maintainer: Luís de Sousa <[email protected]>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.4
Homepage: https://github.com/ldesousa/Ambiance-LightDark-Blue
Package: ambiance-lightdark-blue
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A light dark theme for Ubuntu 16.04.
在 Ubuntu 14.04 上我用的是这个很好的答案为 Launchpad 构建软件包。然而,在 Ubuntu 16.04 上,同样的简单方法失败并显示一条奇怪的消息:
$ debuild -S
[...]
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b ambiance-lightdark-blue-0.1 gave error exit status 1
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -d -us -uc -S failed
如何在 Ubuntu 16.04 上实现这一点?