bugsaction

Differences between revisions 39 and 40
Revision 39 as of 2008-08-13 16:58:12
Size: 8830
Editor: put92-5-82-243-237-71
Comment:
Revision 40 as of 2008-08-13 17:07:00
Size: 9062
Editor: put92-5-82-243-237-71
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
}}

 * grep -r Default-Stop *
   * old in debian/dictd.init:
{{{
# Default-Stop: 0 1 6
}}}
   * replaced with:
{{{
# Default-Stop: 1
}}}

 * dch -i
{{{
  * Replace "multiuser" deprecated init mode in debian/rules with manual
    arguments. Adapt the corresponding change in LSB init script header (LP:
    #254252)
}}}

 * debuild -S, debdiff, pbuilder

 * unassigned, state -> confirmed, suscribed u-m-s (apt-cache show <package_name> to see it's under main section)

 * send to upstream


== Remove multiuser for acpid. Bug #254249 ==

 * grep -r multiuser *
   * old in debian/rules:
{{{
dh_installinit -- multiuser 10 21
}}}
   * replaced with (cf https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html):
{{{
dh_installinit -- start 10 2 3 4 5 . stop 21 1 .
Line 38: Line 74:
 * send to upstream


== Remove multiuser for acpid. Bug #254249 ==

 * grep -r multiuser *
   * old in debian/rules:
{{{
dh_installinit -- multiuser 10 21
}}}
   * replaced with (cf https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html):
{{{
dh_installinit -- start 10 2 3 4 5 . stop 21 1 .
}}

 * grep -r Default-Stop *
   * old in debian/acpid.init.d:
{{{
# Default-Stop: 0 1 6
}}}
   * replaced with:
{{{
# Default-Stop: 1
}}}

 * dch -i
{{{
  * Replace "multiuser" deprecated init mode in debian/rules with manual
    arguments. Adapt the corresponding change in LSB init script header (LP:
    #254249)
}}}

 * debuild -S, debdiff, pbuilder
 * unassigned, state -> confirmed, suscribed u-m-s (apt-cache show <package_name> to see it's under main section)

Actions made to correct bugs

This page has been written to have a trace about the correction of the packages I have done yet.


Remove multiuser for dictd. Bug #254252

  • grep -r multiuser *
    • old in debian/rules:

dh_installinit -- multiuser
  • replaced with:

dh_installinit -- start 20 2 3 4 5 . stop 20 1 .
}}

 * grep -r Default-Stop *
   * old in debian/dictd.init:
{{{
# Default-Stop:      0 1 6
  • replaced with:

# Default-Stop:      1
  • dch -i

  * Replace "multiuser" deprecated init mode in debian/rules with manual
    arguments. Adapt the corresponding change in LSB init script header (LP:
    #254252)
  • debuild -S, debdiff, pbuilder
  • unassigned, state -> confirmed, suscribed u-m-s (apt-cache show <package_name> to see it's under main section)

  • send to upstream

Remove multiuser for acpid. Bug #254249

  • grep -r multiuser *
    • old in debian/rules:

dh_installinit -- multiuser 10 21

dh_installinit -- start 10 2 3 4 5 . stop 21 1 .
}}

 * grep -r Default-Stop *
   * old in debian/acpid.init.d:
{{{
# Default-Stop:      0 1 6
  • replaced with:

# Default-Stop:      1
  • dch -i

  * Replace "multiuser" deprecated init mode in debian/rules with manual
    arguments. Adapt the corresponding change in LSB init script header (LP:
    #254249)
  • debuild -S, debdiff, pbuilder
  • unassigned, state -> confirmed, suscribed u-m-s (apt-cache show <package_name> to see it's under main section)

  • send to upstream

Fix NBS for icecpp

Fix NBS for icedtea-java7-jre, bug #203636

-- intrepid/universe xxx deps on icedtea-java7-jre:
azureus
freecol
project-x
-- intrepid/multiverse xxx deps on icedtea-java7-jre:
sun-javadb-client
sun-javadb-core
sun-javadb-demo
  • for each binary package, to find the source package:
    • apt-cache showsrc <package> | grep Package

Package: azureus
Package: freecol
Package: project-x
Package: sun-javadb
  • None of those are NBS
    • download all of them and look into debian/control

azureus: 
Depends: openjdk-6-jre | icedtea-java7-jre | sun-java6-jre | sun-java5-jre,
 libcommons-cli-java, liblog4j1.2-java, libseda-java, libswt3.2-gtk-java

freecol:
Depends: openjdk-6-jre | icedtea-java7-jre | sun-java6-jre | j2re1.6 , 
 libhiglayout-java, libwoodstox-java, , java-wrappers (>= 0.1.4)

project-x:
Depends:${misc:Depends}, libcommons-net-java, openjdk-6-jre | icedtea-java7-jre | sun-java6-jre | sun-java5-jre

sun-javadb:
Depends: sun-javadb-common, openjdk-6-jre | sun-java5-jre | sun-java6-jre | icedtea-java7-jre | java2-runtime
  • Removed icedtea-java7-jre from dependencies (depends and build-depends) of each package and change maintainer field for non Ubuntu specific package
  • dch -i for each of them with xxxubuntu1 (if not specifically packaged for Ubuntu: not Build1 as there is a change in debian/control)
  • Build source package as runtime one
  • ERRORS in building azureus (even the original source package), but not found in FTBFS from harvest. A large merge is waiting in MoM for it

example:

   ./org/gudy/azureus2/ui/console/multiuser/commands/UserCommand.java:30: package org.apache.commons.cli does not exist 

Bug #61039 (no desktop entry) and #255086 (FTBFS)


File: sgt-puzzles_7983-1ubuntu1


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
  • I think that unstead searching for the patches including this files, I could use push -a

  • echo "306_fix-ftbfs-with-fortify-source-2.diff" >> debian/patches/series

  • Changed original maintainer (see below)
  • dch -i and add "add 306_fix-ftbfs-with-fortify-source-2.diff to fix FTBFS in gtk.c (LP: #255086)"

  • Created and validated the 27 desktop files (one for each game) in debian/desktop/ (created directory)
  • Create pixmap icons

for source in `ls icons/*48d8*`
do
dest=$(basename $source | sed -e 's/\([a-z][A-Z]*\)-48d8.png/\1/')
convert $source debian/desktop/${dest}.xpm
done

(and rename the 3 debian renamed files to avoid conflicts)

  • Added to debian/rules, after dh_installmenu in binary-arch target

        mkdir -p -m755  debian/sgt-puzzles/usr/share/applications
        install -m644 debian/desktop/*.desktop debian/sgt-puzzles/usr/share/applications
        mkdir -p -m755  debian/sgt-puzzles/usr/share/pixmaps/
        install -m644 debian/desktop/*.xpm debian/sgt-puzzles/usr/share/pixmaps/
  • run dch -a and add :

  * add desktop files and xpm files (on for each game) to the menu in
    debian/dekstop (LP: #61039)
  • build it and generate the debdiff file attached to the bugs and add intrepid origin-ubuntu ubuntu-patch as a tag (I cannot put any milestone for the bug? Intrepid alpha 4 milestone would have been great), place them back to "confirmed" status and assigned to nobody, subscribe u-u-s

  • Send a mail to upstream

'''#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


File: bzr-gtk-0.94.0-1ubuntu1 PATCH COMMITED TO UPSTREAM with rev 0.95.0 https://bugs.launchpad.net/bzr-gtk/+bug/245633/comments/17


  • 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/Debian/Usertagging)

  • Send a mail to upstream


CategoryMOTULog

DidierRoche/MOTU/bugsaction (last edited 2009-03-23 11:59:52 by 91)