This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "eclipse - Powerful IDE written in java - Debian package.".

The branch, lucid has been updated
       via  dedd85cb19597884dc5a07b88537cdee2d5d8b38 (commit)
       via  78017ff9b8a5d849c6ca75c587b98b1ac1b8f963 (commit)
       via  6194562c15909ba80a7f26bdb7dc0da2475ab85a (commit)
       via  75176904958663af694d433b5b3130b8f32c1a14 (commit)
      from  2a295e6e9b6584b09ef3de46d96cb6c0f9ac5564 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dedd85cb19597884dc5a07b88537cdee2d5d8b38
Author: Benjamin Drung <bdr...@ubuntu.com>
Date:   Tue Apr 13 02:13:46 2010 +0200

    Release 3.5.2-2ubuntu2 to Ubuntu lucid.

commit 78017ff9b8a5d849c6ca75c587b98b1ac1b8f963
Merge: 2a295e6e9b6584b09ef3de46d96cb6c0f9ac5564 
6194562c15909ba80a7f26bdb7dc0da2475ab85a
Author: Benjamin Drung <bdr...@ubuntu.com>
Date:   Tue Apr 13 02:11:52 2010 +0200

    Merge branch 'master' into lucid

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog              |   11 +++++++++++
 debian/copyright              |    4 ++++
 debian/extra/copyright-gen.pl |    4 ++++
 debian/extra/eclipse          |    2 +-
 debian/rules                  |   13 +++++++++----
 5 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a244b78..ab89115 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+eclipse (3.5.2-2ubuntu2) lucid; urgency=low
+
+  [ Niels Thykier ]
+  * Added missing copyright statement about ownership over the Debian 
packaging.
+
+  [ Benjamin Drung ]
+  * Set MOZILLA_FIVE_HOME instead of LD_LIBRARY_PATH and
+    org.eclipse.swt.browser.XULRunnerPath (LP: #559229, #553779).
+
+ -- Benjamin Drung <bdr...@ubuntu.com>  Tue, 13 Apr 2010 02:12:21 +0200
+
 eclipse (3.5.2-2ubuntu1) lucid; urgency=low
 
   * Set org.eclipse.swt.browser.XULRunnerPath explicitly. (LP: #546518)
diff --git a/debian/copyright b/debian/copyright
index 27dfbb6..8d7cd9e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -267,6 +267,10 @@ License: other
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+Files: debian/*
+Copyright: 2010, Debian Orbital Alignment Team
+License: EPL-1.0
+
 License: Apache-2.0
  On Debian systems, the full text of the Apache
  License version 2 can be found in the file
diff --git a/debian/extra/copyright-gen.pl b/debian/extra/copyright-gen.pl
index 5afcc40..44bb12b 100755
--- a/debian/extra/copyright-gen.pl
+++ b/debian/extra/copyright-gen.pl
@@ -197,6 +197,10 @@ License: other
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+Files: debian/*
+Copyright: 2010, Debian Orbital Alignment Team
+License: EPL-1.0
+
 EOF
     ;
 
diff --git a/debian/extra/eclipse b/debian/extra/eclipse
index 7bcbdfb..69ec2fd 100644
--- a/debian/extra/eclipse
+++ b/debian/extra/eclipse
@@ -5,7 +5,7 @@
 # https://bugs.launchpad.net/bugs/458703
 export GDK_NATIVE_WINDOWS=true
 
-export LD_LIBRARY_PATH="@xul...@${ld_library_path:+:$LD_LIBRARY_PATH}"
+export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-$(@XULRUNNER@ --gre-version)"
 
 ECLIPSE=/usr/lib/eclipse/eclipse
 
diff --git a/debian/rules b/debian/rules
index a1dc085..508f57b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -99,7 +99,12 @@ LAUNCHERVERSION = $(shell ls $(DEBIAN_PACK_LIBDIR)/plugins | 
grep equinox.launch
 PDEBUILDVERSION = $(shell ls $(DEBIAN_PACK_LIBDIR)/plugins | grep 
org.eclipse.pde.build_ | sed 's/org.eclipse.pde.build_//')
 UPSTREAM_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 
"s/+repack.*$$//")
 
-XULDIR := $(shell pkg-config --variable=sdkdir libxul | sed "s/-devel//")
+XULVERSION := $(shell pkg-config --modversion libxul)
+XULVERSION_STRIP1 := $(shell echo $(XULVERSION) | sed "s/\.[^\.]*$$//")
+XULVERSION_STRIP2 := $(shell echo $(XULVERSION_STRIP1) | sed "s/\.[^\.]*$$//")
+XULRUNNER := $(shell if which xulrunner-$(XULVERSION) > /dev/null 2>&1; then 
which xulrunner-$(XULVERSION); \
+       elif which xulrunner-$(XULVERSION_STRIP1) > /dev/null 2>&1; then which 
xulrunner-$(XULVERSION_STRIP1); \
+       elif which xulrunner-$(XULVERSION_STRIP2) > /dev/null 2>&1; then which 
xulrunner-$(XULVERSION_STRIP2); fi)
 
 override_dh_install:
        # Turn all following commands into patches and send them to 
eclipse-build
@@ -166,11 +171,11 @@ override_dh_install:
                -l -I -r debian_tmp debian/tmp/ | xargs sed -i 
s...@$${to_correct}@@g
        # remove extra licence file
        rm -f 
debian/tmp/usr/lib/eclipse/plugins/org.apache.ant_*/about_files/LICENSE.sax.txt
-       # wrapper script for setting LD_LIBRARY_PATH
+       # wrapper script for setting MOZILLA_FIVE_HOME
+       $(if $(XULRUNNER),,$(error Cannot find xulrunner version))
        rm -f debian/tmp/usr/bin/eclipse
-       sed "s|@XULDIR@|$(XULDIR)|" debian/extra/eclipse > 
debian/tmp/usr/bin/eclipse
+       sed "s|@XULRUNNER@|$(XULRUNNER)|" debian/extra/eclipse > 
debian/tmp/usr/bin/eclipse
        chmod 755 debian/tmp/usr/bin/eclipse
-       printf "\n-Dorg.eclipse.swt.browser.XULRunnerPath=$(XULDIR)\n" >> 
debian/tmp/etc/eclipse.ini
        # Correct the profile in config.ini - else eclipse will refuse to open 
the update/install menus.
        sed -i 's/SDKProfile/PlatformProfile/' 
debian/tmp/usr/lib/eclipse/configuration/config.ini
        # Set a saner default file limit than "unlimited".


hooks/post-receive
-- 
eclipse - Powerful IDE written in java - Debian package.

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to