Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 271221 Details for
Bug 402591
ruby-gnome2 (gtkmozembed) doesn't compile with xulrunner (gecko-libs 1.9)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
a minimal patch, doesn't compile yet
ruby-gnome2-all-0.16.0-xulrunner.patch (text/plain), 2.84 KB, created by
Martin Stransky
on 2007-11-28 12:41:43 UTC
(
hide
)
Description:
a minimal patch, doesn't compile yet
Filename:
MIME Type:
Creator:
Martin Stransky
Created:
2007-11-28 12:41:43 UTC
Size:
2.84 KB
patch
obsolete
>diff -up ruby-gnome2-all-0.16.0/gtkmozembed/extconf.rb.xl ruby-gnome2-all-0.16.0/gtkmozembed/extconf.rb >--- ruby-gnome2-all-0.16.0/gtkmozembed/extconf.rb.xl 2006-12-29 14:17:28.000000000 +0100 >+++ ruby-gnome2-all-0.16.0/gtkmozembed/extconf.rb 2007-11-28 11:17:18.000000000 +0100 >@@ -55,7 +55,7 @@ end > add_depend_package("glib2", "glib/src", TOPDIR) > add_depend_package("gtk2", "gtk/src", TOPDIR) > >-have_library("gtkembedmoz") or exit 1 >+have_library("xul") or exit 1 > > have_func('gtk_moz_embed_new') or exit 1 > have_func('gtk_moz_embed_set_profile_path') or exit 1 >diff -up ruby-gnome2-all-0.16.0/gtkmozembed/src/lib/gtkmozembed.rb.xl ruby-gnome2-all-0.16.0/gtkmozembed/src/lib/gtkmozembed.rb >--- ruby-gnome2-all-0.16.0/gtkmozembed/src/lib/gtkmozembed.rb.xl 2006-12-29 14:17:28.000000000 +0100 >+++ ruby-gnome2-all-0.16.0/gtkmozembed/src/lib/gtkmozembed.rb 2007-11-28 11:18:05.000000000 +0100 >@@ -1,5 +1,5 @@ > require 'gtk2' >-require 'gtkmozembed.so' >+require 'xul.so' > > module Gtk > class MozEmbed >diff -up ruby-gnome2-all-0.16.0/gtkmozembed/src/rbgtkmozembed.c.xl ruby-gnome2-all-0.16.0/gtkmozembed/src/rbgtkmozembed.c >--- ruby-gnome2-all-0.16.0/gtkmozembed/src/rbgtkmozembed.c.xl 2006-12-29 14:17:28.000000000 +0100 >+++ ruby-gnome2-all-0.16.0/gtkmozembed/src/rbgtkmozembed.c 2007-11-28 11:17:18.000000000 +0100 >@@ -113,7 +113,8 @@ moz_set_profile_path(self, profile_path, > * > * path: the mozilla component path (String). > * >- * You should call this method before the constructor. >+ * You should call this method before the constructor. It's >+ * used in gecko-libs 1.8. > * > * The path should be something like /usr/lib/mozilla or > * /usr/lib/mozilla-firefox depending on your installation and >@@ -133,6 +134,33 @@ moz_set_comp_path(self, path) > return Qnil; > } > >+/* >+ * Class method: set_path(path) >+ * >+ * path: the mozilla component path (String). >+ * >+ * You should call this method before the constructor. This >+ * function is used in gecko-libs 1.9 instead of the old one, >+ * set_comp_path(String). >+ * >+ * The path should be something like /usr/lib/mozilla or >+ * /usr/lib/mozilla-firefox depending on your installation and >+ * distribution. >+ * >+ * We call this inside Init_gtkmozembed() and set the value at >+ * compile time before initializing XPCOM. >+ * >+ * Returns: nil. >+ * >+ */ >+static VALUE >+moz_set_path(self, path) >+ VALUE self, path; >+{ >+ gtk_moz_embed_set_path(RVAL2CSTR(path)); >+ return Qnil; >+} >+ > /* > * Method: load_url(url) > * >@@ -680,6 +708,8 @@ Init_gtkmozembed() > moz_set_profile_path, 2); > rb_define_module_function(moz, "set_comp_path", > moz_set_comp_path, 1); >+ rb_define_module_function(moz, "set_path", >+ moz_set_path, 1); > > rb_define_method(moz, "initialize", moz_initialize, 0); > rb_define_method(moz, "load_url", moz_load_url, 1);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 402591
: 271221