\documentclass[final,fyma]{prosper}

\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{verbatim}

\title{Machine-Parsable Copyright Format}
\author{Ricardo Mones}
\institution{Debian}
\email{mones@debian.org}

\slideCaption{DudesConf-II - May 3rd, 2008 - A Coruña}
%\displayVersion

\begin{document}
\maketitle

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Currently}

We want Debian to be legal:
\begin{itemize}
\item ALL packages are required a debian/copyright file
\end{itemize}

Very nice, but:
\begin{itemize}
\item Oh no! ALL copyright files are different!
\end{itemize}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{The problem}

\begin{itemize}
\item Number of packages tends to $\infty$ (right now 22879)
\item Checking copyright files is tiresome
\item Even worse: it has to be done by hand
\item Incompatibilities between packages (GPLv3)
\item Licenses change/upgrade as time passes
\item Code from other authors is added as time passes
\end{itemize}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{A solution (or not)}

\begin{itemize}
\item Give ALL copyright files a \emph{uniform} format
\item Which allows humans to check legal status of package
\item Which allows a piece of software do the same!
\end{itemize}

Doesn't solve al the problems: NEW queue requires human supervision, but
automatic checking can discard packages.

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{The proposal}

Good old friend RFC 822 to the rescue:
\begin{itemize}
\item A series of header fields: {\tt X-Debianized-By}, etc.
\item A series of simple fields: {\tt Files}, {\tt Copyright}, {\tt License}
\item Encoding of existing DFSG-compatible licenses
\item Allowing free text: human readable
\end{itemize}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{The header}

An example from the wiki:
{\tiny
\begin{verbatim}
X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
X-Debianized-By: Morten Kjeldgaard <mok@bioxray.au.dk>
X-Debianized-Date: Sun, 10 Jun 2007 16:13:07 +0000.
X-Source-Downloaded-From: http://sourceforge.net/projects/btk/
X-Upstream-Author: Tim Robertson <kid50@users.sourceforge.net>,
    Chris Saunders <ctsa@users.sourceforge.net>
\end{verbatim}
}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{The fields}

\begin{itemize}
\item {\tt Files} somewhat like a find search regexp:\\
{\tiny
  \begin{verbatim}
  Files: ./Makefile.am, *.pl
  Files: debian/*
  \end{verbatim}
}
\item {\tt License} like Depends in debian/control:\\
{\tiny
  \begin{verbatim}
  License: GPL-3+
  License: GPL-1+ | Artistic, BSD-3
  \end{verbatim}
}
\item {\tt Copyright} more or less standard:\\
{\tiny
  \begin{verbatim}
  Copyright: © 2007-2008 Sam Hocevar <sam@zoy.org>
  Copyright: © 2008 Steve McIntyre <steve@einval.com>
  \end{verbatim}
}
\end{itemize}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{A simple example (before)}

{\tiny
\begin{verbatim}
This package was debianized by Takuo KITAME <kitame@northeye.org> on
Sat, 30 Sep 2000 16:31:27 +0900. 

It was downloaded from http://sylpheed.good-day.net/

Upstream Author: Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>

Copyright:

You are free to distribute this software under the terms of
the GNU General Public License.
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL file.

Specific permission is granted for the GPLed code in this distribition to
be linked to OpenSSL without invoking GPL clause 2(b).
\end{verbatim}
}


\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{A simple example (after)}

{\tiny
\begin{verbatim}
X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
X-Debianized-By: Takuo KITAME <kitame@northeye.org>
X-Debianized-Date: Sat, 30 Sep 2000 16:31:27 +0900 
X-Source-Downloaded-From: http://sylpheed.good-day.net/
X-Upstream-Author: Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
X-Comment: On Debian systems, the complete text of the GNU General Public 
 License can be found in file "/usr/share/common-licenses/GPL".

Files: *
Copyright: © Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
License: GPL-2+ | other
 Specific permission is granted for the GPLed code in this distribition to
 be linked to OpenSSL without invoking GPL clause 2(b).

Files: debian/*
Copyright: 2000-2001 © Takuo KITAME <kitame@northeye.org> 
           2001-2004 © Gustavo Noronha Silva <kov@debian.org>
           2004-2008 © Ricardo Mones <mones@debian.org>
License: GPL-2+
\end{verbatim}
}

\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{References}

\begin{verbatim}
http://wiki.debian.org/CopyrightFormat

http://people.debian.org/~mones/talks/MPCF
\end{verbatim}

\vspace{2cm}
{\large
Thanks for your attention and...\\
Happy debian/copyright hacking!
}
\end{slide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{License}
{\tiny
\begin{verbatim}
Copyright © 2008 Ricardo Mones Lastra.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
\end{verbatim}
}
\end{slide}

\end{document}





