[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/
commit: 0fa490d508d20f73d206d471f44deca5974d3e35 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 14 08:15:36 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue May 16 19:32:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa490d5 media-libs/ptex: drop 2.3.2 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/ptex/Manifest | 1 - media-libs/ptex/files/ptex-2.3.2-cxx11.patch | 22 media-libs/ptex/ptex-2.3.2.ebuild| 39 3 files changed, 62 deletions(-) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index 8442a8fa3c7f..a798b93d52fb 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1,2 +1 @@ -DIST ptex-2.3.2.tar.gz 308550 BLAKE2B 7b3145dbf9d2c13140c3f20ed606ee911deed3c38fd30adfbb01b58c3af5794dbd4e0fa1fbab6e8ae83556a0ffec725bf077271abf752f1271ed721ca200a1ff SHA512 dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9 DIST ptex-2.4.2.tar.gz 312942 BLAKE2B 13446eae2327f92410859f7e01dc30e46a069d2069b2b1bf1bd9fe52902efacb6aeadc2c3bdc66dfad17662e01ae6fd3fac2861674691646871721d9e12ceb12 SHA512 3b9607b7803e7c857bb00a6d4d8bbe108810c622a3593fb5d655183f3e6689f274ee5e79bcaab6928de38daf05cf25eb56125f39477f134131a8ad45071551b3 diff --git a/media-libs/ptex/files/ptex-2.3.2-cxx11.patch b/media-libs/ptex/files/ptex-2.3.2-cxx11.patch deleted file mode 100644 index f35372b7c636.. --- a/media-libs/ptex/files/ptex-2.3.2-cxx11.patch +++ /dev/null @@ -1,22 +0,0 @@ a/CMakeLists.txt 2019-03-08 18:39:47.0 +0100 -+++ b/CMakeLists.txt 2019-05-21 23:20:50.964082298 +0200 -@@ -5,19 +5,6 @@ - option(PTEX_BUILD_SHARED_LIBS "Enable building Ptex shared libraries" ON) - option(PRMAN_15_COMPATIBLE_PTEX "Enable PRMan 15 compatibility" OFF) - --if (DEFINED ENV{CXXFLAGS_STD}) --if ($ENV{CXXFLAGS_STD} STREQUAL "c++17") --set(CMAKE_CXX_STANDARD 17) --elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++14") --set(CMAKE_CXX_STANDARD 14) --elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++11") --set(CMAKE_CXX_STANDARD 11) --else () --set(CMAKE_CXX_STANDARD 98) --endif () --else () --set(CMAKE_CXX_STANDARD 98) --endif () - set(CMAKE_CXX_EXTENSIONS OFF) - set(CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS ON) - set(CMAKE_INSTALL_MESSAGE LAZY) # Silence "Up-to-date:" install messages diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild deleted file mode 100644 index 7a3f0ff151bf.. --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Per-Face Texture Mapping for Production Rendering" -HOMEPAGE="http://ptex.us/; -SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -IUSE="static-libs" - -BDEPEND="app-doc/doxygen" -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND}" - -RESTRICT="test" - -PATCHES=( "${FILESDIR}/${P}-cxx11.patch" ) - -src_prepare() { - # https://github.com/wdas/ptex/issues/41 - cat <<-EOF > version || die - ${PV} - EOF - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" - -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) - ) - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 91d7a68b40839fe2d0ae02062582b13b8d9cc19f Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 6 09:13:40 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 6 09:13:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d7a68b media-libs/ptex: Stabilize 2.4.2 x86, #905802 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/ptex/ptex-2.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/ptex/ptex-2.4.2.ebuild b/media-libs/ptex/ptex-2.4.2.ebuild index cd558679f0f8..d8ee06b4868e 100644 --- a/media-libs/ptex/ptex-2.4.2.ebuild +++ b/media-libs/ptex/ptex-2.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" IUSE="static-libs" RDEPEND="sys-libs/zlib"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 85f276f889382f335f8c7b656660c6f3cf2c3d16 Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 6 09:12:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 6 09:12:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f276f8 media-libs/ptex: Stabilize 2.4.2 amd64, #905802 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/ptex/ptex-2.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/ptex/ptex-2.4.2.ebuild b/media-libs/ptex/ptex-2.4.2.ebuild index a8b095d5b9f7..cd558679f0f8 100644 --- a/media-libs/ptex/ptex-2.4.2.ebuild +++ b/media-libs/ptex/ptex-2.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/refs/tags/v${PV}.tar.gz -> ${P}.ta LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" IUSE="static-libs" RDEPEND="sys-libs/zlib"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: df14e89f539416d602ac7c543215dca5a4e16aa6 Author: Bernd Waibel posteo net> AuthorDate: Sun Feb 19 16:58:07 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Feb 27 13:12:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df14e89f media-libs/ptex: add 2.4.2 Closes: https://bugs.gentoo.org/895442 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/29667 Signed-off-by: Joonas Niilola gentoo.org> media-libs/ptex/Manifest | 1 + media-libs/ptex/metadata.xml | 4 media-libs/ptex/ptex-2.4.2.ebuild | 37 + 3 files changed, 42 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index 185404267ba5..8442a8fa3c7f 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1 +1,2 @@ DIST ptex-2.3.2.tar.gz 308550 BLAKE2B 7b3145dbf9d2c13140c3f20ed606ee911deed3c38fd30adfbb01b58c3af5794dbd4e0fa1fbab6e8ae83556a0ffec725bf077271abf752f1271ed721ca200a1ff SHA512 dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9 +DIST ptex-2.4.2.tar.gz 312942 BLAKE2B 13446eae2327f92410859f7e01dc30e46a069d2069b2b1bf1bd9fe52902efacb6aeadc2c3bdc66dfad17662e01ae6fd3fac2861674691646871721d9e12ceb12 SHA512 3b9607b7803e7c857bb00a6d4d8bbe108810c622a3593fb5d655183f3e6689f274ee5e79bcaab6928de38daf05cf25eb56125f39477f134131a8ad45071551b3 diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml index d644ef1fd59f..0b9a4bd455e6 100644 --- a/media-libs/ptex/metadata.xml +++ b/media-libs/ptex/metadata.xml @@ -5,6 +5,10 @@ agrigo2...@yahoo.com.au Adrian Grigo + + waebbl-gen...@posteo.net + Bernd Waibel + proxy-ma...@gentoo.org Proxy Maintainers diff --git a/media-libs/ptex/ptex-2.4.2.ebuild b/media-libs/ptex/ptex-2.4.2.ebuild new file mode 100644 index ..a8b095d5b9f7 --- /dev/null +++ b/media-libs/ptex/ptex-2.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Per-Face Texture Mapping for Production Rendering" +HOMEPAGE="https://ptex.us/; +SRC_URI="https://github.com/wdas/ptex/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="static-libs" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND="app-doc/doxygen" + +RESTRICT="test" + +src_prepare() { + # https://github.com/wdas/ptex/issues/41 + cat <<-EOF > version || die + v${PV} + EOF + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" + -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) + ) + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 61baa3218bd6721937b349cfaca9e677944c6a1f Author: Alex Fan gmail com> AuthorDate: Mon Feb 28 01:43:37 2022 + Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 28 07:02:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61baa321 media-libs/ptex: keyword 2.3.2 for ~riscv Signed-off-by: Alex Fan gmail.com> Signed-off-by: Yixun Lan gentoo.org> media-libs/ptex/ptex-2.3.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild index 10406918b145..7a3f0ff151bf 100644 --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" IUSE="static-libs" BDEPEND="app-doc/doxygen"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: cd84d2aa11b521d66eac25dea35a2ec4319bfbdc Author: Sam James gentoo org> AuthorDate: Mon Feb 22 07:12:34 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 22 07:12:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd84d2aa media-libs/ptex: Keyword 2.3.2 arm, #556758 Signed-off-by: Sam James gentoo.org> media-libs/ptex/ptex-2.3.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild index 7087ff9171c..10406918b14 100644 --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="static-libs" BDEPEND="app-doc/doxygen"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 2176c5210397472c08a6ba72fe643bfa3b7351bf Author: Sam James gentoo org> AuthorDate: Mon Dec 21 18:05:35 2020 + Commit: Sam James gentoo org> CommitDate: Mon Dec 21 18:05:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2176c521 media-libs/ptex: Keyword 2.3.2 arm64, #758152 Signed-off-by: Sam James gentoo.org> media-libs/ptex/ptex-2.3.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild index 20e552cd344..7087ff9171c 100644 --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="static-libs" BDEPEND="app-doc/doxygen"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-gfx/blender/, media-libs/opencollada/, media-libs/osl/, ...
commit: 5a46d00f4c39a656db5196faea72303857447c3c Author: Michał Górny gentoo org> AuthorDate: Fri Sep 13 15:40:35 2019 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 13 15:42:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a46d00f */*: Reassign dracwyrm's packages Bug: https://bugs.gentoo.org/645068 Signed-off-by: Michał Górny gentoo.org> app-misc/ddcutil/metadata.xml | 7 ++- media-gfx/blender/metadata.xml | 4 media-gfx/openvdb/metadata.xml | 6 +- media-libs/Field3D/metadata.xml | 4 media-libs/opencollada/metadata.xml | 5 + media-libs/opensubdiv/metadata.xml | 6 +- media-libs/osl/metadata.xml | 4 media-libs/partio/metadata.xml | 4 media-libs/ptex/metadata.xml| 6 +- media-sound/tuxguitar/metadata.xml | 7 ++- sys-apps/qdirstat/metadata.xml | 7 ++- 11 files changed, 10 insertions(+), 50 deletions(-) diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml index 7a944d0907c..4ed719a346c 100644 --- a/app-misc/ddcutil/metadata.xml +++ b/app-misc/ddcutil/metadata.xml @@ -1,10 +1,7 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - + ddcutil primarily uses DDC/CI (Display Data Channel Command Interface) to communicate with monitors implementing MCCS (Monitor Control Command diff --git a/media-gfx/blender/metadata.xml b/media-gfx/blender/metadata.xml index 6f5b51065df..030037acb8e 100644 --- a/media-gfx/blender/metadata.xml +++ b/media-gfx/blender/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-gfx/openvdb/metadata.xml b/media-gfx/openvdb/metadata.xml index b059b111063..eba5cca0093 100644 --- a/media-gfx/openvdb/metadata.xml +++ b/media-gfx/openvdb/metadata.xml @@ -1,10 +1,6 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-libs/Field3D/metadata.xml b/media-libs/Field3D/metadata.xml index c65f6ca4024..34763bb24f9 100644 --- a/media-libs/Field3D/metadata.xml +++ b/media-libs/Field3D/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-libs/opencollada/metadata.xml b/media-libs/opencollada/metadata.xml index 48936abbe3f..a3be9fdab74 100644 --- a/media-libs/opencollada/metadata.xml +++ b/media-libs/opencollada/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - + KhronosGroup/OpenCOLLADA diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml index 6256d93f312..62cc4a9a211 100644 --- a/media-libs/opensubdiv/metadata.xml +++ b/media-libs/opensubdiv/metadata.xml @@ -1,10 +1,6 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-libs/osl/metadata.xml b/media-libs/osl/metadata.xml index 390182ac0ef..5639117c55f 100644 --- a/media-libs/osl/metadata.xml +++ b/media-libs/osl/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-libs/partio/metadata.xml b/media-libs/partio/metadata.xml index ac8d8a3f829..46bfe4664d5 100644 --- a/media-libs/partio/metadata.xml +++ b/media-libs/partio/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml index 343772fb042..c312f139bc7 100644 --- a/media-libs/ptex/metadata.xml +++ b/media-libs/ptex/metadata.xml @@ -1,10 +1,6 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> - - dracw...@gentoo.org - Jonathan Scruggs - agrigo2...@yahoo.com.au Adrian Grigo diff --git a/media-sound/tuxguitar/metadata.xml b/media-sound/tuxguitar/metadata.xml index f11d4ce160e..43ad71f5f09
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/
commit: 9065c85aa8c015d1e35d9d42e97ae311c986e52c Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jun 9 20:22:18 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 9 20:24:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9065c85a media-libs/ptex: Drop 2.1.28-r1 and 2.3.0 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/ptex/Manifest | 2 - media-libs/ptex/files/ptex-2.1.28-20170213.patch | 72 -- .../ptex-2.1.28-allow-custom-build-type.patch | 39 media-libs/ptex/files/ptex-2.3.0-cxx11.patch | 12 media-libs/ptex/ptex-2.1.28-r1.ebuild | 25 media-libs/ptex/ptex-2.3.0.ebuild | 33 -- 6 files changed, 183 deletions(-) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index 439468d5e6e..185404267ba 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1,3 +1 @@ -DIST ptex-2.1.28.tar.gz 305327 BLAKE2B 4a91b08ae326e8ed8d420022c693ea60cb21908380b8c49a7672771686f9dd2ef05151b7d43755bc63ab6624db772c2b53d1ffdcdea9c1dff7627cc3fe0f3b15 SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 -DIST ptex-2.3.0.tar.gz 306462 BLAKE2B 790e3623ce6ebae2dfd8884d8e19e62395c54432289d88bdcf3a01c8ae1ef752ca88869357ac1e4657d59f1ca73d311a3fb9a08efe4e145ca259eff93d8a3b6a SHA512 2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992 DIST ptex-2.3.2.tar.gz 308550 BLAKE2B 7b3145dbf9d2c13140c3f20ed606ee911deed3c38fd30adfbb01b58c3af5794dbd4e0fa1fbab6e8ae83556a0ffec725bf077271abf752f1271ed721ca200a1ff SHA512 dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9 diff --git a/media-libs/ptex/files/ptex-2.1.28-20170213.patch b/media-libs/ptex/files/ptex-2.1.28-20170213.patch deleted file mode 100644 index 335d0778863..000 --- a/media-libs/ptex/files/ptex-2.1.28-20170213.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff -purN a/CMakeLists.txt b/CMakeLists.txt a/CMakeLists.txt 2016-04-04 18:14:05.0 +0100 -+++ b/CMakeLists.txt 2017-02-13 22:59:10.0 + -@@ -16,7 +16,7 @@ else () - endif () - - if (NOT WIN32) --set(CMAKE_CXX_FLAGS "-std=c++98 -Wall -Wextra -pedantic") -+set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") - endif () - - if(MSVC) -diff -purN a/Makefile b/Makefile a/Makefile 2016-04-04 18:14:05.0 +0100 -+++ b/Makefile 2017-02-13 22:59:10.0 + -@@ -17,6 +17,10 @@ ifdef PRMAN_15_COMPATIBLE_PTEX - CMAKE_FLAGS += -DPRMAN_15_COMPATIBLE_PTEX:BOOL=TRUE - endif - -+ifdef TOOLCHAIN -+CMAKE_FLAGS += -DCMAKE_TOOLCHAIN_FILE=$(TOOLCHAIN) -+endif -+ - # make V=1 shortcut for VERBOSE=1 - ifdef V - VERBOSE=1 -diff -purN a/src/ptex/PtexHashMap.h b/src/ptex/PtexHashMap.h a/src/ptex/PtexHashMap.h 2016-04-04 18:14:05.0 +0100 -+++ b/src/ptex/PtexHashMap.h 2017-02-13 22:59:10.0 + -@@ -284,14 +284,11 @@ private: - - Entry* lockEntriesAndGrowIfNeeded(size_t& newMemUsed) - { --while (_size*2 >= _numEntries) { --Entry* entries = lockEntries(); --if (_size*2 >= _numEntries) { --entries = grow(entries, newMemUsed); --} --return entries; -+Entry* entries = lockEntries(); -+if (_size*2 >= _numEntries) { -+entries = grow(entries, newMemUsed); - } --return lockEntries(); -+return entries; - } - - Entry* grow(Entry* oldEntries, size_t& newMemUsed) -diff -purN a/src/ptex/PtexIO.h b/src/ptex/PtexIO.h a/src/ptex/PtexIO.h2016-04-04 18:14:05.0 +0100 -+++ b/src/ptex/PtexIO.h2017-02-13 22:59:10.0 + -@@ -40,6 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE - - PTEX_NAMESPACE_BEGIN - -+#pragma pack(push, 1) - struct Header { - uint32_t magic; - uint32_t version; -@@ -98,6 +99,7 @@ struct EditMetaDataHeader { - uint32_t metadatazipsize; - uint32_t metadatamemsize; - }; -+#pragma pack(pop) - - const uint32_t Magic = 'P' | ('t'<<8) | ('e'<<16) | ('x'<<24); - const int HeaderSize = sizeof(Header); -diff -purN a/.workonrc.products b/.workonrc.products a/.workonrc.products 1970-01-01 01:00:00.0 +0100 -+++ b/.workonrc.products 2017-02-13 22:59:10.0 + -@@ -0,0 +1 @@ -+Ptex diff --git a/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch b/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch deleted file mode 100644 index fd79759f7ed..000 --- a/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -purN
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 21a9661e3ab763b8dff423ede28465b60975d903 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jun 9 20:19:35 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jun 9 20:19:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a9661e media-libs/ptex: amd64 stable wrt bug #687530 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" media-libs/ptex/ptex-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild index 34d9109b886..48580481fd2 100644 --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="static-libs" BDEPEND="app-doc/doxygen"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 25322b913880376f9fc2c493829541a67bbc862a Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 8 18:12:55 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 8 18:12:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25322b91 media-libs/ptex: x86 stable wrt bug #687530 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="x86" media-libs/ptex/ptex-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild index b9d0f650ba9..34d9109b886 100644 --- a/media-libs/ptex/ptex-2.3.2.ebuild +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="static-libs" BDEPEND="app-doc/doxygen"
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 62d6cacafbbada34b561bfcf6d5319115ce600ae Author: Mikle Kolyada gentoo org> AuthorDate: Sat May 25 08:51:48 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat May 25 08:51:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d6caca media-libs/ptex: amd64 stable wrt bug #639806 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" media-libs/ptex/ptex-2.3.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/ptex-2.3.0.ebuild b/media-libs/ptex/ptex-2.3.0.ebuild index b3cec3d387b..ce1f9fd9c98 100644 --- a/media-libs/ptex/ptex-2.3.0.ebuild +++ b/media-libs/ptex/ptex-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="static-libs" RDEPEND="sys-libs/zlib:="
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 086785602b9c2c58becc8cc28d9cc1952643028a Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue May 21 23:18:20 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue May 21 23:18:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08678560 media-libs/ptex: Drop 2.1.28 (r0) Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/ptex/ptex-2.1.28.ebuild | 22 -- 1 file changed, 22 deletions(-) diff --git a/media-libs/ptex/ptex-2.1.28.ebuild b/media-libs/ptex/ptex-2.1.28.ebuild deleted file mode 100644 index b766367ac44..000 --- a/media-libs/ptex/ptex-2.1.28.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Per-Face Texture Mapping for Production Rendering" -HOMEPAGE="http://ptex.us/; -SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND} - app-doc/doxygen" - -KEYWORDS="~amd64 ~x86" - -src_configure() { - local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html ) - cmake-utils_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/
commit: 990682531e4094824f0ba2986193f6876d41e7f0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue May 21 21:18:23 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue May 21 21:55:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99068253 media-libs/ptex: 2.3.2 version bump Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/ptex/Manifest | 1 + media-libs/ptex/files/ptex-2.3.2-cxx11.patch | 22 media-libs/ptex/ptex-2.3.2.ebuild| 39 3 files changed, 62 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index f7c5d0f3e48..439468d5e6e 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1,2 +1,3 @@ DIST ptex-2.1.28.tar.gz 305327 BLAKE2B 4a91b08ae326e8ed8d420022c693ea60cb21908380b8c49a7672771686f9dd2ef05151b7d43755bc63ab6624db772c2b53d1ffdcdea9c1dff7627cc3fe0f3b15 SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 DIST ptex-2.3.0.tar.gz 306462 BLAKE2B 790e3623ce6ebae2dfd8884d8e19e62395c54432289d88bdcf3a01c8ae1ef752ca88869357ac1e4657d59f1ca73d311a3fb9a08efe4e145ca259eff93d8a3b6a SHA512 2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992 +DIST ptex-2.3.2.tar.gz 308550 BLAKE2B 7b3145dbf9d2c13140c3f20ed606ee911deed3c38fd30adfbb01b58c3af5794dbd4e0fa1fbab6e8ae83556a0ffec725bf077271abf752f1271ed721ca200a1ff SHA512 dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9 diff --git a/media-libs/ptex/files/ptex-2.3.2-cxx11.patch b/media-libs/ptex/files/ptex-2.3.2-cxx11.patch new file mode 100644 index 000..f35372b7c63 --- /dev/null +++ b/media-libs/ptex/files/ptex-2.3.2-cxx11.patch @@ -0,0 +1,22 @@ +--- a/CMakeLists.txt 2019-03-08 18:39:47.0 +0100 b/CMakeLists.txt 2019-05-21 23:20:50.964082298 +0200 +@@ -5,19 +5,6 @@ + option(PTEX_BUILD_SHARED_LIBS "Enable building Ptex shared libraries" ON) + option(PRMAN_15_COMPATIBLE_PTEX "Enable PRMan 15 compatibility" OFF) + +-if (DEFINED ENV{CXXFLAGS_STD}) +-if ($ENV{CXXFLAGS_STD} STREQUAL "c++17") +-set(CMAKE_CXX_STANDARD 17) +-elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++14") +-set(CMAKE_CXX_STANDARD 14) +-elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++11") +-set(CMAKE_CXX_STANDARD 11) +-else () +-set(CMAKE_CXX_STANDARD 98) +-endif () +-else () +-set(CMAKE_CXX_STANDARD 98) +-endif () + set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS ON) + set(CMAKE_INSTALL_MESSAGE LAZY) # Silence "Up-to-date:" install messages diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild new file mode 100644 index 000..b9d0f650ba9 --- /dev/null +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Per-Face Texture Mapping for Production Rendering" +HOMEPAGE="http://ptex.us/; +SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +BDEPEND="app-doc/doxygen" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${P}-cxx11.patch" ) + +src_prepare() { + # https://github.com/wdas/ptex/issues/41 + cat <<-EOF > version || die + ${PV} + EOF + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" + -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 33cdee2859b3dd1fdcefafdf905723cf43cb33d4 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 7 14:22:01 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 7 14:22:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33cdee28 media-libs/ptex: Remove unnecessary maint restrict Signed-off-by: Michał Górny gentoo.org> media-libs/ptex/metadata.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml index 51362a39459..343772fb042 100644 --- a/media-libs/ptex/metadata.xml +++ b/media-libs/ptex/metadata.xml @@ -1,11 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + dracw...@gentoo.org Jonathan Scruggs - + agrigo2...@yahoo.com.au Adrian Grigo
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/
commit: cf90a26960bf46cafe077d8eee562044ac4d8dd1 Author: Jonathan Scruggs gmail com> AuthorDate: Wed Aug 15 17:35:27 2018 + Commit: Jonathan Scruggs gentoo org> CommitDate: Wed Aug 15 20:08:17 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf90a269 media-libs/ptex: bump to version 2.3.0 Restrict tests as not fixed upstream: Closes: https://bugs.gentoo.org/646006 media-libs/ptex/Manifest | 1 + media-libs/ptex/files/ptex-2.3.0-cxx11.patch | 12 ++ media-libs/ptex/ptex-2.3.0.ebuild| 33 3 files changed, 46 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index a49cd522665..f7c5d0f3e48 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1 +1,2 @@ DIST ptex-2.1.28.tar.gz 305327 BLAKE2B 4a91b08ae326e8ed8d420022c693ea60cb21908380b8c49a7672771686f9dd2ef05151b7d43755bc63ab6624db772c2b53d1ffdcdea9c1dff7627cc3fe0f3b15 SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 +DIST ptex-2.3.0.tar.gz 306462 BLAKE2B 790e3623ce6ebae2dfd8884d8e19e62395c54432289d88bdcf3a01c8ae1ef752ca88869357ac1e4657d59f1ca73d311a3fb9a08efe4e145ca259eff93d8a3b6a SHA512 2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992 diff --git a/media-libs/ptex/files/ptex-2.3.0-cxx11.patch b/media-libs/ptex/files/ptex-2.3.0-cxx11.patch new file mode 100644 index 000..f0b60009137 --- /dev/null +++ b/media-libs/ptex/files/ptex-2.3.0-cxx11.patch @@ -0,0 +1,12 @@ +diff -purN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2016-04-04 18:14:05.0 +0100 b/CMakeLists.txt 2017-02-13 22:59:10.0 + +@@ -16,7 +16,7 @@ else () + endif () + + if (NOT WIN32) +-set(CMAKE_CXX_FLAGS "-std=c++98 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") ++set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") + endif () + + if(MSVC) diff --git a/media-libs/ptex/ptex-2.3.0.ebuild b/media-libs/ptex/ptex-2.3.0.ebuild new file mode 100644 index 000..b3cec3d387b --- /dev/null +++ b/media-libs/ptex/ptex-2.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Per-Face Texture Mapping for Production Rendering" +HOMEPAGE="http://ptex.us/; +SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +RDEPEND="sys-libs/zlib:=" +DEPEND="${RDEPEND} + app-doc/doxygen" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${P}-cxx11.patch" +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" + -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 04f436f98bb49d3e3229fc9223c62b3756dfed7c Author: Aaron Bauman gentoo org> AuthorDate: Fri Mar 30 15:36:50 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Mar 30 16:04:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f436f9 media-libs/ptex: amd64 stable Bug: https://bugs.gentoo.org/639806 Package-Manager: Portage-2.3.26, Repoman-2.3.7 media-libs/ptex/ptex-2.1.28-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/ptex/ptex-2.1.28-r1.ebuild b/media-libs/ptex/ptex-2.1.28-r1.ebuild index 494ddef43b0..6b688c975e6 100644 --- a/media-libs/ptex/ptex-2.1.28-r1.ebuild +++ b/media-libs/ptex/ptex-2.1.28-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND="sys-libs/zlib:=" DEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: a0461fc32d84ba10e9e5704362cfebb395bfbb95 Author: Jonathan Scruggs gmail com> AuthorDate: Sat Jan 27 15:01:06 2018 + Commit: Jonathan Scruggs gentoo org> CommitDate: Sat Jan 27 17:19:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0461fc3 media-libs/ptex: update metadata information media-libs/ptex/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml index dd7f2efea14..51362a39459 100644 --- a/media-libs/ptex/metadata.xml +++ b/media-libs/ptex/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - j.scru...@gmail.com + dracw...@gentoo.org Jonathan Scruggs
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/
commit: 952cb1555b5ec3b133b5f0deb4fdd26810d5ae47 Author: Jonathan Scruggs gmail com> AuthorDate: Thu Sep 21 09:26:32 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Sep 23 08:37:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952cb155 media-libs/ptex: revision bump to 2.1.28-r1 * Add latest upstream fixes * Add patch to allow custom build types Closes: https://github.com/gentoo/gentoo/pull/5753 media-libs/ptex/files/ptex-2.1.28-20170213.patch | 72 ++ .../ptex-2.1.28-allow-custom-build-type.patch | 39 media-libs/ptex/ptex-2.1.28-r1.ebuild | 25 3 files changed, 136 insertions(+) diff --git a/media-libs/ptex/files/ptex-2.1.28-20170213.patch b/media-libs/ptex/files/ptex-2.1.28-20170213.patch new file mode 100644 index 000..335d0778863 --- /dev/null +++ b/media-libs/ptex/files/ptex-2.1.28-20170213.patch @@ -0,0 +1,72 @@ +diff -purN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2016-04-04 18:14:05.0 +0100 b/CMakeLists.txt 2017-02-13 22:59:10.0 + +@@ -16,7 +16,7 @@ else () + endif () + + if (NOT WIN32) +-set(CMAKE_CXX_FLAGS "-std=c++98 -Wall -Wextra -pedantic") ++set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") + endif () + + if(MSVC) +diff -purN a/Makefile b/Makefile +--- a/Makefile 2016-04-04 18:14:05.0 +0100 b/Makefile 2017-02-13 22:59:10.0 + +@@ -17,6 +17,10 @@ ifdef PRMAN_15_COMPATIBLE_PTEX + CMAKE_FLAGS += -DPRMAN_15_COMPATIBLE_PTEX:BOOL=TRUE + endif + ++ifdef TOOLCHAIN ++CMAKE_FLAGS += -DCMAKE_TOOLCHAIN_FILE=$(TOOLCHAIN) ++endif ++ + # make V=1 shortcut for VERBOSE=1 + ifdef V + VERBOSE=1 +diff -purN a/src/ptex/PtexHashMap.h b/src/ptex/PtexHashMap.h +--- a/src/ptex/PtexHashMap.h 2016-04-04 18:14:05.0 +0100 b/src/ptex/PtexHashMap.h 2017-02-13 22:59:10.0 + +@@ -284,14 +284,11 @@ private: + + Entry* lockEntriesAndGrowIfNeeded(size_t& newMemUsed) + { +-while (_size*2 >= _numEntries) { +-Entry* entries = lockEntries(); +-if (_size*2 >= _numEntries) { +-entries = grow(entries, newMemUsed); +-} +-return entries; ++Entry* entries = lockEntries(); ++if (_size*2 >= _numEntries) { ++entries = grow(entries, newMemUsed); + } +-return lockEntries(); ++return entries; + } + + Entry* grow(Entry* oldEntries, size_t& newMemUsed) +diff -purN a/src/ptex/PtexIO.h b/src/ptex/PtexIO.h +--- a/src/ptex/PtexIO.h2016-04-04 18:14:05.0 +0100 b/src/ptex/PtexIO.h2017-02-13 22:59:10.0 + +@@ -40,6 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + + PTEX_NAMESPACE_BEGIN + ++#pragma pack(push, 1) + struct Header { + uint32_t magic; + uint32_t version; +@@ -98,6 +99,7 @@ struct EditMetaDataHeader { + uint32_t metadatazipsize; + uint32_t metadatamemsize; + }; ++#pragma pack(pop) + + const uint32_t Magic = 'P' | ('t'<<8) | ('e'<<16) | ('x'<<24); + const int HeaderSize = sizeof(Header); +diff -purN a/.workonrc.products b/.workonrc.products +--- a/.workonrc.products 1970-01-01 01:00:00.0 +0100 b/.workonrc.products 2017-02-13 22:59:10.0 + +@@ -0,0 +1 @@ ++Ptex diff --git a/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch b/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch new file mode 100644 index 000..fd79759f7ed --- /dev/null +++ b/media-libs/ptex/files/ptex-2.1.28-allow-custom-build-type.patch @@ -0,0 +1,39 @@ +diff -purN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2017-02-13 22:59:10.0 + b/CMakeLists.txt 2017-08-08 14:19:10.325817085 +0100 +@@ -8,11 +8,16 @@ include(FindThreads) + + enable_testing() + +-# Detect the build type from the $FLAVOR environment variable +-if ("$ENV{FLAVOR}" MATCHES "debug") +-set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "type of build" FORCE) +-else () +-set(CMAKE_BUILD_TYPE "Release" CACHE STRING "type of build" FORCE) ++if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) ++# Detect the build type from the $FLAVOR environment variable ++# Default to optimized Release builds when unspecified. ++if ("$ENV{FLAVOR}" MATCHES "debug") ++set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "type of build" FORCE) ++elseif ("$ENV{FLAVOR}" MATCHES "profile") ++set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "type of build" FORCE) ++else () ++set(CMAKE_BUILD_TYPE "Release" CACHE STRING "type of build" FORCE) ++endif () + endif () + + if (NOT WIN32) +diff -purN a/Makefile b/Makefile +--- a/Makefile 2017-02-13 22:59:10.0 + b/Makefile 2017-08-08 14:19:16.939829578 +0100 +@@ -21,6 +21,10 @@ ifdef TOOLCHAIN + CMAKE_FLAGS += -DCMAKE_TOOLCHAIN_FILE=$(TOOLCHAIN) +
[gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/
commit: 74468a07030339cc74cab6a2382167d7bf3ebf80 Author: Jonathan Scruggs gmail com> AuthorDate: Wed Oct 12 12:12:19 2016 + Commit: David Seifert gentoo org> CommitDate: Sat Oct 22 23:25:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74468a07 media-libs/ptex: New package Ptex is a texture mapping system developed by Walt Disney Animation Studios for production-quality rendering: - No UV assignment is required! Ptex applies a separate texture to each face of a subdivision or polygon mesh. - The Ptex file format can efficiently store hundreds of thousands of texture images in a single file. - The Ptex API provides cached file I/O and high-quality filtering: everything that is needed to easily add Ptex support to a production-quality renderer or texture authoring application. Gentoo-Bug: 573444 Signed off by: Jonathan Scruggs (j.scruggs gmail.com, irc: Dracwyrm) Signed off by: Adrian Grigo (agrigo2001 yahoo.com.au) Closes: https://github.com/gentoo/gentoo/pull/2531 Signed-off-by: David Seifert gentoo.org> media-libs/ptex/Manifest | 1 + media-libs/ptex/metadata.xml | 19 +++ media-libs/ptex/ptex-2.1.28.ebuild | 23 +++ 3 files changed, 43 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest new file mode 100644 index ..a9e65e00 --- /dev/null +++ b/media-libs/ptex/Manifest @@ -0,0 +1 @@ +DIST ptex-2.1.28.tar.gz 305327 SHA256 919af3cc56a7617079757bac5c0202f4375acf21861a3990e313739e56a6142c SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 WHIRLPOOL 996faad06ce8f016d24c8ec82e4422eab0e576976184bb27c24a3843eede53a3a2db5a6f572148c55bed3c6953dcdba30fa5d38e82fc1ea76e907bb5730fe5c7 diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml new file mode 100644 index ..b59312f --- /dev/null +++ b/media-libs/ptex/metadata.xml @@ -0,0 +1,19 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + j.scru...@gmail.com + Jonathan Scruggs + + + agrigo2...@yahoo.com.au + Adrian Grigo + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + Per-Face Texture Mapping for Production Rendering. + + diff --git a/media-libs/ptex/ptex-2.1.28.ebuild b/media-libs/ptex/ptex-2.1.28.ebuild new file mode 100644 index ..adefaa4 --- /dev/null +++ b/media-libs/ptex/ptex-2.1.28.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Per-Face Texture Mapping for Production Rendering" +HOMEPAGE="http://ptex.us/; +SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + app-doc/doxygen" + +KEYWORDS="~amd64 ~x86" + +src_configure() { + local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html ) + cmake-utils_src_configure +}