From 6fd8517aa9663ffd1e90badb3eed4411a5d145fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Thu, 7 Jul 2022 18:10:25 +0000
Subject: [PATCH] abiword: remove google-search plugin and non-free fonts
 references

---
 helpers/make-abiword | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 helpers/make-abiword

diff --git a/helpers/make-abiword b/helpers/make-abiword
new file mode 100644
index 00000000..2be93d9f
--- /dev/null
+++ b/helpers/make-abiword
@@ -0,0 +1,35 @@
+#!/bin/sh
+#
+#    Copyright (C) 2022 Luis Guzman <ark@switnet.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+#Remove unwanted plugin
+sed -i 's|google ||' debian/rules
+
+#Replace non-free fonts references
+replace 'Arial Unicode MS' 'Liberation Sans' .
+replace 'Times New Roman' 'Liberation Serif' .
+replace 'Arial' 'Liberation Sans' .
+
+
+changelog "Remove google-search plugin and non-free fonts references."
+
+compile
-- 
GitLab