61f7cb8e2c9b4f7c17ed76658bb00c6ec5f896c9
[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 \textasciitilde/src/\textsl{packagename} ; chdir \textasciitilde/src/\textsl{packagename}}\\
24     or   \> \texttt{mkdir \textasciitilde/debian ; chdir \textasciitilde/debian}
25   \end{tabbing}
26   
27 \item grab a source package\\
28   \texttt{apt-get source dash}\\ 
29   {\small this needs you to have \texttt{deb-src} lines in your \texttt{/etc/apt/sources.list}}
30 \item Build the package\\
31   {\small \texttt{cd dash-*\\ debuild -us -uc}}
32
33 \item Check that it worked\\
34   {\small You should notice that we've got some new
35     files in the directory above us, in particular
36     there should now be a couple of \texttt{.deb}
37     files}
38 \end{enumerate}
39
40 Time to explain what everything means...
41 \end{frame}
42
43 \end{document}