还是继续昨天的问题:
如何在launchpad上编译ppa时禁止pkgstriptranslations
经过简单测试是没解决的,可能是那个参数加的位置不对。
今天继续查了查,发现另一个package的rules文件也include了gnome.mk,而它的deb里就有/usr/share/locale下的mo文件。
仔细查了下,发现这个包的debian/control的section字段指定了universe/gnome,莫非如此?
在网上看到一篇文章,说只有main和restricted的才会被launchpad的pkgbinarymangler抽掉.mo文件,难道改成别的类别就可以了?
ubuntu的软件共分为四类(在/etc/sources.list里能看到的最后一组数据)
其中Main和Universe是Free Software,Restricted和Multiverse是non-free software
Main和Restricted又是得到ubuntu官方supported的
Universe和Multiverse则是unsupported的,具体可参考http://www.ubuntu.com/community/ubuntustory/components
debian/control的section字段可以参考
http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
components/section,其中components是类别,我把他改为universe了,斜线后面为类别,这个就是那么几大类了。
固定链接: http://liubin.nanshapo.com/2010/05/05/about-debian-control-section-field/ | 其实我是一个程序员
最新评论