general high-level discussion about spectrum
 help / color / mirror / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: Ville Ilvonen <ville.ilvonen@unikie.com>
Cc: Paco <paco@ecomail.io>, discuss@spectrum-os.org
Subject: Re: Documentation and diagrams
Date: Thu, 19 May 2022 08:49:10 +0000	[thread overview]
Message-ID: <20220519084910.xu6fgebmkj4mh4k3@eve> (raw)
In-Reply-To: <CAP-nJwESLtvdyAFs_bpPrBckroELBMcszLZqL8C-wtcmaUZPiA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1583 bytes --]

On Thu, May 19, 2022 at 11:33:24AM +0300, Ville Ilvonen wrote:
> On Thu, May 19, 2022 at 10:35 AM Alyssa Ross <hi@alyssa.is> wrote:
> >
> > On Thu, May 19, 2022 at 10:25:16AM +0300, Ville Ilvonen wrote:
> > > On Wed, May 18, 2022 at 4:11 PM Alyssa Ross <hi@alyssa.is> wrote:
> > >
> > > > Actually, this looking more closely at the stack trace, this is more
> > > > likely to be it not having a writeable XDG_CONFIG_HOME or HOME
> > > > directory.  So you could try setting those to temporary directories in
> > > > the build.  Something like
> > > >
> > > >         export XDG_CONFIG_HOME="$(mktemp -d)"
> > >
> > > I think it was a good idea to test but unfortunately it did not work out:
> > >
> > > ''
> > > export XDG_CONFIG_HOME="$(mktemp -d)"
> > > echo $XDG_CONFIG_HOME
> > > drawio in.drawio --export --output test.svg
> > > jekyll build --disable-disk-cache -s $src -d $out
> > > ''
> >
> > I was just looking at the draw.io packaging in Nixpkgs, and I discovered
> > that there's already code in there for running headless draw.io! [1]
> > But it's not exposed outside of this pandoc filter package.  I'm going
> > to see if it works, and if it does I'll see if we can pull it out to the
> > top level, as a drawio-headless package or something.
> >
> > [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/pandoc-drawio-filter/default.nix
>
> I was also starting to think that the X env is required.
> X virtual framebuffer is a great idea. Good catch with pandoc approach
> to generate drawio to pdf in xvfb.

https://github.com/NixOS/nixpkgs/pull/173589 :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-05-19  8:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17  5:52 Documentation and diagrams ville.ilvonen
2022-05-17 11:42 ` Mark Stosberg
2022-05-17 12:25 ` Alyssa Ross
2022-05-17 19:00   ` Paco
2022-05-18 12:44     ` Ville Ilvonen
2022-05-18 12:53       ` Alyssa Ross
2022-05-18 13:11         ` Alyssa Ross
2022-05-19  7:25           ` Ville Ilvonen
2022-05-19  7:35             ` Alyssa Ross
2022-05-19  8:33               ` Ville Ilvonen
2022-05-19  8:49                 ` Alyssa Ross [this message]
2022-05-18 13:09       ` Michael Raskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220519084910.xu6fgebmkj4mh4k3@eve \
    --to=hi@alyssa.is \
    --cc=discuss@spectrum-os.org \
    --cc=paco@ecomail.io \
    --cc=ville.ilvonen@unikie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).