On 2012-09-28, Stefan Fiel wrote: > On 27.09.2012 18:38, Antoine Beaupré wrote: >> Let me know when you have some progress on the package and I'll test it >> again. >> >> I strongly encourage you to look into pbuilder and cowdancer for build >> environments - you can't really build Debian packages on Ubuntu unless >> you use those tools. > > I tried building the nomacs 0.4.0 package using debian testing and > pbuilder. There was just one lintian warning which i was able to > eliminate (adding dpkg-buildflags) . So the nomacs 0.4.0 branch of the > svn should now create a correct package (at least for lintian). > > Haven't tried cowdancer till now, for laziness reasons i usually use > virtual machines for building :) That's fine. I actually find virtual machines *harder*. :P Somehow I wasn't able to build the package from SVN, as I can't find the 0.4.1 tarball - do you have a special svn-buildpackage configuration that I am not aware of? As for the warning, it should be fairly simple to fix most of them. Pipe the warnings into "lintian-info" and you already get a much better explanation. Googling for those gives similar positive results. I assume you dealt with this one with dpkg-buildflags: W: nomacs: hardening-no-relro usr/bin/nomacs Now for the others: E: nomacs changes: bad-distribution-in-changes-file oneiric This seems to have been fixed, as "oneiric" is not used in debian/changelog. W: nomacs source: native-package-with-dash-version This is because there is no "dash" in the version documented in the changelog. At this point, I encourage you to use a version number like "0.4.0-1" where 0.4.0 is the version of the "upstream" nomacs code (platform independant) and -1 is the version of the Debian package, which you can increment as you fix stuff in the package. Unless you want to make a full new release (e.g. 0.4.1, 0.4.2) for every fix on the Debian package, I think it would be wise to make this a non-native package for now. More information on this: http://wiki.debian.org/DebianMentorsFaq#What_is_the_difference_between_a_native_Debian_package_and_a_non-native_package.3F W: nomacs source: unknown-field-in-dsc original-maintainer This is just about removing the XSBC-Original-Maintainer field in debian/control. P: nomacs: no-upstream-changelog This you can ignore, although you could start maintaining a changelog separate from debian/changelog, in accordance to the "non-native package" policy explained above. W: nomacs: latest-debian-changelog-entry-without-new-version Can't seem to reproduce this. P: nomacs: copyright-has-crs As lintian-info says: sed -i 's/\r//g' debian/copyright ... should fix this. Thanks and good luck! A. -- Ou bien Dieu voudrait supprimer le mal, mais il ne le peut pas Ou bien Dieu pourrait supprimer le mal, mais il ne le veut pas. - Sébastien Faure
Attachment:
pgpv2qUCAbsFZ.pgp
Description: PGP signature