[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (test) how to apply the patch from bugs.debian.org



HI,
On Thu, Feb 17, 2022 at 04:21:40PM +0100, John Paul Adrian Glaubitz wrote:
Hi!

On 2/17/22 16:06, Bo YU wrote:
Hi,
I want to pick one package to try port it to Debian.
And i have choose src:sofia-sip: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978498
(...)
Now the question is: how can i push the process go on?
Pabs told me, he has the patch and i can test it or not take effect.

It's probably a matter of running dh_autoreconf. In any case, there is also a new upstream
version available [1].
Now i want to pick the patch from 978498# and rebuild the sip on riscv
arch with sbuild(I do not know this is right way to do it also)

1, There are must have cmd to download the patch from the thread #10.
The method should like look, eg, wget to downdown patch. But i have
serached it until now and download it via brower :-(

2, follow the page: http://blog.mathieu-leplatre.info/apply-debian-patches-step-by-step.html#:~:text=Apply%20the%20patch%20file%20patch%20-p0%20%3C%20%24HOME%2FDesktop%2Fgui_track_filter.patch,Add%20your%20dpatch%20name%20in%20the%2000list%20file
the sip source code has not debian/patches dir and i create it:

```
cd sofia-sip-1.12.11+20110422.1/
dpatch-edit-patch 01_retooling
dpatch-edit-patch: * /home/vimer/build_test/sip/sofia-sip-1.12.11+20110422.1/debian/patches/01_retooling.dpatch does not exist, it will be created as a new dpatch.
dpatch-edit-patch: * Copying /home/vimer/build_test/sip/sofia-sip-1.12.11+20110422.1 to reference directory.
dpatch-edit-patch: * Cleaning /tmp/dpep-ref.5zPm71/sofia-sip-1.12.11+20110422.1
dh_testdir
dh_testroot
rm -f *-stamp
rm -f -r objs doc
dh_clean
make: *** No rule to make target 'unpatch'.  Stop.
```
Applying the patch from bugs.debian.org that is new territory for me.
Please point me what is wrong with me or hit me should search which
releative info,thank you!

Once again, I am sincerely sorry to bring the noise to here. But i think
the best way to teach someone how to swim is to throw them in the pool.

BR,
vimer



Adrian

[1] https://github.com/freeswitch/sofia-sip

--
.''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
 `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Reply to: