Add libreoffice backport and dependencies.

This commit is contained in:
Ark74 2019-10-01 09:35:31 -05:00
parent d015e7f2f0
commit f023f9890f
No known key found for this signature in database
GPG key ID: BE0F0FDD8926E0C5
6 changed files with 230 additions and 0 deletions

29
helpers/make-libcmis Normal file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe'
REPOKEY="3B4FE6ACC0B21F32"
BACKPORT=true
. ./config
changelog "Backported from Disco"
compile

31
helpers/make-libixion Normal file
View file

@ -0,0 +1,31 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe'
REPOKEY="3B4FE6ACC0B21F32"
BACKPORT=true
DEPENDS=mdds
. ./config
changelog "Backported from Disco"
compile

View file

@ -0,0 +1,30 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu cosmic main universe'
REPOKEY="3B4FE6ACC0B21F32"
BACKPORT=true
. ./config
changelog "Backported from Cosmic"
compile

31
helpers/make-liborcus Normal file
View file

@ -0,0 +1,31 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe'
REPOKEY="3B4FE6ACC0B21F32"
BACKPORT=true
DEPENDS=mdds,libixion
. ./config
changelog "Backported from Disco"
compile

79
helpers/make-libreoffice Normal file
View file

@ -0,0 +1,79 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
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

30
helpers/make-mdds Normal file
View file

@ -0,0 +1,30 @@
#!/bin/sh
#
# Copyright (C) 2019 Luis Guzmán <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
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu disco main universe'
REPOKEY="3B4FE6ACC0B21F32"
BACKPORT=true
. ./config
changelog "Backported from Disco"
compile