Package: packaging-tutorial Version: 0.8 Severity: normal Tags: patch Dear Maintainer,
Attached are three patches which fix some minor issues: - debian-packaging-tutorial.doc-base.de.patch: Minor typo. - minor-fixes.patch: Fixes some typos. - use-fragile-singleslide.patch: Use fragile=singleslide for a slightly faster build which doesn't require temporary files. fragile is only necessary when there are animations on the frame, if not singleslide is better. Regards, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
From 300e5d5e7170f5831a677599e3be1680d309ba51 Mon Sep 17 00:00:00 2001 Message-Id: <300e5d5e7170f5831a677599e3be1680d309ba51.1362780626.git.si...@ruderich.org> From: Simon Ruderich <si...@ruderich.org> Date: Fri, 8 Mar 2013 21:29:09 +0100 Subject: [PATCH 1/3] debian/packaging-tutorial.doc-base.de: Fix Document. --- debian/packaging-tutorial.doc-base.de | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/packaging-tutorial.doc-base.de b/debian/packaging-tutorial.doc-base.de index 2864f05..2beca01 100644 --- a/debian/packaging-tutorial.doc-base.de +++ b/debian/packaging-tutorial.doc-base.de @@ -1,4 +1,4 @@ -Document: packaging-tutorial-fr +Document: packaging-tutorial-de Title: Debian Packaging Tutorial (de) Author: Lucas Nussbaum Abstract: -- 1.7.10.4
From 36b4c43cd0d0ca5a63467c7380c3263fa1b30ee9 Mon Sep 17 00:00:00 2001 Message-Id: <36b4c43cd0d0ca5a63467c7380c3263fa1b30ee9.1362780626.git.si...@ruderich.org> In-Reply-To: <300e5d5e7170f5831a677599e3be1680d309ba51.1362780626.git.si...@ruderich.org> References: <300e5d5e7170f5831a677599e3be1680d309ba51.1362780626.git.si...@ruderich.org> From: Simon Ruderich <si...@ruderich.org> Date: Fri, 8 Mar 2013 22:59:19 +0100 Subject: [PATCH 2/3] Minor fixes. --- packaging-tutorial.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packaging-tutorial.tex b/packaging-tutorial.tex index 0d5d971..2d8b451 100644 --- a/packaging-tutorial.tex +++ b/packaging-tutorial.tex @@ -221,7 +221,7 @@ rw-r--r-- 0/0 751613 Sep 5 15:43 2010 data.tar.gz \begin{frame}{Source package} \begin{itemize} \item One source package can generate several binary packages\\ - {\small e.g the \texttt{\bfseries libtar} source generates the + {\small e.g. the \texttt{\bfseries libtar} source generates the \texttt{\bfseries libtar0} and \texttt{\bfseries libtar-dev} binary packages} \hbr \item Two kinds of packages: (if unsure, use non-native) @@ -336,7 +336,7 @@ Files: \begin{itemize} \item Main files: \begin{itemize} - \item \textbf{control} -- meta-data about the package (dependencies, etc) + \item \textbf{control} -- meta-data about the package (dependencies, etc.) \item \textbf{rules} -- specifies how to build the package \item \textbf{copyright} -- copyright information for the package \item \textbf{changelog} -- history of the Debian package @@ -464,7 +464,7 @@ Description: retrieves files from the web \item Documented in Debian Policy, chapter 4.8\\ {\small \url{http://www.debian.org/doc/debian-policy/ch-source\#s-debianrules}} \br - \item Tequired targets: + \item Required targets: \begin{itemize} \item \texttt{build, build-arch, build-indep}: should perform all the configuration and compilation \hbr @@ -579,7 +579,7 @@ binary: binary-indep binary-arch \hbr \item Second-level helpers that factor common functionality \begin{itemize} - \item E.g building with \texttt{./configure \&\& make \&\& make install} or CMake + \item E.g. building with \texttt{./configure \&\& make \&\& make install} or CMake \end{itemize} \hbr \item CDBS: @@ -971,7 +971,7 @@ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-perl \begin{frame}{Backporting packages} \begin{itemize} \item Goal: use a newer version of a package on an older system\\ - e.g use \textsl{mutt} from Debian \textsl{unstable} on Debian \textsl{stable} + e.g. use \textsl{mutt} from Debian \textsl{unstable} on Debian \textsl{stable} \br \item General idea: \begin{itemize} -- 1.7.10.4
From 99c721ede81ae0f8c4e7aae250487b2df9fb2ebd Mon Sep 17 00:00:00 2001 Message-Id: <99c721ede81ae0f8c4e7aae250487b2df9fb2ebd.1362780627.git.si...@ruderich.org> In-Reply-To: <300e5d5e7170f5831a677599e3be1680d309ba51.1362780626.git.si...@ruderich.org> References: <300e5d5e7170f5831a677599e3be1680d309ba51.1362780626.git.si...@ruderich.org> From: Simon Ruderich <si...@ruderich.org> Date: Fri, 8 Mar 2013 23:02:11 +0100 Subject: [PATCH 3/3] Use fragile=singleslide. Is a little faster and doesn't require temporary files. --- packaging-tutorial.tex | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/packaging-tutorial.tex b/packaging-tutorial.tex index 2d8b451..e2f7c15 100644 --- a/packaging-tutorial.tex +++ b/packaging-tutorial.tex @@ -106,7 +106,7 @@ \subsection{The Deb package format} -\begin{frame}[fragile]{The Deb package format} +\begin{frame}[fragile=singleslide]{The Deb package format} \begin{itemize} \item \texttt{.deb} file: an \texttt{ar} archive \begin{lstlisting}[basicstyle=\ttfamily\footnotesize] @@ -254,7 +254,7 @@ rw-r--r-- 0/0 751613 Sep 5 15:43 2010 data.tar.gz (See \texttt{dpkg-source(1)} for exact details) \end{frame} -\begin{frame}[fragile]{Source package example (wget\_1.12-2.1.dsc)} +\begin{frame}[fragile=singleslide]{Source package example (wget\_1.12-2.1.dsc)} \begin{lstlisting}[basicstyle=\ttfamily\small] Format: 3.0 (quilt) Source: wget @@ -358,7 +358,7 @@ Files: \end{itemize} \end{frame} -\begin{frame}[fragile]{debian/changelog} +\begin{frame}[fragile=singleslide]{debian/changelog} \begin{itemize} \item Lists the Debian packaging changes \item Gives the current version of the package @@ -394,7 +394,7 @@ mpich2 (1.2.1.1-5) unstable; urgency=low \end{lstlisting} \end{frame} -\begin{frame}[fragile]{debian/control} +\begin{frame}[fragile=singleslide]{debian/control} \hbr \begin{itemize} \item Package metadata @@ -454,7 +454,7 @@ Description: retrieves files from the web A source package can generate a mix of \texttt{Architecture:\ any} and \texttt{Architecture:\ all} binary packages \end{frame} -\begin{frame}[fragile]{debian/rules} +\begin{frame}[fragile=singleslide]{debian/rules} \hbr \begin{itemize} \item Makefile @@ -514,7 +514,7 @@ Description: retrieves files from the web \end{itemize} \end{frame} -\begin{frame}[fragile]{debian/rules using debhelper (1/2)} +\begin{frame}[fragile=singleslide]{debian/rules using debhelper (1/2)} \begin{lstlisting}[basicstyle=\ttfamily\footnotesize,escapeinside=\{\}] #!/usr/bin/make -f @@ -542,7 +542,7 @@ install: build \end{lstlisting} \end{frame} -\begin{frame}[fragile]{debian/rules using debhelper (2/2)} +\begin{frame}[fragile=singleslide]{debian/rules using debhelper (2/2)} \begin{lstlisting}[basicstyle=\ttfamily\footnotesize,escapeinside=\{\}] # Build architecture-independent files here. @@ -572,7 +572,7 @@ binary: binary-indep binary-arch \end{lstlisting} \end{frame} -\begin{frame}[fragile]{CDBS} +\begin{frame}[fragile=singleslide]{CDBS} \hbr \begin{itemize} \item With debhelper, still a lot of redundancy between packages @@ -607,7 +607,7 @@ build/mypackage:: \end{lstlisting} \end{frame} -\begin{frame}[fragile]{Dh (aka Debhelper 7, or dh7)} +\begin{frame}[fragile=singleslide]{Dh (aka Debhelper 7, or dh7)} \begin{itemize} \item Introduced in 2008 as a \textsl{CDBS killer} \hbr @@ -759,7 +759,7 @@ override_dh_auto_build: \section{Advanced packaging topics} \subsection{debian/copyright} -\begin{frame}[fragile]{debian/copyright} +\begin{frame}[fragile=singleslide]{debian/copyright} \hbr \begin{itemize} \item Copyright and license information for the source and the packaging @@ -849,7 +849,7 @@ License: \end{itemize} \end{frame} -\begin{frame}[fragile]{Documentation of patches} +\begin{frame}[fragile=singleslide]{Documentation of patches} \begin{itemize} \item Standard headers at the beginning of the patch \br @@ -906,7 +906,7 @@ Last-Update: 2010-03-29 \end{itemize} \end{frame} -\begin{frame}[fragile]{Monitoring upstream versions} +\begin{frame}[fragile=singleslide]{Monitoring upstream versions} \begin{itemize} \item Specify where to look in \texttt{debian/watch} (see \texttt{uscan(1)}) \begin{lstlisting}[basicstyle=\ttfamily\footnotesize] @@ -930,7 +930,7 @@ http://tmrc.mit.edu/mirror/twisted/Twisted/(\d\.\d)/ \ \end{frame} \subsection{Packaging with a Version Control System (SVN, Git)} -\begin{frame}[fragile]{Packaging with a Version Control System} +\begin{frame}[fragile=singleslide]{Packaging with a Version Control System} \begin{itemize} \item Several tools to help manage branches and tags for your packaging work:\\ \texttt{svn-buildpackage}, \texttt{git-buildpackage} @@ -1059,7 +1059,7 @@ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-perl \end{itemize} \end{frame} -\begin{frame}[fragile]{Adopting a package: example} +\begin{frame}[fragile=singleslide]{Adopting a package: example} \begin{lstlisting}[basicstyle=\ttfamily\footnotesize] From: You <you@yourdomain> To: 640...@bugs.debian.org, cont...@bugs.debian.org @@ -1526,7 +1526,7 @@ Or not: reinstall the previous version of the package: \centerline{\includegraphics[width=5cm]{figs/gnujump.png}} \end{frame} -\begin{frame}[fragile]{Step by step\ldots} +\begin{frame}[fragile=singleslide]{Step by step\ldots} \begin{itemize} \item \texttt{wget http://ftp.gnu.org/gnu/gnujump/gnujump-1.0.8.tar.gz} \hbr @@ -1555,7 +1555,7 @@ gnujump.cron.d.ex postrm.ex \end{lstlisting} \end{frame} -\begin{frame}[fragile]{Step by step\ldots (2)} +\begin{frame}[fragile=singleslide]{Step by step\ldots (2)} \begin{itemize} \item Look at \texttt{debian/changelog}, \texttt{debian/rules}, \texttt{debian/control}\\ (auto-filled by \textbf{dh\_make}) @@ -1711,7 +1711,7 @@ $\rightarrow$ Add \textbf{libsdl1.2-dev} to Build-Depends and install it. \end{itemize} \end{frame} -\begin{frame}[fragile]{Step by step\ldots (2)} +\begin{frame}[fragile=singleslide]{Step by step\ldots (2)} Improve the generated package: \begin{itemize} \item Run \texttt{debclean} to clean the source tree. Look at \texttt{debian/}. @@ -1735,7 +1735,7 @@ Improve the generated package: \end{itemize} \end{frame} -\begin{frame}[fragile]{Step by step\ldots (3)} +\begin{frame}[fragile=singleslide]{Step by step\ldots (3)} Build the package. It fails to build. There are two problems: \begin{itemize} -- 1.7.10.4
signature.asc
Description: Digital signature