Public bug reported:

When I run `cdbs-edit-patch SftpCrashFix` on a fresh `apt-get source
nautilus-open-terminal` I was not viewing the source (`nano src
/nautilus-open-terminal.c`) with the debian/patches applied in the
spawned terminal. This caused me to have a lot of headache with others
who where stepping me through the process of making my first patch in
the debian build system, and most of them still think I am crazy.

Others where able to get it to work, by using `cdbs-edit-patch test` or
similar, but the key to this bug appears to be that if the patch name
passed to cdbs-edit-patch is not lowercase it doesn't apply the
debian/patches.

To reproduce try this:
$ apt-get source nautilus-open-terminal
$ cd nautilus-open-terminal*
$ cdbs-edit-patch BadPatchName
spawned $ nano src/nautilus-open-terminal.c

And notice that the #include <gio.h> isn't there, meaning the gio patch
(debian/patches) hasn't been applied. However, if you do the same thing
as above, except choose a lowercase patch name:

$ cdbs-edit-patch goodpatchname

And again check the nautilus-open-terminal.c you'll see the gio patch
*has* been applied.

** Affects: cdbs (Ubuntu)
     Importance: Undecided
         Status: Invalid

-- 
cdbs-edit-patch with an uppercase name doesn't apply debian/patches
https://bugs.launchpad.net/bugs/408733
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to