Package Details: sile-git 0.10.4.r17.g2c879c9-1

Git Clone URL: (read-only, click to copy)
Package Base: sile-git
Description: Modern typesetting system inspired by TeX
Upstream URL:
Licenses: MIT
Conflicts: sile
Provides:, sile=0.10.4.r17.g2c879c9
Submitter: caleb
Maintainer: caleb
Last Packager: caleb
Votes: 3
Popularity: 0.000000
First Submitted: 2015-06-16 11:53
Last Updated: 2020-05-12 11:23

Dependencies (36)

Required by (4)

Sources (2)

Latest Comments

caleb commented on 2020-01-12 07:21

@escondida Thanks for those pointers, I've finally included the git submodule in the sources as you described.

@all Note this sile-git package is back to tracking upstream HEAD changes. It had been tracking my fork for a while because of patches that were not in master.

One thing currently in master that is less than ideal is that building the manual requires downloading some fonts into the build tree. Hopefully that will be addressed in future releases to make the -git build more light weight.

escondida commented on 2017-10-27 02:14

Hi, caleb, thanks for packaging sile.

You can stress the Internet of downloaders a little less by adding the libtexpdf submodule to the sources array and adding a quick prepare() function:

prepare() {
cd sile
git submodule init
git config submodule.libtexpdf.url "$srcdir/libtexpdf"
git submodule update

(Though would also make sense in build(), since it makes sense in either place I've left it in.)

Side note: all PKGBUILD functions begin in $srcdir, so you can simplify your cds, if you'd like; cd sile, as above, will work as is (-:

vgivanovic commented on 2017-02-21 17:40

@caleb Thanks for the explanations. I'll drop by the SILE Gitter chat room ... next week.

BTW, Fontconfig hasn't given me any problems so far. I do have quite a number of fonts installed (all Google fonts, for example) if that makes a difference to SILE.

caleb commented on 2017-02-21 08:13

@vgivanovic There are some reasons not to include the whole examples directory on installation. Perhaps one or two examples could work, but including the whole thing would be problematic. In any event you don't have to clone the SILE repo to get them, you can just get just the ones you want to play with if you like.

The 'Sawarabi Gothic' thing is not coming from SILE, that's going to be your system's default font as understood by Fontconfig. It sounds like you have some stuff a little cross-wired on your system. The Gentium default is coded into SILE, but that shouldn't be a problem for you since the Arch package for it should be a dependency. That too might change (see but the fact that it didn't find that suggests something is wrong with Fontconfig on your system.

Why don't you drop by the SILE Gitter chat room ( and I'll help you work through getting SILE running and if there are any parts that the packages can make easier.

vgivanovic commented on 2017-02-20 19:32

I can't get sile to work.

~/tmp> cat hello.sil
Hello SILE!
~/tmp> sile hello.sil
This is SILE 0.9.4

! Font 'Gentium' not available, falling back to 'Sawarabi Gothic'

(What an odd choice of fallback font...) If I add '\font[family="Gentium Plus",size=12pt]' after '\begin{document}' I get exactly the same output.


~/tmp> fc-list | fgrep "Gentium Plus"
/usr/share/fonts/TTF/GentiumPlusCompact-I.ttf: Gentium Plus Compact:style=Italic
/usr/share/fonts/TTF/GentiumPlusCompact-R.ttf: Gentium Plus Compact:style=Regular
/usr/share/fonts/TTF/GentiumPlus-R.ttf: Gentium Plus:style=Regular
/usr/share/fonts/TTF/GentiumPlus-I.ttf: Gentium Plus:style=Italic

The package 'ttf-gentium-plus' was installed when I installed 'sile-git'. I am using 'sile' because 'sile-git' doesn't work at all, either compiled from sources or from installed package 'sile-git'.

[compiled from sources]
~/tmp> /usr/local/src/sile/sile hello
/usr/bin/lua: /usr/local/src/sile/sile:10: module 'core/sile' not found:


[from installed packages 'sile-git']
Error detected:
/usr/share/sile/core/inputs-xml.lua:11: not well-formed (invalid token)

vgivanovic commented on 2017-02-20 18:17

Any chance we could get the 'examples' directory included in the package? Not including it means that people have to clone 'sile' in addition to installing 'sile-git'.

greenmanalishi commented on 2016-10-12 19:09

@caleb thank you for the explanation

caleb commented on 2016-10-03 17:04

@greenmanalishi This build is tracking my fork because I sometimes include stuff there that fixes issues specific to Archlinux before the build is fixed across other systems. This hasn't been happening as much recently but it was a regular thing for a while.

If you look at the commit history for SILE you'll see a lot of the most recent activity on the upstream has been commits from me, and I have push access to the official git repository. The forks are rarely out of sync, but when they are the chances are my repo is going to have the latest build known to work on Archlinux.

haawda commented on 2015-11-20 18:35

To compile this, I needed a patch.

diff --git a/src/fontmetrics.c b/src/fontmetrics.c
index 55a6c0a..5f8b97d 100644
--- a/src/fontmetrics.c
+++ b/src/fontmetrics.c
@@ -1,5 +1,5 @@
#include <hb.h>
#include <hb-ft.h>

And a license file is needed, as MIT is a custom license. Also the package installs to /usr/local, which is forbidden by Arch Linux packaging guidelines.

# Maintainer: Caleb Maclennan <>
# Contributor: Adrián Pérez de Castro <>

pkgdesc='Modern typesetting system inspired by TeX'
source=("git://${pkgname%-git}.git#branch=${_branch}" patch)
sha512sums=('SKIP' 'SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/-/_/g'

prepare () {
cd "$srcdir/${pkgname%-git}"
patch -Np1 < $srcdir/patch

build () {
cd "$srcdir/${pkgname%-git}"
./configure --prefix=/usr

package () {
cd "$srcdir/${pkgname%-git}"
make install DESTDIR="${pkgdir}/"
install -Dm644 LICENSE "$pkgver"/usr/share/licenses/$pkgname/LICENSE

haawda commented on 2015-07-07 10:55

Builds fine against the lua-filesystem package provided in the [community]-repo.