Package: nspluginwrapper Followup-For: Bug #458584 I've debianized the upstream patched mentioned above. See attached.
This resolves my issues. (Also see #462198 to fix build issues) -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nspluginwrapper depends on: ii ia32-libs 2.2 ia32 shared libraries for use on a ii ia32-libs-gtk 2.1 gtk+ ia32 shared libraries ii lib32gcc1 1:4.3-20080116-1 GCC support library (32 bit Versio ii libc6 2.7-6 GNU C Library: Shared libraries ii libc6-i386 2.7-6 GNU C Library: 32bit shared librar ii libglib2.0-0 2.14.5-2 The GLib library of C routines ii libx11-6 2:1.0.3-7 X11 client-side library ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii util-linux [linux32] 2.13.1-1 Miscellaneous system utilities nspluginwrapper recommends no packages. -- no debconf information
diff -rupN nspluginwrapper-0.9.91.5.orig/debian/patches/004_fix_smp.diff nspluginwrapper-0.9.91.5/debian/patches/004_fix_smp.diff --- nspluginwrapper-0.9.91.5.orig/debian/patches/004_fix_smp.diff 1969-12-31 18:00:00.000000000 -0600 +++ nspluginwrapper-0.9.91.5/debian/patches/004_fix_smp.diff 2008-01-22 22:51:15.370063426 -0600 @@ -0,0 +1,28 @@ +Upstream patch, should be present in next release: + +Initialize glib for multithreading, aka fix crashes with Flash Player plugin 9 +Update 3 (9.0.115). + + --- Gwenole Beauchesne <[EMAIL PROTECTED]> + +--- nspluginwrapper/src/npw-viewer.c ++++ nspluginwrapper/src/npw-viewer.c +@@ -3001,6 +3001,7 @@ + XtToolkitInitialize(); + x_app_context = XtCreateApplicationContext(); + x_display = XtOpenDisplay(x_app_context, NULL, "npw-viewer", "npw-viewer", NULL, 0, &argc, argv); ++ g_thread_init(NULL); + gtk_init(&argc, &argv); + + // Initialize RPC communication channel +--- nspluginwrapper/Makefile ++++ nspluginwrapper/Makefile +@@ -101,7 +101,7 @@ + npviewer_CFLAGS += -I$(LSB_INC_DIR)/glib-2.0 + npviewer_CFLAGS += -I$(LSB_INC_DIR)/gtk-2.0 + npviewer_LDFLAGS = $(LDFLAGS_32) -L$(LSB_OBJ_DIR) +-npviewer_LDFLAGS += -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt ++npviewer_LDFLAGS += -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lX11 -lXt + else + npviewer_CFLAGS += $(GTK_CFLAGS) + npviewer_LDFLAGS = $(GTK_LDFLAGS) $(X_LDFLAGS) diff -rupN nspluginwrapper-0.9.91.5.orig/debian/patches/series nspluginwrapper-0.9.91.5/debian/patches/series --- nspluginwrapper-0.9.91.5.orig/debian/patches/series 2008-01-22 22:49:18.319393090 -0600 +++ nspluginwrapper-0.9.91.5/debian/patches/series 2008-01-22 22:51:30.414920783 -0600 @@ -2,3 +2,4 @@ 001_remove_bashisms.diff 002_install_to_NSPLUGINDIR.diff 003_update_help_info.diff +004_fix_smp.diff