On Jan 20, 2008 7:30 AM, Ken Moffat <[EMAIL PROTECTED]> wrote:
> I've got an odd one here, and I suspect it's down to something I'm
> doing or omitting, but for the life of me I can't see what.
>
> My current builds include totem, mainly because I'm building
> gstreamer as a dependency for gnash (so, this is totem with the gst
> backend). If I don't patch totem, both the 2.18.2 and 2.20.1 versions
> bomb out in the build when they try to reference libsn/sn.h
>
> totem-plugin-viewer.c:37:22: error: libsn/sn.h: No such file or
> directory
> and then the usual mass of errors.
>From my quick check, it seems that totem is only pulling in
startup-notification indirectly through gnome-desktop. And that only
happens on a non-GTK-only build. totem-plugin-viewer.c seems to
require startup-notification unconditionally, though. So, I would say
that if you're using --enable-gtk, there's definitely a path to build
breakage.
The right solution is that the enabling the browser plugin needs to
check for startup-notification instead of relying on something else
pulling it in. This could probably go upstream (discounting gmail
breaking formatting):
--- configure.in.orig 2008-01-20 12:52:35.000000000 -0800
+++ configure.in 2008-01-20 12:53:30.000000000 -0800
@@ -466,7 +466,8 @@ if test "$enable_browser_plugins" = "yes
[glib-2.0
gnome-vfs-2.0 >= $GNOMEVFS_REQS
gnome-vfs-module-2.0 >= $GNOMEVFS_REQS
- gthread-2.0],
+ gthread-2.0
+ libstartup-notification-1.0],
[],[enable_browser_plugins=no])
BROWSER_PLUGIN_CFLAGS="$MOZILLA_NOT_LINKED_CFLAGS
$BROWSER_PLUGIN_CFLAGS"
> which removes the references to libsn and quite a large chunk of
> code. With that, both 2.18.2 and 2.20.1 build for me, and seem to
> work. The oddity is that fedora dropped this for 2.18.2 because of
> "upstream fixes". I'm using startup-notification-0.9, but so are
> they. I can't see anybody else needing to work around this (e.g.
> ubuntu, gentoo) so I guess it's something wrong with my builds, but
> I'm out of ideas.
Are you using --enable-gtk? I just built it all fine a couple days
ago, but I pulled in all the optional dependencies.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page