add practical session 3: java
authorLucas Nussbaum <lucas@lucas-nussbaum.net>
Tue, 3 May 2011 15:30:59 +0000 (17:30 +0200)
committerLucas Nussbaum <lucas@lucas-nussbaum.net>
Tue, 3 May 2011 15:30:59 +0000 (17:30 +0200)
packaging-tutorial.tex
pract3-java.tex [new file with mode: 0644]

index def5ebc..4be5b06 100644 (file)
@@ -1069,6 +1069,27 @@ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-perl
 \centerline{\includegraphics[width=5cm]{gnujump.png}}
 \end{frame}
 
+\section{Practical session 3: packaging a Java library}
+\begin{frame}{Practical session 3: packaging a Java library}
+\begin{enumerate}
+       \item Take a quick look at some documentation about Java packaging:\\
+               \begin{itemize}
+               \item \url{http://wiki.debian.org/Java}
+               \item \url{http://wiki.debian.org/Java/Packaging}
+               \item \url{http://www.debian.org/doc/packaging-manuals/java-policy/}
+               \item \url{http://pkg-java.alioth.debian.org/docs/tutorial.html}
+               \item Paper and slides from a Debconf10 talk about javahelper:\\
+                       {\footnotesize
+                       \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-paper.pdf}\\
+                       \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-slides.pdf}}
+               \end{itemize}
+               \br
+       \item Download IRClib from \url{http://moepii.sourceforge.net/}
+               \br
+       \item Package it
+\end{enumerate}
+\end{frame}
+
 \backupbegin
 
 \begin{frame}
@@ -1100,8 +1121,6 @@ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-perl
 
 \begin{frame}{TODO}
   \begin{itemize}
-  \item more practical sessions
-  \item debc and lintian should really pick-up the .changes file automatically
   \item UCF
   \item Blends
   \item BTS
diff --git a/pract3-java.tex b/pract3-java.tex
new file mode 100644 (file)
index 0000000..cad3ca3
--- /dev/null
@@ -0,0 +1,57 @@
+\documentclass[10pt,final]{beamer}
+\mode<presentation>
+\usetheme{lucasdeb}
+\usepackage{debiantutorial}
+
+\hypersetup{pdftitle={Practical session 3: a Java library},bookmarks}
+\title[Practical session 3: Java library]{Practical session 3:\\ Packaging a Java library}
+\author[]{Lucas Nussbaum\\{\small\texttt{lucas@debian.org}}}
+\institute{\includegraphics[viewport=274 335 360 440,width=1cm]{figs/openlogo-nd.pdf}}
+\date{}
+
+\begin{document}
+
+\frame{\titlepage}
+
+\begin{frame}{Practical session 3: packaging a Java library}
+\begin{enumerate}
+       \item Take a quick look at some documentation about Java packaging:\\
+               \begin{itemize}
+               \item \url{http://wiki.debian.org/Java}
+               \item \url{http://wiki.debian.org/Java/Packaging}
+               \item \url{http://www.debian.org/doc/packaging-manuals/java-policy/}
+               \item \url{http://pkg-java.alioth.debian.org/docs/tutorial.html}
+               \item Paper and slides from a Debconf10 talk about javahelper:\\
+                       {\footnotesize
+                       \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-paper.pdf}\\
+                       \url{http://pkg-java.alioth.debian.org/docs/debconf10-javahelper-slides.pdf}}
+               \end{itemize}
+               \br
+       \item Download IRClib from \url{http://moepii.sourceforge.net/}
+               \br
+       \item Package it
+\end{enumerate}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Step by step\ldots}
+\begin{itemize}
+       \item \texttt{apt-get install javahelper}
+               \hbr
+       \item Create a basic source package: \texttt{jh\_makepkg}
+               \begin{itemize}
+                       \item Library
+                       \item None
+                       \item Default Free compiler/runtime
+               \end{itemize}
+               \hbr
+       \item Look at and fix \texttt{debian/*}
+               \hbr
+       \item \texttt{dpkg-buildpackage -us -uc} or \texttt{debuild}
+               \hbr
+       \item \texttt{lintian}, \texttt{debc}, etc.
+               \hbr
+       \item Compare your result with the \texttt{libirclib-java} source package
+\end{itemize}
+\end{frame}
+\end{document}