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
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
* Sun Feb 13 2005 Kevin DeKorte
81
Fix DPMS value on quit
82
Add workaround to disable -xy, -x, -y mplayer flags when not on local display
83
patch from Yasuhiro Matsumoto
84
Add gettext language support (ja only provided, other languages still need to be done)
85
patch from Yasuhiro Matsumoto
86
Patch to set UserAgent from Yasuhiro Matsumoto
87
Polish translation by Marcin Bukat
88
German translation by Rene Engelhard
89
Dutch translation by Panagiotis Issaris
90
Implement java script method SetFileName
91
autostart/autoplay config option. Set to 0 to disable autostart of media.
92
New Logo by Dusan Maliarik (and Gnome Crystal Icon Set)
93
Fix to URLcmp to make http://ms.radio-canada.ca/CBFT/Telejournal200501182200_4.wmv work.
94
Implemented the following Javascript functions (QuickTime compatible)
95
void SetIsLooping(in boolean loop);
96
boolean GetIsLooping();
97
void SetAutoPlay(in boolean autoPlay);
98
boolean GetAutoPlay();
99
void SetHREF(in string url);
101
void SetURL(in string url);
103
string GetMIMEType();
104
Fix up buttons and GUI layout in small windows
105
Make STOP be down when autostart = 0
106
Fix popup menu to work in letterbox bar areas
107
Fix popup menu to work before media is started
108
Fix menu callbacks to work if panel is not drawn
109
Changed behavior of Stop/MediaComplete event to show mplayerplug-in logo when done.
110
Autoconf changes to GTK1/2 Enabled flags.
111
Fix crash with noembed=1 option set
112
Fix compile issue with GTK1 code
114
* Wed Dec 15 2004 Kevin DeKorte
116
Make sdp media urls work
117
Make GTK1 code request XEmbed mode
118
Only specify mplayer -cache option for streaming data
119
Add mimetype application/x-ms-wmv to the list
120
For realmedia, don't play when controls=statusbar
121
Applied mms playlist detection patch from Yasuhiro Matsumoto (fixes TSN.ca among others)
122
Fix for older mozilla include paths. Fix based on info from FreeBSD package patch.
123
Applied sync A/V options patch from Yasuhiro Matsumoto
124
Applied some Sun JDS patches from Hiroaki Nozaki - did not apply all since they used global variables
125
Added in support for Nullsoft Streaming Video mimetype: application/x-nsv-vp3-mp3
126
Fixed problem with http://www.vg.no/video media
127
Added fallback to smb:// when getting a file:// url that is not found
128
Make Netflix previews work after Netflix website update
129
Apply NetBSD patches from Juan RP
130
Add back in the signal mask patch and a slight pause
131
Add some more pthread_cancel checks in
132
Fixed a buffer overrun that was identified by Adam Feakin
133
Fixes some minor nits with the fullscreen window in GTK2
134
Applied more patches from Hiroaki Nozaki - more HTML property support
135
Added config option enable_smil, default to 1 or enabled. Added so that SMIL support can be disabled independently
136
Fix automake issues on FreeBSD
137
Fix issue with http://www.camerata-trajectina.nl/, autoplay and buttons showing up
138
Add support for keyboard commands, these only work when the mouse is over the buttons or background, not over media
139
space/P/p - play or pause depending on current state
141
</, - rewind 10 seconds
142
>/. - fast forward 10 seconds
143
F/f - fullscreen or not
145
* Sun Sep 26 2004 Kevin DeKorte
152
* Sat Jun 19 2004 Kevin DeKorte
154
Fix Gentoo NPTL locking issue / crash
156
* Mon Jun 14 2004 Kevin DeKorte
158
Fix some minor crash situations
159
UI fixes in all modes
160
Support gecko-sdk 1.7 and higher
162
* Thu Mar 18 2004 Kevin DeKorte
164
See ChangeLog for complete listing
169
* Sun Feb 15 2004 Kevin DeKorte
171
Added some missing defines for older compilers
172
Fixed getBaseURL crasher on SUN
173
Removed -cookies option in call to mplayer because it is not present on some versions of mplayer
175
Fix crash and double play with American Idol site
176
Configure fixes, added --with-gecko-sdk option if pkg-config does not work
177
Fixed bug where first file in playlist was not being cleaned up
178
Fixed casting error in memmem.c
179
Playback reset if frame decode error
180
New option cache-percent defaulted to 25 values are [0-100] used with
181
cachesize, takes value of stream size and takes larger (huge Shrek plays on DSL now)
182
Fix errors on building on a solaris 9 with gcc tools environment
183
Fix compile issue on slackware
185
* Fri Feb 06 2004 Kevin DeKorte
187
Massive code reorganization to get javascript commands to work
188
Conversion of C code to C++ code
189
Code retains all fixes of 1.3 candidate
190
Code retains almost all functionality of 1.3 candidate
191
functions/options that have been removed include:
192
use of gmplayer, no longer an option, built-in gui planned
193
logging to a file - logging to console easier
194
download option - now automatic
195
other options have now been made default
196
mozilla-devel package now required to compile code.
197
gcc -Wall is used now, so all those errors/warnings should be fixed
198
strncpy/strncat replaced with strlcpy/strlcat, files included in archive
199
Fixed browser hang when player crashes or is killed
201
***Code Split - 1.3 candidate***
202
Fix possible buffer overflow in buildPlaylist
203
Correct mplayer shutdown process
204
More UI enhancements from Erich
205
Even more UI enhancements
206
Fix XML parse error on smil files that don't have seq tags. Which DTD does SMIL use?
207
Fix videotag not found omission
208
Fix UI crasher FreeUI was called with uninitialized pointers
209
Parse mplayer output to determine the actual size and play size of the media
210
Support RealMedia with embedded rtsp streams, allows NASA TV to work
211
needs enable-real=1 in mplayerplug-in.conf
212
mplayer with RealMedia codecs and support
213
Fix possible crash in NPP_Destroy
214
Change buildPlaylist to be called from NPP_DestroyStream rather than after a magic value in NPP_Write
215
This way we are sure we have the entire playlist downloaded.
216
Found possible crash in smil format decode
217
Added stat.c to make Solaris compile work
218
Fixed bug in getURLBase
219
Fixed handling of This->baseurl
220
Fixed crash in ASX format handling, should fix http://www.rbcmp3.com
221
Account for CR and LF instead of just LF in RM playlists
222
Solaris compile issue - change stat.c references to lstat.c
223
Fixed compile issue in lstat.c
224
Applied Alexandre Pereira da Silva's player manager work. Should help those with "ps" issues.
226
* Wed Jan 20 2004 Kevin DeKorte
228
QuickTime streaming, speed work
229
Fix crasher on url http://www.video-c.co.uk/frontend/asp/microshow.asp?vidref=benn001&FileType=ADSLprog
230
This was caused by an incorrect assumption about Quicktime MOV Reference files
231
rmda elements can contain rmdr and rdrf in any order, files I had only showed one order.
232
When keep-download=1 write mms url's into $dload-dir/playlist for reference
233
All unwanted streams are now cancelled and not downloaded with QT autospeed.
234
Changed qt-speed config option from a 0-12 number to [low|medium|high], this should be final now
235
Fixed crasher in smil format support when bitrate not specified.
236
Fixed bug with MSN Music site where http urls are self referencing and act like MMS Streams
237
Applied patch from Erich that reduces the amount of flicker when updating the status screen
238
Changed Full Redraw threshhold from 50 to 80, some sites were a little crammed.
239
Merged patch from Erich to display progress bar during download
240
Fixed bug where video was streamed rather then downloaded, when it should be downloaded
241
Proper smil format support, with nested video tags with seq tags
242
Found an extra ; in the speed adjustment code that was causing med and high speeds to be off
244
* Tue Jan 15 2004 Kevin DeKorte
247
- Minor bug fixes with saving streams
249
- Title Screen enhancement
250
- Updated status window
251
- Playlist support for http streams that act like mms streams
252
- See ChangeLog for full list of fixes
254
* Tue Dec 12 2003 Kevin DeKorte
256
- Added -zoom patch from Giuseppe Ghibò <ghibo@mandrakesoft.com>
257
- Patch to only kill the mplayer associated with the window being destroyed.
258
- This allows multiple streams to play in different windows
259
- Cosmetic "about:plugins" patch from Benjamin Larsson <banan@student.luth.se>
260
- More about:plugin work to fix an issue with AtomFilms, Quicktime was not coming up
261
- Keep trailing ; in mimetype list
262
- smil format support - Clone wars
264
* Mon Oct 20 2003 Kevin DeKorte
268
* Thu Oct 16 2003 Kevin DeKorte
270
- compatibility with mplayer 1.0pre2
272
* Fri Oct 03 2003 Kevin DeKorte
274
- True streaming support
275
- Improved playlist capability
276
- Improved status window
277
- Mplayer 0.92 is a prerequisite
279
* Wed Sep 10 2003 Kevin DeKorte
281
- Downloading feature disabled for now.
283
* Sun Sep 07 2003 Kevin DeKorte
284
- See ChangeLog for code changes
286
* Mon Mar 03 2003 Michael A. Peters <mpeters@mac.com>