bugsaction
3906
Comment:
|
3983
|
Deletions are marked like this. | Additions are marked like this. |
Line 32: | Line 32: |
* echo "306_fix-ftbfs-with-fortify-source-2.diff" >> debian/patches/series |
Actions made to correct bugs
This page has been written to have a trace about the correction of the packages I have done yet.
Bug #61039 (no desktop entry) and #255086 (FTBFS)
https://bugs.launchpad.net/ubuntu/+source/sgt-puzzles/+bug/61039
https://bugs.launchpad.net/ubuntu/+source/sgt-puzzles/+bug/255086
Try to compile current sgt-puzzles (sudo pbuilder build sgt-puzzles_7983-1.dsc) => FTBFS (because of new flags used in intrepid: https://wiki.ubuntu.com/CompilerFlags)
- Fill a bug and put it in progress, assigned to me. #255085
- Begin to work on the FTBFS first, seing that quilt was used in this package
check if gtk.c (the faulting file ) is already used in a patch : grep gtk.c debian/patches/*
- found in 202_online-help.diff, 203_follow-fd.o-clipboards-spec.diff, 304_combine-binaries.diff
- As no previous patch seems to be relevant, I applied them with quilt and create a new one
export QUILT_PATCHES=debian/patches quilt push 202_online-help.diff quilt push 203_follow-fd.o-clipboards-spec.diff quilt push 304_combine-binaries.diff (but error has weren't is the series file) quilt new 306_fix-ftbfs-with-fortify-source-2.diff quilt add gtk.c vim gtk.c quilt refresh quilt pop -a
echo "306_fix-ftbfs-with-fortify-source-2.diff" >> debian/patches/series
- Changed original maintainer (see below)
Normally, the target to use is install, but here the package is built differently and I have to put it in binary-arch.
- Here, I will : do some cp debian/*.desktop $dest or install. dh_fixperms will automatically put the right permission files to the .desktop files, so no need to bother about it in install
'''#245633: wrong text for a .desktop file''' https://bugs.launchpad.net/bzr-gtk/+bug/245633, add also some french translation to it and remove deprecated/wrong key in the .desktop
https://wiki.ubuntu.com/DidierRoche/MOTU/bugsaction?action=edit
- Place the bug status to "in progress" and assigned to me
- Get the source and had a look at it.
As the file to correct is at the root of the source, I had to patch the package.
- The original maintainer was a Debian one, so I changed the debian/control file:
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> XSBC-Original-Maintainer: ...
used dpatch (as the original maintainer use it) and runned dpatch-edit-patch 04-change-menu-entry.dpatch
- vim the right file and change the content of it. Then exit 0 - vim 04-change-menu-entry.dpatch to change the first lines (DP field to give a description of the patch)
(if multiple lines add ## DP: at the begining of each line)
- add 04-change-menu-entry.dpatch to debian/patches/00list
run dch -i to update the debian/changelog file and added (LP: #245633)
bzr-gtk (0.94.0-1ubuntu1) intrepid; urgency=low * add 04-change-menu-entry.dpatch to fix name, add french translation and remove some deprecated keys in olive-gtk.desktop (LP: #245633) -- Didier Roche <didrocks@...> Fri, 01 Aug 2008 15:14:06 +0200
rebuild the source package with debuild -S (for new diff.gz and .dsc file)
Finally: debdiff bzr-gtk_0.94.0-1.dsc bzr-gtk_0.94.0-1ubuntu1.dsc > debdiff
build the package for a try: sudo pbuilder build bzr-gtk_0.94.0-1ubuntu1.dsc
- the .deb is in /var/cache/pbuilder/result/ - install in a VM
run desktop-file-validate olive-gtk.desktop to validate the desktop file
test the debdiff by patch -p1 < debdiff
- Attach the debdiff to the bug report, place it back to "confirmed" status and assigned to nobody, subscribe u-u-s
Added tags intrepid origin-ubuntu ubuntu-patch (cf https://wiki.ubuntu.com/Bugs/Debian/Usertagging)
- Send a mail to upstream
["CategoryMOTULog"]
DidierRoche/MOTU/bugsaction (last edited 2009-03-23 11:59:52 by 91)