Bug#405900: swf-player: should be updated for iceape/iceweasel

2007-02-22 Thread Ben Hutchings
swf-player is using the Netscape Plugin API, which does *not* require
linking against any Mozilla libraries.  It only requires the header
files from one of the -dev packages.  Therefore I believe the following
patch:

--- plugin/Makefile.am~ 2006-01-09 20:33:42.0 +
+++ plugin/Makefile.am  2007-02-22 23:07:54.0 +
@@ -11,7 +11,7 @@
 libswfdecmozilla_la_SOURCES = plugin.c
 libswfdecmozilla_la_CFLAGS = $(GLOBAL_CFLAGS) $(MOZILLA_CFLAGS) $(X_CFLAGS) \
-DBINDIR=\"$(bindir)/\"
-libswfdecmozilla_la_LDFLAGS = -module -avoid-version $(X_LIBS) $(MOZILLA_LIBS)
+libswfdecmozilla_la_LDFLAGS = -module -avoid-version $(X_LIBS)
 libswfdecmozilla_la_LIBADD = -lXt
 
 
-- END --

plus autoreconf fixes this.  With this change, I was able to load a
swfdec plugin built against libxul-dev into Firefox 2.0.

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth


signature.asc
Description: This is a digitally signed message part


Bug#405900: swf-player: should be updated for iceape/iceweasel

2007-01-16 Thread Steve Langasek
On Sun, Jan 07, 2007 at 11:57:20AM +0300, Alexandra N. Kossovsky wrote:
> Package: swf-player
> Version: 0.3.6-2.1
> Severity: grave
> Justification: renders package unusable

> swf-player installs plugins into following directories:
> /usr/lib/mozilla-snapshot/plugins
> /usr/lib/mozilla-firefox/plugins

> These directories are not used by iceape/iceweasel or even by 
> firefox 1.5.dfsg+1.5.0.7-2 which is currently in the testing.

In fact, the actual plugin file is installed in /usr/lib/mozilla/plugins/,
which is looked at by all of these packages.

On IRC, Ari Pollak suggested that the problem is that the plugin is linked
against xulrunner, causing library mismatches with the browser.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#405900: swf-player: should be updated for iceape/iceweasel

2007-01-10 Thread Morten Werner Olsen
tags 405900 +patch
thanks

Hi,

I've made a patch for swf-player which fixes _this_ bug, but in practice
Iceweasel will not pick this plugin up. I've also tried to copy the old
.so-file into one of the directories where Iceweasel picks up it's
plugins, but libswfdecmozilla.so does not show up in the list of 
plugins in Iceweasel (about:plugins).

My package is available [1] if others want to test, but I'm not sure if
I will NMU this package when the plugin doesn't work.


- Werner

[1] http://people.debian.org/~werner/debian/pool/unstable/s/swfdec0.3/
diff -u swfdec0.3-0.3.6/debian/changelog swfdec0.3-0.3.6/debian/changelog
--- swfdec0.3-0.3.6/debian/changelog
+++ swfdec0.3-0.3.6/debian/changelog
@@ -1,3 +1,11 @@
+swfdec0.3 (0.3.6-2.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Adding symlinks for plugin in the plugin directories for iceape,
+iceweasel and the latest firefox-package. (Closes: #405900)
+
+ -- Morten Werner Olsen <[EMAIL PROTECTED]>  Wed, 10 Jan 2007 06:42:55 +0100
+
 swfdec0.3 (0.3.6-2.1) unstable; urgency=medium
 
   * Non-maintainer upload, BSP Zurich/Switzerland.
diff -u swfdec0.3-0.3.6/debian/rules swfdec0.3-0.3.6/debian/rules
--- swfdec0.3-0.3.6/debian/rules
+++ swfdec0.3-0.3.6/debian/rules
@@ -9,4 +9,11 @@
+	mkdir -p debian/tmp/usr/lib/firefox/plugins
+	cd debian/tmp/usr/lib/firefox/plugins && ln -s ../../mozilla/plugins/*.so .
+	mkdir -p debian/tmp/usr/lib/iceape/plugins
+	cd debian/tmp/usr/lib/iceape/plugins && ln -s ../../mozilla/plugins/*.so .
+	mkdir -p debian/tmp/usr/lib/iceweasel/plugins
+	cd debian/tmp/usr/lib/iceweasel/plugins && ln -s ../../mozilla/plugins/*.so .
 	mkdir -p debian/tmp/usr/lib/mozilla-snapshot/plugins
 	cd debian/tmp/usr/lib/mozilla-snapshot/plugins && ln -s ../../mozilla/plugins/*.so .
 	mkdir -p debian/tmp/usr/lib/mozilla-firefox/plugins
 	cd debian/tmp/usr/lib/mozilla-firefox/plugins && ln -s ../../mozilla/plugins/*.so .
+
diff -u swfdec0.3-0.3.6/debian/swf-player.install swfdec0.3-0.3.6/debian/swf-player.install
--- swfdec0.3-0.3.6/debian/swf-player.install
+++ swfdec0.3-0.3.6/debian/swf-player.install
@@ -4,4 +4,7 @@
 debian/tmp/usr/lib/gtk-2.0/*/loaders/*.so
 debian/tmp/usr/lib/gtk-2.0/*/loaders/*.la
+debian/tmp/usr/lib/firefox/plugins/*.so
+debian/tmp/usr/lib/iceape/plugins/*.so
+debian/tmp/usr/lib/iceweasel/plugins/*.so
 debian/tmp/usr/lib/mozilla-snapshot/plugins/*.so
 debian/tmp/usr/lib/mozilla-firefox/plugins/*.so


Bug#405900: swf-player: should be updated for iceape/iceweasel

2007-01-07 Thread Alexandra N. Kossovsky
Package: swf-player
Version: 0.3.6-2.1
Severity: grave
Justification: renders package unusable

swf-player installs plugins into following directories:
/usr/lib/mozilla-snapshot/plugins
/usr/lib/mozilla-firefox/plugins

These directories are not used by iceape/iceweasel or even by 
firefox 1.5.dfsg+1.5.0.7-2 which is currently in the testing.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (999, 'testing'), (150, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

-- 
Regards,
Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]