Remove pdftitle definition
[packaging-tutorial.git] / pract3-java.tex
1 \documentclass[10pt,final]{beamer}
2 \mode<presentation>
3 \usetheme{debian}
4 \usepackage{debiantutorial}
5
6 \hypersetup{bookmarks}
7 \title[Practical session 3: Java library]{Practical session 3:\\ Packaging a Java library}
8 \author[]{Lucas Nussbaum\\{\small\texttt{lucas@debian.org}}}
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 3: packaging a Java library}
17 \begin{enumerate}
18         \item Take a quick look at some documentation about Java packaging:\\
19                 \begin{itemize}
20                 \item \url{http://wiki.debian.org/Java}
21       \hbr
22                 \item \url{http://wiki.debian.org/Java/Packaging}
23       \hbr
24                 \item \url{http://www.debian.org/doc/packaging-manuals/java-policy/}
25       \hbr
26                 \item \url{http://pkg-java.alioth.debian.org/docs/tutorial.html}
27       \hbr
28                 \item Paper and slides from a Debconf10 talk about javahelper:\\
29                         {\footnotesize
30                         \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-paper.pdf}\\
31                         \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-slides.pdf}}
32                 \end{itemize}
33                 \br
34         \item Download IRClib from \url{http://moepii.sourceforge.net/}
35                 \br
36         \item Package it
37 \end{enumerate}
38 \end{frame}
39
40 \begin{frame}[fragile]
41 \frametitle{Step by step\ldots}
42 \begin{itemize}
43         \item \texttt{apt-get install javahelper}
44                 \hbr
45         \item Create a basic source package: \texttt{jh\_makepkg}
46                 \begin{itemize}
47                         \item Library
48                         \item None
49                         \item Default Free compiler/runtime
50                 \end{itemize}
51                 \hbr
52         \item Look at and fix \texttt{debian/*}
53                 \hbr
54         \item \texttt{dpkg-buildpackage -us -uc} or \texttt{debuild}
55                 \hbr
56         \item \texttt{lintian}, \texttt{debc}, etc.
57                 \hbr
58         \item Compare your result with the \texttt{libirclib-java} source package
59 \end{itemize}
60 \end{frame}
61 \end{document}