From jazzva at gmail.com Tue Aug 11 18:02:11 2009 From: jazzva at gmail.com (=?UTF-8?B?U2HFoWEgQm9kaXJvxb5h?=) Date: Tue, 11 Aug 2009 20:02:11 +0200 Subject: Forwarding Debian/Ubuntu patches Message-ID: <706cf3130908111102ucd0d3c2q8b452d96ef2213c@mail.gmail.com> Hello, I am forwarding three patches that are used in Debian and Ubuntu, with the exception of the 000_allow_empty_short_option.diff patch, which is currently used only in Ubuntu (it was introduced today). Patch 000_allow_empty_short_option.diff allows to use only long option for some arguments. We introduced it because the "nosymlinks" option (which is introduced in 001_debian_make_symlinks.diff) should use short option "n", but that collides with short option for "native". In my opinion other logical choice would be "s", but that collides with short option for "systemonly" (which is introduced in the 002_system_only_update.diff). This patch is produced against clean source tree (development release 1.3.0). Patch 001_debian_make_symlinks.diff modifies the code, so that it correctly installs and removes symlinks to wrappers on Debian and Ubuntu systems. It is present in our packages for a long time, and so far didn't produce any bugs that I know of. By passing --nosymlinks argument, the code for installing/removing symlinks on Debian and Ubuntu is bypassed. This patch is produced against source tree with 000_allow_empty_short_option.diff applied. Patch 002_system_only_update.diff introduces a way to update only plugins installed in system directories, when --systemonly argument is passed. This patch is produced against source tree with 001_debian_make_symlinks.diff applied. Please consider them for inclusion in the main source tree. As far as I know, patches are prepared by Alexander Sack and Rob Andrews. -- Thanks, Sa?a Bodiro?a -------------- next part -------------- A non-text attachment was scrubbed... Name: 000_allow_empty_short_option.diff Type: text/x-diff Size: 637 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 001_debian_make_symlinks.diff Type: text/x-diff Size: 4343 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 002_system_only_update.diff Type: text/x-diff Size: 1981 bytes Desc: not available URL: From sune at molgaard.org Thu Aug 13 16:31:06 2009 From: sune at molgaard.org (=?ISO-8859-1?Q?Sune_M=F8lgaard?=) Date: Thu, 13 Aug 2009 18:31:06 +0200 Subject: Problem loading canberra-gtk-module Message-ID: <4A843FCA.6010103@molgaard.org> Trying to pinpoint a cause of seamonkey crashes, I noticed the following: *** NSPlugin Wrapper *** WARNING:(/home/sune/src/ubuntu/nspluginwrapper-1.3.0/src/npw-wrapper.c:1858):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64 While this may not be the cause of the seamonkey crash, it, none-the-less, seems to be a problem with nspluginwrapper. Best regards, Sune M?lgaard -- The ability to quote is a serviceable substitute for wit. - W. Somerset Maugham From asac at ubuntu.com Thu Aug 13 17:28:47 2009 From: asac at ubuntu.com (Alexander Sack) Date: Thu, 13 Aug 2009 19:28:47 +0200 Subject: Problem loading canberra-gtk-module In-Reply-To: <4A843FCA.6010103@molgaard.org> References: <4A843FCA.6010103@molgaard.org> Message-ID: <20090813172847.GB14450@jwsdot.com> On Thu, Aug 13, 2009 at 06:31:06PM +0200, Sune M?lgaard wrote: > Trying to pinpoint a cause of seamonkey crashes, I noticed the following: > > *** NSPlugin Wrapper *** WARNING:(/home/sune/src/ubuntu/nspluginwrapper-1.3.0/src/npw-wrapper.c:1858):invoke_NPP_Destroy: > assertion failed: (rpc_method_invoke_possible(plugin->connection)) > Gtk-Message: Failed to load module "canberra-gtk-module": > /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: > ELFCLASS64 > > While this may not be the cause of the seamonkey crash, it, > none-the-less, seems to be a problem with nspluginwrapper. it's a problem of how ia32libs is setup. on ubuntu create a link like this: ls -l /usr/lib/gtk-2.0/i486-pc-linux-gnu /usr/lib/gtk-2.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/ not sure if libcanberra module is already in the ia32-libs package though. In any case, remember to remove atk-bridge from the /usr/lib32/ gtk modules as that will definitly break things. - Alexander