Opened 16 years ago

Closed 16 years ago

#3449 closed bug (fixed)

Libraries installed with Net Surf cause trouble with Haiku built Firefox

Reported by: scottmc Owned by: mmu_man
Priority: normal Milestone: R1
Component: Applications Version: R1/pre-alpha1
Keywords: Cc: fredrik.holmqvist@…
Blocked By: Blocking: #3509
Platform: All

Description

Libexpat, libiconv, libjpeg, and/or libxml2 that get installed with net surf into /home/config/lib take priority over ones installed into /boot/common/lib. The ones included with net surf do not seem to have been compiled on haiku and cause libnetwork to drop into hrev5 compatibility mode. We tried removing these libs from /boot/home/config/lib and installing haiku built versions from haikuports into /boot/common/lib and all is fine with firefox again.

Attachments (1)

behappy-bt-with-new-netsurf.log (3.0 KB ) - added by scottmc 16 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by mmadia, 16 years ago

excellent! thanks for confirming this scott.

In the next day or so, I'll create an updated BonEcho package for use with OptionalPackages.

comment:2 by scottmc, 16 years ago

Perhaps we need to strip out the home folder from the netsurf.zip file and add shared-lib Optional Packages for dependent libs, such as libxml2 and libjpeg.

Then update OptionalPackage like so:

--- OptionalPackages	2009-02-10 22:18:06.000000000 +0000
+++ OptionalPackages.netsurf	2009-02-16 23:44:51.000000000 +0000
@@ -43,7 +43,7 @@
 OptionalPackageDependencies APR-util : APR ;
 OptionalPackageDependencies BeHappy : BeBook NetSurf ;
 OptionalPackageDependencies Development : Perl ;
+OptionalPackageDependencies Firefox : OpenSSL 
-OptionalPackageDependencies NetSurf : OpenSSL ;
+OptionalPackageDependencies NetSurf : OpenSSL libxml2 libjpeg;
 OptionalPackageDependencies OpenSSH : OpenSSL ;
 OptionalPackageDependencies Subversion : OpenSSL ;

Oh and I was wrong about libexpat, as netsurf just installs libiconv.so, libjpeg.so and libxml2.so. And since libiconv.so is already part of the HaikuImage with just need to add libxml2 and libjpeg for netsurf.

Note that vlc also makes use of libiconv.so but from its own lib folder.

comment:3 by anevilyak, 16 years ago

Component: - GeneralApplications
Owner: changed from axeld to mmu_man

comment:4 by umccullough, 16 years ago

Version: R1 development

Seems an even better solution would be to ditch the R5 version of NetSurf and replace it with a Haiku native version :) (both gcc2 and gcc4 would be awesome!)

comment:5 by umccullough, 16 years ago

Version: R1 development

dunno why it deleted the version

comment:6 by mmu_man, 16 years ago

Status: newassigned

Yes sorry the current package is built for R5 BONE, so it includes those libs. It also requires them there to work in BeHappy, else it doesn't find them in its own %A/lib. A quick workaround would be to repackage it without those. I don't have Haiku set for development yet.

comment:7 by mmadia, 16 years ago

Updating the NetSurf is something on my todo list. At the very latest, it'll be updated by the time I release a new BonEcho for OptionalPackages.

comment:8 by mmadia, 16 years ago

See #3488 for Haiku-gcc2 NetSurf package.

This updated package can co-exist peacefully with Haiku-gcc2 Bezilla builds.

Other than that, it has not been thoroughly tested.

comment:9 by scottmc, 16 years ago

BeHappy isn't happy, perhaps it's got hard coded links? Netsurf defaults to a missing webpage, remove the /welcome from the default url and it finds it. Also many of the menu items seem to be not working, including "about", quit is working though.

by scottmc, 16 years ago

comment:10 by mmadia, 16 years ago

Re: "defaults to a missing webpage" -- Try reloading the page a few times. It'll display.

#3488 explains why i believe NetSurf to be suffering from dropped network data.

Uninstalling NetSurf:

home/config/lib/libxml2.so
home/config/lib/libjpeg.so
home/config/lib/libiconv.so
apps/netsurf/

comment:11 by anevilyak, 16 years ago

Blocking: 3509 added

comment:12 by tqh, 16 years ago

This issue pops up far to often on #haiku, is there anything we/I can do to move this along?

comment:13 by tqh, 16 years ago

Cc: fredrik.holmqvist@… added

comment:14 by mmadia, 16 years ago

Resolution: fixed
Status: assignedclosed

fixed in changeset:30240 due to #3785

Note: See TracTickets for help on using tickets.