From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 2B5B02C9D7; Thu, 19 May 2022 08:49:25 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 53B3F2C9D2; Thu, 19 May 2022 08:49:23 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by atuin.qyliss.net (Postfix) with ESMTPS id AD65F2CA1E for ; Thu, 19 May 2022 08:49:19 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 055655C010C; Thu, 19 May 2022 04:49:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 19 May 2022 04:49:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1652950159; x=1653036559; bh=39C5zPduYV D0/Leom9ViY2lH0CXH1i0jp6fE95GK34E=; b=mRduHX2b3Lay/mfeb3TwMzLUFc d3+FjuvZlwr+6y5fdRfpZohqKSYA/T04WGAfANZ9YKGJ6LlNL2WWHikD8vmyGzqu BCRN3xT4bMO2qQq5HwSrw1hKq55p1cATUXcnp8OuLiWtmeDqcvNAZMfolM8r6Qun BxdfgF75oo7ZzsFW9LRw7njn3ZUfjxfXsBa5L6pfkQR3Jx09bbybu/csiL/jSIEx 2TdoLpzh9WWj/TzLEl+cEhoYwwwuDhXKuTfk5fyCky5UISiOIAMHDOTj8kLQm94+ YYmJ0Utj95FJ/cOM629CPiiJrkX+GahXAJfmYsURZgbn6Hf3lggDGxRU6lXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1652950159; x=1653036559; bh=39C5zPduYVD0/Leom9ViY2lH0CXH 1i0jp6fE95GK34E=; b=IfH4kcQ+q4zxsgEBoEnoNqOPFfxCamDlWrpNEUaAdu1J w+wbQNQhhZikbCfY14VoLp7thB+BEvSoCzg/XckfYx7HjI0MXrhbrcb3Ck4JE987 ukBPez1w/bTWIyeHaYd7/rKn+jzRi09aJU5Zjx7ykyhpvIY621DeoaGbK2264AAB xTD9yEM0c9dJkfhxbZWM8n0PYffNHkQ7+z1g8HAk7Q3kRmEg8V6+2PNUUBJvqIu9 xOdQ7wZI1CIz/nyM+yQLf4BKHsWh9Oe7xQGO1paMrUW4fgc++yDy/1JO5D3R32u3 jDsYZnL2aeISOeRm8hxNhC5ie3P+cojmowQM96E9jQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedriedugddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeetlhihshhs rgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeejte fggfejheejkeejgeevheeuffduudeifeefieefvddtkeeiudelteelgfetleenucffohhm rghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepqhihlhhishhssegvvhgvrdhqhihlihhsshdrnhgvth X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 May 2022 04:49:18 -0400 (EDT) Received: by eve.qyliss.net (Postfix, from userid 1000) id C444834E; Thu, 19 May 2022 08:49:10 +0000 (UTC) Date: Thu, 19 May 2022 08:49:10 +0000 From: Alyssa Ross To: Ville Ilvonen Subject: Re: Documentation and diagrams Message-ID: <20220519084910.xu6fgebmkj4mh4k3@eve> References: <165276675569.2703.7962474952768136863@atuin.qyliss.net> <20220517122508.ioizqbm6rcpk3waw@eve> <1efedd1a-739f-4569-0d97-ff3233dc4416@ecomail.io> <20220518125353.cw4faxgab22r2jr5@eve> <20220518131137.sv7qvdy6cllwszu7@eve> <20220519073551.ws6gl4tgmkcdtba3@eve> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eyqbfx6k5dowvnan" Content-Disposition: inline In-Reply-To: Message-ID-Hash: JN3CPDY5PQBC6GZWWLBH2SXUFWIPLUPA X-Message-ID-Hash: JN3CPDY5PQBC6GZWWLBH2SXUFWIPLUPA X-MailFrom: qyliss@eve.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-discuss.spectrum-os.org-0; header-match-discuss.spectrum-os.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Paco , discuss@spectrum-os.org X-Mailman-Version: 3.3.5 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --eyqbfx6k5dowvnan Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 19, 2022 at 11:33:24AM +0300, Ville Ilvonen wrote: > On Thu, May 19, 2022 at 10:35 AM Alyssa Ross 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 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 :) --eyqbfx6k5dowvnan Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAmKGBIAACgkQ+dvtSFmy ccAxfw/8CpOkI8sRgpZvCyL1Orj8xDhVZI0/YuXeBPIKIDPBOZacojtAT5MqtDXZ 6gomfVDLJUC9b/uxpuTZLpuDJ2Kg3aq9T2HTR63BGajCWo96ZSYLjbxHXjBJicaZ Ac31rwN3zqAddC7f0i9gO0371J2ZAS39AwcXDurumOW6Hcu1fHMw/Hvrvf4ARHZZ xzIAaRe1MGJP0v1I4W7JHlS7WiNhjJDYLdsEo2MXDx2MdlZtlhkYGdjL6cyFaPZU ZR8zr2pa8MjbPMVIFrKwLm9dZD8epZAfWFuJKXEa5GrSz4UAvzcAwpvU9tFRoDsn pGRFxRX432TkxaCAukwQ3F/KUG8TJam5/aOt3LjLbPh9a4W7nAYw0tPIRNjmzxnK sg3/kwHZFdC7e6uzmrq6QB0qmNQOC7p8vKGF7qnCMXYSkppKyV3++w9XlA5Fd6kQ DvHMRoJsAnor0nwxg1m/GEtaSKLNnuoec1EvCWIwPhBSRTwRCT2pdCDyik8vqZTw 2fx24wKS9gnZEalQhMW+M9eoxnM4JkgqIywN0kOKFsTDv/nDPlhuhNhU1SkrG0ib s6juoFU58QF0+AvZMgSInjAqtqmYrwIgpho2KB9w6adAE3M0P2dGPMNPGmaf5N0y tqJOpW7NjBF5aJ6p+h43P2TGXyFeS1IyT8GrwQ8TBGnPCCkbBGQ= =uBl5 -----END PGP SIGNATURE----- --eyqbfx6k5dowvnan--