From 2806505cbc33838a8cb745b4d7d6d949e80cb539 Mon Sep 17 00:00:00 2001 From: blshkv Date: Fri, 22 Mar 2019 13:14:10 +0800 Subject: [PATCH] cutter: remove in gentoo's favour --- dev-util/cutter/Manifest | 2 - dev-util/cutter/cutter-1.7.3.ebuild | 57 ------------------- dev-util/cutter/cutter-1.7.4.ebuild | 57 ------------------- .../files/cutter-1.7.3-python3-config.patch | 20 ------- .../files/cutter-1.7.4-python3-config.patch | 20 ------- dev-util/cutter/metadata.xml | 19 ------- 6 files changed, 175 deletions(-) delete mode 100644 dev-util/cutter/Manifest delete mode 100644 dev-util/cutter/cutter-1.7.3.ebuild delete mode 100644 dev-util/cutter/cutter-1.7.4.ebuild delete mode 100644 dev-util/cutter/files/cutter-1.7.3-python3-config.patch delete mode 100644 dev-util/cutter/files/cutter-1.7.4-python3-config.patch delete mode 100644 dev-util/cutter/metadata.xml diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest deleted file mode 100644 index e54af0aea..000000000 --- a/dev-util/cutter/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cutter-1.7.3.tar.gz 1174352 BLAKE2B 7fbab43442d9bb6e49a6437db9b763112b1c4af3b9fdf849caa6d06b528e9f388e98f75baf117fbe4903de05ba3ddbb0c850c03f392f4aa1c77766e0911b366f SHA512 c764f637158476a8095fa1adfc6ba6fe2e35c01239995514f4b110e5ee3503c9b575737fb6d6886ec93f3468b9d317948e36bd442a32595b04da71d99ae4e853 -DIST cutter-1.7.4.tar.gz 1182307 BLAKE2B 7b80c99654c430c7d694b658c5757a0f75463f02867ca33baa12bbd84a16782421350b5db63c90dd999a17b89865ecc5a87783f2a5e6df2a7395f957076c3e28 SHA512 d5750e756b51a0a140f53946b7cd7ed6f12b81c798335873781d5ecb906012fe0e257ff27e5c75e0ece6000f65a8b602530d80e6f9da22abbb8beac6573db6ac diff --git a/dev-util/cutter/cutter-1.7.3.ebuild b/dev-util/cutter/cutter-1.7.3.ebuild deleted file mode 100644 index bc74394cd..000000000 --- a/dev-util/cutter/cutter-1.7.3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2019 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit qmake-utils xdg-utils gnome2-utils - -DESCRIPTION="A Qt and C++ GUI for radare2 reverse engineering framework" -HOMEPAGE="https://www.radare.org" -SRC_URI="https://github.com/radareorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jupyter webengine" -REQUIRED_USE="webengine? ( jupyter )" - -DEPEND=" - >=dev-qt/qtcore-5.9.1:5 - >=dev-qt/qtgui-5.9.1:5 - >=dev-qt/qtnetwork-5.9.1:5 - >=dev-qt/qtsvg-5.9.1:5 - >=dev-qt/qtwidgets-5.9.1:5 - >=dev-util/radare2-3.1.3 - jupyter? ( dev-python/jupyter ) - webengine? ( >=dev-qt/qtwebengine-5.9.1:5[widgets] ) -" - -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-python3-config.patch" -) - -src_configure() { - local myqmakeargs=( - CUTTER_ENABLE_JUPYTER=$(usex jupyter true false) - CUTTER_ENABLE_QTWEBENGINE=$(usex webengine true false) - PREFIX=\'${EPREFIX}/usr\' - ) - - eqmake5 "${myqmakeargs[@]}" src -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -} diff --git a/dev-util/cutter/cutter-1.7.4.ebuild b/dev-util/cutter/cutter-1.7.4.ebuild deleted file mode 100644 index bc74394cd..000000000 --- a/dev-util/cutter/cutter-1.7.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2019 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit qmake-utils xdg-utils gnome2-utils - -DESCRIPTION="A Qt and C++ GUI for radare2 reverse engineering framework" -HOMEPAGE="https://www.radare.org" -SRC_URI="https://github.com/radareorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="jupyter webengine" -REQUIRED_USE="webengine? ( jupyter )" - -DEPEND=" - >=dev-qt/qtcore-5.9.1:5 - >=dev-qt/qtgui-5.9.1:5 - >=dev-qt/qtnetwork-5.9.1:5 - >=dev-qt/qtsvg-5.9.1:5 - >=dev-qt/qtwidgets-5.9.1:5 - >=dev-util/radare2-3.1.3 - jupyter? ( dev-python/jupyter ) - webengine? ( >=dev-qt/qtwebengine-5.9.1:5[widgets] ) -" - -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-python3-config.patch" -) - -src_configure() { - local myqmakeargs=( - CUTTER_ENABLE_JUPYTER=$(usex jupyter true false) - CUTTER_ENABLE_QTWEBENGINE=$(usex webengine true false) - PREFIX=\'${EPREFIX}/usr\' - ) - - eqmake5 "${myqmakeargs[@]}" src -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -} diff --git a/dev-util/cutter/files/cutter-1.7.3-python3-config.patch b/dev-util/cutter/files/cutter-1.7.3-python3-config.patch deleted file mode 100644 index 51a811dbb..000000000 --- a/dev-util/cutter/files/cutter-1.7.3-python3-config.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/Cutter.pro 2018-04-24 17:43:11.000000000 +0900 -+++ b/src/Cutter.pro 2018-07-08 21:21:34.280748499 +0900 -@@ -74,11 +74,13 @@ - LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python - DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED - } else { -- CONFIG += link_pkgconfig -- !packagesExist(python3) { -- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") -+ system(type python3-config) { -+ LIBS += $$system(python3-config --libs) -+ TMP = $$system(python3-config --includes) -+ INCLUDEPATH += $$replace(TMP, "-I", "") -+ } else { -+ error("ERROR: Python 3 could not be found. Make sure it is available to python3-config.") - } -- PKGCONFIG += python3 - } - } - diff --git a/dev-util/cutter/files/cutter-1.7.4-python3-config.patch b/dev-util/cutter/files/cutter-1.7.4-python3-config.patch deleted file mode 100644 index 51a811dbb..000000000 --- a/dev-util/cutter/files/cutter-1.7.4-python3-config.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/Cutter.pro 2018-04-24 17:43:11.000000000 +0900 -+++ b/src/Cutter.pro 2018-07-08 21:21:34.280748499 +0900 -@@ -74,11 +74,13 @@ - LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python - DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED - } else { -- CONFIG += link_pkgconfig -- !packagesExist(python3) { -- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") -+ system(type python3-config) { -+ LIBS += $$system(python3-config --libs) -+ TMP = $$system(python3-config --includes) -+ INCLUDEPATH += $$replace(TMP, "-I", "") -+ } else { -+ error("ERROR: Python 3 could not be found. Make sure it is available to python3-config.") - } -- PKGCONFIG += python3 - } - } - diff --git a/dev-util/cutter/metadata.xml b/dev-util/cutter/metadata.xml deleted file mode 100644 index f2af393db..000000000 --- a/dev-util/cutter/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - otakuto.gentoo@gmail.com - Tact Yoshida - - - proxy-maint@gentoo.org - Proxy Maintainers - - - radareorg/cutter - - - Add support for jupyter notebook - Use dev-qt/qtwebengine for in-app jupyter browser - -