Package Details: sile-git 0.9.4.r219.g24b95fe-1

Git Clone URL: https://aur-dev.archlinux.org/sile-git.git (read-only)
Package Base: sile-git
Description: Modern typesetting system inspired by TeX
Upstream URL: http://www.sile-typesetter.org/
Licenses: MIT
Conflicts: sile
Provides: sile
Submitter: caleb
Maintainer: caleb
Last Packager: caleb
Votes: 1
Popularity: 0.000006
First Submitted: 2015-06-16 11:53
Last Updated: 2016-12-05 12:18

Latest Comments

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>
-#if HB_VERSION_ATLEAST(1,0,7)
+#if HB_VERSION_ATLEAST(1,1,1)
#define USE_HARFBUZZ_METRICS
#include <hb-ft.h>
#else

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 <caleb@alerque.com>
# Contributor: Adrián Pérez de Castro <aperez@igalia.com>

pkgname=sile-git
pkgdesc='Modern typesetting system inspired by TeX'
pkgver=0.9.3_185_g6ab82c2
_branch='master'
pkgrel=1
arch=(any)
url='http://www.sile-typesetter.org/'
license='MIT'
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git://github.com/simoncozens/${pkgname%-git}.git#branch=${_branch}" patch)
sha512sums=('SKIP' 'SKIP')
depends=('lua-lpeg'
'lua-expat'
'lua-filesystem'
'fontconfig'
'harfbuzz'
'icu')
options=("!makeflags")

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}"
./bootstrap.sh
./configure --prefix=/usr
make
}

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.