Commitafec1694Recorded29 Mar 2026Repositorysigil-org

Convert to standalone package

Message

Replace from-workspace dependencies with from-git pointing to codeberg:sigil/sigil. Add dev-redirects.sgl for local development, build configs, and .gitignore.

Changed
 .gitignore        |  1 +
 dev-redirects.sgl |  6 ++++++
 package.sgl       | 28 +++++++++++++++++++++++++---
 3 files changed, 32 insertions(+), 3 deletions(-)
Diff
.gitignoreadded
@@ -0,0 +1 @@
+1
build/
dev-redirects.sgladded
@@ -0,0 +1,6 @@
+1
;; Development redirects — point dependencies at local checkouts
+2
(redirects
+3
repos: (list
+4
(for-repo
+5
url: "codeberg:sigil/sigil"
+6
use: (from-path dir: "../sigil"))))
package.sglmodified
@@ -2,14 +2,36 @@
2
;;;
3
;;; Parses Org Mode text into SXML for use with (sigil sxml).
4
+5
(define sigil-repo "codeberg:sigil/sigil")
+6
7
(package
8
name: "sigil-org"
9
version: "0.7.0"
10
description: "Org Mode parser producing SXML output"
9
url: "https://codeberg.org/sigil/sigil"
+11
url: "https://codeberg.org/sigil/sigil-org"
12
license: "BSD-3-Clause"
13
authors: (list "David Wilson <[email protected]>")
14
+15
configs: (list
+16
(config
+17
name: 'dev
+18
output-dir: "build/dev"
+19
debug?: #t
+20
optimize: 0)
+21
(config
+22
name: 'release
+23
output-dir: "build/release"
+24
debug?: #f
+25
optimize: 2))
+26
27
dependencies: (list
14
(from-workspace name: "sigil-stdlib")
15
(from-workspace name: "sigil-peg")))
+28
(from-git url: sigil-repo package: "sigil-stdlib")
+29
(from-git url: sigil-repo package: "sigil-peg"))
+30
+31
tasks: (list
+32
(task
+33
name: 'build
+34
description: "Compile sigil-org modules"
+35
steps: (list
+36
(compile-sigil-modules sources: "src/**/*.sgl"
+37
output-dir: (config-output-subdir "lib"))))))