add photos

This commit is contained in:
2025-06-01 17:43:11 +02:00
parent fc013af542
commit b900a12e5f
7 changed files with 103 additions and 5 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/dst/
/tmp

View File

@@ -2,9 +2,8 @@ PAGES := index.html 404.html javascript.html contact.html downloads.html
SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
poster_cz.webp poster_en.webp poster_cz.jpg poster_en.jpg \
word_cloud_cz.png word_cloud_en.png background.jpg \
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \
styles.css icons.css \
countdown.js theme.js lang.js
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg \
lang_cz.svg lang_en.svg styles.css icons.css countdown.js theme.js lang.js
STATIC_ASSETS := jetbrains_mono.woff2 poster_cz.png poster_en.png
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
COMPONENTS := head.html header.html nav.html footer.html
@@ -13,11 +12,13 @@ COMPONENTS := head.html header.html nav.html footer.html
build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%) $(STATIC_ASSETS:%=dst/%)
.PHONY: pack
pack: dst/libre_liberec.tar.gz
pack: dst/libre_liberec.tar.gz dst/photos_talk.tar.gz dst/photos_people.tar.gz dst/photos_talk.zip \
dst/photos_people.zip
.PHONY: clean
clean:
rm -rf dst
rm -rf tmp
$(SEARCH_REPLACE): $(shell find lib/search_and_replace/src)
cd lib/search_and_replace && cargo build --release
@@ -90,3 +91,39 @@ dst/%.woff2: fonts/%.woff2
dst/libre_liberec.tar.gz: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%)
tar --transform='s,^dst/,libre_liberec/,' -czvf $@ $^ --owner=0 --group=0
tmp/.anchor:
ln -sf "$$(mktemp -d)" tmp
touch tmp/.anchor
tmp/photos_%.jpg: photos/%.* tmp/.anchor
@mkdir -p $(@D)
magick $< -quality 85 -strip $@
dst/photos_talk.tar.gz: \
$(foreach t, $(shell ls photos/talk), tmp/photos_talk/$(t))
@mkdir -p $(@D)
rm -f $@
tar --transform='s,^tmp/,,' -czvf $@ \
$$(echo $^ | tr ' ' '\n' | sort) --owner=0 --group=0
dst/photos_talk.zip: \
$(foreach t, $(shell ls photos/talk), tmp/photos_talk/$(t))
@mkdir -p $(@D)
rm -f $@
cd tmp && zip -r photos_talk.zip photos_talk
mv tmp/photos_talk.zip $@
dst/photos_people.tar.gz: \
$(foreach t, $(shell ls photos/people), tmp/photos_people/$(t))
@mkdir -p $(@D)
rm -f $@
tar --transform='s,^tmp/,,' -czvf $@ \
$$(echo $^ | tr ' ' '\n' | sort) --owner=0 --group=0
dst/photos_people.zip: \
$(foreach t, $(shell ls photos/talk), tmp/photos_talk/$(t))
@mkdir -p $(@D)
rm -f $@
cd tmp && zip -r photos_people.zip photos_people
mv tmp/photos_people.zip $@

View File

@@ -15,6 +15,34 @@
Všechny obrázky ke stažení podléhají licenci <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International</a>.
</p>
<h2>Video z akce</h2>
<video width="100%" controls preload="none">
<source src="/tul_stallman_talk.mkv" type="video/webm">
</video>
<p><a href="/tul_stallman_talk.mkv" download>
Záznam z akce (.mkv - 2 GB)
</a></p>
<h2>Fotografie z akce</h2>
<p><a href="/photos_talk.tar.gz" download>
Archiv fotografií z akce (.tar.gz - 33 MB)
</a></p>
<p><a href="/photos_people.tar.gz" download>
Archiv fotografií lidí s Richardem Stallmanem (.tar.gz - 19.7 MB)
</a></p>
<p><a href="/photos_talk.zip" download>
Archiv fotografií z akce (.zip - 33 MB)
</a></p>
<p><a href="/photos_people.zip" download>
Archiv fotografií lidí s Richardem Stallmanem (.zip - 19.7 MB)
</a></p>
<h2>Plakát v češtině</h2>
<p><a href="/poster_cz.png" download>

View File

@@ -15,7 +15,7 @@
</p>
<p>
Nahrávku přednášky si můžete zobrazit <b><a href="jfklsafjlsafal">zde</a></b>.
Nahrávku přednášky si můžete zobrazit <b><a href="/tul_stallman_talk.mkv">zde</a></b>.
</p>
<h1>Kdo je Richard Stallman?</h1>

View File

@@ -15,6 +15,34 @@
All images for download are licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International</a> license.
</p>
<h2>Video of the event</h2>
<video width="100%" controls preload="none">
<source src="/tul_stallman_talk.mkv" type="video/webm">
</video>
<p><a href="/tul_stallman_talk.mkv" download>
Recording of the talk (.mkv - 2 GB)
</a></p>
<h2>Photos from the event</h2>
<p><a href="/photos_talk.tar.gz" download>
Archive with photos from the talk (.tar.gz - 33 MB)
</a></p>
<p><a href="/photos_people.tar.gz" download>
Archive with photos of people with Richard Stallman (.tar.gz - 19.7 MB)
</a></p>
<p><a href="/photos_talk.zip" download>
Archive with photos from the talk (.zip - 33 MB)
</a></p>
<p><a href="/photos_people.zip" download>
Archive with photos of people with Richard Stallman (.zip - 19.7 MB)
</a></p>
<h2>Poster in English</h2>
<p><a href="/poster_en.png" download>

2
photos/people/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/*
!/.gitignore

2
photos/talk/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/*
!/.gitignore