Overview
gpac.changes
Added
x
1
2
+-------------------------------------------------------------------
3
+Wed Oct 31 23:50:15 UTC 2012 - i@margueirte.su
4
+
5
+- fix Tumbleweed builds.
6
+- adjust enable_V4Studio.patch.
7
+ * do not use static lib for linking.
8
+
9
+-------------------------------------------------------------------
10
+Thu Oct 4 06:42:47 UTC 2012 - i@marguerite.su
11
+
12
+- update to 0.5.0
13
+ * MPEG-DASH and HLS support (players and MP4Box)
14
+ * MPEG-U Widgets and UPnP support in the player
15
+ * Stereo and multiview display support
16
+ * Better AVC and SVC support including OpenSVC decoder integration
17
+ * More live tools: RTP, MPEG-TS, T-DMB support, scene encoders (BIFS and RME/DIMS)
18
+ * iOS and Android support
19
+ * and many other good things
20
+- svn4192 fixes sf#3574796:
21
+ * Osmozilla: change switch_up type from int to long, since xulrunner 15 doesn't support int type directly.
22
+ * change bogus uuid in Osmozilla.
23
+ * fix mozjs15 depreciated JS_ConstructObject to JS_New.
24
+- enable_V4Studio patch
25
+ * upstream masked Osmo4_wx and osmozilla. I enabled them and fix linker errors.
26
+- smjs_call_prop_stub.patch
27
+ * fix openSUSE xulrunner version.
28
+- SVGGen_abuild.patch
29
+ * fix applications/generators/SVG linker errors.
30
+- 64bit-portability.patch
31
+ * fix OBS errors and warnings.
32
+- enable build udptsseg, a HTTP streaming tool.
33
+- spec clean.
34
+ * remove _with_amr. we're already in PMBS.
35
+ * correct BuildRequires package names and remove unneeded Requires.
36
+ * remove dos2unix fixes
37
+ * remove 64bit adjustments. we use upstream options.
38
+ * remove libpng-1.4.0 fix. no longer need.
39
+ * remove SONAME. upstream did that.
40
+ * remove openjpeg fix.
41
+ * remove unneeded configure options.
42
+ * remove < 1140 conditionals.
43
+ * use new ffmpeg. upstream code change.
44
+ * add IDL regeneration for newer xulrunner.
45
+ * enable osmozilla for all openSUSE versions. although few need it.
46
+- TODO: enable hbbtvplayer builds.
47
+
48
+-------------------------------------------------------------------
49
+Fri Dec 16 20:38:01 UTC 2011 - pascal.bleser@opensuse.org
50
+
51
+- fix build on recent openSUSE versions, failure was introduced by missing OPENJPEG_VERSION
52
+
53
+-------------------------------------------------------------------
54
+Mon Jan 11 00:00:00 UTC 2010 - toni@links2linux.de
55
+
56
+- fixed buildroot usage:
57
+ Error: no modules found in /usr/src/packages/BUILDROOT/gpac-0.4.5-0.pm.5.17.x86_64/usr/lib64/gpac
58
+
59
+-------------------------------------------------------------------
60
+Tue Dec 2 00:00:00 UTC 2008 - toni@links2linux.de
61
+
62
+- update to 0.4.5
63
+- added libgpac0 subpackage
64
+- added librsvg2(-devel) to BuildRequires
65
+- install also the *Gen applications
66
+
67
+-------------------------------------------------------------------
68
+Wed Sep 24 00:00:00 UTC 2008 - toni@links2linux.de
69
+
70
+- rebuild with new libffmpeg0-devel, libmad-devel, libfaad2-devel,
71
+ libxvidcore-devel packages
72
+- patched for new ffmpeg-API
73
+ (bits_per_sample ==> bits_per_coded_sample, CODEC_ID_MP3LAME ==> CODEC_ID_MP3)
74
+
75
+-------------------------------------------------------------------
76
+Fri Dec 21 00:00:00 UTC 2007 - toni@links2linux.de
77
+
78
+- rebuild with new ffmpeg package
79
+
80
+-------------------------------------------------------------------
81
+Sun Jul 1 00:00:00 UTC 2007 - toni@links2linux.de
82
+
83
+- use --extra-flags, as CPFLAGS/OPTFLAGS are not recognized in configure
84
+ thx to Richard Sotke <tee@teeforum.com>
85
+
86
+-------------------------------------------------------------------
87
+Fri Jun 1 00:00:00 UTC 2007 - toni@links2linux.de
88
+
89
+- merged in 64bit patch/spec-file and corrected BuildRequires
90
+- added rebuild of idl
91
+- should now build on all SuSE-10.x
92
+
93
+-------------------------------------------------------------------
94
+Thu May 31 00:00:00 UTC 2007 - toni@links2linux.de
95
+
96
+- update to 0.4.4
97
+
98
+-------------------------------------------------------------------
99
+Sat Apr 21 00:00:00 UTC 2007 - toni@links2linux.de
100
+
101
+- update to 0.4.3-cvs20070420
102
+
103
+-------------------------------------------------------------------
104
+Fri Mar 9 00:00:00 UTC 2007 - toni@links2linux.de
105
+
106
+- update to 0.4.3-cvs20070309
107
+
108
+-------------------------------------------------------------------
109
+Sun Jan 28 00:00:00 UTC 2007 - toni@links2linux.de
110
+
111
+- update to 0.4.3-cvs20070126
112
+
113
+-------------------------------------------------------------------
114
+Tue Jan 16 00:00:00 UTC 2007 - toni@links2linux.de
115
+
116
+- update to 0.4.3-cvs20070115
117
+
118
+-------------------------------------------------------------------
119
+Wed Dec 13 00:00:00 UTC 2006 - toni@links2linux.de
120
+
121
+- update to 0.4.3-cvs20061213
122
+
123
+-------------------------------------------------------------------
124
+Sat Dec 9 00:00:00 UTC 2006 - toni@links2linux.de
125
+
126
+- rebuild with browser-plugin and enabled --enable-amr
127
+
128
+-------------------------------------------------------------------
129
+Fri Dec 8 00:00:00 UTC 2006 - toni@links2linux.de
130
+
131
+- initial build 0.4.3-cvs20061114
132
gpac.spec
Added
387
1
2
+#
3
+# spec file for package gpac
4
+#
5
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+#
7
+# All modifications and additions to the file contributed by third parties
8
+# remain the property of their copyright owners, unless otherwise agreed
9
+# upon. The license for this file, and modifications and additions to the
10
+# file, is the same license as for the pristine package itself (unless the
11
+# license for the pristine package is not an Open Source License, in which
12
+# case the license is the MIT License). An "Open Source License" is a
13
+# license that conforms to the Open Source Definition (Version 1.9)
14
+# published by the Open Source Initiative.
15
+
16
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
+#
18
+
19
+%define soname 2
20
+
21
+# workaround for Tumbleweed. Because we can't detect it directly.
22
+%if 0%{?suse_version} >= 1210
23
+%define xulrunner_version %(rpm -q --qf '%%{VERSION}' xulrunner-devel | sed 's|\\..*$||')
24
+%else
25
+%define xulrunner192_version %(rpm -q --qf '%%{VERSION}' mozilla-xulrunner192-devel | sed 's|\\..*$||')
26
+%endif
27
+
28
+Name: gpac
29
+Version: 0.5.0.svn4192
30
+Release: 1.pm.1
31
+License: LGPL-2.1+
32
+Summary: A multimedia framework covering MPEG-4, VRML/X3D and SVG
33
+Group: Productivity/Multimedia/Video/Editors and Convertors
34
+Source: gpac-%{version}.tar.bz2
35
+Source1: http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-b00.zip
36
+Source2: http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-b00.zip
37
+Url: http://gpac.sourceforge.net
38
+Source90: %{name}-rpmlintrc
39
+#PATCH-FIX-openSUSE i@marguerite.su - openSUSE only fix for sf#3574796
40
+Patch0: gpac-0.5.0-smjs_call_prop_stub.patch
41
+#PATCH-FIX-UPSTREAM i@marguerite.su - enable osmozilla and osmo4_wx
42
+Patch1: gpac-0.5.0-enable_V4Studio.patch
43
+#PATCH-FIX-UPSTREAM i@marguerite.su - fix SVGGen ldflags
44
+Patch2: gpac-0.5.0-SVGGen_abuild.patch
45
+#PATCH-FIX-UPSTREAM wengxuetian@gmail.com - fix E: 64bit-portability-issue
46
+Patch3: gpac-0.5.0-64bit-portability.patch
47
+#PATCH-FIX-UPSTREAM i@marguerite.su - export functions x264 needs
48
+Patch4: gpac-0.5.0-x264-export.patch
49
+BuildRequires: DirectFB-devel
50
+BuildRequires: ImageMagick
51
+BuildRequires: Mesa-devel
52
+BuildRequires: alsa-devel
53
+BuildRequires: dos2unix
54
+BuildRequires: doxygen
55
+BuildRequires: fdupes
56
+BuildRequires: freeglut-devel
57
+BuildRequires: freetype2-devel
58
+BuildRequires: gcc-c++
59
+%if 0%{?suse_version} == 1140
60
+BuildRequires: mozilla-js192
61
+%endif
62
+%if 0%{?suse_version} > 1140
63
+BuildRequires: js-devel
64
+%endif
65
+BuildRequires: liba52-devel
66
+BuildRequires: libfaad-devel
67
+BuildRequires: libffmpeg-devel
68
+BuildRequires: libjpeg-devel
69
+BuildRequires: libmad-devel
70
+BuildRequires: libogg-devel
71
+BuildRequires: libpng-devel
72
+BuildRequires: libpulse-devel
73
+BuildRequires: librsvg-devel >= 2.5.0
74
+BuildRequires: libtheora-devel
75
+BuildRequires: libvorbis-devel
76
+BuildRequires: libxvidcore-devel
77
+BuildRequires: pkgconfig(libopenjpeg)
78
+BuildRequires: pkgconfig(libxml-2.0)
79
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
80
+%if 0%{?suse_version} == 1140
81
+BuildRequires: mozilla-xulrunner192-devel
82
+%endif
83
+%if 0%{?suse_version} > 1140
84
+BuildRequires: xulrunner-devel
85
+%endif
86
+BuildRequires: libSDL-devel
87
+BuildRequires: libopenssl-devel
88
+BuildRequires: unzip
89
+BuildRequires: update-desktop-files
90
+%if 0%{?suse_version} >= 1140
91
+BuildRequires: wxWidgets-wxcontainer-devel
92
+%else
93
+BuildRequires: wxGTK-devel
94
+%endif
95
+BuildRequires: zlib-devel
96
+
97
+%description
98
+GPAC is a multimedia framework for MPEG-4, VRML/X3D and SVG/SMIL.
99
+
100
+GPAC is built upon an implementation of the MPEG-4 Systems standard
101
+(ISO/IEC 14496-1) developed from scratch in C.
102
+
103
+The main development goal is to provide a clean (a.k.a. readable by
104
+as many people as possible), small and flexible alternative to the
105
+MPEG-4 Systems reference software (known as IM1 and distributed in
106
+ISO/IEC 14496-5).
107
+
108
+The second development goal is to achieve integration of recent
109
+multimedia standards (SVG/SMIL, VRML, X3D, SWF, etc) into a single
110
+framework. This stage is still under drafting but GPAC already
111
+supports most of VRML97, some X3D as well as very simple SVG.
112
+
113
+GPAC already features 2D and 3D multimedia playback, MPEG-4 Systems
114
+encoders/multiplexers and publishing tools for content distribution.
115
+
116
+GPAC is licensed under the GNU Lesser General Public License.
117
+
118
+The current GPAC release (0.4.5) already covers a very large part of
119
+the MPEG-4 standard, and features what can probably be seen as the
120
+most advanced and robust 2D MPEG-4 Player available worldwide, as
121
+well as a decent 3D MPEG-4/VRML player.
122
+
123
+Author: Jean Le Feuvre <jeanlf at users.sourceforge.net>
124
+
125
+%package -n libgpac%{soname}
126
+Summary: Shared libraries for gpac
127
+Group: System/Libraries
128
+
129
+%description -n libgpac%{soname}
130
+Shared libraries for package gpac.
131
+
132
+%package -n libgpac-devel
133
+Summary: Development files for gpac
134
+Group: Development/Languages/C and C++
135
+Requires: libgpac%{soname} = %{version}
136
+# old name
137
+Provides: gpac-devel = %{version}
138
+Obsoletes: gpac-devel < %{version}
139
+
140
+%description -n libgpac-devel
141
+Development files for gpac.
142
+
143
+Author: Jean Le Feuvre <jeanlf@users.sourceforge.net>
144
+
145
+%package -n Osmo4
146
+Summary: MPEG-4 Media player based on gpac
147
+Group: Productivity/Multimedia/Video/Players
148
+Requires: %{name} = %{version}
149
+
150
+%description -n Osmo4
151
+Osmo4 is an MPEG-4 player with the following features:
152
+* MPEG-4 Systems player:
153
+* Optimized 2D graphics renderer compliant with the Complete2D Scene
154
+ Graph and Graphics profiles.
155
+* Video and audio presentation achieved through plugins
156
+* Multimedia player features:
157
+* Timeline controls: play, pause, step.
158
+* Graphics features: antialising, zoom and pan, scalable resizing
159
+ of rendering area
160
+* Support for Advanced Text and Graphics extension of MPEG-4 Systems
161
+* Frame export to JPG, PNG, BMP.
162
+
163
+Osmo4 enables the use of MPEG-4 Systems in a vast aplication domain,
164
+among which:
165
+* downloaded or streamed cartoons
166
+* synchronized, interactive mixes of graphics, text, video and audio
167
+* applications benefiting from MPEG-7 and MPEG-21 advances: meta-data,
168
+ encryption, watermarking, rights management
169
+
170
+%package browser-plugin
171
+Summary: Osmozilla is a GPAC plugin for Mozilla-based browsers
172
+Group: Productivity/Networking/Web/Utilities
173
+Requires: %{name} = %{version}
174
+
175
+%description browser-plugin
176
+Osmozilla is a GPAC plugin for Mozilla-based browsers.
177
+
178
+%prep
179
+%setup -q
180
+%if 0%{?suse_version} >= 1210
181
+%if 0%{?xulrunner_version} >= 16
182
+%patch0 -p1
183
+%endif
184
+%else
185
+%patch0 -p1
186
+%endif
187
+%patch1 -p1
188
+%patch2 -p1
189
+%patch3 -p1
190
+%patch4 -p1
191
+
192
+# unpack amr files
193
+install -dm 755 modules/amr_float_dec/amr_nb_ft
194
+pushd modules/amr_float_dec/amr_nb_ft
195
+ unzip -q %{SOURCE1}
196
+ unzip -qj 26104-b00_ANSI_C_source_code.zip
197
+popd
198
+
199
+install -dm 755 modules/amr_float_dec/amr_wb_ft
200
+pushd modules/amr_float_dec/amr_wb_ft
201
+ unzip -q %{SOURCE2}
202
+ unzip -qj 26204-b00_ANSI-C_source_code.zip
203
+popd
204
+
205
+# Fix encoding warnings
206
+cp -p Changelog Changelog.origine
207
+iconv -f ISO-8859-1 -t UTF8 Changelog.origine > Changelog
208
+touch -r Changelog.origine Changelog
209
+rm -rf Changelog.origine
210
+
211
+cp -p doc/ipmpx_syntax.bt doc/ipmpx_syntax.bt.origine
212
+iconv -f ISO-8859-1 -t UTF8 doc/ipmpx_syntax.bt.origine > doc/ipmpx_syntax.bt
213
+touch -r doc/ipmpx_syntax.bt.origine doc/ipmpx_syntax.bt
214
+rm -rf doc/ipmpx_syntax.bt.origine
215
+
216
+%build
217
+%if 0%{?suse_version} > 1140
218
+# regenerate plugin interface from IDL (see applications/osmozilla/readme.txt)
219
+pushd applications/osmozilla
220
+ chmod 666 nsIOsmozilla.xpt_linux; rm nsIOsmozilla.xpt_linux
221
+ chmod 666 nsIOsmozilla.h
222
+ chmod 666 nsIOsmozilla.idl
223
+
224
+ %define _IDL_DIR `pkg-config --variable=idldir libxul`
225
+ %define _SDK_DIR `pkg-config --variable=sdkdir libxul`
226
+
227
+ %{_SDK_DIR}/sdk/bin/header.py \
228
+ -I%{_IDL_DIR} \
229
+ -o nsIOsmozilla.h \
230
+ nsIOsmozilla.idl
231
+ %{_SDK_DIR}/sdk/bin/typelib.py \
232
+ -I%{_IDL_DIR} \
233
+ -o nsIOsmozilla.xpt \
234
+ nsIOsmozilla.idl
235
+
236
+ cp nsIOsmozilla.xpt nsIOsmozilla.xpt_linux
237
+popd
238
+%else
239
+# regenerate plugin interface from IDL (see applications/osmozilla/readme.txt)
240
+pushd applications/osmozilla
241
+ chmod 666 nsIOsmozilla.xpt_linux; rm nsIOsmozilla.xpt_linux
242
+ chmod 666 nsIOsmozilla.h
243
+ chmod 666 nsIOsmozilla.idl
244
+
245
+ %define _IDL_DIR `pkg-config --variable=idldir libxul`
246
+ %define _INC_DIR `pkg-config --variable=includedir libxul`
247
+ %define _LIB_DIR `pkg-config --variable=libdir libxul`
248
+
249
+ %{_LIB_DIR}/xpidl \
250
+ -m header \
251
+ -I%{_IDL_DIR} \
252
+ -I%{_INC_DIR}/xpcom/idl \
253
+ nsIOsmozilla.idl
254
+ %{_LIB_DIR}/xpidl \
255
+ -m typelib \
256
+ -I%{_IDL_DIR} \
257
+ -I%{_INC_DIR}/xpcom/idl \
258
+ nsIOsmozilla.idl
259
+ %{_LIB_DIR}/xpt_link \
260
+ nposmozilla.xpt nsIOsmozilla.xpt
261
+
262
+ cp nsIOsmozilla.xpt nsIOsmozilla.xpt_linux
263
+popd
264
+%endif
265
+
266
+# configure the beast
267
+./configure \
268
+ --prefix=%{_prefix} \
269
+%ifarch x86_64
270
+ --libdir=lib64 \
271
+%endif
272
+ --mandir=%{_mandir} \
273
+ --xulsdk-path=`pkg-config --variable=sdkdir libxul` \
274
+ --extra-cflags="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DXP_UNIX -fPIC"
275
+
276
+# make the beast (NO parallel build possible ...)
277
+# fix I: File is compiled without RPM_OPT_FLAGS gpac doesn't respect any flags at all
278
+make all CFLAG="%{optflags}"
279
+make sggen
280
+make -C applications/generators/SVG
281
+make -C applications/udptsseg
282
+
283
+# create dev-docs
284
+pushd doc
285
+ doxygen -u
286
+ doxygen
287
+popd
288
+
289
+%install
290
+%make_install
291
+
292
+# header files
293
+make install-lib \
294
+ DESTDIR=%{buildroot}
295
+
296
+# browser-plugin
297
+install -dm 755 %{buildroot}%{_libdir}/browser-plugins
298
+install -m 755 bin/gcc/nposmozilla.so \
299
+ %{buildroot}%{_libdir}/browser-plugins
300
+install -m 755 bin/gcc/nposmozilla.xpt \
301
+ %{buildroot}%{_libdir}/browser-plugins
302
+
303
+# generated sggen binaries
304
+for i in MPEG4 SVG X3D; do
305
+ install -m 755 applications/generators/$i/${i}Gen \
306
+ %{buildroot}%{_bindir}
307
+done
308
+install -m 755 bin/gcc/mp4* \
309
+ %{buildroot}%{_bindir}
310
+
311
+# Osmo4
312
+install -m 755 bin/gcc/Osmo4 \
313
+ %{buildroot}%{_bindir}
314
+
315
+# udptsseg
316
+install -m 755 bin/gcc/udptsseg \
317
+ %{buildroot}%{_bindir}
318
+
319
+# icon
320
+install -dm 755 %{buildroot}%{_datadir}/pixmaps
321
+convert -size 48x48 applications/osmo4_wx/osmo4.xpm \
322
+ Osmo4.png
323
+install -m 644 Osmo4.png \
324
+ %{buildroot}%{_datadir}/pixmaps
325
+
326
+# menu-entry
327
+install -dm 755 %{buildroot}%{_datadir}/applications
328
+cat > Osmo4.desktop << EOF
329
+[Desktop Entry]
330
+Comment=MPEG-4 Media player based on gpac
331
+Name=Osmo4
332
+GenericName=MPEG-4 Media player based on gpac
333
+Type=Application
334
+Exec=Osmo4
335
+Icon=Osmo4
336
+Terminal=false
337
+EOF
338
+%suse_update_desktop_file -i Osmo4 AudioVideo Player
339
+
340
+# static lib
341
+rm -rf %{buildroot}%{_libdir}/*.a
342
+
343
+%fdupes %{buildroot}
344
+
345
+%post -n libgpac%{soname} -p /sbin/ldconfig
346
+
347
+%postun -n libgpac%{soname} -p /sbin/ldconfig
348
+
349
+%files
350
+%defattr(-,root,root)
351
+%doc AUTHORS BUGS Changelog COPYING README TODO
352
+%doc doc/configuration.html
353
+%{_bindir}/MP4Box
354
+%{_bindir}/MP4Client
355
+%{_bindir}/MPEG4Gen
356
+%{_bindir}/X3DGen
357
+%{_bindir}/SVGGen
358
+%{_bindir}/mp42ts
359
+%{_bindir}/udptsseg
360
+%{_libdir}/%{name}/
361
+%{_datadir}/%{name}/
362
+%{_mandir}/man1/*
363
+
364
+%files -n libgpac%{soname}
365
+%defattr(-,root,root)
366
+%{_libdir}/*.so.%{soname}
367
+%{_libdir}/*.so.%{soname}.*
368
+
369
+%files -n libgpac-devel
370
+%defattr(-,root,root)
371
+%doc doc/CODING_STYLE doc/ipmpx_syntax.bt
372
+%doc doc/html/*
373
+%{_includedir}/%{name}/
374
+%{_libdir}/*.so
375
+
376
+%files -n Osmo4
377
+%defattr(-,root,root)
378
+%{_bindir}/Osmo4
379
+%{_datadir}/pixmaps/Osmo4.png
380
+%{_datadir}/applications/Osmo4.desktop
381
+
382
+%files browser-plugin
383
+%defattr(-,root,root)
384
+%{_libdir}/browser-plugins/nposmozilla.*
385
+
386
+%changelog
387
gpac-0.5.0-64bit-portability.patch
Added
24
1
2
+Index: gpac/applications/generators/SVG/svggen.h
3
+===================================================================
4
+--- gpac.old/applications/generators/SVG/svggen.h (版本 4214)
5
++++ gpac/applications/generators/SVG/svggen.h (工作副本)
6
+@@ -190,6 +190,17 @@
7
+
8
+ FILE *BeginFile(u32 type);
9
+ void EndFile(FILE *f, u32 type);
10
++SVGGenAttribute *findAttribute(SVGGenElement *e, char *name);
11
++void generateAttributes(FILE *output, GF_List *attributes, Bool inDefine);
12
++u32 generateCoreInfo(FILE *output, SVGGenElement *elt, u32 start);
13
++void generate_laser_tables(GF_List *svg_elements);
14
++void generate_table(GF_List *elements);
15
++void generateSVGCode_V1(GF_List *svg_elements);
16
++void generateSVGCode_V2(GF_List *svg_elements);
17
++void generateSVGCode_V3(GF_List *svg_elements);
18
++void svgNameToImplementationName(xmlChar *svg_name, char implementation_name[50]);
19
++u32 generateGenericInfo(FILE *output, SVGGenElement *elt, u32 index, char *pointer_root, u32 start);
20
++void generate_laser_tables_da(GF_List *atts);
21
+
22
+
23
+ #endif // _SVGGEN_H_
24
gpac-0.5.0-SVGGen_abuild.patch
Added
14
1
2
+diff -urN gpac-0.5.0.svn4192.orig/applications/generators/SVG/Makefile gpac-0.5.0.svn4192/applications/generators/SVG/Makefile
3
+--- gpac-0.5.0.svn4192.orig/applications/generators/SVG/Makefile 2012-10-31 04:14:54.011804771 +0800
4
++++ gpac-0.5.0.svn4192/applications/generators/SVG/Makefile 2012-10-31 04:21:04.182859948 +0800
5
+@@ -35,7 +35,7 @@
6
+ all: $(PROG)
7
+
8
+ SVGGen$(EXE): $(OBJS)
9
+- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(XML2_LIBS) $(EXTRALIBS) -L../../../bin/gcc -L../../../extra_lib/lib/gcc -lgpac -lz
10
++ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(XML2_LIBS) $(EXTRALIBS) -L../../../bin/gcc -L../../../extra_lib/lib/gcc -lgpac -lz -lxml2
11
+
12
+
13
+ %.o: %.c
14
gpac-0.5.0-enable_V4Studio.patch
Added
104
1
2
+diff -urN gpac-0.5.0.svn4192.orig/applications/Makefile gpac-0.5.0.svn4192/applications/Makefile
3
+--- gpac-0.5.0.svn4192.orig/applications/Makefile 2012-11-01 07:44:25.050487961 +0800
4
++++ gpac-0.5.0.svn4192/applications/Makefile 2012-11-01 07:45:17.704267823 +0800
5
+@@ -17,15 +17,15 @@
6
+ INSTDIRS=mp4client
7
+ ifeq ($(CONFIG_XUL),no)
8
+ else
9
+-#INSTDIRS+=osmozilla
10
+-#APPDIRS+=osmozilla
11
++INSTDIRS+=osmozilla
12
++APPDIRS+=osmozilla
13
+ endif
14
+
15
+ #disable due to version incompatibilities
16
+ ifeq ($(USE_WXWIDGETS), yes)
17
+-#APPDIRS+=osmo4_wx
18
+-#V4STUDIODIR=V4Studio
19
+-#INSTDIRS+=osmo4_wx
20
++APPDIRS+=osmo4_wx
21
++V4STUDIODIR=V4Studio
22
++INSTDIRS+=osmo4_wx
23
+ endif
24
+
25
+ ALLDIRS=$(APPDIRS)
26
+diff -urN gpac-0.5.0.svn4192.orig/applications/osmo4_wx/Makefile gpac-0.5.0.svn4192/applications/osmo4_wx/Makefile
27
+--- gpac-0.5.0.svn4192.orig/applications/osmo4_wx/Makefile 2012-11-01 07:44:25.011488147 +0800
28
++++ gpac-0.5.0.svn4192/applications/osmo4_wx/Makefile 2012-11-01 08:07:33.914532090 +0800
29
+@@ -46,7 +46,7 @@
30
+ all: $(PROG)
31
+
32
+ Osmo4$(EXE): $(OBJS)
33
+- $(CC) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) -L../../bin/gcc -lgpac $(WX_LFLAGS) $(LINKFLAGS)
34
++ $(CC) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) -L../../bin/gcc -lgpac -lX11 -lgtk-x11-2.0 -lgdk-x11-2.0 -lstdc++ -lm $(WX_LFLAGS) $(LINKFLAGS)
35
+
36
+ clean:
37
+ rm -f $(OBJS) ../../bin/gcc/$(PROG)
38
+diff -urN gpac-0.5.0.svn4192.orig/applications/osmozilla/osmo_npapi.cpp gpac-0.5.0.svn4192/applications/osmozilla/osmo_npapi.cpp
39
+--- gpac-0.5.0.svn4192.orig/applications/osmozilla/osmo_npapi.cpp 2012-11-01 07:44:25.049487966 +0800
40
++++ gpac-0.5.0.svn4192/applications/osmozilla/osmo_npapi.cpp 2012-11-01 07:46:04.823168413 +0800
41
+@@ -373,10 +373,10 @@
42
+ /* explicit plugin call */ \
43
+ "application/x-gpac::GPAC plugin;" \
44
+
45
+-char * NP_GetMIMEDescription(void)
46
++/*char * NP_GetMIMEDescription(void)
47
+ {
48
+ return (char *) GPAC_PLUGIN_MIMETYPES;
49
+-}
50
++}*/
51
+
52
+
53
+ NPError NP_GetValue(void *future, NPPVariable aVariable, void *aValue)
54
+diff -urN gpac-0.5.0.svn4192.orig/src/terminal/object_browser.c gpac-0.5.0.svn4192/src/terminal/object_browser.c
55
+--- gpac-0.5.0.svn4192.orig/src/terminal/object_browser.c 2012-11-01 07:44:25.105487684 +0800
56
++++ gpac-0.5.0.svn4192/src/terminal/object_browser.c 2012-11-01 07:47:37.788217060 +0800
57
+@@ -103,6 +103,7 @@
58
+ }
59
+
60
+ /*select given object when stream selection is available*/
61
++GF_EXPORT
62
+ void gf_term_select_object(GF_Terminal *term, GF_ObjectManager *odm)
63
+ {
64
+ if (!term || !odm) return;
65
+diff -urN gpac-0.5.0.svn4192.orig/src/terminal/terminal.c gpac-0.5.0.svn4192/src/terminal/terminal.c
66
+--- gpac-0.5.0.svn4192.orig/src/terminal/terminal.c 2012-11-01 07:44:25.105487684 +0800
67
++++ gpac-0.5.0.svn4192/src/terminal/terminal.c 2012-11-01 07:47:11.843174648 +0800
68
+@@ -1868,6 +1868,7 @@
69
+ return 0;
70
+ }
71
+
72
++GF_EXPORT
73
+ const char *gf_term_get_text_selection(GF_Terminal *term, Bool probe_only)
74
+ {
75
+ Bool has_text;
76
+@@ -1878,7 +1879,7 @@
77
+ return gf_sc_get_selected_text(term->compositor);
78
+ }
79
+
80
+-
81
++GF_EXPORT
82
+ GF_Err gf_term_paste_text(GF_Terminal *term, const char *txt, Bool probe_only)
83
+ {
84
+ if (!term) return GF_BAD_PARAM;
85
+diff -urN gpac-0.5.0.svn4192.orig/src/utils/os_divers.c gpac-0.5.0.svn4192/src/utils/os_divers.c
86
+--- gpac-0.5.0.svn4192.orig/src/utils/os_divers.c 2012-11-01 07:44:25.063487899 +0800
87
++++ gpac-0.5.0.svn4192/src/utils/os_divers.c 2012-11-01 07:49:08.178526744 +0800
88
+@@ -315,6 +315,7 @@
89
+ #endif
90
+ }
91
+
92
++GF_EXPORT
93
+ void gf_rand_init(Bool Reset)
94
+ {
95
+ if (Reset) {
96
+@@ -328,6 +329,7 @@
97
+ }
98
+ }
99
+
100
++GF_EXPORT
101
+ u32 gf_rand()
102
+ {
103
+ return rand();
104
gpac-0.5.0-smjs_call_prop_stub.patch
Added
14
1
2
+diff -urN gpac-0.5.0.svn4192.orig/include/gpac/internal/smjs_api.h gpac-0.5.0.svn4192/include/gpac/internal/smjs_api.h
3
+--- gpac-0.5.0.svn4192.orig/include/gpac/internal/smjs_api.h 2012-10-29 21:29:06.010776296 +0800
4
++++ gpac-0.5.0.svn4192/include/gpac/internal/smjs_api.h 2012-10-29 21:29:28.617532944 +0800
5
+@@ -47,7 +47,7 @@
6
+ JSObject *_proto;
7
+ } GF_JSClass;
8
+
9
+-
10
++#define USE_FFDEV_16
11
+
12
+ /*new APIs*/
13
+ #if (JS_VERSION>=185)
14
gpac-0.5.0-x264-export.patch
Added
32
1
2
+diff -urN gpac-0.5.0.svn4192.orig/src/isomedia/avc_ext.c gpac-0.5.0.svn4192/src/isomedia/avc_ext.c
3
+--- gpac-0.5.0.svn4192.orig/src/isomedia/avc_ext.c 2012-11-01 07:44:25.104487689 +0800
4
++++ gpac-0.5.0.svn4192/src/isomedia/avc_ext.c 2012-11-01 17:46:04.064318199 +0800
5
+@@ -191,6 +191,7 @@
6
+
7
+
8
+ #ifndef GPAC_DISABLE_ISOM_WRITE
9
++GF_EXPORT
10
+ GF_Err gf_isom_avc_config_new(GF_ISOFile *the_file, u32 trackNumber, GF_AVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
11
+ {
12
+ GF_TrackBox *trak;
13
+diff -urN gpac-0.5.0.svn4192.orig/src/isomedia/isom_write.c gpac-0.5.0.svn4192/src/isomedia/isom_write.c
14
+--- gpac-0.5.0.svn4192.orig/src/isomedia/isom_write.c 2012-11-01 07:44:25.102487699 +0800
15
++++ gpac-0.5.0.svn4192/src/isomedia/isom_write.c 2012-11-01 17:45:30.020931257 +0800
16
+@@ -1141,6 +1141,7 @@
17
+ return Track_SetStreamDescriptor(trak, StreamDescriptionIndex, entry->dataReferenceIndex, esd, NULL);
18
+ }
19
+
20
++GF_EXPORT
21
+ GF_Err gf_isom_set_visual_info(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 Width, u32 Height)
22
+ {
23
+ GF_Err e;
24
+@@ -1188,6 +1189,7 @@
25
+ }
26
+ }
27
+
28
++GF_EXPORT
29
+ GF_Err gf_isom_set_pixel_aspect_ratio(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 hSpacing, u32 vSpacing)
30
+ {
31
+ GF_Err e;
32
26104-b00.zip
Added
26204-b00.zip
Added
gpac-0.5.0.svn4192.tar.bz2
Added
gpac-rpmlintrc
Added
6
1
2
+# This line is mandatory to access the configuration functions
3
+from Config import *
4
+
5
+addFilter("shared-lib-calls-exit")
6
Login required, please
login
or
signup
in order to comment
Request History
pbleser created request over 11 years ago
move gpac from Multimedia to Essentials
pbleser accepted request over 12 years ago
auto-accept: move gpac from Multimedia to Essentials