1
%define name mplayerplug-in
3
%define mozilla_dir /usr/lib/mozilla/
4
%define config_dir /etc
5
%{!?os_ver:%define os_ver fc%(cut -d' ' -f4 /etc/fedora-release )}
14
Summary: MPlayer Plugin for Netscape/Mozilla
15
URL: http://mplayerplug-in.sourceforge.net/
16
Packager: Kevin DeKorte <kdekorte@users.sourceforge.net>
17
Source0: %{name}-%{ver}.tar.gz
18
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
20
BuildRequires: XFree86-devel mozilla-devel > 1.5 gtk2-devel > 2.2.1
21
Obsoletes: mplayerplug-in < %{version}
22
Provides: mplayerplug-in
26
mplayerplug-in is a Mozilla browser plugin to allow playing embedded movies on web pages.
29
rm -rf %buildroot && %{__mkdir} -p %buildroot%{mozilla_dir} && %{__mkdir} -p %buildroot%{config_dir} && %{__mkdir} -p %buildroot%{mozilla_dir}plugins && %{__mkdir} -p %buildroot%{mozilla_dir}components
33
./configure --enable-x86_64 --x-libraries=/usr/X11R6/lib
37
%{__install} -m755 mplayerplug-in.so %buildroot%{mozilla_dir}plugins
38
%{__install} -m755 mplayerplug-in.xpt %buildroot%{mozilla_dir}components
39
%{__install} -m755 mplayerplug-in.types %buildroot%{config_dir}
40
%{__install} -m755 mplayerplug-in.conf %buildroot%{config_dir}
46
%defattr (-,root,root)
47
%doc ChangeLog INSTALL README TODO
48
%{mozilla_dir}/plugins/mplayerplug-in.so
49
%{mozilla_dir}/components/mplayerplug-in.xpt
50
%config(noreplace) %{config_dir}/mplayerplug-in.conf
51
%config(noreplace) %{config_dir}/mplayerplug-in.types
54
* Tue Jun 14 2005 Kevin DeKorte
56
French translation by AL
57
updated mimetype description MS ASF video for type video/x-ms-asf
58
Build Fixes from Dag Wieers
59
Minor change to getURLFilename
60
Change to make NetFlix previews work
61
Cap the cachebytes to twice the cachesize
62
Fix up some issues with user-agent
63
Italian translation by Roberto Inzerillo
64
Brazilian Portugese translation by Danilo Bardusco
65
Slovak translation by Jozef Riha
66
Took & compare out of URLcmp so that http://www.dr.dk/netradio/?venstre=true should work.
67
More fixes to make www.dr.dk to work better.
68
Optimize the loop condition with 1 file to play
69
Fix a bug in URLcmp with file:// urls
70
Fix a bug in "loop" attribute make "loop=1" work.
71
Merged and expanded Hiroa's loop patch.
72
Russian translation by Nikolai Prokoschenko
73
Danish translation by Anders Lind
74
Progress Bar over video fix and crasher fix.
75
Spanish translation by Azael Avalos
76
getTime and getPercent patches from anonymous
77
Added options cookies, nomouseinput and noconsolecontrols to config file to disable (set to 0) or enable (set to 1 [default])
79
* Wed Dec 15 2004 Kevin DeKorte
81
Make sdp media urls work
82
Make GTK1 code request XEmbed mode
83
Only specify mplayer -cache option for streaming data
84
Add mimetype application/x-ms-wmv to the list
85
For realmedia, don't play when controls=statusbar
86
Applied mms playlist detection patch from Yasuhiro Matsumoto (fixes TSN.ca among others)
87
Fix for older mozilla include paths. Fix based on info from FreeBSD package patch.
88
Applied sync A/V options patch from Yasuhiro Matsumoto
89
Applied some Sun JDS patches from Hiroaki Nozaki - did not apply all since they used global variables
90
Added in support for Nullsoft Streaming Video mimetype: application/x-nsv-vp3-mp3
91
Fixed problem with http://www.vg.no/video media
92
Added fallback to smb:// when getting a file:// url that is not found
93
Make Netflix previews work after Netflix website update
94
Apply NetBSD patches from Juan RP
95
Add back in the signal mask patch and a slight pause
96
Add some more pthread_cancel checks in
97
Fixed a buffer overrun that was identified by Adam Feakin
98
Fixes some minor nits with the fullscreen window in GTK2
99
Applied more patches from Hiroaki Nozaki - more HTML property support
100
Added config option enable_smil, default to 1 or enabled. Added so that SMIL support can be disabled independently
101
Fix automake issues on FreeBSD
102
Fix issue with http://www.camerata-trajectina.nl/, autoplay and buttons showing up
103
Add support for keyboard commands, these only work when the mouse is over the buttons or background, not over media
104
space/P/p - play or pause depending on current state
106
</, - rewind 10 seconds
107
>/. - fast forward 10 seconds
108
F/f - fullscreen or not
110
* Sun Sep 26 2004 Kevin DeKorte
117
* Sat Jun 19 2004 Kevin DeKorte
119
Fix Gentoo NPTL locking issue / crash
121
* Mon Jun 14 2004 Kevin DeKorte
123
Fix some minor crash situations
124
UI fixes in all modes
125
Support gecko-sdk 1.7 and higher
127
* Thu Mar 18 2004 Kevin DeKorte
129
See ChangeLog for complete listing
134
* Sun Feb 15 2004 Kevin DeKorte
136
Added some missing defines for older compilers
137
Fixed getBaseURL crasher on SUN
138
Removed -cookies option in call to mplayer because it is not present on some versions of mplayer
140
Fix crash and double play with American Idol site
141
Configure fixes, added --with-gecko-sdk option if pkg-config does not work
142
Fixed bug where first file in playlist was not being cleaned up
143
Fixed casting error in memmem.c
144
Playback reset if frame decode error
145
New option cache-percent defaulted to 25 values are [0-100] used with
146
cachesize, takes value of stream size and takes larger (huge Shrek plays on DSL now)
147
Fix errors on building on a solaris 9 with gcc tools environment
148
Fix compile issue on slackware
150
* Fri Feb 06 2004 Kevin DeKorte
152
Massive code reorganization to get javascript commands to work
153
Conversion of C code to C++ code
154
Code retains all fixes of 1.3 candidate
155
Code retains almost all functionality of 1.3 candidate
156
functions/options that have been removed include:
157
use of gmplayer, no longer an option, built-in gui planned
158
logging to a file - logging to console easier
159
download option - now automatic
160
other options have now been made default
161
mozilla-devel package now required to compile code.
162
gcc -Wall is used now, so all those errors/warnings should be fixed
163
strncpy/strncat replaced with strlcpy/strlcat, files included in archive
164
Fixed browser hang when player crashes or is killed
166
***Code Split - 1.3 candidate***
167
Fix possible buffer overflow in buildPlaylist
168
Correct mplayer shutdown process
169
More UI enhancements from Erich
170
Even more UI enhancements
171
Fix XML parse error on smil files that don't have seq tags. Which DTD does SMIL use?
172
Fix videotag not found omission
173
Fix UI crasher FreeUI was called with uninitialized pointers
174
Parse mplayer output to determine the actual size and play size of the media
175
Support RealMedia with embedded rtsp streams, allows NASA TV to work
176
needs enable-real=1 in mplayerplug-in.conf
177
mplayer with RealMedia codecs and support
178
Fix possible crash in NPP_Destroy
179
Change buildPlaylist to be called from NPP_DestroyStream rather than after a magic value in NPP_Write
180
This way we are sure we have the entire playlist downloaded.
181
Found possible crash in smil format decode
182
Added stat.c to make Solaris compile work
183
Fixed bug in getURLBase
184
Fixed handling of This->baseurl
185
Fixed crash in ASX format handling, should fix http://www.rbcmp3.com
186
Account for CR and LF instead of just LF in RM playlists
187
Solaris compile issue - change stat.c references to lstat.c
188
Fixed compile issue in lstat.c
189
Applied Alexandre Pereira da Silva's player manager work. Should help those with "ps" issues.
191
* Wed Jan 20 2004 Kevin DeKorte
193
QuickTime streaming, speed work
194
Fix crasher on url http://www.video-c.co.uk/frontend/asp/microshow.asp?vidref=benn001&FileType=ADSLprog
195
This was caused by an incorrect assumption about Quicktime MOV Reference files
196
rmda elements can contain rmdr and rdrf in any order, files I had only showed one order.
197
When keep-download=1 write mms url's into $dload-dir/playlist for reference
198
All unwanted streams are now cancelled and not downloaded with QT autospeed.
199
Changed qt-speed config option from a 0-12 number to [low|medium|high], this should be final now
200
Fixed crasher in smil format support when bitrate not specified.
201
Fixed bug with MSN Music site where http urls are self referencing and act like MMS Streams
202
Applied patch from Erich that reduces the amount of flicker when updating the status screen
203
Changed Full Redraw threshhold from 50 to 80, some sites were a little crammed.
204
Merged patch from Erich to display progress bar during download
205
Fixed bug where video was streamed rather then downloaded, when it should be downloaded
206
Proper smil format support, with nested video tags with seq tags
207
Found an extra ; in the speed adjustment code that was causing med and high speeds to be off
209
* Tue Jan 15 2004 Kevin DeKorte
212
- Minor bug fixes with saving streams
214
- Title Screen enhancement
215
- Updated status window
216
- Playlist support for http streams that act like mms streams
217
- See ChangeLog for full list of fixes
219
* Tue Dec 12 2003 Kevin DeKorte
221
- Added -zoom patch from Giuseppe Ghibò <ghibo@mandrakesoft.com>
222
- Patch to only kill the mplayer associated with the window being destroyed.
223
- This allows multiple streams to play in different windows
224
- Cosmetic "about:plugins" patch from Benjamin Larsson <banan@student.luth.se>
225
- More about:plugin work to fix an issue with AtomFilms, Quicktime was not coming up
226
- Keep trailing ; in mimetype list
227
- smil format support - Clone wars
229
* Mon Oct 20 2003 Kevin DeKorte
233
* Thu Oct 16 2003 Kevin DeKorte
235
- compatibility with mplayer 1.0pre2
237
* Fri Oct 03 2003 Kevin DeKorte
239
- True streaming support
240
- Improved playlist capability
241
- Improved status window
242
- Mplayer 0.92 is a prerequisite
244
* Wed Sep 10 2003 Kevin DeKorte
246
- Downloading feature disabled for now.
248
* Sun Sep 07 2003 Kevin DeKorte
249
- See ChangeLog for code changes
251
* Mon Mar 03 2003 Michael A. Peters <mpeters@mac.com>