Process

FTBFS

clanlib

  1. Patch:

  export QUILT_PATCHES=debian/patches
  quilt push -a
  quilt new 310_missing_libraries.diff
  1. Then add the files we need to patch:

  quilt add ./Sources/GL/canvas_opengl.cpp

and add:

  #include <stdio.h>
  1. Second file

  quilt add ./Sources/GL/GLX/input_device_linuxevent.cppand 

and add:

  #include <stdio.h>
  1. Third File:

  quilt add ./Sources/GL/GLX/input_device_xinput.cpp

and add:
  #include <stdio.h>
  1. Finish:

  quilt refresh
  quilt pop -a

Merges

Snort

1. Adding the Patch (For the first time)

  • Setting Up:

mkdir debian/patches
export QUILT_PATCHES=debian/patches
touch debian/patches/series
  • Patching:

quilt push -a
quilt new ubuntu-mode-permission
quilt add src/preprocessors/flow/portscan/server_stats.c
** MAKE THE CHANGE HERE **
From:  fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY);
To:    fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY, 0644);
quilt refresh
quilt pop -a

2. debian/rules:

Adding the rules to apply the patch (This is only when there's no patching system):

  • Add at the top:

include /usr/share/quilt/quilt.make
  • Change:

-clean: clean-sources
+clean: unpatch clean-sources
  • Change:

-configure-stamp:
+configure-stamp: $(QUILT_STAMPFN)

Sensors-applet

Geekast

Usbmount

Paraview (Wont build)

  1. debian/control: Merging and adding ffmpeg to debian Build-Depends
  2. debian/control: Drop qt4-dev-tools (>= 4.3.3-2) from Recommends

  3. debian/patches/series: Dropping ubuntu-use-ffmpeg-swscaler, gcc4.3.patch and ffmpeg_writer.patch, keeping use-ffmpeg-swscaler.patch.
  4. Python transition:
  5. We looked for the changes

grep -sr python2.5 *
  • then we made the changes

sed -i -e 's/python2.5/python/g' debian/paraview.lintian*
  • then we updated rules

debian/rules -> PVER = 2.6
  • then updated README.debian

Firebug

Avarice

debian/control:

  • Use Build-Depends and Build-Conflics of Debian.

debian/changelog:

  • Keep track of the changes.

Irssi

OpenVPN

Qemu

DRBD

debian/control:

  • fixed XSBC-Original-Maintainer
  • fixed Uploaders
  • Build-Depends: Kept ubuntu entry because debian has dpatch duplicated.

scripts/drbd:

  • Dropped: ". /lib/lsb/init-functions" because it is duplicated
  • Resolved conflict on: log_daemon_msg "Restarting all DRBD resources". Took debians. It was a problem of TABs

debian/changelog:

  • Removed entries from debian unstable below (<0.6.12-5)

drbd/linux/drbd.h:

  • Revert change (so it is the same as debian).

   -# define CN_IDX_DRBD 0x6
   +# define CN_IDX_DRBD 0x4
  • After revert, we need to create a patch to make the change:

   -# define CN_IDX_DRBD 0x4
   +# define CN_IDX_DRBD 0x6

Process:

  • dpatch-edit-patch ubuntu-cn-idx.dpatch
  • make the change in: drbd/linux/drbd.h
  • exit
  • vim debian/patches/00list
  • add: ubuntu-cn-idx.dpatch

4nDr3s/Mentorship/Process (last edited 2009-05-28 17:41:18 by client-201)