Source: nvidia-visual-profiler
Version: 4.1.28-1
Severity: normal
Tags: help

Dear Debian Orbital Alignment Team,

I just uploaded a new version of nvidia-cuda-toolkit 4.1 [non-free]
which contains the nvidia-visual-profiler (added in 4.1).

The NVIDIA Visual Profiler [1] is an application based on Eclipse and is
shipped by NVIDIA bundled and somehow integrated with Eclipse 3.6.  I
tried to use the Debian provided Eclipse 3.7 libraries instead but was
not successful. In the end the application was starting, but only
produced an empty window with the normal Eclipse menu bar.  Therefore I
now included the bundled Eclipse 3.6 in the nvidia-cuda-toolkit package,
but I'd like to change this, if possible.

I have never used Eclipse and know neither how it works by itself nor
what can be done with plugins to create different applications like
nvvp.
Therefore I'm seeking the advice of the Eclipse Maintainers:
* is it possible to replace Eclipse 3.6 with 3.7 in this application?
* whats the best way to package such an Eclipse based application?
  (file system layout etc., dependencies, ...)

Thanks in advance for your help!

Andreas

[1] http://developer.nvidia.com/nvidia-visual-profiler

PS: this is a small script that switches the working nvvp with its own
copy of Eclipse 3.6 to use the Debian Eclipse libs (3.7 at the moment)
by replacing the content of the plugins directory with links to
/usr/lib/eclipse/... etc.

=============================
#!/bin/sh
set -e

apt-get -y install eclipse-gef

cd /usr/lib/nvidia-visual-profiler/plugins

for p in com.* javax.* org.apache.* org.eclipse.* org.mortbay.*
do
        b=${p%%_*}
        c=""
        for d in /usr/share/eclipse/plugins /usr/lib/eclipse/plugins 
/usr/share/eclipse/dropins/gef/eclipse/plugins
        do
                c=$(ls -1d $d/${b}_* 2>/dev/null | head -n 1)
                test ! -e "$c" || break
        done
        if [ -e "$p" ] && [ -e "$c" ]; then
                echo "$b: $p ==> $c"
                rm -rf $p
                ln -s $c .
        fi
done
===============================



__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to