commit:     b055f5b8a2f097b72bc00e6e980ee61b823cb99d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 22:03:42 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 22:08:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b055f5b8

media-gfx/freecad: Drop 0.17_pre and 9999

Live ebuild is broken beyond repair until some Qt5 version finds its way.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-gfx/freecad/freecad-0.17_pre.ebuild | 132 -----------------------------
 media-gfx/freecad/freecad-9999.ebuild     | 134 ------------------------------
 2 files changed, 266 deletions(-)

diff --git a/media-gfx/freecad/freecad-0.17_pre.ebuild 
b/media-gfx/freecad/freecad-0.17_pre.ebuild
deleted file mode 100644
index 46964014555..00000000000
--- a/media-gfx/freecad/freecad-0.17_pre.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils eutils xdg-utils fortran-2 python-single-r1
-
-DESCRIPTION="Qt based Computer Aided Design application"
-HOMEPAGE="https://www.freecadweb.org/";
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/FreeCAD/FreeCAD.git";
-else
-       SRC_URI="https://github.com/FreeCAD/FreeCAD/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-       ${PYTHON_DEPS}
-       dev-cpp/eigen:3
-       dev-java/xerces
-       dev-libs/boost:=[python,${PYTHON_USEDEP}]
-       dev-libs/xerces-c[icu]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/pyside:0[X,svg,${PYTHON_USEDEP}]
-       dev-python/shiboken:0[${PYTHON_USEDEP}]
-       dev-qt/designer:4
-       dev-qt/qtgui:4[-egl]
-       dev-qt/qtopengl:4[-egl]
-       dev-qt/qtsvg:4
-       dev-qt/qtwebkit:4
-       media-libs/coin
-       media-libs/freetype
-       sci-libs/opencascade:*[vtk(+)]
-       sci-libs/orocos_kdl
-       sys-libs/zlib
-       virtual/glu"
-RDEPEND="${COMMON_DEPEND}
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/pivy[${PYTHON_USEDEP}]
-       dev-qt/assistant:4"
-DEPEND="${COMMON_DEPEND}
-       >=dev-lang/swig-2.0.4-r1:0
-       dev-python/pyside-tools:0[${PYTHON_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.14.3702-install-paths.patch
-)
-
-# https://bugs.gentoo.org/show_bug.cgi?id=352435
-# 
https://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt
-RESTRICT="mirror"
-
-# TODO:
-#   DEPEND and RDEPEND:
-#              salome-smesh - science overlay
-#              zipio++ - not in portage yet
-
-S="${WORKDIR}/FreeCAD-${PV}"
-
-DOCS=( README.md ChangeLog.txt )
-
-pkg_setup() {
-       fortran-2_pkg_setup
-       python-single-r1_pkg_setup
-
-       [[ -z ${CASROOT} ]] && die "empty \$CASROOT, run eselect opencascade 
set or define otherwise"
-}
-
-src_configure() {
-       export QT_SELECT=4
-
-       #-DOCC_* defined with cMake/FindOpenCasCade.cmake
-       #-DCOIN3D_* defined with cMake/FindCoin3D.cmake
-       #-DSOQT_ not used
-       local mycmakeargs=(
-               -DOCC_INCLUDE_DIR="${CASROOT}"/inc
-               -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)
-               -DCMAKE_INSTALL_DATADIR=share/${P}
-               -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
-               -DCMAKE_INSTALL_INCLUDEDIR=include/${P}
-               -DFREECAD_USE_EXTERNAL_KDL="ON"
-       )
-
-       # TODO to remove embedded dependencies:
-       #
-       #       -DFREECAD_USE_EXTERNAL_ZIPIOS="ON" -- this option needs 
zipios++ but it's not yet in portage so the embedded zipios++
-       #                (under src/zipios++) will be used
-       #       salomesmesh is in 3rdparty but upstream's find_package function 
is not complete yet to compile against external version
-       #                (external salomesmesh is available in "science" 
overlay)
-
-       cmake-utils_src_configure
-       einfo "${P} will be built against opencascade version ${CASROOT}"
-}
-
-src_install() {
-       cmake-utils_src_install
-
-       make_desktop_entry FreeCAD "FreeCAD" "" "" 
"MimeType=application/x-extension-fcstd;"
-
-       # install mimetype for FreeCAD files
-       insinto /usr/share/mime/packages
-       newins "${FILESDIR}"/${PN}.sharedmimeinfo "${PN}.xml"
-
-       # install icons to correct place rather than /usr/share/freecad
-       pushd "${ED%/}"/usr/share/${P} || die
-       local size
-       for size in 16 32 48 64; do
-               newicon -s ${size} freecad-icon-${size}.png freecad.png
-       done
-       doicon -s scalable freecad.svg
-       newicon -s 64 -c mimetypes freecad-doc.png 
application-x-extension-fcstd.png
-       popd || die
-
-       python_optimize "${ED%/}"/usr/{,share/${P}/}Mod/
-}
-
-pkg_postinst() {
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       xdg_mimeinfo_database_update
-}

