aboutsummaryrefslogtreecommitdiff
path: root/2021-installfest/pres.tex
diff options
context:
space:
mode:
Diffstat (limited to '2021-installfest/pres.tex')
-rw-r--r--2021-installfest/pres.tex186
1 files changed, 186 insertions, 0 deletions
diff --git a/2021-installfest/pres.tex b/2021-installfest/pres.tex
new file mode 100644
index 0000000..85ca536
--- /dev/null
+++ b/2021-installfest/pres.tex
@@ -0,0 +1,186 @@
+\documentclass[aspectratio=169]{beamer}
+\usetheme{metropolis}
+\usepackage{lmodern}
+\usepackage[czech]{babel}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{graphicx}
+\usepackage{wrapfig}
+\usepackage{color}
+\usepackage{mathtools}
+\usepackage{hyperref}
+\usepackage{epstopdf}
+\usepackage{amsmath}
+\usepackage{minted}
+\hypersetup{
+ colorlinks,
+ citecolor=black,
+ filecolor=black,
+ linkcolor=black,
+ urlcolor=black
+}
+\usepackage{pdflscape}
+
+\title{Proč Gentoo?}
+\author{Kar(t)el Kočí}
+\date{6.3.2021}
+
+\begin{document}
+
+\frame{\titlepage}
+
+\begin{frame}[fragile]
+ \frametitle{Co je to Gentoo?}
+ \begin{minipage}{0.5\textwidth}
+ \begin{itemize}
+ \item Linuxová distribuce
+ \item Vysoce flexibilní distribuce
+ \item Založená na zdrojových kódech
+ \item Domácí distribuce pro vývoj OpenRC a e\textit{SystemD}
+ \item Peklo na zemi
+ \end{itemize}
+ \end{minipage} \hfill
+ \begin{minipage}{0.45\textwidth}
+ \center
+ \def\svgwidth{0.45\textwidth}
+ \input{gentoo-signet.pdf_tex}
+ \end{minipage}
+\end{frame}
+
+\begin{frame}[fragile]
+ \begin{center}
+ \includegraphics[height=\textheight]{./btw_arch.jpg}
+ \end{center}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Nevýhody Gentoo}
+ TLDR velká vstupní bariéra
+ \begin{itemize}
+ \item Kompilace vlastního kernelu
+ \item Sparťanské výchozí nastavení
+ \item Integrační skripty
+ \item Náročné na výkon, dlouhé aktualizace
+ \item Náročné na paměť (>8G \dots 12G)
+ \item Náročné na místo (cca 500M portage, 20G distfiles, 30G build)
+ \end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Use flags}
+ Arch: vim vs gvim
+
+ Gentoo: USE=X emerge vim
+
+
+ /etc/portage/package.use:
+ \begin{minted}{text}
+app-editors/vim X
+ \end{minted}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Overlay}
+ /etc/portage/repos.conf
+ \begin{minted}{ini}
+[personal]
+masters = gentoo
+location = /usr/portage/personal
+sync-type = git
+sync-uri = git://cynerd.cz/gentoo-personal-overlay.git
+sync-git-verify-commit-signature = true
+sync-openpgp-key-path = /usr/share/openpgp-keys/cynerd.asc
+aut-sync = yes
+ \end{minted}
+ \begin{minted}{bash}
+sudo emerge --sync
+ \end{minted}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Balíčky}
+ ./dev-libs/logc/logc-0.2.0.ebuild
+ \begin{minted}{bash}
+EAPI=7
+DESCRIPTION="Logging for C"
+HOMEPAGE="https://gitlab.nic.cz/turris/logc"
+SRC_URI="https://gitlab.nic.cz/turris/logc/-/archive/$PV/$P.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+ \end{minted}
+ \begin{minted}{bash}
+ebuild ./logc/logc-0.2.0.ebuild manifest compile install
+ \end{minted}
+ \url{https://devmanual.gentoo.org/}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Profily}
+ \begin{itemize}
+ \item ./profiles/profiles.desc
+ \item ./profiles/host-foo/make.defaults
+ \item ./profiles/host-foo/packages
+ \item ./profiles/host-foo/package.use
+ \item ./profiles/host-foo/parent
+ \end{itemize}
+ \begin{minted}{bash}
+sudo eselect profile set X
+sudo emerge @world
+ \end{minted}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Portage}
+ \includegraphics[height=0.8\textheight]{portage.png}
+
+ ooh boy..
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Vývoj}
+ \includegraphics[height=0.9\textheight]{im-ready.jpg}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Vývoj}
+ \begin{itemize}
+ \item grep -Rn foo /usr/include
+ \item grep -Rn foo /usr/lib64/pkgconfig
+ \item Kernel patch? No problem..
+ \item Library patch? No problem..
+ \end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Co mě drží?}
+ \begin{itemize}
+ \item Možnost si vše nastavit do podrobností
+ \item Jednoduchá distribuce a tvorba balíčků
+ \item OpenRC..
+ \item Časová investice
+ \end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Proč zkusit Gentoo?}
+ \includegraphics[height=0.8\textheight]{moon.png}
+\end{frame}
+
+
+\begin{frame}
+ \Large Děkuji za pozornost.
+
+ \vspace{1cm}
+
+ \normalsize
+ \def\svgwidth{3cm}
+ \input{turris.pdf_tex}\\
+ Stánek (od 17:30): \url{https://meet.vpsfree.cz/turris}
+
+ \vspace{1cm}
+
+ \url{git.cynerd.cz}
+\end{frame}
+
+\end{document}