Commit 21ce310a authored by François Revol's avatar François Revol
Browse files

Add rC3 LQDN infobeamer

parent 9bf83598
......@@ -27,6 +27,7 @@ Most are either Inkscape SVG files with some linked bitmaps, or Makefiles that g
* Montserrat (35C3) (apt:texlive-fonts-extra & might require [some fc-cache trickery](https://tex.stackexchange.com/questions/361595/xelatex-fc-list-fc-cache-problem))
* Roboto (36C3 LQDN) (apt:fonts-roboto)
* IBM 3270 (rC3 RetroComputing Devroom) (apt:fonts-pc-extra)
* Compagnon fonts (rC3 LQDN) (apt:fonts-compagnon but I actually had to remove it and install Compagnon-Roman.otf only manually else Inkscape wouldn't find it.)
## rC3 2021
......
# event edition
C3 := r
# base name
TARGET_BASE := $(C3)C3_ad_LQDN
QRBGCOL := 00000000
QRCOL := 551084
QR_URL := https://www.laquadrature.net/en/support/
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
QR_IMG := qr.png
BG_URL := https://www.laquadrature.net/wp-content/themes/apprenti/img/affiche.jpg
BG_IMG := $(notdir $(BG_URL))
BEE_URL := https://www.laquadrature.net/wp-content/uploads/sites/8/2019/12/abeille.png
BEE_IMG := $(notdir $(BEE_URL))
POSTERS_URL := https://www.laquadrature.net/wp-content/uploads/sites/8/2019/12/affiches-1.png
POSTERS_IMG := $(notdir $(POSTERS_URL))
all: $(TARGET_BASE).png $(TARGET_BASE).jpg
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
# Makefile dependency forces regeneration if URL changes
$(QR_IMG): Makefile
qrencode --foreground $(QRCOL) --background $(QRBGCOL) -t PNG -s 10 -o $@ "$(QR_URL)"
qr.svg: Makefile
qrencode --foreground $(QRCOL) --background $(QRBGCOL) -t SVG -s 10 -o $@ "$(QR_URL)"
$(BG_IMG): Makefile
wget -O $@ "$(BG_URL)"
touch $@
$(BEE_IMG): Makefile
wget -O $@ "$(BEE_URL)"
touch $@
$(POSTERS_IMG): Makefile
wget -O $@ "$(POSTERS_URL)"
touch $@
# $(BG_IMG) $(BEE_IMG) $(POSTERS_IMG)
$(TARGET_BASE).png: $(TARGET_BASE).svg $(QR_IMG)
inkscape --export-type=png --export-filename=$@ --export-area-page $<
$(TARGET_BASE).jpg: $(TARGET_BASE).png
convert $< $@
clean:
rm -f $(TARGET_BASE).png $(TARGET_BASE).jpg $(QR_IMG)
#$(BG_IMG) $(BEE_IMG) $(POSTERS_IMG)
This diff is collapsed.
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