diff --git a/media-gfx/freecad/freecad-9999.ebuild 
b/media-gfx/freecad/freecad-9999.ebuild
deleted file mode 100644
index 13355e49800..00000000000
--- a/media-gfx/freecad/freecad-9999.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils eutils xdg-utils gnome2-utils fortran-2 python-single-r1
-
-DESCRIPTION="Qt based Computer Aided Design application"
-HOMEPAGE="https://www.freecadweb.org/";
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/FreeCAD/FreeCAD.git";
-else
-       SRC_URI="https://github.com/FreeCAD/FreeCAD/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-#dev-qt/qtgui:4[-egl] and dev-qt/qtopengl:4[-egl] : Bug 564978
-#dev-python/pyside[svg] : Bug 591012
-COMMON_DEPEND="
-       ${PYTHON_DEPS}
-       dev-cpp/eigen:3
-       dev-java/xerces
-       dev-libs/boost:=[python,${PYTHON_USEDEP}]
-       dev-libs/xerces-c[icu]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/pyside:0[X,svg,${PYTHON_USEDEP}]
-       dev-python/shiboken:0[${PYTHON_USEDEP}]
-       dev-qt/designer:4
-       dev-qt/qtgui:4[-egl]
-       dev-qt/qtopengl:4[-egl]
-       dev-qt/qtsvg:4
-       dev-qt/qtwebkit:4
-       media-libs/coin
-       media-libs/freetype
-       sci-libs/opencascade:*[vtk(+)]
-       sci-libs/orocos_kdl
-       sys-libs/zlib
-       virtual/glu"
-RDEPEND="${COMMON_DEPEND}
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/pivy[${PYTHON_USEDEP}]
-       dev-qt/assistant:4"
-DEPEND="${COMMON_DEPEND}
-       >=dev-lang/swig-2.0.4-r1:0
-       dev-python/pyside-tools:0[${PYTHON_USEDEP}]"
-
-# https://bugs.gentoo.org/show_bug.cgi?id=352435
-# 
https://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt
-RESTRICT="mirror"
-
-# TODO:
-#   DEPEND and RDEPEND:
-#              salome-smesh - science overlay
-#              zipio++ - not in portage yet
-
-DOCS=( README.md ChangeLog.txt )
-
-pkg_setup() {
-       fortran-2_pkg_setup
-       python-single-r1_pkg_setup
-
-       [[ -z ${CASROOT} ]] && die "empty \$CASROOT, run eselect opencascade 
set or define otherwise"
-}
-
-src_configure() {
-       export QT_SELECT=4
-
-       #-DOCC_* defined with cMake/FindOpenCasCade.cmake
-       #-DCOIN3D_* defined with cMake/FindCoin3D.cmake
-       #-DSOQT_ not used
-       local mycmakeargs=(
-               -DOCC_INCLUDE_DIR="${CASROOT}"/inc
-               -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)
-               -DCMAKE_INSTALL_DATADIR=/usr/share/${P}
-               -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-               -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/${P}
-               -DFREECAD_USE_EXTERNAL_KDL="ON"
-       )
-
-       # TODO to remove embedded dependencies:
-       #
-       #       -DFREECAD_USE_EXTERNAL_ZIPIOS="ON" -- this option needs 
zipios++ but it's not yet in portage so the embedded zipios++
-       #                (under src/zipios++) will be used
-       #       salomesmesh is in 3rdparty but upstream's find_package function 
is not complete yet to compile against external version
-       #                (external salomesmesh is available in "science" 
overlay)
-
-       cmake-utils_src_configure
-       einfo "${P} will be built against opencascade version ${CASROOT}"
-}
-
-src_install() {
-       cmake-utils_src_install
-
-       make_desktop_entry FreeCAD "FreeCAD" "" "" 
"MimeType=application/x-extension-fcstd;"
-
-       # install mimetype for FreeCAD files
-       insinto /usr/share/mime/packages
-       newins "${FILESDIR}"/${PN}.sharedmimeinfo "${PN}.xml"
-
-       # install icons to correct place rather than /usr/share/freecad
-       pushd "${ED%/}"/usr/share/${P} || die
-       local size
-       for size in 16 32 48 64; do
-               newicon -s ${size} freecad-icon-${size}.png freecad.png
-       done
-       doicon -s scalable freecad.svg
-       newicon -s 64 -c mimetypes freecad-doc.png 
application-x-extension-fcstd.png
-       popd || die
-
-       python_optimize "${ED%/}"/usr/{,share/${P}/}Mod/
-}
-
-pkg_postinst() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-
-       gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-
-       gnome2_icon_cache_update
-}

Reply via email to