how to properly link against libxul and libxpcom?

Bug #552780 reported by Matthias Klose
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xulrunner-1.9.2 (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xulrunner-1.9.2

openjdk-6 and eclipse do link against libxul and libxpcom. How should these applications be linked/built such that xulrunner upgrades don't break these builds?

the xulrunner-dev package was recently demoted, now you have an explicit dependency on xulrunner-dev-1.9.2. Are the reverse build-depending packages required to manually uploaded, if a xulrunner-dev-1.9.3 package is uploaded to lucid-proposed?

for icedtea6-plugin, the dependency on xulrunner-1.9.2 can be hard coded. is this really necessary? calling

  dh_shlibdeps -s -L openjdk-6-jre-headless \
                -l[...]:/usr/lib/xulrunner-1.9.2

results in:

dpkg-shlibdeps: warning: Can't extract name and version from library name `libxpcom.so'
dpkg-shlibdeps: warning: Can't extract name and version from library name `libxul.so'

and no dependency added. xulrunner-1.9.* not having any shlibs files?

even determining the xulrunner libdir seems to be overly complicated (if the same solution should work on debian and ubuntu):
echo /usr/lib/xulrunner-$($(basename $(pkg-config --libs-only-L libxul | sed 's/^-L//;s/-devel//;s,/lib *$,,' )) --gre-version | sed 's/^\(.....\).*/\1/')

desktop guys, xulrunner is not just a private dependency for firefox, other components rely on it as well. please treat it with the same priority.

Matthias Klose (doko)
Changed in xulrunner-1.9.2 (Ubuntu):
assignee: nobody → Ubuntu Desktop (ubuntu-desktop)
milestone: none → ubuntu-10.04-beta-2
Revision history for this message
Micah Gersten (micahg) wrote :

This was an accidental demotion of xulrunner-dev in xulrunner-1.9.2 instead of just the xulrunner-dev in xulrunner-1.9.1. The issue has been corrected.

Changed in xulrunner-1.9.2 (Ubuntu Lucid):
assignee: Ubuntu Desktop (ubuntu-desktop) → nobody
status: New → Invalid
milestone: ubuntu-10.04-beta-2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.