Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/ scipy/PortAudio) kommen nativ aus Debian stretch. Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per .gitignore ausgeschlossen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
1.2 KiB
Python
46 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
"This is test template"
|
|
|
|
# Lines below must not be separated by blank line
|
|
# output formats PDF (can be auto-opened), TXT
|
|
#PyFPDF-cover-test:format=PDF
|
|
# default filename
|
|
#PyFPDF-cover-test:fn=template.pdf
|
|
# hash stamp for compare in --check mode (insert your hash)
|
|
#PyFPDF-cover-test:hash=b1812fffdcf175976e80317b3766a0f0
|
|
# use 2to3 tool (default - no)
|
|
#PyFPDF-cover-test:2to3=no
|
|
# can be used in python2 (default - yes)
|
|
#PyFPDF-cover-test:python2=yes
|
|
# can be used in python3 (default - yes)
|
|
#PyFPDF-cover-test:python3=yes
|
|
# is PIL required (default - no)
|
|
#PyFPDF-cover-test:pil=no
|
|
# only for platform (default all - *)
|
|
#PyFPDF-cover-test:platform=*
|
|
#...
|
|
#...PyFPDF-cover-test:res=some_resource.ttf
|
|
#...PyFPDF-cover-test:res=other_resource.txt
|
|
#...
|
|
|
|
import common # common set of utilities
|
|
from fpdf import FPDF
|
|
|
|
import sys
|
|
|
|
def dotest(outputname, nostamp):
|
|
# filename - output filename
|
|
# nostamp - do no use stamp in result file
|
|
pdf = FPDF()
|
|
if nostamp:
|
|
pdf._putinfo = lambda: common.test_putinfo(pdf)
|
|
pdf.add_page()
|
|
pdf.set_font('Arial', '', 16)
|
|
pdf.write(8, "Test template")
|
|
pdf.output(outputname, 'F')
|
|
|
|
if __name__ == "__main__":
|
|
common.testmain(__file__, dotest)
|
|
|