Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
François Revol
Infobeamer Templates
Commits
00f9d060
Commit
00f9d060
authored
Oct 13, 2018
by
François Revol
Browse files
Add a GAFAM posters template
parent
d5e9cc7e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
35C3/gafam/35C3_ad_GAFAM_Posters.svg
0 → 100644
View file @
00f9d060
This diff is collapsed.
Click to expand it.
35C3/gafam/Makefile
0 → 100644
View file @
00f9d060
# base name
TARGET_BASE
:=
35C3_ad_GAFAM_Posters
# background color
QRCOL
:=
000000
POSTER_URL
:=
https://ptrace.gafam.info/unofficial/img/color/lqdn-gafam-poster-en-color-5x1-2560x.png
POSTER_IMG
:=
$(
notdir
$(POSTER_URL)
)
LOGOS_URL
:=
https://gafam.info/static/img/gafam-pictograms.jpg
LOGOS_IMG
:=
$(
notdir
$(LOGOS_URL)
)
QR_URL
:=
https://gafam.info/
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
QR_IMG
:=
qr_gafam.png
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
ffffff00
-t
PNG
-s
10
-o
$@
"
$(QR_URL)
"
$(TARGET_BASE).png
:
$(TARGET_BASE).svg $(QR_IMG) $(POSTER_IMG) $(LOGOS_IMG)
inkscape
$<
--export-png
$@
$(TARGET_BASE).jpg
:
$(TARGET_BASE).png
convert
$<
$@
$(POSTER_IMG)
:
wget
-O
$@
"
$(POSTER_URL)
"
$(LOGOS_IMG)
:
wget
-O
$@
"
$(LOGOS_URL)
"
clean
:
rm
-f
$(TARGET_BASE)
.png
$(TARGET_BASE)
.jpg
$(QR_IMG)
$(POSTER_IMG)
$(LOGOS_IMG)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment