deck icon indicating copy to clipboard operation
deck copied to clipboard

vdeck support

Open gedw99 opened this issue 2 years ago • 6 comments

Just tried to run vgdeck on a Mac but it has c dependencies

vgdeck % go run .
# github.com/ajstarks/openvg
/Users/apple/go/pkg/mod/github.com/ajstarks/[email protected]/openvg.go:7:10: fatal error: 'VG/openvg.h' file not found
#include "VG/openvg.h"
         ^~~~~~~~~~~~~
1 error generated.

Do we even want to both because gcdeck is its replacement in a way ?

gedw99 avatar Aug 06 '23 10:08 gedw99

seems deckd and hence deckweb will not run without vgdeck installed.

./deckweb play whygo.xml
{"error": "exec: "vgdeck": executable file not found in $PATH"}

Should we make vgdeck it optional or just remove it ?

gedw99 avatar Aug 06 '23 10:08 gedw99

ah i see now that deckd is only designed to run vgdeck.

Maybe we should make it run the PDF deck or other ?

gedw99 avatar Aug 06 '23 10:08 gedw99

Alternatively, you can create a shell script that mimics vgdeck. The intent was to kick off a slide show remotely via the API.

ajstarks avatar Aug 06 '23 12:08 ajstarks

Just tried to run vgdeck on a Mac but it has c dependencies

vgdeck % go run .
# github.com/ajstarks/openvg
/Users/apple/go/pkg/mod/github.com/ajstarks/[email protected]/openvg.go:7:10: fatal error: 'VG/openvg.h' file not found
#include "VG/openvg.h"
         ^~~~~~~~~~~~~
1 error generated.

Do we even want to both because gcdeck is its replacement in a way ?

vgdeck is specific to the Raspberry Pi and an openvg library I wrapped.

ajstarks avatar Aug 06 '23 16:08 ajstarks

Ah right .

what do you think about us making the deck web and deckd use the other Renderers like pdf deck, etc.

gedw99 avatar Aug 06 '23 16:08 gedw99

you can use any renderer you like. To make it compatible you can make a shell script that takes the same name and parameters as vgdeck (-loop and -slide). For example:

ajstarks avatar Aug 07 '23 00:08 ajstarks