Le mardi 04 janvier 2011, à 18:50 +0300, Ilya Chernykh a écrit :
On Tuesday 04 January 2011 18:42:32 Cristian Rodríguez wrote:
I am trying to port one package from Ubuntu. But is seems that they incorporated all the package in one huge diff file. The diff does not change any files, it introduces many new files, both binary and textual. There are no other files in the package.
So I wonder how can I extract this package from this diff? I tried just "patch diffname.diff" in an empty directory in hope this would create all the files described in the diff but it seems this technique does not work: the patch utility simply hangs or goes into infinite loop with no response and no activity.
It is either a quilt patchset or a dpatch, see debian/patches directory for clue.
There is no debian directory. The whole package is one huge diff file.
It's a debian package. So you usually need to untar the tarball, and then patch it with the diff file. Something like: tar zxf upstream-tarball-version.tar.gz cd upstream-tarball-version patch -p0 < diff-file Cheers, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org