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