[opensuse-packaging] strange diff file
Hi! 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. So what can I do? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi;
On Tue, Jan 4, 2011 at 5:35 PM, Ilya Chernykh
Hi!
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.
So what can I do?
Did you tried patch -p1 < diffname.diff or patch -p0 < diffname.diff -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 04 January 2011 18:37:31 İsmail Dönmez wrote:
So what can I do?
Did you tried
patch -p1 < diffname.diff
or
patch -p0 < diffname.diff
This does not help -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 04 January 2011 18:37:31 İsmail Dönmez wrote:
So what can I do?
Did you tried
patch -p1 < diffname.diff
or
patch -p0 < diffname.diff
Oh sorry I responded too quick. This helped indeed, thanks! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi;
On Tue, Jan 4, 2011 at 5:52 PM, Ilya Chernykh
On Tuesday 04 January 2011 18:37:31 İsmail Dönmez wrote:
So what can I do?
Did you tried
patch -p1 < diffname.diff
or
patch -p0 < diffname.diff
Oh sorry I responded too quick. This helped indeed, thanks!
I knew it would ;) You are welcome! ismail -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 04/01/11 12:35, Ilya Chernykh escribió:
Hi!
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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk0jP+gACgkQhbiInYWJi9PAawCfU6uwMQf4d+9i910A4mEq/Zvg Y8YAoK0a8JM9Ybq1x3+ODSPyNGB0kqy9 =qhnv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 04/01/11 12:50, Ilya Chernykh escribió:
There is no debian directory. The whole package is one huge diff file.
After appling the diff of course. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk0jQg8ACgkQhbiInYWJi9NYTACfQ5TcljTtEwcsQh7U4l1CuG9B qFsAoLfiN+ilVu0/HBol101nKVrOeXjJ =TMan -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
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
participants (4)
-
Cristian Rodríguez
-
Ilya Chernykh
-
İsmail Dönmez
-
Vincent Untz