Bug 152080 - www/flashplugin-mozilla port is broken
Summary: www/flashplugin-mozilla port is broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 15:50 UTC by kenorb
Modified: 2010-12-28 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kenorb 2010-11-09 15:50:06 UTC
I installed flashplugin-mozilla from ports.
It doesn't work with Firefox and

See bug reports:
https://bugzilla.mozilla.org/show_bug.cgi?id=610610
https://sourceforge.net/tracker/?func=detail&aid=3105876&group_id=110956&atid=657852
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/607211
http://forums.freebsd.org/showthread.php?t=15446
http://forums.freebsd.org/showthread.php?p=108468
http://forums.freebsd.org/showthread.php?t=18985

Basically this port is 5 years old and it's too old and it's not supported anymore.
The name is confusing, because it looks like it's the most appropriate package for flash plugin.

"
Date: 2010-11-09 12:04:48 GMT
Sender: tgc 
GPLFlash isn't maintained anymore. Instead try gnash or lightspark
"

Fix: 

Workaround:
sudo pkg_delete -v flashplugin-mozilla\*
sudo portinstall nspluginwrapper linux_base-f10
sudo ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/browser_plugins/
sudo nspluginwrapper -v -a -i
sudo mount -t linprocfs linproc /usr/compat/linux/proc
echo 'linproc    /usr/compat/linux/proc  linprocfs   rw  0   0' >> /etc/fstab # run from root, to add at boot time

Solution for /usr/ports/www/flashplugin-mozilla:
Can you mark this port as ignore or broken?
Or just add the message in pkg-message:
This port is old and no more supported. Please use alternatives such as: gnash, lightspark or linux-f10-flashplugin
Or addthe link to the handbook:
http://www.freebsd.org/doc/handbook/desktop-browsers.html
How-To-Repeat: > gdb epiphany
SetWindow
The program 'epiphany' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 27 error_code 3 request_code 3 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[Thread 80e4a4140 (LWP 100683) exited]

Program exited with code 01.

With Firefox:
Backtrace:
(gdb) bt
#0 RealBreak () at nsDebugImpl.cpp:421
#1 0x0000000801c399da in NS_DebugBreak_P (aSeverity=3, 
aStr=0x8155495c8 "X_ShmCreatePixmap: BadImplementation (server does not implement operation); 2 requests ago; id=0x4200003", aExpr=0x0, 
aFile=0x801cce3b0 "nsX11ErrorHandler.cpp", aLine=182) at nsDebugImpl.cpp:324
#2 0x0000000800ae90a3 in X11Error (display=0x813151000, event=0x7fffffffd7b0) at nsX11ErrorHandler.cpp:182
#3 0x0000000804c841c5 in _XError () from /usr/local/lib/libX11.so.6
#4 0x0000000804c8a944 in process_responses () from /usr/local/lib/libX11.so.6
#5 0x0000000804c8aed7 in _XReply () from /usr/local/lib/libX11.so.6
#6 0x0000000804c8009a in XSync () from /usr/local/lib/libX11.so.6
#7 0x000000081920383d in FlashGraphicInitX11 (This=0x812a5c240) at plugin.c:789
#8 0x0000000819202e28 in NPP_Write (instance=0x811bcd530, stream=0x8155499c8, offset=0, len=7607, buffer=0x814a77000) at plugin.c:405
#9 0x0000000819203e0c in Private_Write (instance=0x811bcd530, stream=0x8155499c8, offset=0, len=7607, buffer=0x814a77000) at npunix.c:223
Comment 1 Bruce Cran freebsd_committer freebsd_triage 2010-11-10 12:05:01 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-10 12:05:45 UTC
Maintainer of www/flashplugin-mozilla,

Please note that PR ports/152080 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/152080

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-10 12:05:46 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Li-Lun Wang 2010-11-30 19:17:22 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please apply the following patch to mark flashplugin-mozilla, as well
as libflash, deprecated.  Thank you.

diff -urN graphics/libflash.orig/Makefile graphics/libflash/Makefile
- --- graphics/libflash.orig/Makefile	2010-11-30 13:14:18.331124175 -0600
+++ graphics/libflash/Makefile	2010-11-30 13:13:24.929745184 -0600
@@ -15,6 +15,8 @@
 MAINTAINER=	llwang@infor.org
 COMMENT=	GPL Flash (TM) Library
 
+DEPRECATED=	gplflash is no longer supported. Please use gnash instead
+
 LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/libmad \
 		jpeg.11:${PORTSDIR}/graphics/jpeg
 
diff -urN www/flashplugin-mozilla.orig/Makefile www/flashplugin-mozilla/Makefile
- --- www/flashplugin-mozilla.orig/Makefile	2010-02-07 12:09:23.897174000 -0600
+++ www/flashplugin-mozilla/Makefile	2010-11-30 13:05:05.566895166 -0600
@@ -15,6 +15,8 @@
 MAINTAINER=	llwang@infor.org
 COMMENT=	A GPL standalone Flash (TM) plugin for Mozilla web browser
 
+DEPRECATED=	gplflash is no longer supported. Please use graphics/gnash, graphics/lightspark, or www/nspluginwrapper and www/linux-f10-flashplugin10 instead
+
 LIB_DEPENDS=	flash.0:${PORTSDIR}/graphics/libflash
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/plugin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQFM9U3ACQM7t5B2mhARAjXJAJ9b9SZbK9ivzQXT6bFH/glrd58zTwCcCzT4
DrkMJ1G71+99HbBkyX4EOko=
=qecu
-----END PGP SIGNATURE-----
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2010-12-28 15:01:06 UTC
State Changed
From-To: feedback->closed

Ports were marked as deprecated. Thanks for reporting!
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-12-28 15:01:09 UTC
arved       2010-12-28 15:00:58 UTC

  FreeBSD ports repository

  Modified files:
    graphics/libflash    Makefile 
    www/flashplugin-mozilla Makefile 
  Log:
  Mark deprecated.
  
  PR:             152080
  Submitted by:   maintainer
  
  Revision  Changes    Path
  1.29      +2 -0      ports/graphics/libflash/Makefile
  1.32      +4 -0      ports/www/flashplugin-mozilla/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"