Commit2ab40835Recorded29 Mar 2026Repositorysigil-caldav

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       | 32 +++++++++++++++++++++++++++-----
 3 files changed, 34 insertions(+), 5 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
@@ -3,16 +3,38 @@
3
;;; Provides a CalDAV (RFC 4791) client for interacting with
4
;;; calendar servers like Fastmail, Nextcloud, and Radicale.
5
+6
(define sigil-repo "codeberg:sigil/sigil")
+7
8
(package
9
name: "sigil-caldav"
10
version: "0.8.0"
11
description: "CalDAV calendar client library for Sigil"
10
url: "https://codeberg.org/sigil/sigil"
+12
url: "https://codeberg.org/sigil/sigil-caldav"
13
license: "BSD-3-Clause"
14
authors: (list "David Wilson <[email protected]>")
15
+16
configs: (list
+17
(config
+18
name: 'dev
+19
output-dir: "build/dev"
+20
debug?: #t
+21
optimize: 0)
+22
(config
+23
name: 'release
+24
output-dir: "build/release"
+25
debug?: #f
+26
optimize: 2))
+27
28
dependencies: (list
15
(from-workspace name: "sigil-stdlib")
16
(from-workspace name: "sigil-http")
17
(from-workspace name: "sigil-sxml")
18
(from-workspace name: "sigil-crypto")))
+29
(from-git url: sigil-repo package: "sigil-stdlib")
+30
(from-git url: sigil-repo package: "sigil-http")
+31
(from-git url: sigil-repo package: "sigil-sxml")
+32
(from-git url: sigil-repo package: "sigil-crypto"))
+33
+34
tasks: (list
+35
(task
+36
name: 'build
+37
description: "Compile sigil-caldav modules"
+38
steps: (list
+39
(compile-sigil-modules sources: "src/**/*.sgl"
+40
output-dir: (config-output-subdir "lib"))))))