From f023f9890fc28425fe63bf4e0610216de78fcb30 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 1 Oct 2019 09:35:31 -0500 Subject: [PATCH] Add libreoffice backport and dependencies. --- helpers/make-libcmis | 29 ++++++++++++++ helpers/make-libixion | 31 +++++++++++++++ helpers/make-libnumbertext | 30 +++++++++++++++ helpers/make-liborcus | 31 +++++++++++++++ helpers/make-libreoffice | 79 ++++++++++++++++++++++++++++++++++++++ helpers/make-mdds | 30 +++++++++++++++ 6 files changed, 230 insertions(+) create mode 100644 helpers/make-libcmis create mode 100644 helpers/make-libixion create mode 100644 helpers/make-libnumbertext create mode 100644 helpers/make-liborcus create mode 100644 helpers/make-libreoffice create mode 100644 helpers/make-mdds diff --git a/helpers/make-libcmis b/helpers/make-libcmis new file mode 100644 index 0000000..c0a1407 --- /dev/null +++ b/helpers/make-libcmis @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe' +REPOKEY="3B4FE6ACC0B21F32" +BACKPORT=true + +. ./config + +changelog "Backported from Disco" + +compile diff --git a/helpers/make-libixion b/helpers/make-libixion new file mode 100644 index 0000000..f46510f --- /dev/null +++ b/helpers/make-libixion @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe' +REPOKEY="3B4FE6ACC0B21F32" +BACKPORT=true +DEPENDS=mdds + +. ./config + +changelog "Backported from Disco" + +compile + diff --git a/helpers/make-libnumbertext b/helpers/make-libnumbertext new file mode 100644 index 0000000..2d59429 --- /dev/null +++ b/helpers/make-libnumbertext @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu cosmic main universe' +REPOKEY="3B4FE6ACC0B21F32" +BACKPORT=true + +. ./config + +changelog "Backported from Cosmic" + +compile + diff --git a/helpers/make-liborcus b/helpers/make-liborcus new file mode 100644 index 0000000..0b01c0e --- /dev/null +++ b/helpers/make-liborcus @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe' +REPOKEY="3B4FE6ACC0B21F32" +BACKPORT=true +DEPENDS=mdds,libixion + +. ./config + +changelog "Backported from Disco" + +compile + diff --git a/helpers/make-libreoffice b/helpers/make-libreoffice new file mode 100644 index 0000000..f95bec4 --- /dev/null +++ b/helpers/make-libreoffice @@ -0,0 +1,79 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic main' +REPOKEY="83FBA1751378B444" +BACKPORT=true +DEPENDS=sane-backends*,doxygen*,libcmis,mdds,libstaroffice,libixion,liborcus,libnumbertext + +. ./config + +#Add backport deps +# Disco +# libcmis +sed -i "/libclucene-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libcmis-dev (>= 0.5.2)," debian/control +# mdds +sed -i "/liblpsolve55-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libmdds-dev (>= 1.4.1)," debian/control +# libixion +sed -i "/libicu-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libixion-dev (>= 0.14.0)," debian/control +# liborcus +sed -i "/libnss3-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ liborcus-dev (>= 0.14.0)," debian/control + +# Cosmic +# libnumbertext +sed -i "/liborcus-dev/i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libnumbertext-dev," debian/control + +#Add required deps missing on debian/control +sed -i "/libxml2-utils/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libxmlsec1-dev (>= 1.2.24)," debian/control +sed -i "/libepoxy-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libepubgen-dev (>= 0.1.0)," debian/control +sed -i "/libqt5x11extras5-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libqxp-dev (>= 0.0.1)," debian/control +sed -i "/libepoxy-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libeot-dev (>= 0.01)," debian/control +sed -i "/liborcus-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libodfgen-dev," debian/control +sed -i "/libsuitesparse-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libwpd-dev," debian/control +sed -i "/libwpd-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libwpg-dev," debian/control +sed -i "/libwpg-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libwps-dev," debian/control +sed -i "/libsuitesparse-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libvisio-dev," debian/control +sed -i "/libcairo2-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libcdr-dev," debian/control +sed -i "/liblpsolve55-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libmspub-dev," debian/control +sed -i "/libmspub-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libmwaw-dev," debian/control +sed -i "/libeot-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libetonyek-dev," debian/control +sed -i "/libdconf-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libe-book-dev," debian/control +sed -i "/libfontconfig1-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libfreehand-dev," debian/control +sed -i "/junit4/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libabw-dev," debian/control +sed -i "/libodfgen-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libpagemaker-dev," debian/control +sed -i "/libxtst-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libzmf-dev," debian/control +sed -i "/libsm-dev/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libstaroffice-dev," debian/control +sed -i "/libcommons-logging-java/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libcppunit-dev," debian/control +sed -i "/bzip2/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ coinor-libcoinmp-dev," debian/control +sed -i "/debhelper/i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ coinor-libcoinutils-dev," debian/control +sed -i "/libsane-dev/i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libsac-java," debian/control +sed -i "/libxml2-dev/i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libxml-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libflute-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libpentaho-reporting-flow-engine-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ liblayout-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libloader-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libformula-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ librepository-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libfonts-java, \\ +\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ libserializer-java," debian/control + +changelog "Imported into Trisquel" + +compile diff --git a/helpers/make-mdds b/helpers/make-mdds new file mode 100644 index 0000000..c1445df --- /dev/null +++ b/helpers/make-mdds @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2019 Luis Guzmán +# +# 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 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe' +REPOKEY="3B4FE6ACC0B21F32" +BACKPORT=true + +. ./config + +changelog "Backported from Disco" + +compile +