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
d2a88808
Commit
d2a88808
authored
Oct 13, 2018
by
François Revol
Browse files
Get the 34C3 templates mostly working
The wemawema one still has some issues.
parent
2f527bd7
Pipeline
#2007
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
34C3/contributopia/Makefile
View file @
d2a88808
BGIMG
=
https://contributopia.org/0_Main-menu_by-David-Revoy.jpg
BGIMG
=
https://contributopia.org/
img/
0_Main-menu_by-David-Revoy.jpg
all
:
contributopia.png contributopia.jpg
...
...
@@ -18,4 +18,4 @@ qr_contributopia.png:
qrencode
--foreground
6A5687
--background
ffffff00
-s
8
-t
PNG
-o
$@
https://contributopia.org/en/
clean
:
rm
-f
qr_contributopia.png contributopia.png contributopia.jpg
rm
-f
bg.jpg
qr_contributopia.png contributopia.png contributopia.jpg
34C3/lqdn/Makefile
View file @
d2a88808
...
...
@@ -24,10 +24,10 @@ define GEN_template =
IMGS
+=
$(1)
endef
$(foreach
index,${SEQ},$(eval
$(call
GEN_template,img_${index}.png,$(word
${index},
${GENARGS}))))
all
:
lqdgen.png lqdgen.jpg
$(foreach
index,${SEQ},$(eval
$(call
GEN_template,img_${index}.png,$(word
${index},
${GENARGS}))))
BGCOL
=
3b68b0
montage.png
:
$(IMGS)
...
...
@@ -53,4 +53,4 @@ qr_lqdon.png:
qrencode
--foreground
000000
--background
3b68b0
-s
10
-t
PNG
-o
$@
https://soutien.laquadrature.net/
clean
:
rm
-f
qr_lqdon.png lqdgen.png lqdgen.jpg montage.png
rm
-f
qr_lqdon.png lqdgen.png lqdgen.jpg montage.png
img_
*
.png
34C3/wema/Makefile
View file @
d2a88808
...
...
@@ -3,6 +3,7 @@
# base url for the service
WEMA
=
https://wema.fiat-tux.fr/
#WEMA = https://luc.frama.io/wemawema/
#wget 'https://luc.frama.io/wemawema/?w=WE+MAKE&wx=400&wy=160&ws=150&wc=%23000000&wa=0&wf=Open+Sans&wfs=bold&p=PORN&px=400&py=350&ps=220&pc=%23000000&pa=0&pf=Open+Sans&pfs=bold&co=%23fcd205&ra=0&gli=false&bgt=plain&rc=%23000000&bgr=%23fcd205&egr=%23ffffff&or=lr&bgi=beer&cor=20&bth=20&width=800&height=400&x=0&y=0&s=0&bgu=&r=false&rx=0&ry=0&rs=100&rr=0&woc=%23ffffff&wos=0&poc=%23ffffff&pos=0'
...
...
@@ -18,25 +19,27 @@ w=USE&wx=400&wy=160&ws=150&wc=%23000000&wa=0&wf=Open+Sans&wfs=bold&p=WEMAWEMA&px
w
=
WE+THANK&wx
=
400&wy
=
160&ws
=
150&wc
=
%23000000&wa
=
0&wf
=
Open+Sans&wfs
=
bold&p
=
Framasky&px
=
400&py
=
350&ps
=
220&pc
=
%23000000&pa
=
0&pf
=
Open+Sans&pfs
=
bold&co
=
%23fcd205&ra
=
0&gli
=
false
&bgt
=
plain&rc
=
%23000000&bgr
=
%23fcd205&egr
=
%23ffffff&or
=
lr&bgi
=
beer&cor
=
20&bth
=
20&width
=
800&height
=
400&x
=
0&y
=
0&s
=
0&bgu
=
&r
=
false
&rx
=
0&ry
=
0&rs
=
100&rr
=
0&woc
=
%23ffffff&wos
=
0&poc
=
%23ffffff&pos
=
0
\
w
=
https%3A%2F%2Fluc.frama.io&wx
=
400&wy
=
160&ws
=
150&wc
=
%23000000&wa
=
0&wf
=
Open+Sans&wfs
=
bold&p
=
%2Fwemawema&px
=
400&py
=
350&ps
=
220&pc
=
%23000000&pa
=
0&pf
=
Open+Sans&pfs
=
bold&co
=
%23fcd205&ra
=
0&gli
=
false
&bgt
=
gradient&rc
=
%23000000&bgr
=
%23fcd205&egr
=
%23ffffff&or
=
lr&bgi
=
beer&cor
=
20&bth
=
20&width
=
800&height
=
400&x
=
0&y
=
0&s
=
0&bgu
=
&r
=
false
&rx
=
0&ry
=
0&rs
=
100&rr
=
0&woc
=
%23ffffff&wos
=
0&poc
=
%23ffffff&pos
=
0
\
w
=
https%3A%2F%2Fframagit.org%2Fluc&wx
=
400&wy
=
160&ws
=
150&wc
=
%23000000&wa
=
0&wf
=
Open+Sans&wfs
=
bold&p
=
%2Fwemawema&px
=
400&py
=
350&ps
=
220&pc
=
%23000000&pa
=
0&pf
=
Open+Sans&pfs
=
bold&co
=
%23fcd205&ra
=
0&gli
=
false
&bgt
=
gradient&rc
=
%23000000&bgr
=
%230567fc&egr
=
%23ff0000&or
=
lr&bgi
=
beer&cor
=
20&bth
=
20&width
=
800&height
=
400&x
=
0&y
=
0&s
=
0&bgu
=
&r
=
false
&rx
=
0&ry
=
0&rs
=
100&rr
=
0&woc
=
%23ffffff&wos
=
0&poc
=
%23ffffff&pos
=
0
\
w
=
WE+MAKE&wx
=
400&wy
=
160&ws
=
150&wc
=
%23000000&wa
=
0&wf
=
Open+Sans&wfs
=
bold&p
=
Rick&px
=
400&py
=
350&ps
=
220&pc
=
%23000000&pa
=
0&pf
=
Open+Sans&pfs
=
bold&co
=
%23fcd205&ra
=
0&gli
=
false
&bgt
=
plain&rc
=
%23000000&bgr
=
%23fcd205&egr
=
%23ffffff&or
=
lr&bgi
=
beer&cor
=
20&bth
=
20&width
=
800&height
=
400&x
=
0&y
=
0&s
=
0&bgu
=
&r
=
false
&rx
=
0&ry
=
0&rs
=
100&rr
=
0&woc
=
%23ffffff&wos
=
0&poc
=
%23ffffff&pos
=
0
\
WASEQ
:=
$(
shell
seq
1
$(
words
$(WEMAARGS)
))
#
define WEMA_template =
#
$(1):
#
wget -O $$@ '$(WEMA)?$(2)'
#
IMGS += $(1)
#
endef
define
WEMA_template
=
$(1)
:
wget
-O
$$
@
'
$(WEMA)
?
$(2)
'
IMGS
+=
$(1)
endef
#$(warning $(WASEQ))
#$(foreach waindex,${WASEQ},$(eval $(call WEMA_template,img_${waindex}.png,$(word ${waindex}, ${WEMAARGS}))))
all
:
wemawema.mp4 wemawema.png wemawema.jpg
$(warning
$(WASEQ))
$(foreach
waindex,${WASEQ},$(eval
$(call
WEMA_template,img_${waindex}.png,$(word
${waindex},
${WEMAARGS}))))
#IMGS = $(foreach waindex,${WASEQ},img_${waindex}.png)
IMGS
=
img_1.png img_2.png img_3.png img_4.png img_5.png img_6.png img_7.png img_8.png img_9.png
all
:
wemawema.mp4 wemawema.png wemawema.jpg
# http://robotics.usc.edu/~ampereir/wordpress/?p=702
wemawema.mp4
:
$(IMGS)
...
...
@@ -60,4 +63,4 @@ qr_wema.png:
clean
:
# rm -f wemawema.mp4 wemawema.png
rm
-f
wemawema.png
wemawema.jpg
rm
-f
wemawema.png
wemawema.jpg
wemawema.mp4
qr_wema.png
$(IMGS)
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