James Freer jessejazza@yahoo.co.uk wrote:
MJ Ray wrote:
Put them in one folder, then try dpkg-source -x vym_1.10.0-1ubuntu1.dsc cd vym-1.10.0 dpkg-buildpackage -uc -us -rfakeroot -b
and if ubuntu is anything like debian on this, it will either build a binary deb into the directory above or tell you what else to install.
Think i follow - but how do i group them in the folder. Say i call the main folder jf-vym, subfolders should be the extracted vym_1.10.0.orig.tar.gz [i.e. folder vym-1.10.0], vym_1.10.0-1ubuntu1.diff.gz [i.e. file vym_1.10.0-1ubuntu1.diff] and file vym_1.10.0-1ubuntu1.dsc
No. Just put the three files into one directory. Don't unpack the tarball or decompress the diff. dpkg-source will do that and mix it all together in the right way. Don't make a simple task complicated.
Be grateful if you could explain the step cd vym-1.10.0 why change the directory?
dpkg-buildpackage builds the package you're currently sitting in, by default at least. You might be able to use it another way.
Regards,