Get the patch from here and save as liberation-fonts.patch
. Replace diff --git
to diff -Nur
(because XBPS does not support git diff).
Then make sure a liberation-fonts.patch.args
with just the text -Np1
is there.
Basically:
mkdir patches
cd patches
wget https://git.parabola.nu/abslibre.git/plain/libre/abiword/liberation-fonts.patch || curl -LO https://git.parabola.nu/abslibre.git/plain/libre/abiword/liberation-fonts.patch
echo '-Np1' > liberation-fonts.patch.args
sed -i 's/diff --git /diff -Nur /g' liberation-fonts.patch
We should also add liberation-fonts-ttf
to depends
in the template
file since we used Liberation fonts in the liberation-fonts.patch
.
There is a Tools - Google search item by default. We need to remove that. We have a remove-google.patch
and remove-google.patch.args
that removes lines regarding inclusion of Google search plugin. We also have some commands in pre_configure()
function in the template to be extra sure that this plugin doesn't get into the build.
See l_template_changes.patch
for template changes.