diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/kscope |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/kscope')
-rw-r--r-- | dev-util/kscope/Manifest | 7 | ||||
-rw-r--r-- | dev-util/kscope/files/kscope-1.9.4-actions.patch | 90 | ||||
-rw-r--r-- | dev-util/kscope/files/kscope-1.9.4-underlinking.patch | 13 | ||||
-rw-r--r-- | dev-util/kscope/kscope-1.9.4-r2.ebuild | 37 | ||||
-rw-r--r-- | dev-util/kscope/metadata.xml | 11 |
5 files changed, 158 insertions, 0 deletions
diff --git a/dev-util/kscope/Manifest b/dev-util/kscope/Manifest new file mode 100644 index 000000000000..0b4734e48053 --- /dev/null +++ b/dev-util/kscope/Manifest @@ -0,0 +1,7 @@ +AUX kscope-1.9.4-actions.patch 3325 SHA256 6404f7f30657473237cb2a992baa80ef5a5aef072192dc5e2edee046464d2744 SHA512 16ac276db12297b6d7068cd4e854e45c76170062bbf83ebb2bb46a60ba198987d309186dd5f41e64567167fe69b3cd4f7f2949e94feefa9a84ea2eb27887e90a WHIRLPOOL 77b17d61798e9f961389ecf7ce2751e6736525ccc8106511cd7c19960462a64c29d849eae3baea3bda7d2561cf9946d84297d6f9c40cdf1f78a7d79ad951e1d1 +AUX kscope-1.9.4-underlinking.patch 419 SHA256 7f6992dc92e6b2afaffdc5139910b9802e39ea36086ffc6e0c7b9a0242c1e55c SHA512 8e5f4a6d07e193b99af5f174306acee35ea56c98e3c36b2e6d15367da7ce52acdbdacad62257ca61bedf7bd0978f69a58cd6c984f82b12bef0145e704e17d066 WHIRLPOOL 7051abc607de8d24489f9c72de5af47a175ae310c1c92337c820efccdb479ad7833a218c6e53b0d00d0cff8ad8c99ec8626ff9bd1453896e7c9c681a928c3a68 +DIST kscope-1.9.4.tar.gz 127892 SHA256 7bd35960afa29026f8e0c4a827868e93b4d7c6e81796ceb89f086efbc24636df SHA512 744bd8a57031c0253e37521ddc42ee1cc173bfb8490130592a1a6478525c3ea0bcc17d2c2e01adb72cc14adc96298ee69a235c16fc2a42b301de4d30ef287a3b WHIRLPOOL 9a589021253cae7625178cc3e90db9537cc795c967c45e408d10e50d305624c8dfc92208bc64331f4478b46eede5da08b2109ba42f4e990140f2736694c10d2b +EBUILD kscope-1.9.4-r2.ebuild 919 SHA256 862a91bcdd92fab742559407b317deb8ab1a036e8f57e05905eb4f7fee3debef SHA512 7838ef1a0659c03f43bfc894526f37f3d2576860c0596ec13866f66d0d32ce52b04fa2f07c731d3ab6ab0b914f317335ded3615fd1ada2009b06da09721c8ea5 WHIRLPOOL fc0fdb018017d74362368257210daef30c0868ea3246d6c8c25f1d2401b168916fb46c81c02751610229c6352000203ec364418314fd5235ade0fdb6bfcc2b08 +MISC ChangeLog 2507 SHA256 d8462e4757e583553c375504821e7c4fb2e437d635d9a5a554e1e8eef766ec08 SHA512 933e62d1e0b072db620e12293786c3bc5210fc8fe64408df2fa8aa1e046b4722eea8aba2031b7223fd7b7937e742b6ff766a76cc66b75eb891fdca8d945ac69b WHIRLPOOL 7105059411f05da16c9e60db2e8ec32bae3945ec3fddbf9af122a4de27b636b8c43714ffcc082028e1dc1537d3dfc2c3cb02ad8fc77d6411eae3771bde7a296d +MISC ChangeLog-2015 7095 SHA256 bec0f66e8a92ddb38d9f8e81e0f891fbfabbea2bef2932fbbf60ec426ffca2e4 SHA512 b4948cac3ca18fee2f0fae202f901dce2246d06563661f945fe3426585468768d10140d3cfed52977f4fcefaa8758ca255ac098146ee0e582b715a716039cd50 WHIRLPOOL 7312560bb6ed72eda5055e522011b235399a6b118dc526beea1194335f6c2a2340a993a74610083e2413a1982961da6cce7b7d8b716786e00b9e26e8d83a5f8e +MISC metadata.xml 325 SHA256 35a6699316026d96174203e465a4eabb7c71f849fe217de81a78ec62069d3ee5 SHA512 3c26d8a35353553cbda8a8e3d5d5f1e25a9fa5fd2410d6db06c35b8d683d19f3aeab3002f8216ae6a9a1bd6fe125350ace83308859c2958ae17000cb70b1fefc WHIRLPOOL 3148915326b963502afab57e85b5bfa9609e9ae79f998c93c9667d15a6b104f5076a4401cabbf19711b8628143d682dcee72a2ff01fbac6ec4c05ee29a2bbc6a diff --git a/dev-util/kscope/files/kscope-1.9.4-actions.patch b/dev-util/kscope/files/kscope-1.9.4-actions.patch new file mode 100644 index 000000000000..d333efb0ab09 --- /dev/null +++ b/dev-util/kscope/files/kscope-1.9.4-actions.patch @@ -0,0 +1,90 @@ +--- trunk/app/actions.cpp 2009/08/26 13:17:03 203 ++++ trunk/app/actions.cpp 2009/09/07 19:58:30 204 +@@ -264,69 +264,58 @@ + QActionGroup* queryGroup = new QActionGroup(this); + connect(queryGroup, SIGNAL(triggered(QAction*)), this, + SLOT(query(QAction*))); ++ connect(ProjectManager::signalProxy(), SIGNAL(hasProject(bool)), ++ queryGroup, SLOT(setEnabled(bool))); ++ queryGroup->setEnabled(false); + + // Query references. +- action = new QAction(tr("&References"), this); ++ action = new QAction(tr("&References"), queryGroup); + action->setShortcut(tr("Ctrl+0")); + action->setStatusTip(tr("Find all symbol references")); + action->setData(Core::Query::References); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Query definition. +- action = new QAction(tr("&Definition"), this); ++ action = new QAction(tr("&Definition"), queryGroup); + action->setShortcut(tr("Ctrl+1")); + action->setStatusTip(tr("Find symbol definition")); + action->setData(Core::Query::Definition); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Query called functions. +- action = new QAction(tr("&Called Functions"), this); ++ action = new QAction(tr("&Called Functions"), queryGroup); + action->setShortcut(tr("Ctrl+2")); + action->setStatusTip(tr("Show functions called from function")); + action->setData(Core::Query::CalledFunctions); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Query calling functions. +- action = new QAction(tr("C&alling Functions"), this); ++ action = new QAction(tr("C&alling Functions"), queryGroup); + action->setShortcut(tr("Ctrl+3")); + action->setStatusTip(tr("Find functions calling function")); + action->setData(Core::Query::CallingFunctions); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Query text. +- action = new QAction(tr("&Text"), this); ++ action = new QAction(tr("&Text"), queryGroup); + action->setShortcut(tr("Ctrl+4")); + action->setStatusTip(tr("Find text in files")); + action->setData(Core::Query::Text); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Find file. +- action = new QAction(tr("&File"), this); ++ action = new QAction(tr("&File"), queryGroup); + action->setShortcut(tr("Ctrl+7")); + action->setStatusTip(tr("Find a file")); + action->setData(Core::Query::FindFile); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Find including files. +- action = new QAction(tr("&Including Files"), this); ++ action = new QAction(tr("&Including Files"), queryGroup); + action->setShortcut(tr("Ctrl+8")); + action->setStatusTip(tr("Find files #including a given file")); + action->setData(Core::Query::IncludingFiles); + menu->addAction(action); +- projectGroup->addAction(action); +- queryGroup->addAction(action); + + // Show local tags. + action = new QAction(tr("Local &Tags"), this); +@@ -348,6 +337,7 @@ + action->setStatusTip(tr("Create a call tree")); + connect(action, SIGNAL(triggered()), mainWnd(), SLOT(promptCallTree())); + menu->addAction(action); ++ projectGroup->addAction(action); + + // Settings menu. + menu = mainWnd()->menuBar()->addMenu(tr("&Settings")); diff --git a/dev-util/kscope/files/kscope-1.9.4-underlinking.patch b/dev-util/kscope/files/kscope-1.9.4-underlinking.patch new file mode 100644 index 000000000000..90b6fc365594 --- /dev/null +++ b/dev-util/kscope/files/kscope-1.9.4-underlinking.patch @@ -0,0 +1,13 @@ +diff -ruN kscope-1.9.4.orig/app/app.pro kscope-1.9.4/app/app.pro +--- kscope-1.9.4.orig/app/app.pro 2009-03-14 12:45:48.000000000 +0100 ++++ kscope-1.9.4/app/app.pro 2011-08-07 20:33:04.540575855 +0200 +@@ -58,7 +58,8 @@ + -L../cscope \ + -lkscope_cscope \ + -L../editor \ +- -lkscope_editor ++ -lkscope_editor \ ++ -lqscintilla2 + RESOURCES = app.qrc + target.path = $${INSTALL_PATH}/bin + INSTALLS += target diff --git a/dev-util/kscope/kscope-1.9.4-r2.ebuild b/dev-util/kscope/kscope-1.9.4-r2.ebuild new file mode 100644 index 000000000000..a1d3783410eb --- /dev/null +++ b/dev-util/kscope/kscope-1.9.4-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib qt4-r2 + +DESCRIPTION="Source Editing Environment based on Qt" +HOMEPAGE="http://kscope.sourceforge.net/" +SRC_URI="mirror://sourceforge/kscope/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + x11-libs/qscintilla:=[qt4(-)]" +DEPEND="${RDEPEND}" + +DOCS="ChangeLog" + +src_prepare() { + sed -i -e "s:/usr/local:/usr:" config || die + sed -i \ + -e "s:\$\${QSCI_ROOT_PATH}/include/Qsci:& /usr/include/qt4/Qsci:g" \ + -e "s:\$\${QSCI_ROOT_PATH}/lib:& -L/usr/lib/qt4:g" \ + -e "s:/lib:/$(get_libdir):g" \ + app/app.pro core/core.pro cscope/cscope.pro editor/editor.pro \ + || die + + # fix build failure with parallel make + echo "CONFIG += ordered" >> kscope.pro + + epatch "${FILESDIR}/${P}"-{actions,underlinking}.patch +} diff --git a/dev-util/kscope/metadata.xml b/dev-util/kscope/metadata.xml new file mode 100644 index 000000000000..4fc15baded9e --- /dev/null +++ b/dev-util/kscope/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">kscope</remote-id> + </upstream> +</pkgmetadata> |