add photos
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
/dst/
|
/dst/
|
||||||
|
/tmp
|
||||||
|
45
Makefile
45
Makefile
@@ -2,9 +2,8 @@ PAGES := index.html 404.html javascript.html contact.html downloads.html
|
|||||||
SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
|
SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
|
||||||
poster_cz.webp poster_en.webp poster_cz.jpg poster_en.jpg \
|
poster_cz.webp poster_en.webp poster_cz.jpg poster_en.jpg \
|
||||||
word_cloud_cz.png word_cloud_en.png background.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 \
|
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg \
|
||||||
styles.css icons.css \
|
lang_cz.svg lang_en.svg styles.css icons.css countdown.js theme.js lang.js
|
||||||
countdown.js theme.js lang.js
|
|
||||||
STATIC_ASSETS := jetbrains_mono.woff2 poster_cz.png poster_en.png
|
STATIC_ASSETS := jetbrains_mono.woff2 poster_cz.png poster_en.png
|
||||||
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
|
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
|
||||||
COMPONENTS := head.html header.html nav.html footer.html
|
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/%)
|
build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%) $(STATIC_ASSETS:%=dst/%)
|
||||||
|
|
||||||
.PHONY: pack
|
.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
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf dst
|
rm -rf dst
|
||||||
|
rm -rf tmp
|
||||||
|
|
||||||
$(SEARCH_REPLACE): $(shell find lib/search_and_replace/src)
|
$(SEARCH_REPLACE): $(shell find lib/search_and_replace/src)
|
||||||
cd lib/search_and_replace && cargo build --release
|
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/%)
|
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
|
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 $@
|
||||||
|
@@ -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>.
|
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>
|
</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>
|
<h2>Plakát v češtině</h2>
|
||||||
|
|
||||||
<p><a href="/poster_cz.png" download>
|
<p><a href="/poster_cz.png" download>
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<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>
|
</p>
|
||||||
|
|
||||||
<h1>Kdo je Richard Stallman?</h1>
|
<h1>Kdo je Richard Stallman?</h1>
|
||||||
|
@@ -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.
|
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>
|
</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>
|
<h2>Poster in English</h2>
|
||||||
|
|
||||||
<p><a href="/poster_en.png" download>
|
<p><a href="/poster_en.png" download>
|
||||||
|
2
photos/people/.gitignore
vendored
Normal file
2
photos/people/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/*
|
||||||
|
!/.gitignore
|
2
photos/talk/.gitignore
vendored
Normal file
2
photos/talk/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/*
|
||||||
|
!/.gitignore
|
Reference in New Issue
Block a user