`{ if (g2 eq 1) { g3 = random(4); } }`
' - echo '' - echo '' - echo '' - echo '' - echo '' - echo '' - echo '{' - t=\$(( (\${m1}*\${ns}+\${n1})*\${ds} + 1 )) - if [[ \$(( \${m1} + 1 )) != \${ms} ]] - then - echo " if (g3 eq 1) jump menu \$(( \${t} + 1 )); else" - fi - if [[ \$(( \${n1} + 1 )) != \${ns} ]] - then - echo " if (g3 eq 2) jump menu \$(( \${t} + 2 )); else" - fi - if [[ \$(( \${m1} - 1 )) != -1 ]] - then - echo " if (g3 eq 3) jump menu \$(( \${t} + 3 )); else" - fi - if [[ \$(( \${n1} - 1 )) != -1 ]] - then - echo " if (g3 eq 4) jump menu \$(( \${t} + 4 )); else" - fi - echo " jump menu \$(( \${t} ));" - echo '}' - echo '
' -# ---------------------------------------------------------------------- - else -# ---------------------------------------------------------------------- - echo '' - echo '
`{ jump menu entry root; }`
' - echo '' - echo '
' -# ---------------------------------------------------------------------- - fi - done - done - done -# ---------------------------------------------------------------------- - menu0=\$(( (2*\${ns}+2)*\${ds}+0+1 )) - echo '' - echo '
```{'
-    echo '  if (g1 eq 1) { jump title 1; } else { jump menu '"\${menu0}"'; }'
-    echo '}```
' - echo '' - echo '
' -# ---------------------------------------------------------------------- - echo "[mandulia] blank" 1>&2 - i=0 - while [[ \${i} != \${f3} ]] - do - i=\$(( \${i} + 1 )) - echo -e "P6\n1024 576 255" - head -c \$(( 1024 * 576 * 3 )) < /dev/zero - done | - \${ppmtoy4m} | - \${y4mscaler1} | - \${mpeg2enc} - \${mplex} "out/\${f3}.mp2" - \${spumux} < "out/temp.mpeg" > "out/blank.mpeg" - echo '
' -# ---------------------------------------------------------------------- - echo "[mandulia] intro" 1>&2 - i=0 - dd=1 - while [[ \${i} != \${f2} ]] - do - i=\$(( \${i} + 1 )) - ./mandulia 1 \${s} \${s} \${w} \${h} \${dd} 0 0 0 0 - if [[ \${dd} != \${d} ]] - then - dd=\$(( \${dd} + 1 )) - fi - done | - \${ppmtoy4m} | - \${y4mscaler} | - \${mpeg2enc} - \${mplex} "out/\${f2}.mp2" - mv "out/temp.mpeg" "out/intro.mpeg" - echo '' - echo '
`{ g1 = 0; }`
' - echo '' - echo '{ call menu entry root; }' - echo '
' - echo '
' - echo '
' - echo '
' - echo '' -# ---------------------------------------------------------------------- - ) > "out/dvd.xml" -# ---------------------------------------------------------------------- - cd out - mkdir dvd - dvdauthor -o dvd -x dvd.xml - cd dvd - name="Mandulia\$(date +%Y%m%d)" - genisoimage -o "../\${name}.iso" -quiet -dvd-video \ - -publisher "http://claudiusmaximus.goto10.org" \ - -p "\${USER}@\${HOSTNAME}" -V "\${name}" . - cd ../.. - if [[ -s "out/\${name}.iso" ]] - then - echo -n "[mandulia] output file: " - ls -1sh "out/\${name}.iso" - else - echo "[mandulia] ERROR: output iso is missing or empty" - echo "[mandulia] inspect log: 'out/mandulia.log'" - fi - date1=\$(date --iso=s) -# ---------------------------------------------------------------------- - echo '[mandulia] started at: '"\${date0}" - echo '[mandulia] finished at: '"\${date1}" -# ---------------------------------------------------------------------- -) 2>&1 | tee out/mandulia.log | grep --color=never '^\[mandulia\]' -# ---------------------------------------------------------------------- -# EOF diff --git a/mandulia.xml b/mandulia.xml deleted file mode 100644 index ec0a1cf..0000000 --- a/mandulia.xml +++ /dev/null @@ -1,7 +0,0 @@ - -