aboutsummaryrefslogtreecommitdiff
path: root/2021-installfest
diff options
context:
space:
mode:
Diffstat (limited to '2021-installfest')
-rw-r--r--2021-installfest/btw_arch.jpgbin0 -> 93357 bytes
-rw-r--r--2021-installfest/gentoo-signet.svg1
-rw-r--r--2021-installfest/im-ready.jpgbin0 -> 71964 bytes
-rw-r--r--2021-installfest/makefile10
-rw-r--r--2021-installfest/moon.pngbin0 -> 440138 bytes
-rw-r--r--2021-installfest/portage.pngbin0 -> 155558 bytes
-rw-r--r--2021-installfest/pres.pdfbin0 -> 930343 bytes
-rw-r--r--2021-installfest/pres.tex186
-rw-r--r--2021-installfest/turris.svg27
9 files changed, 224 insertions, 0 deletions
diff --git a/2021-installfest/btw_arch.jpg b/2021-installfest/btw_arch.jpg
new file mode 100644
index 0000000..585e64d
--- /dev/null
+++ b/2021-installfest/btw_arch.jpg
Binary files 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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 400 400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="Ebene-1"><g id="g5680"><path id="path2973" d="M13.83,315.949c0.043,-16.447 14.024,-39.408 33.889,-60.268c13.276,-13.941 26.759,-26.178 56.15,-51.238c-20.33,-11.156 -51.95,-24.615 -67.815,-42.242c-5.87,-6.522 -16.511,-21.298 -14.447,-41.039c4.206,-40.236 53.869,-101.298 124.46,-114.207c23.488,-4.296 50.455,-1.195 72.65,8.783c69.629,31.304 154.782,109.073 165.259,147.046c3.688,13.366 2.979,34.671 -3.379,46.545c-7.879,14.716 -35.156,44.606 -72.475,75.449c-58.556,48.394 -140.612,100.359 -201.881,109.103c-19.798,2.826 -40.024,-0.121 -54.218,-8.13c-22.209,-12.532 -29.581,-29.262 -32.172,-34.277c-6.891,-13.334 -6.036,-30.228 -6.021,-35.525ZM178.63,131.173c0.756,-9.325 37.321,-0.042 35.011,7.343c-2.437,7.791 -35.879,3.354 -35.011,-7.343Z" style="fill:url(#_Linear1);"/><g id="mid"><path id="path2975" d="M123.659,189.035c-19.242,16.246 -32.036,27.2 -48.075,41.86c-38.626,35.304 -64.871,62.176 -51.34,98.909c15.609,42.374 49.824,40.226 89.947,32.35c103.421,-20.398 273.426,-151.095 264.761,-199.37c-7.012,-39.061 -101.992,-116.721 -158.227,-144.356c-17.569,-8.634 -37.816,-13.099 -58.124,-12.143c-77.327,3.65 -137.715,74.052 -134.63,112.197c3.001,37.11 96.795,69.446 95.688,70.553ZM112.052,59.482c-23.268,25.888 -8.392,75.974 30.195,103.274c45.152,31.945 118.269,37.729 132.819,13.093c27.14,-45.952 -2.493,-94.54 -46.727,-116.214c-43.711,-21.418 -101.783,-16.29 -116.287,-0.153l0,0Z" style="fill:url(#_Linear2);"/><path id="path4976" d="M191.403,161.67c32.666,4.541 60.822,-8.541 65.225,-40.798c3.354,-24.571 -34.25,-51.417 -56.859,-57.608c-18.88,-5.171 -59.869,1.478 -62.633,37.186c-2.872,37.121 35.22,58.573 54.267,61.22ZM175.407,99.931c-21.468,33.258 31.169,43.483 39.228,37.418c34.744,-26.149 -29.77,-52.07 -39.228,-37.418Z" style="fill:url(#_Radial3);"/></g><path id="path2977" d="M156.368,15.122c-37.974,4.001 -45.246,8.889 -79.647,34.916c-11.53,8.723 -32.75,29.948 -38.187,55.128c-2.071,9.59 0.377,17.87 7.283,23.676c22.116,18.593 59.131,33.677 89.498,48.259c8.894,4.271 3.005,12.015 -11.338,24.432c-36.194,31.334 -85.128,69.476 -88.544,98.54c-1.61,13.695 3.079,32.305 19.702,41.828c19.419,11.125 59.729,3.864 86.646,-6.159c39.334,-14.647 91.003,-46.973 132.023,-78.748c42.655,-33.043 82.316,-75.011 84.277,-81.856c2.409,-8.406 2.169,-16.169 -2.48,-25.096c-7.301,-14.017 -17.062,-24.432 -27.542,-36.091c-28.122,-29.647 -57.876,-55.697 -93.475,-75.66c-25.707,-14.416 -48.325,-26.319 -78.216,-23.169ZM212.149,81.588c27.434,13.263 55.606,48.102 -0.245,68.154c-15.187,5.453 -63.352,-13.391 -61.878,-39.107c2.15,-37.987 28.625,-45.242 62.123,-29.047l0,0Z" style="fill:url(#_Radial4);"/></g></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(244.692,1281.55,-1281.55,244.692,-44.6924,-886.62)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebdf3;stop-opacity:1"/><stop offset="75%" style="stop-color:#867fb7;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></linearGradient><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-73.9103,-331.394,331.394,-73.9103,256.323,293.128)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></linearGradient><radialGradient id="_Radial3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(65.7758,0,0,50.4149,169.619,91.661)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></radialGradient><radialGradient id="_Radial4" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-9.01713,572.145,-487.965,-7.68295,19.9686,107.795)"><stop offset="0%" style="stop-color:#fff;stop-opacity:1"/><stop offset="34%" style="stop-color:#fff;stop-opacity:1"/><stop offset="51%" style="stop-color:#bebbdb;stop-opacity:1"/><stop offset="75%" style="stop-color:#928bbe;stop-opacity:1"/><stop offset="87%" style="stop-color:#9f99c7;stop-opacity:1"/><stop offset="100%" style="stop-color:#524c76;stop-opacity:1"/></radialGradient></defs></svg> \ 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
--- /dev/null
+++ b/2021-installfest/im-ready.jpg
Binary files 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
--- /dev/null
+++ b/2021-installfest/moon.png
Binary files differ
diff --git a/2021-installfest/portage.png b/2021-installfest/portage.png
new file mode 100644
index 0000000..ee24dfe
--- /dev/null
+++ b/2021-installfest/portage.png
Binary files differ
diff --git a/2021-installfest/pres.pdf b/2021-installfest/pres.pdf
new file mode 100644
index 0000000..1f46d84
--- /dev/null
+++ b/2021-installfest/pres.pdf
Binary files 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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 23.0.6, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Vrstva_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 600 153" style="enable-background:new 0 0 600 153;" xml:space="preserve">
+<path d="M88.3,153l-24.1-41.7H16L0,83.6h80.3l40.1,69.4H88.3 M148.5,118.4l-24.1-41.8l24.1-41.7l-16-27.8L92.3,76.6l40.1,69.5
+ L148.5,118.4z M32.1,69.7l24.1-41.8h48.1l16-27.8H40.2L0.1,69.7H32.1z M253.5,52.1V34.9h-67.2v17.2h23.5v66.2H230V52.1H253.5z
+ M333.3,86.9V34.9h-20.1v50.3c0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