change plot style to be black&white friendly
[packaging-tutorial.git] / pract0-dash.tex
1 \documentclass[10pt,final]{beamer}
2 \mode<presentation>
3 \usetheme{debian}
4 \usepackage{debiantutorial}
5
6 \hypersetup{pdftitle={Practical session 0: dash},bookmarks}
7 \title[Practical session 0: dash]{Practical session 0:\\ Simple rebuild of the Dash package}
8 \author[]{Philip Hands\\{\small\texttt{phil@hands.com}}}
9 \institute{\includegraphics[viewport=274 335 360 440,width=1cm]{figs/openlogo-nd.pdf}}
10 \date{}
11
12 \begin{document}
13
14 \frame{\titlepage}
15
16 \begin{frame}{Practical session 0: building the dash package}
17 \begin{enumerate}
18 \item Install build-essential debhelper devscripts\\
19   {\small \texttt{apt-get install build-essential debhelper devscripts}}
20   \hbr
21 \item Create a working directory, and get in it:\\
22   \begin{tabbing}
23     e.g. \= \texttt{mkdir -p \textasciitilde/src/\textsl{packagename} ; cd \textasciitilde/src/\textsl{packagename}}\\
24     or   \> \texttt{mkdir \textasciitilde/debian ; cd \textasciitilde/debian}
25   \end{tabbing}
26   \hbr
27   
28 \item Grab the \texttt{dash} source package\\
29   \texttt{apt-get source dash}\\ 
30   {\small this needs you to have \texttt{deb-src} lines in your \texttt{/etc/apt/sources.list}}
31   \hbr
32 \item Build the package\\
33   {\small \texttt{cd dash-*\\ debuild -us -uc}}
34
35   \hbr
36 \item Check that it worked\\
37   {\small You should notice that we've got some new
38     files in the directory above us, in particular
39     there should now be a couple of \texttt{.deb}
40     files}
41 \end{enumerate}
42 \end{frame}
43
44 \end{document}