Flash Plugin in KDE/FreeBSD
时间:2003-11-14
来源:互联网
Flash Plugin in KDE/FreeBSD
http://www.cliff.biffle.org/freebsd/flash.html
The following instructions should allow you to use Macromedia's Flash 5 plugin for Linux Netscape from within Konqueror 3.1 on FreeBSD. These instructions should be considered Alpha-Stage. Please give me your feedback!
1. Install the following ports:
1. www/linux-flashplugin
2. www/flashpluginwrapper -- If you want to use the plugins with Mozilla as well as Konqueror, make sure you follow the directions displayed after it finishes building!
Some of these may import dependencies -- in particular, on 5-current, flashpluginwrapper brings in Mozilla, so be warned.
2. As root, ln -s /usr/local/lib/libflashplayer.so.1 /usr/local/lib/libflashplayer.so
3. Install LessTif (port at x11-toolkits/lesstif). This is required for proper plugin support.
4. Get a copy of the kdebase sources (instructions on KDE's developer site).
5. Apply the nspluginscan patch to kdebase/nsplugins/Makefile.am.
6. Apply the nspluginviewer patch to kdebase/nsplugins/viewer/Makefile.am.
7. In the kdebase source dir, run gmake -f Makefile.cvs to prepare the configure script.
8. Run ./configure with appropriate arguments (I use ./configure --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib --prefix=/usr/local).
9. cd into the nsplugins directory and run 'gmake.'
10. If that completes, run (as root) 'gmake install.' This should put the new nsplugin version in place on top of your old one (assuming you had one).
11. Copy the plugin files to a directory on your system that nspluginscan can find. In my case, I use $HOME/.netscape/plugins. The list of directories is available in Konqueror's Plugin settings control panel. The files you need to copy are ShockwaveFlash.class and libflashplayer_linux.so, which are either in /usr/X11R6/lib/mozilla/plugins (on 5-current) or /usr/X11R6/lib/browser_plugins (on 4-stable).
12. Don't forget to go into Konqueror's Settings control panel, make sure Plugins are enabled (last item in the list at left), and click Scan for Plugins. Make sure Flash shows up in the listing on the second tab. If it doesn't, lemme know.
13. While in Konqueror's Plugin Settings control panel, uncheck 'Use artsdsp to pipe plugin sound through aRts,' as artsdsp breaks the Flash plugin on FreeBSD. Note that the plugin will try to go after /dev/dsp, so aRts should be bumped to a higher vchan if you want sound.
Testing and Samples
The following sites work for me and/or others.
1. Homestar Runner, a humor site. There should be music; whether or not the graphics work should be evident.
http://www.cliff.biffle.org/freebsd/flash.html
The following instructions should allow you to use Macromedia's Flash 5 plugin for Linux Netscape from within Konqueror 3.1 on FreeBSD. These instructions should be considered Alpha-Stage. Please give me your feedback!
1. Install the following ports:
1. www/linux-flashplugin
2. www/flashpluginwrapper -- If you want to use the plugins with Mozilla as well as Konqueror, make sure you follow the directions displayed after it finishes building!
Some of these may import dependencies -- in particular, on 5-current, flashpluginwrapper brings in Mozilla, so be warned.
2. As root, ln -s /usr/local/lib/libflashplayer.so.1 /usr/local/lib/libflashplayer.so
3. Install LessTif (port at x11-toolkits/lesstif). This is required for proper plugin support.
4. Get a copy of the kdebase sources (instructions on KDE's developer site).
5. Apply the nspluginscan patch to kdebase/nsplugins/Makefile.am.
6. Apply the nspluginviewer patch to kdebase/nsplugins/viewer/Makefile.am.
7. In the kdebase source dir, run gmake -f Makefile.cvs to prepare the configure script.
8. Run ./configure with appropriate arguments (I use ./configure --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib --prefix=/usr/local).
9. cd into the nsplugins directory and run 'gmake.'
10. If that completes, run (as root) 'gmake install.' This should put the new nsplugin version in place on top of your old one (assuming you had one).
11. Copy the plugin files to a directory on your system that nspluginscan can find. In my case, I use $HOME/.netscape/plugins. The list of directories is available in Konqueror's Plugin settings control panel. The files you need to copy are ShockwaveFlash.class and libflashplayer_linux.so, which are either in /usr/X11R6/lib/mozilla/plugins (on 5-current) or /usr/X11R6/lib/browser_plugins (on 4-stable).
12. Don't forget to go into Konqueror's Settings control panel, make sure Plugins are enabled (last item in the list at left), and click Scan for Plugins. Make sure Flash shows up in the listing on the second tab. If it doesn't, lemme know.
13. While in Konqueror's Plugin Settings control panel, uncheck 'Use artsdsp to pipe plugin sound through aRts,' as artsdsp breaks the Flash plugin on FreeBSD. Note that the plugin will try to go after /dev/dsp, so aRts should be bumped to a higher vchan if you want sound.
Testing and Samples
The following sites work for me and/or others.
1. Homestar Runner, a humor site. There should be music; whether or not the graphics work should be evident.
作者: 无相 发布时间: 2003-11-14
讨厌装linux compat,170多M呢。
作者: Zoe 发布时间: 2003-11-15
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28