Commit 87e1326b authored by François Revol's avatar François Revol
Browse files

33C3: Add Makefile to fetch missing images

Only a screenshot missing now.
parent 7402d4a3
# base names
ADS := 33C3_ad_Buttons.svg \
33C3_ad_CHATONS.svg \
33C3_ad_Degooglize.svg \
33C3_ad_Donate.svg \
33C3_ad_Duniter.svg \
33C3_ad_Exegetes.svg \
33C3_ad_Hackerspaces.svg \
33C3_ad_LQDN.svg \
33C3_ad_Netsurf.svg \
33C3_ad_OFF.svg \
33C3_ad_TeaHouse.svg
PNGS := $(ADS:%.svg=%.png)
JPGS := $(ADS:%.svg=%.jpg)
# background color
QRCOL := 000000
IMGS_URLS := \
http://turnofftheinternet.com/background.gif \
http://turnofftheinternet.com/button.gif \
http://uiconstock.com/wp-content/uploads/2014/12/firefox_logo-only_RGB.png \
https://www.fdn.fr/wp-content/uploads/logo-fdn.png \
https://pbs.twimg.com/profile_images/208463836/logo_10x10_400x400.jpg \
https://exegetes.eu.org/static/images/bio-photo.jpg \
https://en.blog.openfoodfacts.org/images/yeswescan_stephane_english_2800x2100_1_t.800.jpg \
https://www.netsurf-browser.org/about/screenshots/images/riscos-netsurf.png \
http://www.netsurf-browser.org/netsurf.png
define imgs_template =
$(1):URL=$(2)
endef
$(foreach url,${IMGS_URLS},$(eval $(call imgs_template,$(notdir ${url}),${url})))
logo_edri.png:URL=https://edri.org/wp-content/themes/edri/img/header/logo.png
# not exactly the same:
tor_logo.jpg:URL=https://upload.wikimedia.org/wikipedia/commons/4/49/Tor_logo.jpg
IMGS := $(notdir $(IMGS_URLS)) logo_edri.png tor_logo.jpg
all: $(JPGS) $(PNGS)
%.png: %.svg $(IMGS)
inkscape $< --export-png $@
%.jpg: %.png
convert $< $@
$(IMGS):
wget -O $@ "$(URL)"
clean:
rm -f $(JPGS) $(PNGS) $(IMGS)
../34C3/teahouse/Small_DSCF2172.JPG
\ No newline at end of file
......@@ -26,7 +26,10 @@ For others:
* qrencode
* ffmpeg for videos
## 33C3: TODO
## 33C3
[Infobeamer templates](33C3).
TODO: fix missing bitmaps.
## 34C3
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment