From 40ce9faa4801e6cbfd8866678b0952020d8cb157 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sun, 12 Jul 2020 04:14:16 -0500 Subject: [PATCH] Fix Blender PPA Build order: 1. alembic 2. cmake3 3. ilmbase 4. opensubdiv 5. openimageio 6. opencollada 7. openjpeg 8. openexr 9. openimagedenoise 10. openshadinglanguage 11. blender --- helpers/make-alembic | 29 +++++++++++++++++++++++ helpers/make-blender | 4 +++- helpers/make-cmake3 | 29 +++++++++++++++++++++++ helpers/make-ilmbase | 29 +++++++++++++++++++++++ helpers/make-opencollada | 29 +++++++++++++++++++++++ helpers/make-openexr | 30 ++++++++++++++++++++++++ helpers/make-openimagedenoise | 30 ++++++++++++++++++++++++ helpers/make-openimageio | 29 +++++++++++++++++++++++ helpers/make-openjpeg | 40 ++++++++++++++++++++++++++++++++ helpers/make-openshadinglanguage | 30 ++++++++++++++++++++++++ helpers/make-opensubdiv | 29 +++++++++++++++++++++++ 11 files changed, 307 insertions(+), 1 deletion(-) create mode 100644 helpers/make-alembic create mode 100644 helpers/make-cmake3 create mode 100644 helpers/make-ilmbase create mode 100644 helpers/make-opencollada create mode 100644 helpers/make-openexr create mode 100644 helpers/make-openimagedenoise create mode 100644 helpers/make-openimageio create mode 100644 helpers/make-openjpeg create mode 100644 helpers/make-openshadinglanguage create mode 100644 helpers/make-opensubdiv diff --git a/helpers/make-alembic b/helpers/make-alembic new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-alembic @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-blender b/helpers/make-blender index 7879418..c8249aa 100644 --- a/helpers/make-blender +++ b/helpers/make-blender @@ -1,6 +1,7 @@ #!/bin/sh # # Copyright (C) 2019 Mason Hock +# Copyright (C) 2020 Luis Guzman # # 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 @@ -17,12 +18,13 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=1 +VERSION=2 EXTERNAL='deb-src http://ppa.launchpad.net/thomas-schiex/blender/ubuntu bionic main ' REPOKEY=7281E3E842A98114 BACKPORTS=true . ./config +sed -i "s|debhelper (>= 7.0.50\~)|debhelper (<< 12\~)|" debian/control changelog "Backported from ppa" diff --git a/helpers/make-cmake3 b/helpers/make-cmake3 new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-cmake3 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-ilmbase b/helpers/make-ilmbase new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-ilmbase @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-opencollada b/helpers/make-opencollada new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-opencollada @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-openexr b/helpers/make-openexr new file mode 100644 index 0000000..07c7533 --- /dev/null +++ b/helpers/make-openexr @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true +DEPENDS=ilmbase + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-openimagedenoise b/helpers/make-openimagedenoise new file mode 100644 index 0000000..62d91d8 --- /dev/null +++ b/helpers/make-openimagedenoise @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true +DEPENDS=openimageio + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-openimageio b/helpers/make-openimageio new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-openimageio @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-openjpeg b/helpers/make-openjpeg new file mode 100644 index 0000000..bdae459 --- /dev/null +++ b/helpers/make-openjpeg @@ -0,0 +1,40 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +sed -i "/default-jdk/i \ ,\ openjdk-8-jdk" debian/control +sed -i "/default-jdk/i \ ,\ openjdk-8-jdk-headless" debian/control +sed -i "/default-jdk/i \ ,\ openjdk-8-jre" debian/control +sed -i "/default-jdk/i \ ,\ openjdk-8-jre-headless" debian/control +sed -i "/default-jdk/d" debian/control + +sed -i "/doxygen/a \\ +Build-Conflicts:\\ + default-jdk-headless\\ +\ ,\ default-jre-headless" debian/control + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-openshadinglanguage b/helpers/make-openshadinglanguage new file mode 100644 index 0000000..62d91d8 --- /dev/null +++ b/helpers/make-openshadinglanguage @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true +DEPENDS=openimageio + +. ./config + +changelog "Backported from ppa" + +compile diff --git a/helpers/make-opensubdiv b/helpers/make-opensubdiv new file mode 100644 index 0000000..288d6a3 --- /dev/null +++ b/helpers/make-opensubdiv @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzman +# +# 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/thomas-schiex/blender/ubuntu bionic main' +REPOKEY=7281E3E842A98114 +BACKPORTS=true + +. ./config + +changelog "Backported from ppa" + +compile