Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306885 - [qting-edge] ebuild for qt-creator-inspector
Summary: [qting-edge] ebuild for qt-creator-inspector
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Qt Bug Alias
URL:
Whiteboard: [qting-edge]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2010-02-25 23:08 UTC by Enrico Ros
Modified: 2010-03-16 12:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The proposed ebuild, first version (qt-creator-inspector-9999.ebuild,3.37 KB, text/plain)
2010-02-25 23:10 UTC, Enrico Ros
Details
Related metadata.xml file. (metadata.xml,1.09 KB, text/plain)
2010-02-25 23:11 UTC, Enrico Ros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Ros 2010-02-25 23:08:18 UTC
Here is an ebuild for Qt Creator with the Inspector plugin.
Since it comes from a repository clone (an official clone in gitorious.org) I'm adding a new package here.

The Inspector plugin for QtCreator adds the capability to connect to running programs, unpatched and with unmodified libraries, and perform many kind of measurements, analysis, and enhancements.



Reproducible: Always

Steps to Reproduce:




For reference here is the diff against qt-creator-9999.ebuild by Markos Chandras:

--- qt-creator/qt-creator-9999.ebuild   2010-02-22 09:11:29.223537086 +0100
+++ qt-creator-inspector/qt-creator-inspector-9999.ebuild       2010-02-25 22:05:46.963335242 +0100
@@ -5,16 +5,18 @@
 EAPI="2"

 inherit qt4-edge git multilib
-MY_PN="${PN/-/}"
+MY_PN="qtcreator"

-DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
-HOMEPAGE="http://labs.qtsoftware.com/page/Projects/Tools/QtCreator"
-EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git"
+DESCRIPTION="Lightweight IDE for C++ development centering around Qt plus the Inspector Plugin"
+HOMEPAGE="http://gitorious.org/~enrico/qt-creator/qt-creator-inspector"
+EGIT_REPO_URI="git://gitorious.org/~enrico/${PN}/qt-creator-inspector.git"
+EGIT_BRANCH="inspector-plugin"
+EGIT_COMMIT="${EGIT_BRANCH}"

 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS=""
-IUSE="bineditor bookmarks +cmake cvs debug +debugger +designer doc examples fakevim git kde mercurial perforce qml qtscript subversion"
+KEYWORDS="~x86"
+IUSE="bineditor bookmarks +cmake cvs debug +debugger +designer doc examples fakevim git +inspector kde mercurial perforce qml qtscript subversion"

 DEPEND=">=x11-libs/qt-assistant-4.6.0_alpha_pre1:4
        >=x11-libs/qt-gui-4.6.0_alpha_pre1:4[dbus,qt3support]"
@@ -30,13 +32,14 @@
        cvs? ( dev-util/cvs )
        debugger? ( sys-devel/gdb )
        examples? ( >=x11-libs/qt-demo-4.6.1:4 )
+       inspector? ( >=sci-libs/vtk-5.4[qt4] )
        git? ( dev-util/git )
        mercurial? ( dev-util/mercurial )
        qml? ( >=x11-libs/qt-declarative-4.6.1:4 )
        qtscript? ( >=x11-libs/qt-script-4.6.1:4 )
        subversion? ( dev-util/subversion )"

-PLUGINS="bookmarks bineditor cmake cvs debugger designer fakevim git mercurial perforce qml qtscript subversion"
+PLUGINS="bookmarks bineditor cmake cvs debugger designer fakevim git inspector mercurial perforce qml qtscript subversion"

 LANGS="de es fr it ja pl ru sl"

@@ -73,6 +76,12 @@
 src_configure() {
        mkdir ${WORKDIR}/build
        cd "${WORKDIR}"/build
+
+       if use inspector;then
+               export QTCREATOR_WITH_INSPECTOR="true"
+               export QTCREATOR_WITH_INSPECTOR_VTK="true"
+       fi
+
        eqmake4 "${S}/${MY_PN}.pro" \
                IDE_LIBRARY_BASENAME=$(get_libdir) \
                IDE_LIBRARY_PATH=$(get_libdir)/${MY_PN} \
Comment 1 Enrico Ros 2010-02-25 23:10:20 UTC
Created attachment 221227 [details]
The proposed ebuild, first version

I propose my ebuild for inclusion into the qting-edge overlay.
Comment 2 Enrico Ros 2010-02-25 23:11:12 UTC
Created attachment 221229 [details]
Related metadata.xml file.

This metadata adds documentation to "+inspector".