Commitd687568bRecorded29 Mar 2026Repositorysigil-harfbuzz
Convert to standalone package
Message
Convert from monorepo workspace package to standalone repo with from-git dependencies. References standalone sigil-freetype repo and sigil monorepo on Codeberg for stdlib and ffi.
Changed
.gitignore | 1 +
dev-redirects.sgl | 9 +++++++++
package.sgl | 35 +++++++++++++++++++++++++++++++----
3 files changed, 41 insertions(+), 4 deletions(-)Diff
.gitignoreadded
@@ -0,0 +1 @@
+1
build/dev-redirects.sgladded
@@ -0,0 +1,9 @@
+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"))+7
(for-repo+8
url: "codeberg:sigil/sigil-freetype"+9
use: (from-path dir: "../sigil-freetype"))))package.sglmodified
@@ -1,12 +1,39 @@
+1
;;; sigil-harfbuzz - HarfBuzz text shaping bindings for Sigil+2
;;;+3
;;; Provides FFI bindings to the HarfBuzz library for text shaping+4
;;; in Sigil applications.+5
+6
(define sigil-repo "codeberg:sigil/sigil")+7
8
(package 9
name: "sigil-harfbuzz" 10
version: "0.7.0" 11
description: "HarfBuzz text shaping bindings for Sigil"−5
url: "https://codeberg.org/sigil/sigil"+12
url: "https://codeberg.org/sigil/sigil-harfbuzz" 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−10
(from-workspace name: "sigil-stdlib")−11
(from-workspace name: "sigil-ffi")−12
(from-workspace name: "sigil-freetype")))+29
(from-git url: sigil-repo package: "sigil-stdlib")+30
(from-git url: sigil-repo package: "sigil-ffi")+31
(from-git url: "codeberg:sigil/sigil-freetype" package: "sigil-freetype"))+32
+33
tasks: (list+34
(task+35
name: 'build+36
description: "Compile sigil-harfbuzz modules"+37
steps: (list+38
(compile-sigil-modules sources: "src/**/*.sgl"+39
output-dir: (config-output-subdir "lib"))))))