summaryrefslogtreecommitdiffstats
path: root/NLnet/porting_replicant_to_android9
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-28 16:06:42 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-13 00:17:15 +0100
commit82c947a07e937a1f164e970058686a2b8e6d7e62 (patch)
treec183db6708f0ba387a50c28dadbf91fa273347b6 /NLnet/porting_replicant_to_android9
parentad33477fcdd263108de5a06681449841b1fc51bf (diff)
downloaddocuments-82c947a07e937a1f164e970058686a2b8e6d7e62.tar.gz
documents-82c947a07e937a1f164e970058686a2b8e6d7e62.tar.bz2
documents-82c947a07e937a1f164e970058686a2b8e6d7e62.zip
Convert times in amount as requested by NlNet
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'NLnet/porting_replicant_to_android9')
-rw-r--r--NLnet/porting_replicant_to_android9/porting_replicant_to_android9.tex85
1 files changed, 58 insertions, 27 deletions
diff --git a/NLnet/porting_replicant_to_android9/porting_replicant_to_android9.tex b/NLnet/porting_replicant_to_android9/porting_replicant_to_android9.tex
index 9ba39f7..ced2219 100644
--- a/NLnet/porting_replicant_to_android9/porting_replicant_to_android9.tex
+++ b/NLnet/porting_replicant_to_android9/porting_replicant_to_android9.tex
@@ -2,6 +2,8 @@
\usepackage[english]{babel}
\usepackage[a4paper]{geometry}
+\usepackage{calc}
+\usepackage[gen]{eurosym}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage{listings}
@@ -11,6 +13,35 @@
\author{Denis 'GNUtoo' Carikli \and NLnet}
\date{\today}
+\newcounter{hours}
+\newcounter{rate}
+\setcounter{rate}{27}
+\newcounter{cost}
+\newcounter{totalhours}
+\setcounter{totalhours}{0}
+\newcounter{totalcost}
+\setcounter{totalcost}{0}
+
+\newcommand{\workhours}[1] {
+ \setcounter{hours}{#1}
+ \setcounter{cost}{\thehours*\therate}
+
+ \thehours h
+ \euro{\thecost}
+
+ %% For the total at the end
+ \setcounter{totalhours}{\thetotalhours +\thehours}
+}
+
+\newcommand{\worktotal}[0] {
+ \setcounter{totalcost}{\thetotalhours*\therate}
+
+ \thetotalhours h (\euro{\thetotalcost})
+
+ \setcounter{totalhours}{0}
+ \setcounter{totalcost}{0}
+}
+
\begin{document}
\begin{titlepage}
\centering
@@ -253,12 +284,12 @@ agree to the following:
\begin{longtable}[!t]{|p{1cm}|p{6cm}|p{6cm}|}
\hline
- Time estimation & Task & Comments \\
+ Cost estimation & Task & Comments \\
\hline
\hline
- 14h &
+ \workhours{14} &
\begin{itemize}
\item{Validate that Android 9 builds under a GNU/Linux distribution
compliant with the FSF's Free Software Distribution Guidelines (FSDG)
@@ -267,7 +298,7 @@ agree to the following:
\hline
- 160h &
+ \workhours{160} &
\begin{itemize}
\item{
Choose an Android distribution (like AOSP or LineageOS) to base the work on
@@ -287,7 +318,7 @@ agree to the following:
\hline
- 35h &
+ \workhours{35} &
\begin{itemize}
\item{
Add partial support for a second device which will one of the following
@@ -303,7 +334,7 @@ agree to the following:
\hline
\hline
- \multicolumn{3}{|c|}{Total: approximately 42h}\\
+ \multicolumn{3}{|c|}{Total: approximately \worktotal}\\
\hline
\end{longtable}
@@ -314,19 +345,19 @@ agree to the following:
\begin{longtable}[!t]{|p{1cm}|p{6cm}|p{6cm}|}
\hline
- Time estimation & Task & Comments \\
+ Cost estimation & Task & Comments \\
\hline
\hline
- 35h &
+ \workhours{35} &
\begin{itemize}
\item{Make the the touch keys Linux driver work and upstream it in Linux.}
\end{itemize} & \\
\hline
- 7h &
+ \workhours{7} &
\begin{itemize}
\item{Make the Linux AAT1290 flash led driver work and upstream it in Linux.}
\end{itemize} & \\
@@ -334,7 +365,7 @@ agree to the following:
\hline
\hline
- \multicolumn{3}{|c|}{Total: approximately 14h }\\
+ \multicolumn{3}{|c|}{Total: approximately \worktotal}\\
\hline
\end{longtable}
@@ -346,12 +377,12 @@ agree to the following:
\begin{longtable}[!t]{|p{1cm}|p{6cm}|p{6cm}|}
\hline
- Time estimation & Task & Comments \\
+ Cost estimation & Task & Comments \\
\hline
\hline
- 7h &
+ \workhours{7} &
\begin{itemize}
\item{
Port the the Galaxy SIII (i9300) modem Linux driver from 4.16 to 5.0
@@ -362,7 +393,7 @@ agree to the following:
\\
\hline
- 70h &
+ \workhours{70} &
\begin{itemize}
\item{
Cleanup the the Galaxy SIII (i9300) modem Linux driver.
@@ -379,7 +410,7 @@ agree to the following:
\hline
- 160h &
+ \workhours{160} &
\begin{itemize}
\item{Port libsamsung-ril and libsamsung-ipc to Android 9}
\item{Make the modem driver and libsamsung-ipc work together}
@@ -411,7 +442,7 @@ agree to the following:
\hline
\hline
- \multicolumn{3}{|c|}{Total: approximately 164h }\\
+ \multicolumn{3}{|c|}{Total: approximately \worktotal}\\
\hline
\end{longtable}
@@ -423,19 +454,19 @@ agree to the following:
\begin{longtable}[!t]{|p{1cm}|p{6cm}|p{6cm}|}
\hline
- Time estimation & Task & Comments \\
+ Cost estimation & Task & Comments \\
\hline
\hline
- 70h &
+ \workhours{70} &
\begin{itemize}
\item{port the sensors libraries and other device specific libraries}
\end{itemize} & \\
\hline
- 70h &
+ \workhours{70} &
\begin{itemize}
\item{Add support for Audio with the upstream kernel driver}
\end{itemize} &
@@ -443,7 +474,7 @@ agree to the following:
\hline
- 6h &
+ \workhours{6} &
\begin{itemize}
\item{Add internal WiFi support and validate the functionality}
\end{itemize} &
@@ -458,7 +489,7 @@ agree to the following:
\hline
- 20h &
+ \workhours{20} &
\begin{itemize}
\item{Add external WiFi support and validate the functionality}
\end{itemize} & This might be very tricky. This is known to work
@@ -478,7 +509,7 @@ agree to the following:
\hline
- \multicolumn{3}{|c|}{Total: approximately 166h}\\
+ \multicolumn{3}{|c|}{Total: approximately \worktotal}\\
\hline
\end{longtable}
@@ -489,12 +520,12 @@ agree to the following:
\begin{longtable}[!t]{|p{1cm}|p{6cm}|p{6cm}|}
\hline
- Time estimation & Task & Comments \\
+ Cost estimation & Task & Comments \\
\hline
\hline
- 35h &
+ \workhours{35} &
\begin{itemize}
\item{rebrand LineageOS as Replicant}
\end{itemize} &
@@ -511,7 +542,7 @@ agree to the following:
\hline
- 70h &
+ \workhours{70} &
\begin{itemize}
\item{Find the repositories global licenses, remove and document proprietary
software}
@@ -527,7 +558,7 @@ agree to the following:
\hline
- 35h &
+ \workhours{35} &
\begin{itemize}
\item{Find, remove and document privacy issues in the source code.}
\end{itemize} &
@@ -553,14 +584,14 @@ agree to the following:
\hline
- 21h &
+ \workhours{21} &
\begin{itemize}
\item{Create a recovery}
\end{itemize} & \\
\hline
- 35h &
+ \workhours{35} &
\begin{itemize}
\item{create new update the install and upgrade instructions }
\end{itemize} &
@@ -577,7 +608,7 @@ agree to the following:
\hline
\hline
- \multicolumn{3}{|c|}{Total: approximately 91h}\\
+ \multicolumn{3}{|c|}{Total: approximately \worktotal}\\
\hline
\end{longtable}