diff options
-rw-r--r-- | LibrePlanet2022/Makefile | 74 | ||||
-rw-r--r-- | LibrePlanet2022/Struggle_for_independence.tex | 8 |
2 files changed, 23 insertions, 59 deletions
diff --git a/LibrePlanet2022/Makefile b/LibrePlanet2022/Makefile index 654fd40..852025a 100644 --- a/LibrePlanet2022/Makefile +++ b/LibrePlanet2022/Makefile @@ -28,30 +28,21 @@ output/$(TITLE).pdf: \ output/android_logo.jpg \ output/anti_drm_protest.jpg \ output/anti_smartphones.jpg \ - output/crespo.jpg \ output/electronic_waste.jpg \ output/framework.jpg \ output/freedo.jpg \ - output/gta04.jpg \ output/googlag.jpg \ - output/i9100.jpg \ - output/i9300.jpg \ output/i9300_left.jpg \ output/linux.jpg \ - output/maguro.jpg \ output/motorola_a780.jpg \ - output/n5100.jpg \ - output/n7000.jpg \ - output/n7100.jpg \ output/n900.jpg \ - output/p3100.jpg \ - output/p5100.jpg \ output/phist.jpg \ - output/raised_fist.jpg \ + output/raised_fist_small.jpg \ output/replicant_logo.jpg \ output/smart_phones_shop.jpg \ output/tablets.jpg \ - output/we_can_do_it.jpg \ + output/the_leader_of_the_luddites_small.jpg \ + output/we_can_do_it_small.jpg \ output/wifi.jpg \ output/worker.jpg pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}' @@ -90,6 +81,10 @@ output/n900.jpg: images/N900_xterm.JPG images/Nokia_N900-6.jpg mkdir -p output convert -append -gravity center $? $@ +# From 7.8M to 104k +output/raised_fist_small.jpg: images/raised_fist.jpg + convert -resize 25% -quality 80 $< $@ + output/replicant_logo.jpg: ../external_resources/vendor_replicant_artwork/replicant_logo_white.png output convert $< $@ @@ -99,52 +94,21 @@ output/tablets.jpg: \ mkdir -p output convert -append $? $@ +# From 6.1M to 291K +output/the_leader_of_the_luddites_small.jpg: images/the_leader_of_the_luddites.jpg + convert -resize 25% -quality 80 $< $@ + +# From 7.9M to 104K +output/raised_fist_small.jpg: images/raised_fist.jpg + convert -resize 25% -quality 80 $< $@ + +# from 61M to 456K +output/we_can_do_it_small.jpg: images/we_can_do_it.jpg + convert -resize 25% -quality 80 $< $@ + output/wifi.jpg: \ images/tehnoetic-n150-mini-wifi-adapter-back-500x500.png \ images/tet-otg-side-500x500.jpg \ images/Wifi.png mkdir -p output convert -append -gravity center $? $@ - -############################# -# Official devices pictures # -############################# -output/crespo.jpg: \ - ../external_resources/replicant_website/images/supported-devices/crespo.png - convert $? $@ - -output/gta04.jpg: \ - ../external_resources/replicant_website/images/supported-devices/gta04.png - convert $? $@ - -output/i9100.jpg: \ - ../external_resources/replicant_website/images/supported-devices/i9100.png - convert $? $@ - -output/i9300.jpg: \ - ../external_resources/replicant_website/images/supported-devices/i9300.png - convert $? $@ - -output/maguro.jpg: \ - ../external_resources/replicant_website/images/supported-devices/maguro.png - convert $? $@ - -output/n5100.jpg: \ - ../external_resources/replicant_website/images/supported-devices/n5100.png - convert $? $@ - -output/n7000.jpg: \ - ../external_resources/replicant_website/images/supported-devices/n7000.png - convert $? $@ - -output/n7100.jpg: \ - ../external_resources/replicant_website/images/supported-devices/n7100.png - convert $? $@ - -output/p3100.jpg: \ - ../external_resources/replicant_website/images/supported-devices/p3100.png - convert $? $@ - -output/p5100.jpg: \ - ../external_resources/replicant_website/images/supported-devices/p5100.png - convert $? $@ diff --git a/LibrePlanet2022/Struggle_for_independence.tex b/LibrePlanet2022/Struggle_for_independence.tex index 8528ea8..3d7bf0d 100644 --- a/LibrePlanet2022/Struggle_for_independence.tex +++ b/LibrePlanet2022/Struggle_for_independence.tex @@ -15,7 +15,7 @@ basicstyle=\scriptsize\color{green}, } -\newcommand{\devicepicture}[1]{output/#1.jpg} +\newcommand{\devicepicture}[1]{../external_resources/replicant_website/images/supported-devices/#1.png} \newcommand{\includedevicepicture}[1]{ {\includegraphics[width=.2\textwidth]{\devicepicture{#1}}} @@ -153,7 +153,7 @@ \end{frame} \begin{frame} - \inlinepicture{images/the_leader_of_the_luddites.jpg}{right}{ + \inlinepicture{output/the_leader_of_the_luddites_small.jpg}{right}{ \center{How to fix that?} \begin{itemize} \item Destroy civilization, capitalism, etc? $\rightarrow$ Does that @@ -204,7 +204,7 @@ \begin{frame} \center{Have clear demands and attainable goal: First steps} - \inlinepicture{output/raised_fist.jpg}{right}{ + \inlinepicture{output/raised_fist_small.jpg}{right}{ \begin{itemize} \item 100\% free sofware on the main CPU \item 100\% free sofware distribution(s) @@ -225,7 +225,7 @@ \begin{frame} \center{How to achieve that?} - \inlinepicture{output/we_can_do_it.jpg}{right}{ + \inlinepicture{output/we_can_do_it_small.jpg}{right}{ \begin{itemize} \item $\rightarrow$ Lot of work by many people over many years. \item $\rightarrow$ Not shipping nonfree firmwares or any nonfree software. |