[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/, media-gfx/opentoonz/files/

2023-04-27 Thread Sam James
commit: 12c3fee5e9dbc0bfdd67b3ba0813f3484fd40121
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 28 00:45:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 28 00:45:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c3fee5

media-gfx/opentoonz: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/899748
Signed-off-by: Sam James  gentoo.org>

 .../opentoonz/files/opentoonz-1.6.0-gcc13.patch| 36 ++
 media-gfx/opentoonz/opentoonz-1.6.0.ebuild |  4 +++
 2 files changed, 40 insertions(+)

diff --git a/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch 
b/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch
new file mode 100644
index ..cd9f936f4a88
--- /dev/null
+++ b/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/899748
+https://github.com/opentoonz/opentoonz/issues/4738
+https://github.com/opentoonz/opentoonz/pull/4739
+
+From d28d005d2a8fcb81461516a37e30526063aba448 Mon Sep 17 00:00:00 2001
+From: Grillo <11585030+grillo-del...@users.noreply.github.com>
+Date: Mon, 6 Feb 2023 20:48:32 -0300
+Subject: [PATCH] Clarify size_t origin for tgc::hash::BucketNode
+
+--- a/toonz/sources/include/tcg/hash.h
 b/toonz/sources/include/tcg/hash.h
+@@ -21,6 +21,11 @@ class hash {
+   typedef T value_type;
+   typedef Hash_functor hash_type;
+ 
++  struct BucketNode;
++  typedef typename tcg::list::size_t size_t;
++  typedef typename tcg::list::iterator iterator;
++  typedef typename tcg::list::const_iterator const_iterator;
++
+   struct BucketNode {
+ K m_key;
+ T m_val;
+@@ -34,11 +39,6 @@ class hash {
+ ~BucketNode() {}
+   };
+ 
+-  typedef typename tcg::list::size_t size_t;
+-
+-  typedef typename tcg::list::iterator iterator;
+-  typedef typename tcg::list::const_iterator const_iterator;
+-
+ private:
+   std::vector m_bucketsIdx;
+   tcg::list m_items;
+

diff --git a/media-gfx/opentoonz/opentoonz-1.6.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.6.0.ebuild
index 455a47d16a18..7e44462107c5 100644
--- a/media-gfx/opentoonz/opentoonz-1.6.0.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.6.0.ebuild
@@ -50,6 +50,10 @@ DEPEND="${RDEPEND}"
 
 CMAKE_USE_DIR="${S}"/toonz/sources
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.6.0-gcc13.patch
+)
+
 src_configure() {
# bug #859778
append-flags -fno-strict-aliasing



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/, media-gfx/opentoonz/

2023-02-07 Thread Andreas Sturmlechner
commit: 5e7ff4bfe66536c713c038a3521e010302e3f62d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb  7 12:37:30 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb  7 17:25:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7ff4bf

media-gfx/opentoonz: drop 1.4.0, 1.4.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/opentoonz/Manifest   |  1 -
 .../files/opentoonz-1.4.0-fix-header.patch | 13 
 .../opentoonz/files/opentoonz-1.4.0-qt-5.15.patch  | 22 --
 media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild  | 91 --
 media-gfx/opentoonz/opentoonz-1.4.0.ebuild | 86 
 5 files changed, 213 deletions(-)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index af143750da35..e23c77a2c455 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,2 +1 @@
-DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649
 DIST opentoonz-1.6.0.tar.gz 55011226 BLAKE2B 
e7e27d530ee8356071d38bb3d58de89edcdc6e7e0b28cdb9ba8f7681eda929e13211664a5502499aa3eccfcf090ad81970e9caef365e762b53b7a57f19310afe
 SHA512 
5ee7b724d51f058867d2c7e9c540e68ee3cb6d1350e32c5fd817b10b92ad79cc2a106d36dccc9234503e62788903e6058841dcd8dc39450c889393d0300636e9

diff --git a/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch 
b/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch
deleted file mode 100644
index 299c927a5817..
--- a/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://bugs.gentoo.org/723946k
 a/toonz/sources/common/twain/twain.h
-+++ b/toonz/sources/common/twain/twain.h
-@@ -2209,7 +2209,7 @@ typedef struct {
- #elif defined(TWH_CMP_GNU)
- #pragma pack(pop, before_twain)
- #elif defined(TWH_CMP_BORLAND)
--#pragma option –a.
-+#pragma option_a.
- #elif defined(TWH_CMP_XCODE)
- #if PRAGMA_STRUCT_ALIGN
- #pragma options align = reset
- 

diff --git a/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch 
b/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch
deleted file mode 100644
index 1a4f54e2ebb4..
--- a/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/723946
 a/toonz/sources/tnztools/toolutils.cpp
-+++ b/toonz/sources/tnztools/toolutils.cpp
-@@ -42,6 +42,7 @@
- #include "tools/strokeselection.h"
- 
- #include 
-+#include 
- #include   // for QGLWidget::convertToGLFormat
- #include 
- #include 
 a/toonz/sources/toonzqt/functionpanel.cpp
-+++ b/toonz/sources/toonzqt/functionpanel.cpp
-@@ -28,6 +28,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- 
-

diff --git a/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild
deleted file mode 100644
index 4d3987c46011..
--- a/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake xdg-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
-   dev-qt/linguist-tools:5
-   virtual/pkgconfig
-"
-RDEPEND="
-   app-arch/lz4:=
-   dev-libs/boost:=
-   dev-libs/lzo:2
-   >=dev-qt/qtcore-5.9:5
-   >=dev-qt/qtgui-5.9:5
-   >=dev-qt/qtmultimedia-5.9:5[widgets]
-   >=dev-qt/qtnetwork-5.9:5
-   >=dev-qt/qtopengl-5.9:5
-   >=dev-qt/qtprintsupport-5.9:5
-   >=dev-qt/qtscript-5.9:5
-   >=dev-qt/qtsvg-5.9:5
-   >=dev-qt/qtwidgets-5.9:5
-   >=dev-qt/qtxml-5.9:5
-   media-libs/freeglut
-   media-libs/freetype:2
-   media-libs/glew:=
-   media-libs/libjpeg-turbo
-   >=media-libs/libmypaint-1.3.0:=
-   media-libs/libpng:=
-   >=sci-libs/superlu-4.1:=
-   sys-libs/zlib
-   virtual/cblas
-   virtual/libusb:1
-   virtual/opengl
-"
-DEPEND="
-   ${RDEPEND}
-"
-
-CMAKE_USE_DIR="${S}"/toonz/sources
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.4.0-fix-header.patch
-   "${FILESDIR}"/${PN}-1.4.0-qt-5.15.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-   

[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2023-02-04 Thread Sam James
commit: c76dcdc1473e62b98674e297b177d96ebc80e3f6
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  4 23:02:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  4 23:04:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76dcdc1

media-gfx/opentoonz: add 1.6.0

Closes: https://bugs.gentoo.org/830892
Closes: https://bugs.gentoo.org/859778
Signed-off-by: Sam James  gentoo.org>

 media-gfx/opentoonz/Manifest   |  1 +
 media-gfx/opentoonz/opentoonz-1.6.0.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index 71e06c6c4845..af143750da35 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1 +1,2 @@
 DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649
+DIST opentoonz-1.6.0.tar.gz 55011226 BLAKE2B 
e7e27d530ee8356071d38bb3d58de89edcdc6e7e0b28cdb9ba8f7681eda929e13211664a5502499aa3eccfcf090ad81970e9caef365e762b53b7a57f19310afe
 SHA512 
5ee7b724d51f058867d2c7e9c540e68ee3cb6d1350e32c5fd817b10b92ad79cc2a106d36dccc9234503e62788903e6058841dcd8dc39450c889393d0300636e9

diff --git a/media-gfx/opentoonz/opentoonz-1.6.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.6.0.ebuild
new file mode 100644
index ..455a47d16a18
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.6.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake flag-o-matic xdg-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+RDEPEND="
+   app-arch/lz4:=
+   dev-libs/boost:=
+   dev-libs/lzo:2
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtserialport-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut
+   media-libs/freetype:2
+   media-libs/glew:=
+   media-libs/libjpeg-turbo
+   >=media-libs/libmypaint-1.3.0:=
+   media-libs/libpng:=
+   media-libs/opencv:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib
+   virtual/cblas
+   virtual/libusb:1
+   virtual/opengl
+"
+DEPEND="${RDEPEND}"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+src_configure() {
+   # bug #859778
+   append-flags -fno-strict-aliasing
+   filter-lto
+
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   CONFIG_SHELL="${BROOT}"/bin/bash econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake_src_compile
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/, media-gfx/opentoonz/

2023-02-04 Thread Sam James
commit: d2ca547e88fab4cffb9a2d70a7e85f194d164995
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  4 22:16:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  4 22:49:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ca547e

media-gfx/opentoonz: add build fixes

Closes: https://bugs.gentoo.org/723946
Signed-off-by: Sam James  gentoo.org>

 .../files/opentoonz-1.4.0-fix-header.patch | 13 
 .../opentoonz/files/opentoonz-1.4.0-qt-5.15.patch  | 22 ++
 media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild  | 91 ++
 3 files changed, 126 insertions(+)

diff --git a/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch 
b/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch
new file mode 100644
index ..299c927a5817
--- /dev/null
+++ b/media-gfx/opentoonz/files/opentoonz-1.4.0-fix-header.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/723946k
+--- a/toonz/sources/common/twain/twain.h
 b/toonz/sources/common/twain/twain.h
+@@ -2209,7 +2209,7 @@ typedef struct {
+ #elif defined(TWH_CMP_GNU)
+ #pragma pack(pop, before_twain)
+ #elif defined(TWH_CMP_BORLAND)
+-#pragma option –a.
++#pragma option_a.
+ #elif defined(TWH_CMP_XCODE)
+ #if PRAGMA_STRUCT_ALIGN
+ #pragma options align = reset
+ 

diff --git a/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch 
b/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch
new file mode 100644
index ..1a4f54e2ebb4
--- /dev/null
+++ b/media-gfx/opentoonz/files/opentoonz-1.4.0-qt-5.15.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/723946
+--- a/toonz/sources/tnztools/toolutils.cpp
 b/toonz/sources/tnztools/toolutils.cpp
+@@ -42,6 +42,7 @@
+ #include "tools/strokeselection.h"
+ 
+ #include 
++#include 
+ #include   // for QGLWidget::convertToGLFormat
+ #include 
+ #include 
+--- a/toonz/sources/toonzqt/functionpanel.cpp
 b/toonz/sources/toonzqt/functionpanel.cpp
+@@ -28,6 +28,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ 
+

diff --git a/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild
new file mode 100644
index ..4d3987c46011
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.4.0-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake xdg-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+RDEPEND="
+   app-arch/lz4:=
+   dev-libs/boost:=
+   dev-libs/lzo:2
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut
+   media-libs/freetype:2
+   media-libs/glew:=
+   media-libs/libjpeg-turbo
+   >=media-libs/libmypaint-1.3.0:=
+   media-libs/libpng:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib
+   virtual/cblas
+   virtual/libusb:1
+   virtual/opengl
+"
+DEPEND="
+   ${RDEPEND}
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.4.0-fix-header.patch
+   "${FILESDIR}"/${PN}-1.4.0-qt-5.15.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   CONFIG_SHELL="${BROOT}"/bin/bash econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake_src_compile
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2021-02-14 Thread Andreas Sturmlechner
commit: 81fe24b93e6e24c72add7c1706f3e8e6c30b980d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 14 20:06:55 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 14 20:07:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81fe24b9

media-gfx/opentoonz: Drop 1.3.0-r1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/opentoonz/Manifest  |  1 -
 media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild | 87 ---
 2 files changed, 88 deletions(-)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index 17d952a18c8..71e06c6c484 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,2 +1 @@
-DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 
292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08
 SHA512 
5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71
 DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
deleted file mode 100644
index b9eb63a1383..000
--- a/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils gnome2-utils xdg-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   app-arch/lz4:=
-   >=dev-libs/boost-1.55.0:=
-   dev-libs/lzo:2
-   >=dev-qt/qtcore-5.9:5
-   >=dev-qt/qtgui-5.9:5
-   >=dev-qt/qtmultimedia-5.9:5[widgets]
-   >=dev-qt/qtnetwork-5.9:5
-   >=dev-qt/qtopengl-5.9:5
-   >=dev-qt/qtprintsupport-5.9:5
-   >=dev-qt/qtscript-5.9:5
-   >=dev-qt/qtsvg-5.9:5
-   >=dev-qt/qtwidgets-5.9:5
-   >=dev-qt/qtxml-5.9:5
-   media-libs/freeglut
-   media-libs/freetype:2
-   media-libs/glew:=
-   media-libs/libjpeg-turbo
-   >=media-libs/libmypaint-1.3.0:=
-   media-libs/libpng:=
-   media-libs/libsdl2
-   virtual/cblas
-   >=sci-libs/superlu-4.1:=
-   sys-libs/zlib:=
-   virtual/libusb:=
-   virtual/opengl
-"
-DEPEND="
-   ${RDEPEND}
-   dev-qt/linguist-tools:5
-   virtual/pkgconfig
-"
-
-CMAKE_USE_DIR="${S}"/toonz/sources
-
-src_configure() {
-   local mycmakeargs=(
-   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-   -DCMAKE_SKIP_RPATH=ON
-   )
-
-   # The upstream uses their own modified libtiff
-   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
-   cd thirdparty/tiff-4.0.3 || die
-   econf \
-   --with-pic \
-   --disable-jbig \
-   --enable-static \
-   --disable-shared
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cd "${S}"/thirdparty/tiff-4.0.3 || die
-   emake
-
-   cmake-utils_src_compile
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2020-10-07 Thread Sam James
commit: 3c1383564027115def71268d0c5ce43fe0dd147e
Author: Aisha Tammy  aisha  cc>
AuthorDate: Wed Oct  7 12:51:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  7 17:58:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c138356

media-gfx/opentoonz: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/opentoonz/Manifest  |  1 -
 media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild | 92 ---
 2 files changed, 93 deletions(-)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index b9be7cab8c3..17d952a18c8 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,3 +1,2 @@
-DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B 
f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b
 SHA512 
3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44
 DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 
292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08
 SHA512 
5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71
 DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649

diff --git a/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
deleted file mode 100644
index b1aa0a87358..000
--- a/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   app-arch/lz4:=
-   >=dev-libs/boost-1.55.0:=
-   dev-libs/lzo:2=
-   >=dev-qt/qtcore-5.9:5
-   >=dev-qt/qtgui-5.9:5
-   >=dev-qt/qtmultimedia-5.9:5[widgets]
-   >=dev-qt/qtnetwork-5.9:5
-   >=dev-qt/qtopengl-5.9:5
-   >=dev-qt/qtprintsupport-5.9:5
-   >=dev-qt/qtscript-5.9:5
-   >=dev-qt/qtsvg-5.9:5
-   >=dev-qt/qtwidgets-5.9:5
-   >=dev-qt/qtxml-5.9:5
-   media-libs/freeglut:=
-   media-libs/freetype:2=
-   media-libs/glew:=
-   media-libs/libjpeg-turbo:=
-   >=media-libs/libmypaint-1.3.0
-   media-libs/libpng:=
-   media-libs/libsdl2:=
-   sci-libs/cblas-reference:=
-   >=sci-libs/superlu-4.1:=
-   sys-libs/zlib:=
-   virtual/libusb:=
-   virtual/opengl
-"
-DEPEND="
-   $RDEPEND
-   virtual/pkgconfig
-   dev-qt/linguist-tools:5
-"
-
-CMAKE_USE_DIR="${S}"/toonz/sources
-
-src_configure()
-{
-   local mycmakeargs=(
-   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-   -DCMAKE_SKIP_RPATH=ON
-   )
-
-   # The upstream uses their own modified libtiff
-   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
-   cd thirdparty/tiff-4.0.3 || die
-   econf \
-   --with-pic \
-   --disable-jbig \
-   --enable-static \
-   --disable-shared
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cd "${S}"/thirdparty/tiff-4.0.3 || die
-   emake
-
-   cmake-utils_src_compile
-}
-
-pkg_postinst()
-{
-   elog "It is supposedly optional but some files are"
-   elog "actually required to run the executable properly."
-   elog
-   elog "The .config/OpenToonz/ directory in your home folder"
-   elog "will contain your settings, work and other files."
-   elog
-   elog "We need to create it from the command-line:"
-   elog
-   elog "$ mkdir -p \$HOME/.config/OpenToonz"
-   elog "$ cp -r /usr/share/opentoonz/stuff/ \$HOME/.config/OpenToonz/"
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/, media-gfx/opentoonz/

2020-10-07 Thread Sam James
commit: e894c12c617db62802e96461c177a43a5924b800
Author: Aisha Tammy  aisha  cc>
AuthorDate: Wed Oct  7 12:51:05 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  7 17:58:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e894c12c

media-gfx/opentoonz: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/opentoonz/Manifest   |  1 -
 ...ntoonz-1.1.2-gcc6-no-throw-in-destructors.patch | 38 -
 media-gfx/opentoonz/opentoonz-1.1.2.ebuild | 93 --
 3 files changed, 132 deletions(-)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index fdd5434d27f..b9be7cab8c3 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,4 +1,3 @@
-DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B 
d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08
 SHA512 
800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
 DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B 
f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b
 SHA512 
3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44
 DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 
292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08
 SHA512 
5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71
 DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649

diff --git 
a/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch 
b/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch
deleted file mode 100644
index ad0e5a2758e..000
--- 
a/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
-
-From ae91dbad8c33b35ea564d235c8eba63adfcc0fef Mon Sep 17 00:00:00 2001
-From: Peter-Levine 
-Date: Wed, 31 May 2017 04:49:36 -0400
-Subject: [PATCH] Don't allow throw() in destructors (#1182)
-

- toonz/sources/image/3gp/tiio_3gp_proxy.cpp | 2 --
- toonz/sources/image/mov/tiio_mov_proxy.cpp | 2 --
- 2 files changed, 4 deletions(-)
-
-diff --git a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp 
b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-index d1bd79717..03140f695 100644
 a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-+++ b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-@@ -138,8 +138,6 @@ TLevelWriter3gp::~TLevelWriter3gp() {
-   QString res;
- 
-   stream << (msg << QString("$closeLW3gp") << m_id);
--  if (tipc::readMessage(stream, msg) != "ok")
--throw TException("Unable to write file");
- }
- 
- //--
-diff --git a/toonz/sources/image/mov/tiio_mov_proxy.cpp 
b/toonz/sources/image/mov/tiio_mov_proxy.cpp
-index 260bbb196..6be067c01 100644
 a/toonz/sources/image/mov/tiio_mov_proxy.cpp
-+++ b/toonz/sources/image/mov/tiio_mov_proxy.cpp
-@@ -206,8 +206,6 @@ TLevelWriterMov::~TLevelWriterMov() {
-   QString res;
- 
-   stream << (msg << QString("$closeLWMov") << m_id);
--  if (tipc::readMessage(stream, msg) != "ok")
--throw TException("Unable to write file");
- }
- 
- //--

diff --git a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild 
b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
deleted file mode 100644
index ced01576533..000
--- a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   app-arch/lz4:=
-   >=dev-libs/boost-1.55.0:=
-   dev-libs/lzo:2=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtmultimedia:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtopengl:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtscript:5
-   dev-qt/qtsvg:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtxml:5
-   

[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2020-10-07 Thread Sam James
commit: d7b6134c1f09b96526fb1ddbf9dfa7eb2e121987
Author: Aisha Tammy  aisha  cc>
AuthorDate: Wed Oct  7 12:51:48 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  7 17:58:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b6134c

media-gfx/opentoonz: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/17838
Signed-off-by: Sam James  gentoo.org>

 media-gfx/opentoonz/opentoonz-1.3.0.ebuild | 87 --
 1 file changed, 87 deletions(-)

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
deleted file mode 100644
index 74922af17dc..000
--- a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils gnome2-utils xdg-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   app-arch/lz4:=
-   >=dev-libs/boost-1.55.0:=
-   dev-libs/lzo:2
-   >=dev-qt/qtcore-5.9:5
-   >=dev-qt/qtgui-5.9:5
-   >=dev-qt/qtmultimedia-5.9:5[widgets]
-   >=dev-qt/qtnetwork-5.9:5
-   >=dev-qt/qtopengl-5.9:5
-   >=dev-qt/qtprintsupport-5.9:5
-   >=dev-qt/qtscript-5.9:5
-   >=dev-qt/qtsvg-5.9:5
-   >=dev-qt/qtwidgets-5.9:5
-   >=dev-qt/qtxml-5.9:5
-   media-libs/freeglut
-   media-libs/freetype:2
-   media-libs/glew:=
-   media-libs/libjpeg-turbo
-   >=media-libs/libmypaint-1.3.0:=
-   media-libs/libpng:=
-   media-libs/libsdl2
-   sci-libs/cblas-reference
-   >=sci-libs/superlu-4.1:=
-   sys-libs/zlib:=
-   virtual/libusb:=
-   virtual/opengl
-"
-DEPEND="
-   ${RDEPEND}
-   dev-qt/linguist-tools:5
-   virtual/pkgconfig
-"
-
-CMAKE_USE_DIR="${S}"/toonz/sources
-
-src_configure() {
-   local mycmakeargs=(
-   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-   -DCMAKE_SKIP_RPATH=ON
-   )
-
-   # The upstream uses their own modified libtiff
-   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
-   cd thirdparty/tiff-4.0.3 || die
-   econf \
-   --with-pic \
-   --disable-jbig \
-   --enable-static \
-   --disable-shared
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cd "${S}"/thirdparty/tiff-4.0.3 || die
-   emake
-
-   cmake-utils_src_compile
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   gnome2_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2020-02-08 Thread David Seifert
commit: 983bf766cdf006cd6b1ae983f43357bb13f24d3a
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 16:51:45 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 16:51:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=983bf766

media-gfx/opentoonz: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert  gentoo.org>

 media-gfx/opentoonz/opentoonz-1.1.2.ebuild| 4 ++--
 media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild | 4 ++--
 media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild | 4 ++--
 media-gfx/opentoonz/opentoonz-1.3.0.ebuild| 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild 
b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
index ed5cd3d6884..41ec70caafc 100644
--- a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
@@ -54,8 +54,8 @@ src_configure()
 {
local mycmakeargs=(

-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON
)
 

diff --git a/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
index bcb59bf1a28..8906b6e2ae5 100644
--- a/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
@@ -53,8 +53,8 @@ src_configure()
 {
local mycmakeargs=(

-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON
)
 

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
index 9921de91c2f..7f206e2ccf0 100644
--- a/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
@@ -52,8 +52,8 @@ CMAKE_USE_DIR="${S}"/toonz/sources
 src_configure() {
local mycmakeargs=(

-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON
)
 

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
index a73803cb0e0..760fe526d49 100644
--- a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
@@ -52,8 +52,8 @@ CMAKE_USE_DIR="${S}"/toonz/sources
 src_configure() {
local mycmakeargs=(

-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON
)
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2020-02-07 Thread Joonas Niilola
commit: 187db72c0fb22b29e4bc5ea2536081049d2124bc
Author: Tact Yoshida  gmail  com>
AuthorDate: Sat Feb  1 16:44:41 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Feb  8 07:57:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187db72c

media-gfx/opentoonz: version bump to 1.4.0

Signed-off-by: Tact Yoshida  gmail.com>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14523
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/opentoonz/Manifest   |  1 +
 media-gfx/opentoonz/opentoonz-1.4.0.ebuild | 86 ++
 2 files changed, 87 insertions(+)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index b73d0599390..fdd5434d27f 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,3 +1,4 @@
 DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B 
d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08
 SHA512 
800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
 DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B 
f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b
 SHA512 
3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44
 DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 
292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08
 SHA512 
5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71
+DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B 
adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13
 SHA512 
777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649

diff --git a/media-gfx/opentoonz/opentoonz-1.4.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
new file mode 100644
index 000..16a8634aa4c
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut
+   media-libs/freetype:2
+   media-libs/glew:=
+   media-libs/libjpeg-turbo
+   >=media-libs/libmypaint-1.3.0:=
+   media-libs/libpng:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib
+   virtual/cblas
+   virtual/libusb:1
+   virtual/opengl
+"
+DEPEND="
+   ${RDEPEND}
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+CMAKE_MAKEFILE_GENERATOR=emake
+
+src_configure() {
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake-utils_src_compile
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2020-02-07 Thread Joonas Niilola
commit: d3f2ea1289796133ad07f28d13603bc38ee40cd5
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Feb  8 07:17:31 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Feb  8 07:57:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f2ea12

media-gfx/opentoonz: switch 1.4.0 to cmake.eclass

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/opentoonz/opentoonz-1.4.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/opentoonz/opentoonz-1.4.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
index 16a8634aa4c..cccd2e4ca02 100644
--- a/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
 
 DESCRIPTION="An open-source full-featured 2D animation creation software"
 HOMEPAGE="https://github.com/opentoonz/opentoonz;
@@ -67,14 +67,14 @@ src_configure() {
--enable-static \
--disable-shared
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_compile() {
cd "${S}"/thirdparty/tiff-4.0.3 || die
emake
 
-   cmake-utils_src_compile
+   cmake_src_compile
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2019-07-05 Thread Benda XU
commit: 8b85693f0731e1852e359376aef8528b6d170561
Author: Mo Zhou  gmail  com>
AuthorDate: Wed Jul  3 06:00:59 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Fri Jul  5 08:22:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b85693f

media-gfx/opentoonz: depend on virtual/cblas.

Fixes confliction between old cblas-reference package and the
BLAS/LAPACK runtime switching mechanism.

Closes: https://github.com/gentoo/gentoo/pull/12382

Signed-off-by: Mo Zhou  gmail.com>
Signed-off-by: Benda Xu  gentoo.org>

 media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild | 87 +++
 1 file changed, 87 insertions(+)

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
new file mode 100644
index 000..9921de91c2f
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.3.0-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut
+   media-libs/freetype:2
+   media-libs/glew:=
+   media-libs/libjpeg-turbo
+   >=media-libs/libmypaint-1.3.0:=
+   media-libs/libpng:=
+   media-libs/libsdl2
+   virtual/cblas
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib:=
+   virtual/libusb:=
+   virtual/opengl
+"
+DEPEND="
+   ${RDEPEND}
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+src_configure() {
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake-utils_src_compile
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2019-03-01 Thread Andreas Sturmlechner
commit: 4fa38b7027ee1cd1ecf08d7fc1a35e8aa019fa82
Author: Tact Yoshida  gmail  com>
AuthorDate: Fri Mar  1 19:15:40 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar  2 07:35:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa38b70

media-gfx/opentoonz: version bump to 1.3.0

Closes: https://bugs.gentoo.org/677030
Signed-off-by: Tact Yoshida  gmail.com>
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/10975
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/opentoonz/Manifest   |  1 +
 media-gfx/opentoonz/opentoonz-1.3.0.ebuild | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index 19f8c7123f0..b73d0599390 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1,2 +1,3 @@
 DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B 
d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08
 SHA512 
800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
 DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B 
f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b
 SHA512 
3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44
+DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 
292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08
 SHA512 
5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71

diff --git a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild 
b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
new file mode 100644
index 000..a73803cb0e0
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut
+   media-libs/freetype:2
+   media-libs/glew:=
+   media-libs/libjpeg-turbo
+   >=media-libs/libmypaint-1.3.0:=
+   media-libs/libpng:=
+   media-libs/libsdl2
+   sci-libs/cblas-reference
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib:=
+   virtual/libusb:=
+   virtual/opengl
+"
+DEPEND="
+   ${RDEPEND}
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+src_configure() {
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake-utils_src_compile
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/

2018-08-31 Thread Patrice Clement
commit: 92e3de766dea701b09f78a4da96bbe371d22d053
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Aug 31 18:18:22 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Aug 31 22:12:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e3de76

media-gfx/opentoonz: remove unused patch.

Closes: https://github.com/gentoo/gentoo/pull/9745

 ...ntoonz-1.2.1-gcc6-no-throw-in-destructors.patch | 38 --
 1 file changed, 38 deletions(-)

diff --git 
a/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch 
b/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch
deleted file mode 100644
index ad0e5a2758e..000
--- 
a/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
-
-From ae91dbad8c33b35ea564d235c8eba63adfcc0fef Mon Sep 17 00:00:00 2001
-From: Peter-Levine 
-Date: Wed, 31 May 2017 04:49:36 -0400
-Subject: [PATCH] Don't allow throw() in destructors (#1182)
-

- toonz/sources/image/3gp/tiio_3gp_proxy.cpp | 2 --
- toonz/sources/image/mov/tiio_mov_proxy.cpp | 2 --
- 2 files changed, 4 deletions(-)
-
-diff --git a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp 
b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-index d1bd79717..03140f695 100644
 a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-+++ b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
-@@ -138,8 +138,6 @@ TLevelWriter3gp::~TLevelWriter3gp() {
-   QString res;
- 
-   stream << (msg << QString("$closeLW3gp") << m_id);
--  if (tipc::readMessage(stream, msg) != "ok")
--throw TException("Unable to write file");
- }
- 
- //--
-diff --git a/toonz/sources/image/mov/tiio_mov_proxy.cpp 
b/toonz/sources/image/mov/tiio_mov_proxy.cpp
-index 260bbb196..6be067c01 100644
 a/toonz/sources/image/mov/tiio_mov_proxy.cpp
-+++ b/toonz/sources/image/mov/tiio_mov_proxy.cpp
-@@ -206,8 +206,6 @@ TLevelWriterMov::~TLevelWriterMov() {
-   QString res;
- 
-   stream << (msg << QString("$closeLWMov") << m_id);
--  if (tipc::readMessage(stream, msg) != "ok")
--throw TException("Unable to write file");
- }
- 
- //--



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2018-08-07 Thread Patrice Clement
commit: 105128957501f818ab2c684f6658af5b6c7ae83a
Author: Tact Yoshida  gmail  com>
AuthorDate: Tue Aug  7 17:36:41 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Aug  7 22:24:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10512895

media-gfx/opentoonz: remove old.

Package-Manager: Portage-2.3.44, Repoman-2.3.9

 media-gfx/opentoonz/opentoonz-1.2.1.ebuild | 94 --
 1 file changed, 94 deletions(-)

diff --git a/media-gfx/opentoonz/opentoonz-1.2.1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.2.1.ebuild
deleted file mode 100644
index 84389a579e2..000
--- a/media-gfx/opentoonz/opentoonz-1.2.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="An open-source full-featured 2D animation creation software"
-HOMEPAGE="https://github.com/opentoonz/opentoonz;
-SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD libtiff"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-   app-arch/lz4:=
-   >=dev-libs/boost-1.55.0:=
-   dev-libs/lzo:2=
-   >=dev-qt/qtcore-5.9:5
-   >=dev-qt/qtgui-5.9:5
-   >=dev-qt/qtmultimedia-5.9:5[widgets]
-   >=dev-qt/qtnetwork-5.9:5
-   >=dev-qt/qtopengl-5.9:5
-   >=dev-qt/qtprintsupport-5.9:5
-   >=dev-qt/qtscript-5.9:5
-   >=dev-qt/qtsvg-5.9:5
-   >=dev-qt/qtwidgets-5.9:5
-   >=dev-qt/qtxml-5.9:5
-   media-libs/freeglut:=
-   media-libs/freetype:2=
-   media-libs/glew:=
-   media-libs/libjpeg-turbo:=
-   >=media-libs/libmypaint-1.3.0
-   media-libs/libpng:=
-   media-libs/libsdl2:=
-   sci-libs/cblas-reference:=
-   >=sci-libs/superlu-4.1:=
-   sys-libs/zlib:=
-   virtual/libusb:=
-   virtual/opengl
-"
-DEPEND="
-   $RDEPEND
-   virtual/pkgconfig
-   dev-qt/linguist-tools:5
-"
-
-CMAKE_USE_DIR="${S}"/toonz/sources
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6-no-throw-in-destructors.patch )
-
-src_configure()
-{
-   local mycmakeargs=(
-   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
-   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
-   -DCMAKE_SKIP_RPATH=ON
-   )
-
-   # The upstream uses their own modified libtiff
-   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
-   cd thirdparty/tiff-4.0.3 || die
-   econf \
-   --with-pic \
-   --disable-jbig \
-   --enable-static \
-   --disable-shared
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cd "${S}"/thirdparty/tiff-4.0.3 || die
-   emake
-
-   cmake-utils_src_compile
-}
-
-pkg_postinst()
-{
-   elog "It is supposedly optional but some files are"
-   elog "actually required to run the executable properly."
-   elog
-   elog "The .config/OpenToonz/ directory in your home folder"
-   elog "will contain your settings, work and other files."
-   elog
-   elog "We need to create it from the command-line:"
-   elog
-   elog "$ mkdir -p \$HOME/.config/OpenToonz"
-   elog "$ cp -r /usr/share/opentoonz/stuff/ \$HOME/.config/OpenToonz/"
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2018-08-07 Thread Patrice Clement
commit: d3fe080adc287347ffcce29782596b85c6c1da69
Author: Tact Yoshida  gmail  com>
AuthorDate: Sun Aug  5 10:22:01 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Aug  7 22:24:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3fe080a

media-gfx/opentoonz: unapply invalid patch.

Closes: https://bugs.gentoo.org/662138
Package-Manager: Portage-2.3.44, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9455

 media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild | 92 +++
 1 file changed, 92 insertions(+)

diff --git a/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
new file mode 100644
index 000..bcb59bf1a28
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.2.1-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2=
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut:=
+   media-libs/freetype:2=
+   media-libs/glew:=
+   media-libs/libjpeg-turbo:=
+   >=media-libs/libmypaint-1.3.0
+   media-libs/libpng:=
+   media-libs/libsdl2:=
+   sci-libs/cblas-reference:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib:=
+   virtual/libusb:=
+   virtual/opengl
+"
+DEPEND="
+   $RDEPEND
+   virtual/pkgconfig
+   dev-qt/linguist-tools:5
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+src_configure()
+{
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake-utils_src_compile
+}
+
+pkg_postinst()
+{
+   elog "It is supposedly optional but some files are"
+   elog "actually required to run the executable properly."
+   elog
+   elog "The .config/OpenToonz/ directory in your home folder"
+   elog "will contain your settings, work and other files."
+   elog
+   elog "We need to create it from the command-line:"
+   elog
+   elog "$ mkdir -p \$HOME/.config/OpenToonz"
+   elog "$ cp -r /usr/share/opentoonz/stuff/ \$HOME/.config/OpenToonz/"
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/, media-gfx/opentoonz/

2018-07-23 Thread Tony Vroon
commit: f6a0df382ce2a8668a9573f661213aaa19fa3997
Author: Tact Yoshida  gmail  com>
AuthorDate: Wed Jul 18 18:59:44 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Mon Jul 23 08:42:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a0df38

media-gfx/opentoonz: Version bump to 1.2.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9276
Closes: https://bugs.gentoo.org/612938

 media-gfx/opentoonz/Manifest   |  1 +
 ...ntoonz-1.2.1-gcc6-no-throw-in-destructors.patch | 38 +
 media-gfx/opentoonz/opentoonz-1.2.1.ebuild | 94 ++
 3 files changed, 133 insertions(+)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
index fb7bd6893f2..19f8c7123f0 100644
--- a/media-gfx/opentoonz/Manifest
+++ b/media-gfx/opentoonz/Manifest
@@ -1 +1,2 @@
 DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B 
d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08
 SHA512 
800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
+DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B 
f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b
 SHA512 
3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44

diff --git 
a/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch 
b/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch
new file mode 100644
index 000..ad0e5a2758e
--- /dev/null
+++ 
b/media-gfx/opentoonz/files/opentoonz-1.2.1-gcc6-no-throw-in-destructors.patch
@@ -0,0 +1,38 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
+
+From ae91dbad8c33b35ea564d235c8eba63adfcc0fef Mon Sep 17 00:00:00 2001
+From: Peter-Levine 
+Date: Wed, 31 May 2017 04:49:36 -0400
+Subject: [PATCH] Don't allow throw() in destructors (#1182)
+
+---
+ toonz/sources/image/3gp/tiio_3gp_proxy.cpp | 2 --
+ toonz/sources/image/mov/tiio_mov_proxy.cpp | 2 --
+ 2 files changed, 4 deletions(-)
+
+diff --git a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp 
b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
+index d1bd79717..03140f695 100644
+--- a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
 b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
+@@ -138,8 +138,6 @@ TLevelWriter3gp::~TLevelWriter3gp() {
+   QString res;
+ 
+   stream << (msg << QString("$closeLW3gp") << m_id);
+-  if (tipc::readMessage(stream, msg) != "ok")
+-throw TException("Unable to write file");
+ }
+ 
+ //--
+diff --git a/toonz/sources/image/mov/tiio_mov_proxy.cpp 
b/toonz/sources/image/mov/tiio_mov_proxy.cpp
+index 260bbb196..6be067c01 100644
+--- a/toonz/sources/image/mov/tiio_mov_proxy.cpp
 b/toonz/sources/image/mov/tiio_mov_proxy.cpp
+@@ -206,8 +206,6 @@ TLevelWriterMov::~TLevelWriterMov() {
+   QString res;
+ 
+   stream << (msg << QString("$closeLWMov") << m_id);
+-  if (tipc::readMessage(stream, msg) != "ok")
+-throw TException("Unable to write file");
+ }
+ 
+ //--

diff --git a/media-gfx/opentoonz/opentoonz-1.2.1.ebuild 
b/media-gfx/opentoonz/opentoonz-1.2.1.ebuild
new file mode 100644
index 000..84389a579e2
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.2.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2=
+   >=dev-qt/qtcore-5.9:5
+   >=dev-qt/qtgui-5.9:5
+   >=dev-qt/qtmultimedia-5.9:5[widgets]
+   >=dev-qt/qtnetwork-5.9:5
+   >=dev-qt/qtopengl-5.9:5
+   >=dev-qt/qtprintsupport-5.9:5
+   >=dev-qt/qtscript-5.9:5
+   >=dev-qt/qtsvg-5.9:5
+   >=dev-qt/qtwidgets-5.9:5
+   >=dev-qt/qtxml-5.9:5
+   media-libs/freeglut:=
+   media-libs/freetype:2=
+   media-libs/glew:=
+   media-libs/libjpeg-turbo:=
+   >=media-libs/libmypaint-1.3.0
+   media-libs/libpng:=
+   media-libs/libsdl2:=
+   sci-libs/cblas-reference:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib:=
+   virtual/libusb:=
+   virtual/opengl
+"
+DEPEND="
+   $RDEPEND
+   virtual/pkgconfig
+   dev-qt/linguist-tools:5
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+PATCHES=( 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/files/, media-gfx/opentoonz/

2017-07-30 Thread David Seifert
commit: ef1a25ce2dff306620f671e330b7bccc50e7f7da
Author: Peter Levine  gmail  com>
AuthorDate: Thu Jul 20 06:53:08 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jul 30 09:08:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1a25ce

media-gfx/opentoonz: Fix building with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5145

 ...ntoonz-1.1.2-gcc6-no-throw-in-destructors.patch | 38 ++
 media-gfx/opentoonz/opentoonz-1.1.2.ebuild |  2 ++
 2 files changed, 40 insertions(+)

diff --git 
a/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch 
b/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch
new file mode 100644
index 000..ad0e5a2758e
--- /dev/null
+++ 
b/media-gfx/opentoonz/files/opentoonz-1.1.2-gcc6-no-throw-in-destructors.patch
@@ -0,0 +1,38 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
+
+From ae91dbad8c33b35ea564d235c8eba63adfcc0fef Mon Sep 17 00:00:00 2001
+From: Peter-Levine 
+Date: Wed, 31 May 2017 04:49:36 -0400
+Subject: [PATCH] Don't allow throw() in destructors (#1182)
+
+---
+ toonz/sources/image/3gp/tiio_3gp_proxy.cpp | 2 --
+ toonz/sources/image/mov/tiio_mov_proxy.cpp | 2 --
+ 2 files changed, 4 deletions(-)
+
+diff --git a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp 
b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
+index d1bd79717..03140f695 100644
+--- a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
 b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp
+@@ -138,8 +138,6 @@ TLevelWriter3gp::~TLevelWriter3gp() {
+   QString res;
+ 
+   stream << (msg << QString("$closeLW3gp") << m_id);
+-  if (tipc::readMessage(stream, msg) != "ok")
+-throw TException("Unable to write file");
+ }
+ 
+ //--
+diff --git a/toonz/sources/image/mov/tiio_mov_proxy.cpp 
b/toonz/sources/image/mov/tiio_mov_proxy.cpp
+index 260bbb196..6be067c01 100644
+--- a/toonz/sources/image/mov/tiio_mov_proxy.cpp
 b/toonz/sources/image/mov/tiio_mov_proxy.cpp
+@@ -206,8 +206,6 @@ TLevelWriterMov::~TLevelWriterMov() {
+   QString res;
+ 
+   stream << (msg << QString("$closeLWMov") << m_id);
+-  if (tipc::readMessage(stream, msg) != "ok")
+-throw TException("Unable to write file");
+ }
+ 
+ //--

diff --git a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild 
b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
index ed1e797dbbd..ed5cd3d6884 100644
--- a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
@@ -48,6 +48,8 @@ DEPEND="
 
 CMAKE_USE_DIR="${S}"/toonz/sources
 
+PATCHES=( "${FILESDIR}"/${P}-gcc6-no-throw-in-destructors.patch )
+
 src_configure()
 {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2017-03-16 Thread Robin H. Johnson
commit: 878cbaf02a12101e23cd91e7edcc4f967b0556c7
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Mar 16 23:54:38 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Thu Mar 16 23:54:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=878cbaf0

media-gfx/opentoonz: fix ebuild header.

Signed-off-by: Robin H. Johnson  gentoo.org>

 media-gfx/opentoonz/opentoonz-1.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild 
b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
index 104404df43b..ed1e797dbbd 100644
--- a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
+++ b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
@@ -1,5 +1,5 @@
 # Copyright 1999-2017 Gentoo Foundation
-1;2802;0c# Distributed under the terms of the GNU General Public License v2
+# Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/

2017-03-16 Thread Göktürk Yüksek
commit: 38f3d696ba4e43cab3151c5e5dd9dd71220047dc
Author: Takuto Yoshida  gmail  com>
AuthorDate: Thu Mar 16 23:27:58 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Thu Mar 16 23:32:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f3d696

media-gfx/opentoonz: initial commit with the version 1.1.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-gfx/opentoonz/Manifest   |  1 +
 media-gfx/opentoonz/metadata.xml   | 12 
 media-gfx/opentoonz/opentoonz-1.1.2.ebuild | 91 ++
 3 files changed, 104 insertions(+)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
new file mode 100644
index 000..bb11199058b
--- /dev/null
+++ b/media-gfx/opentoonz/Manifest
@@ -0,0 +1 @@
+DIST opentoonz-1.1.2.tar.gz 36777909 SHA256 
e9943abbd49befb5c8963fd7cb744b6c5b93a4faa02c8564610b848d189ea029 SHA512 
800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
 WHIRLPOOL 
2664e8f087163c4db3413135c7943d290088c116f91f07d414838b3efa2039fae2cf8e1fc1bf1521de580dc8d561cf16c4aee34cf165b2fd920ec02456e8b404

diff --git a/media-gfx/opentoonz/metadata.xml b/media-gfx/opentoonz/metadata.xml
new file mode 100644
index 000..3392e3f1728
--- /dev/null
+++ b/media-gfx/opentoonz/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   otakuto.gen...@gmail.com
+   Tact Yoshida
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+

diff --git a/media-gfx/opentoonz/opentoonz-1.1.2.ebuild 
b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
new file mode 100644
index 000..104404df43b
--- /dev/null
+++ b/media-gfx/opentoonz/opentoonz-1.1.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+1;2802;0c# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An open-source full-featured 2D animation creation software"
+HOMEPAGE="https://github.com/opentoonz/opentoonz;
+SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD libtiff"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/lz4:=
+   >=dev-libs/boost-1.55.0:=
+   dev-libs/lzo:2=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtmultimedia:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtopengl:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtscript:5
+   dev-qt/qtsvg:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   media-libs/freeglut:=
+   media-libs/freetype:2=
+   media-libs/glew:=
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   media-libs/libsdl2:=
+   sci-libs/blas-reference:=
+   >=sci-libs/superlu-4.1:=
+   sys-libs/zlib:=
+   virtual/libusb:=
+   virtual/opengl
+"
+DEPEND="
+   $RDEPEND
+   virtual/pkgconfig
+   dev-qt/linguist-tools:5
+"
+
+CMAKE_USE_DIR="${S}"/toonz/sources
+
+src_configure()
+{
+   local mycmakeargs=(
+   
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
+   -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu"
+   -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo"
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   # The upstream uses their own modified libtiff
+   # See: 
https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
+   cd thirdparty/tiff-4.0.3 || die
+   econf \
+   --with-pic \
+   --disable-jbig \
+   --enable-static \
+   --disable-shared
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cd "${S}"/thirdparty/tiff-4.0.3 || die
+   emake
+
+   cmake-utils_src_compile
+}
+
+pkg_postinst()
+{
+   elog "It is supposedly optional but some files are"
+   elog "actually required to run the executable properly."
+   elog
+   elog "The .config/OpenToonz/ directory in your home folder"
+   elog "will contain your settings, work and other files."
+   elog
+   elog "We need to create it from the command-line:"
+   elog
+   elog "$ mkdir -p \$HOME/.config/OpenToonz"
+   elog "$ cp -r /usr/share/opentoonz/stuff/ \$HOME/.config/OpenToonz/"
+}