From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC084138337 for ; Wed, 12 Jun 2019 10:03:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7649E093E; Wed, 12 Jun 2019 10:03:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE1E0E093E for ; Wed, 12 Jun 2019 10:03:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6377F345F1D for ; Wed, 12 Jun 2019 10:03:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14DCD619 for ; Wed, 12 Jun 2019 10:03:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1560333814.1ecda4f6fe77c57f8fbedd6abde2fea46a8933e0.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/alembic/, media-gfx/alembic/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/alembic/Manifest media-gfx/alembic/alembic-1.7.4.ebuild media-gfx/alembic/files/alembic-CMakeLists-fix_lib.patch media-gfx/alembic/files/alembic-fix-importerror.patch media-gfx/alembic/metadata.xml X-VCS-Directories: media-gfx/alembic/files/ media-gfx/alembic/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1ecda4f6fe77c57f8fbedd6abde2fea46a8933e0 X-VCS-Branch: master Date: Wed, 12 Jun 2019 10:03:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1159a926-238b-47fb-8133-7053197cf485 X-Archives-Hash: 0f44c5dcd3ae0f3cb3c79d64fd4cee94 commit: 1ecda4f6fe77c57f8fbedd6abde2fea46a8933e0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jun 12 10:01:36 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 12 10:03:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecda4f6 media-gfx/alembic: Drop 1.7.4 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/alembic/Manifest | 1 - media-gfx/alembic/alembic-1.7.4.ebuild | 101 ---------------- .../alembic/files/alembic-CMakeLists-fix_lib.patch | 132 --------------------- .../alembic/files/alembic-fix-importerror.patch | 17 --- media-gfx/alembic/metadata.xml | 4 - 5 files changed, 255 deletions(-) diff --git a/media-gfx/alembic/Manifest b/media-gfx/alembic/Manifest index 9e761d9c16c..86ce90b5899 100644 --- a/media-gfx/alembic/Manifest +++ b/media-gfx/alembic/Manifest @@ -1,2 +1 @@ -DIST alembic-1.7.4.tar.gz 805503 BLAKE2B b8a8b986d0323dbe3748e1dde5436d66e08620a28852c3331ee612d43a414e381a1cdbbb63200b8f146ce94ebb0e3d0ae6f70f33575bd9ff25e9121f2cd73d1a SHA512 8e752d6d85bea3b6a53582d35a589fc40824456098d950974effe0a6a0e359fec1e056af1ea1379f7e23b7ffed2c05c7f5269fa4b64757631b7d57fb60ee98b0 DIST alembic-1.7.9.tar.gz 813379 BLAKE2B 599edeb5ad805656755b3e150fba56182d1d60673951b0c1702b3e3e82d9499ec4fcb938303103c27f84458f61ab8de4b872eaa322380ae7713e3b4cd3831af7 SHA512 8025c20525ffbd5bdc9dd5a33ad8238e49f063d244ab9d112e7d1ddb7ee7cf9b36ceb74cb45d658ce22d3033552c89bddf6b818cf466ea46aa1a70a41fdeddb2 diff --git a/media-gfx/alembic/alembic-1.7.4.ebuild b/media-gfx/alembic/alembic-1.7.4.ebuild deleted file mode 100644 index 542642f08d7..00000000000 --- a/media-gfx/alembic/alembic-1.7.4.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-single-r1 cmake-utils - -DESCRIPTION="Alembic is an open framework for storing and sharing scene data" -HOMEPAGE="https://www.alembic.io" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+boost doc hdf5 pyalembic test +zlib" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - hdf5? ( zlib ) - pyalembic? ( boost )" - -DEPEND=" - ${PYTHON_DEP} - >=dev-util/cmake-3.7.2 - boost? ( >=dev-libs/boost-1.62.0-r1 ) - doc? ( >=app-doc/doxygen-1.8.13-r1 ) - pyalembic? ( >=dev-python/pyilmbase-2.2.0 )" - -RDEPEND=" - ${PYTHON_DEP} - >=media-libs/openexr-2.2.0-r2 - hdf5? ( >=sci-libs/hdf5-1.8.18[zlib(+)] ) - zlib? ( >=sys-libs/zlib-1.2.11-r1 )" - -DOCS=( ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt ) - -PATCHES=( - "${FILESDIR}/${PN}-FindIlmBase-pkgconfig.patch" - "${FILESDIR}/${PN}-CMakeLists-fix_lib.patch" - "${FILESDIR}/${PN}-fix-importerror.patch" -) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - cmake-utils_src_prepare -} - -# Static linking, the use of tr1 and support for prman might be added -# in the future. -src_configure() { - # I don't have a license for arnold renderer or maya so I disable them - # as default. - # Also I'm currently not using renderman, so I disable the prman flag - # by default too. - local mycmakeargs=( - -DUSE_ARNOLD=OFF - -DUSE_BINARIES=ON - -DUSE_EXAMPLES=OFF - -DUSE_HDF5=$(usex hdf5) - -DUSE_MAYA=OFF - -DUSE_PRMAN=OFF - -DUSE_PYALEMBIC=$(usex pyalembic) - -DUSE_STATIC_BOOST=OFF # I won't use static libraries - -DUSE_STATIC_HDF5=OFF - -DUSE_TESTS=$(usex test) - -DALEMBIC_ILMBASE_LINK_STATIC=OFF # I don't want to link statically against ilmbase - -DALEMBIC_SHARED_LIBS=ON # For now let's ignore building static libraries - -DALEMBIC_LIB_USES_BOOST=$(usex boost) - -DALEMBIC_LIB_USES_TR1=$(usex !boost) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - doxygen -u Doxyfile - doxygen Doxyfile - fi -} - -src_test() { - if use test; then - cmake-utils_src_test - fi -} - -src_install() { - DESTDIR="${D}" cmake-utils_src_install - if use doc; then - dodoc -r "doc/html" - fi - - # move the cmake files from lib->lib64 - mv "${D}/usr/lib/cmake" "${D}/usr/lib64/cmake" || die - rm -rv "${D}/usr/lib" || die -} diff --git a/media-gfx/alembic/files/alembic-CMakeLists-fix_lib.patch b/media-gfx/alembic/files/alembic-CMakeLists-fix_lib.patch deleted file mode 100644 index c653927ecbe..00000000000 --- a/media-gfx/alembic/files/alembic-CMakeLists-fix_lib.patch +++ /dev/null @@ -1,132 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d84f002..a35b662 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -79,12 +79,12 @@ OPTION(ALEMBIC_LIB_USES_TR1 - - # Set static/dynamic build options - SET(LIB_TYPE STATIC) --SET(RUNTIME_INSTALL_DIR lib) --SET(LIBRARY_INSTALL_DIR lib) --SET(ARCHIVE_INSTALL_DIR lib) -+SET(RUNTIME_INSTALL_DIR lib64) -+SET(LIBRARY_INSTALL_DIR lib64) -+SET(ARCHIVE_INSTALL_DIR lib64) - IF (ALEMBIC_SHARED_LIBS) - SET(LIB_TYPE SHARED) -- SET(ARCHIVE_INSTALL_DIR lib) -+ SET(ARCHIVE_INSTALL_DIR lib64) - IF (WIN32) - ADD_DEFINITIONS(-DALEMBIC_DLL) - ENDIF() -diff --git a/bin/AbcConvert/CMakeLists.txt b/bin/AbcConvert/CMakeLists.txt -index 3725ed7..edea767 100644 ---- a/bin/AbcConvert/CMakeLists.txt -+++ b/bin/AbcConvert/CMakeLists.txt -@@ -38,6 +38,6 @@ TARGET_LINK_LIBRARIES(abcconvert Alembic) - - set_target_properties(abcconvert PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abcconvert DESTINATION bin) -diff --git a/bin/AbcDiff/CMakeLists.txt b/bin/AbcDiff/CMakeLists.txt -index e2fd355..2234650 100644 ---- a/bin/AbcDiff/CMakeLists.txt -+++ b/bin/AbcDiff/CMakeLists.txt -@@ -38,6 +38,6 @@ TARGET_LINK_LIBRARIES(abcdiff Alembic) - - set_target_properties(abcdiff PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abcdiff DESTINATION bin) -diff --git a/bin/AbcEcho/CMakeLists.txt b/bin/AbcEcho/CMakeLists.txt -index 396226e..116c122 100644 ---- a/bin/AbcEcho/CMakeLists.txt -+++ b/bin/AbcEcho/CMakeLists.txt -@@ -41,6 +41,6 @@ TARGET_LINK_LIBRARIES(abcechobounds Alembic) - - set_target_properties(abcecho abcechobounds PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abcecho abcechobounds DESTINATION bin) -diff --git a/bin/AbcLs/CMakeLists.txt b/bin/AbcLs/CMakeLists.txt -index 1dbeb9d..7b721d0 100644 ---- a/bin/AbcLs/CMakeLists.txt -+++ b/bin/AbcLs/CMakeLists.txt -@@ -39,6 +39,6 @@ TARGET_LINK_LIBRARIES(abcls Alembic) - - set_target_properties(abcls PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abcls DESTINATION bin) -diff --git a/bin/AbcStitcher/CMakeLists.txt b/bin/AbcStitcher/CMakeLists.txt -index 3106bf2..0c8a205 100644 ---- a/bin/AbcStitcher/CMakeLists.txt -+++ b/bin/AbcStitcher/CMakeLists.txt -@@ -38,6 +38,6 @@ TARGET_LINK_LIBRARIES(abcstitcher Alembic) - - set_target_properties(abcstitcher PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abcstitcher DESTINATION bin) -diff --git a/bin/AbcTree/CMakeLists.txt b/bin/AbcTree/CMakeLists.txt -index 3c41004..de7c7fc 100644 ---- a/bin/AbcTree/CMakeLists.txt -+++ b/bin/AbcTree/CMakeLists.txt -@@ -38,6 +38,6 @@ TARGET_LINK_LIBRARIES(abctree Alembic) - - set_target_properties(abctree PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - - INSTALL(TARGETS abctree DESTINATION bin) -diff --git a/lib/Alembic/CMakeLists.txt b/lib/Alembic/CMakeLists.txt -index 3e16518..b07cb7d 100644 ---- a/lib/Alembic/CMakeLists.txt -+++ b/lib/Alembic/CMakeLists.txt -@@ -86,9 +86,9 @@ ENDIF() - - INSTALL(TARGETS Alembic - EXPORT AlembicTargets -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -- RUNTIME DESTINATION lib) -+ LIBRARY DESTINATION lib64 -+ ARCHIVE DESTINATION lib64 -+ RUNTIME DESTINATION lib64) - - #-****************************************************************************** - # PACKAGE EXPORTS -diff --git a/python/PyAlembic/CMakeLists.txt b/python/PyAlembic/CMakeLists.txt -index 06daf30..254ca2b 100644 ---- a/python/PyAlembic/CMakeLists.txt -+++ b/python/PyAlembic/CMakeLists.txt -@@ -128,7 +128,7 @@ IF (Boost_PYTHON_LIBRARY AND ALEMBIC_PYTHON_LIBRARY) - ) - - INSTALL (TARGETS alembic -- DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages -+ DESTINATION lib64/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages - ) - - IF (USE_TESTS) -@@ -137,7 +137,7 @@ IF (Boost_PYTHON_LIBRARY AND ALEMBIC_PYTHON_LIBRARY) - - set_target_properties(alembic PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE -- INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) -+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib64) - ELSE() - MESSAGE(FATAL_ERROR "Unable to find Python libs") - ENDIF() diff --git a/media-gfx/alembic/files/alembic-fix-importerror.patch b/media-gfx/alembic/files/alembic-fix-importerror.patch deleted file mode 100644 index 8a86f08c733..00000000000 --- a/media-gfx/alembic/files/alembic-fix-importerror.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/python/PyAlembic/CMakeLists.txt b/python/PyAlembic/CMakeLists.txt -index 254ca2b..c8c915a 100644 ---- a/python/PyAlembic/CMakeLists.txt -+++ b/python/PyAlembic/CMakeLists.txt -@@ -45,6 +45,12 @@ IF (Boost_PYTHON_LIBRARY AND ALEMBIC_PYTHON_LIBRARY) - ADD_DEFINITIONS(-Wno-unused-local-typedefs) - ENDIF() - -+ # fix for ImportError: dynamic module does not define init function (initalembic) -+ # see: https://github.com/alembic/alembic/issues/142 -+ IF (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") -+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=default") -+ ENDIF() -+ - SET(CPP_FILES - PyAbcCoreLayer.cpp - PyAbcGeomTypes.cpp diff --git a/media-gfx/alembic/metadata.xml b/media-gfx/alembic/metadata.xml index 30e01e315c7..4166d46b5bc 100644 --- a/media-gfx/alembic/metadata.xml +++ b/media-gfx/alembic/metadata.xml @@ -26,10 +26,6 @@ Compile Alembic plugin for Renderman (experimental) - - - Build pyalembic python bindings (needs dev-python/pyilmbase) - Build pyalembic python bindings (needs dev-python/pyilmbase)