Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
netbeans
netbeans-6.5-50-ide-launcher.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netbeans-6.5-50-ide-launcher.patch of Package netbeans
diff -Nur netbeans-ide-launcher/ide/launcher/unix/netbeans netbeans-ide-launcher.new/ide/launcher/unix/netbeans --- netbeans-ide-launcher/ide/launcher/unix/netbeans 2008-06-30 17:47:50.000000000 +0400 +++ netbeans-ide-launcher.new/ide/launcher/unix/netbeans 2008-10-22 15:58:13.000000000 +0400 @@ -38,6 +38,17 @@ # Version 2 license, then the option applies only if the new code is # made subject to such option by the copyright holder. +# The Startup Notification Protocol Specification established by freedesktop.org +# recommends to unset the DESKTOP_STARTUP_ID environment variable to avoid +# possible reuse by some process started later by this process, e.g. when a browser +# will be started after clicking a hyperlink in the NetBeans. +if [ ! -z $DESKTOP_STARTUP_ID ] ; then + # Save a value for later using in the NB_DESKTOP_STARTUP_ID + NB_DESKTOP_STARTUP_ID=$DESKTOP_STARTUP_ID; export NB_DESKTOP_STARTUP_ID + + unset DESKTOP_STARTUP_ID +fi + # # resolve symlinks # @@ -54,16 +65,18 @@ fi done -progdir=`dirname "$PRG"` +#progdir=`dirname "$PRG"` +# Patch for Debian/Ubuntu/Fedora where launcher is in /usr/bin +progdir=/usr/share/netbeans/6.5/bin if [ -f "$progdir"/../etc/netbeans.conf ] ; then . "$progdir"/../etc/netbeans.conf fi # following should be done just in RPM or Solaris Launcher -# if [ -f /etc/netbeans.conf ] ; then -# . /etc/netbeans.conf -# fi +if [ -f /etc/netbeans.conf ] ; then + . /etc/netbeans.conf +fi # #68373: look for userdir, but do not modify "$@" @@ -199,7 +212,6 @@ --branding nb \ --clusters '"$netbeans_clusters"' \ -J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \ - -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \ ${netbeans_default_options} \ '"$@"' ;;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor