add a session0 to make sure attendees are up to speed
authorPhilip Hands <phil@hands.com>
Thu, 12 May 2011 15:31:12 +0000 (16:31 +0100)
committerPhilip Hands <phil@hands.com>
Thu, 12 May 2011 15:31:12 +0000 (16:31 +0100)
I intend to try and make sure that we're all at least
on the network, and able to build things a bit before
getting into the main bit of the course

packaging-tutorial.tex
pract0-dash.tex [new file with mode: 0644]

index 349d76b..31139e0 100644 (file)
   \tableofcontents[hideallsubsections]
 \end{frame}
 
+\section{Practical session 0: simple rebuild of dash}
+\begin{frame}{Practical session 1: simple rebuild of dash}
+  \begin{enumerate}
+  \item install the packages we need
+  \item Create a working directory
+  \item Grab a simple source package
+  \item Build the package
+  \item Check that it worked
+  \end{enumerate}
+\end{frame}
+
 \section{Introduction}
 
 \subsection{Debian}
                        \br
                \item 1st major distro developed ``openly in the spirit of GNU''
                        \br
-               \item \textbf{Non-commercial}, built collaboratively by more than 1'000 volunteers
+               \item \textbf{Non-commercial}, built collaboratively by over 1,000 volunteers
                        \br
-               \item 30'000 binary packages ; 12 ports (inc. 2 non-Linux) ; 120 derivatives
+               \item 30,000 binary packages; 12 ports (inc. 2 non-Linux); 120 derivatives
                        \br
                \item 3 main features:
                        \begin{itemize}
                                \item \textbf{Quality} -- culture of technical excellence\\
-                                       {\small\sl We release when it's ready}
+                                       {\small\sl We release when it's ready}\\
                                        \hbr
                                \item \textbf{Freedom} -- devs and users bound by the \textsl{Social Contract}\\
                                        Promoting the culture of Free Software since 1993
@@ -68,6 +79,8 @@
                                \item \textbf{Independence} -- no (single) company babysitting Debian\\
                                        And open decision-making process (\textsl{do-ocracy} + \textsl{democracy})
                        \end{itemize}
+                        \br
+                \item \textbf{Amateur} in the best sense: done for the love of it
        \end{itemize}
 \end{frame}
 
diff --git a/pract0-dash.tex b/pract0-dash.tex
new file mode 100644 (file)
index 0000000..61f7cb8
--- /dev/null
@@ -0,0 +1,43 @@
+\documentclass[10pt,final]{beamer}
+\mode<presentation>
+\usetheme{debian}
+\usepackage{debiantutorial}
+
+\hypersetup{pdftitle={Practical session 0: dash},bookmarks}
+\title[Practical session 0: dash]{Practical session 0:\\ Simple rebuild of the Dash package}
+\author[]{Philip Hands\\{\small\texttt{phil@hands.com}}}
+\institute{\includegraphics[viewport=274 335 360 440,width=1cm]{figs/openlogo-nd.pdf}}
+\date{}
+
+\begin{document}
+
+\frame{\titlepage}
+
+\begin{frame}{Practical session 0: building the dash package}
+\begin{enumerate}
+\item Install build-essential debhelper devscripts\\
+  {\small \texttt{apt-get install build-essential debhelper devscripts}}
+  \hbr
+\item create a working directory, and get in it:\\
+  \begin{tabbing}
+    e.g. \= \texttt{mkdir \textasciitilde/src/\textsl{packagename} ; chdir \textasciitilde/src/\textsl{packagename}}\\
+    or   \> \texttt{mkdir \textasciitilde/debian ; chdir \textasciitilde/debian}
+  \end{tabbing}
+  
+\item grab a source package\\
+  \texttt{apt-get source dash}\\ 
+  {\small this needs you to have \texttt{deb-src} lines in your \texttt{/etc/apt/sources.list}}
+\item Build the package\\
+  {\small \texttt{cd dash-*\\ debuild -us -uc}}
+
+\item Check that it worked\\
+  {\small You should notice that we've got some new
+    files in the directory above us, in particular
+    there should now be a couple of \texttt{.deb}
+    files}
+\end{enumerate}
+
+Time to explain what everything means...
+\end{frame}
+
+\end{document}