Bug 500654

Summary: webkit-sharp depends on webkitgtk
Product: [Fedora] Fedora Reporter: Benjamín Valero Espinosa <benjavalero>
Component: webkit-sharpAssignee: Paul Lange <palango>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: gnomeuser
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.2-3.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-24 19:26:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch none

Description Benjamín Valero Espinosa 2009-05-13 15:08:13 UTC
I have noticed this problem on testing the git version of Banshee (media player) that uses webkit to show some wikipedia info. After installing webkit-sharp and webkit-sharp-devel, I run Banshee and get this (non fatal) error:

System.TypeInitializationException: An exception was thrown by the type initializer for WebKit.WebView ---> System.DllNotFoundException: webkit-1.0.so.1
  at (wrapper managed-to-native) WebKit.WebHistoryItem:webkit_web_history_item_get_type ()
  at WebKit.WebHistoryItem.get_GType () [0x00000] 
  at GtkSharp.WebkitSharp.ObjectManager.Initialize () [0x00000] 
  at WebKit.WebView..cctor () [0x00000] 
  --- End of inner exception stack trace ---

I can see that in my system there is no library called webkit-1.0.so.1. Thus, I install webkitgtk package to get that library, but these are the ones I get:

lrwxrwxrwx. 1 root root       22 may 13 16:46 libwebkit-1.0.so.2 -> libwebkit-1.0.so.2.2.0
-rwxr-xr-x. 1 root root 14239676 abr 11 11:44 libwebkit-1.0.so.2.2.0

Finally, I link the .so to the name shown in the trace. I run again Banshee and all works great.

That's why I suppose webkit-sharp should depend on webkitgtk or other package that provides the needed library.

Comment 1 David Nielsen 2009-05-13 17:18:12 UTC
We BuildRequires on WebKit-gtk-devel, that should pull it in. However I think the issue is that webkit has been upgraded and webkit-sharp needs to be rebuilt. I should have gotten a mail when that bump happened but that did not happen. 

I will attempt a rebuild as soon as I get my machine up an running again, then we can see if my assumption is correct.

http://cvs.fedoraproject.org/viewvc/rpms/webkit-sharp/devel/webkit-sharp.spec?view=markup

Comment 2 David Nielsen 2009-05-16 21:51:08 UTC
Created attachment 344298 [details]
patch

This should fix it, however cvs says I am not allowed in so till I get this investigated the patch is present here.

Comment 3 Bug Zapper 2009-06-09 15:45:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora Admin XMLRPC Client 2009-06-12 02:00:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Update System 2009-06-15 05:30:01 UTC
webkit-sharp-0.2-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/webkit-sharp-0.2-3.fc11

Comment 6 Paul Lange 2009-06-15 05:31:42 UTC
Benjamín, can you please test if the latest update (see above) fixes this?

Comment 7 David Nielsen 2009-06-15 07:47:23 UTC
I can comfirm that this fixes the problem. Thank you for throwing this at CVS Paul.

Comment 8 Fedora Update System 2009-06-18 11:51:03 UTC
webkit-sharp-0.2-3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update webkit-sharp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6612

Comment 9 Fedora Update System 2009-06-24 19:26:15 UTC
webkit-sharp-0.2-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.