Differences between revisions 103 and 110 (spanning 7 versions)
Revision 103 as of 2007-12-03 16:03:30
Size: 7390
Editor: OndrejCertik
Comment:
Revision 110 as of 2008-03-16 17:07:43
Size: 7450
Editor: HolgerLevsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[TableOfContents(2)]]

== Happiness and World Domination ==
Line 20: Line 23:
   * http://wiki.skolelinux.de/HolgerLevsen
Line 23: Line 25:
 * [http://qa.debian.org/developer.php?login=debian@layer-acht.org packages I maintain]  * [http://qa.debian.org/developer.php?login=holger@debian.org packages I maintain]
Line 60: Line 62:
 * http://lists.debian.org/debian-edu/2005/09/msg00022.html - usertags for debian-edu
Line 103: Line 106:
 1. svn-s
 1. cd ../build-area/
 1. dpkg-source -x *.dsc
 1. /usr/share/svn-buildpackage/contrib/svn-do (better, put it in your PATH)
Line 107: Line 108:
 1. copy the debian/patches/<your new/edited patches + the series file> back into your svn repository by hand  1. exit 0
Line 147: Line 148:
 * vim: revert undo / redo: ctrl-r
Line 160: Line 162:
= old powerpc stuff = == old powerpc stuff ==

?TableOfContents(2)

Happiness and World Domination

Enrico on [http://www.enricozini.org/talks/2004linuxtag/html/img14.html Happiness and World Domination]

stuff that I do

I also maintain some information on this page, as I really like the ease of use of wiki.debian.org:

todo

todo for debian-edu

no time for this:

adding patches with quilt to a package

  1. add quilt to build-depends
  2. create debian/patches/ and put the patches there
  3. cd debian/patches ; ls > series

  4. add "QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2" to the configure target in debian/rules

  5. add "QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2" to the clean target in debian/rules

  6. enjoy :)

Example for a python package "cython":

configure/cython::
    QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2

clean::
    QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2

Another option is to just use

include /usr/share/quilt/quilt.make

instead of 4. and 5.

adding more patches later

  1. export QUILT_PATCHES=debian/patches
  2. quilt new 200-etc-olsrd.patch
  3. quilt add Makefile.inc
  4. vi Makefile.inc
  5. quilt refresh

How to use it with svn-buildpackage:

  1. /usr/share/svn-buildpackage/contrib/svn-do (better, put it in your PATH)
  2. work with patches as described above
  3. exit 0

svn, knowing the diff before updating

  1. svn diff --revision HEAD
  2. svn up

usertags

random stuff

  • :zi in vim: disable folding
  • vim: revert undo / redo: ctrl-r
  • ctrl-a esc: enter copy-mode in screen, useful to move around
  • dpkg --compare-versions 0.79-3.2~holger1 lt 0.79-3.2 ; echo $?
  • To put a package on hold: echo pkgname hold | dpkg --set-selections
  • To remove the hold: echo pkgname install | dpkg --set-selections
  • echo 'Acquire::PDiffs "false";' > /etc/apt/apt.conf.d/99pdiff

  • netcat for dummies:
    • on host1: cat file | nc $host2 6666
    • on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c

  • alioth: as admin edit roles to configure a project
  • ssh merkel.debian.org /org/qa.debian.org/mia/mia-query fubar@email
  • give a package back to rebuild it: <zobel> mail the buildd "retry" in body with the correct subject iin the mail, that usually means, just preply to the build log (and send the mail to buildd@foo)

  • svn propset svn:executable ON $file

old powerpc stuff

i lost interest in doing powerpc stuff in debian, so i moved this down, to at least keep this here.

todo for d-i powerpc

issues in d-i powerpc

ppc notes