From fbdb61c8f919e367b107c5e38a50a55bcd4a1974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 8 Mar 2021 21:29:42 +0100 Subject: Add presentation from Installfest 2021 --- 2021-installfest/btw_arch.jpg | Bin 0 -> 93357 bytes 2021-installfest/gentoo-signet.svg | 1 + 2021-installfest/im-ready.jpg | Bin 0 -> 71964 bytes 2021-installfest/makefile | 10 ++ 2021-installfest/moon.png | Bin 0 -> 440138 bytes 2021-installfest/portage.png | Bin 0 -> 155558 bytes 2021-installfest/pres.pdf | Bin 0 -> 930343 bytes 2021-installfest/pres.tex | 186 +++++++++++++++++++++++++++++++++++++ 2021-installfest/turris.svg | 27 ++++++ 9 files changed, 224 insertions(+) create mode 100644 2021-installfest/btw_arch.jpg create mode 100644 2021-installfest/gentoo-signet.svg create mode 100644 2021-installfest/im-ready.jpg create mode 100644 2021-installfest/makefile create mode 100644 2021-installfest/moon.png create mode 100644 2021-installfest/portage.png create mode 100644 2021-installfest/pres.pdf create mode 100644 2021-installfest/pres.tex create mode 100644 2021-installfest/turris.svg (limited to '2021-installfest') diff --git a/2021-installfest/btw_arch.jpg b/2021-installfest/btw_arch.jpg new file mode 100644 index 0000000..585e64d Binary files /dev/null and b/2021-installfest/btw_arch.jpg differ diff --git a/2021-installfest/gentoo-signet.svg b/2021-installfest/gentoo-signet.svg new file mode 100644 index 0000000..2f47e5e --- /dev/null +++ b/2021-installfest/gentoo-signet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2021-installfest/im-ready.jpg b/2021-installfest/im-ready.jpg new file mode 100644 index 0000000..29518d1 Binary files /dev/null and b/2021-installfest/im-ready.jpg differ diff --git a/2021-installfest/makefile b/2021-installfest/makefile new file mode 100644 index 0000000..7b97a99 --- /dev/null +++ b/2021-installfest/makefile @@ -0,0 +1,10 @@ +FILE=pres + +$(FILE).pdf: $(FILE).tex $(patsubst %.svg,%.pdf,$(wildcard *.svg)) + pdflatex -shell-escape $< + +%.pdf: %.svg + inkscape -D -z --file=$< --export-pdf=$@ --export-latex + +clean: + ls | grep -v -E "($(FILE).tex|makefile|scheme|svg|png|jpg|eps)$$" | xargs rm -rf diff --git a/2021-installfest/moon.png b/2021-installfest/moon.png new file mode 100644 index 0000000..4519c0a Binary files /dev/null and b/2021-installfest/moon.png differ diff --git a/2021-installfest/portage.png b/2021-installfest/portage.png new file mode 100644 index 0000000..ee24dfe Binary files /dev/null and b/2021-installfest/portage.png differ diff --git a/2021-installfest/pres.pdf b/2021-installfest/pres.pdf new file mode 100644 index 0000000..1f46d84 Binary files /dev/null and b/2021-installfest/pres.pdf differ 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} diff --git a/2021-installfest/turris.svg b/2021-installfest/turris.svg new file mode 100644 index 0000000..45d0331 --- /dev/null +++ b/2021-installfest/turris.svg @@ -0,0 +1,27 @@ + + + + + -- cgit v1.2.3