Package Details: sile-git 0.15.5.r21.g3a3b1bc-1

Git Clone URL: https://aur.archlinux.org/sile-git.git (read-only, click to copy)
Package Base: sile-git
Description: a modern typesetting engine inspired by LaTeX, fully customizable in Lua
Upstream URL: https://www.sile-typesetter.org
Licenses: MIT
Conflicts: sile
Provides: libtexpdf.so, sile
Replaces: sile-luajit-git
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 3
Popularity: 0.000000
First Submitted: 2015-06-16 11:53 (UTC)
Last Updated: 2024-09-29 18:57 (UTC)

Required by (19)

Sources (2)

Latest Comments

1 2 Next › Last »

alerque commented on 2020-10-16 20:06 (UTC)

@fbrennan Oh ya, and all my AUR packages are maintained in single repo on Github if you ever want to PR against them.

alerque commented on 2020-10-16 20:01 (UTC)

@fbrennan I understand. It's not that heretical to me, but it goes against Arch packaging principles to bundle libraries. That's actually one of the reasons I've been changing SILE upstream to not bundle libraries itself when they are available as Luarocks.

By the way if you are interested I host this package in my Arch package repository along with all the dependencies. A good number of the AUR Luarocks packages I actively maintain, and the few that I don't I keep pretty close eyes on when updating the builds. Also as far as trust issues go, Luarocks itself is probably a weaker link than AUR. Yes the AUR can be kind of a wild west, but at least it has a paper trail!

The autoconf/automake deps should not be included because they are part of base-devel which is considered a required package to build from the AUR. Anything in there should not be listed as a make dependency. Luarocks is only a dependency for your version of the package, it should not be for the no-bundle version (although it probably will become so soon given what I want to do with SILE packages).

fbrennan commented on 2020-10-16 08:50 (UTC)

Hello. Here is a version of this PKGBUILD which does not use the system Luarocks:

https://gist.github.com/ctrlcctrlv/a2e2d04ad4fb70374a5bd6684082cf86

This is heretical so I'm not expecting you to make this default. I, however, prefer it, as many of the Luarocks are AUR dependencies, and trusting that many AUR dependencies has been in my experience extremely unwise.

Also, you are missing a few dependencies, changes which you should port from my version of this PKGBUILD.

Depends: * luarocks

Make depends: * automake * autoconf

alerque commented on 2020-01-12 07:21 (UTC) (edited on 2020-01-14 04:38 (UTC) by alerque)

@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 (UTC)

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 ./bootstrap.sh } (Though bootstrap.sh 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 (UTC)

@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.

alerque commented on 2017-02-21 08:13 (UTC) (edited on 2017-02-21 08:13 (UTC) by alerque)

@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 https://github.com/simoncozens/sile/issues/369) 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 (https://gitter.im/simoncozens/sile) 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 (UTC)

I can't get sile to work. ~/tmp> cat hello.sil \begin{document} Hello SILE! \end{document} ~/tmp> sile hello.sil This is SILE 0.9.4 <hello.sil> ! Font 'Gentium' not available, falling back to 'Sawarabi Gothic' [1] (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. Note: ~/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: or [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 (UTC) (edited on 2017-02-20 18:20 (UTC) by vgivanovic)

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 (UTC)

@caleb thank you for the explanation