Merge lp:~noskcaj/ubuntu/saucy/gecko-mediaplayer/1.0.8-4u1 into lp:ubuntu/saucy/gecko-mediaplayer

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/ubuntu/saucy/gecko-mediaplayer/1.0.8-4u1
Merge into: lp:ubuntu/saucy/gecko-mediaplayer
Diff against target: 600 lines (+70/-463)
9 files modified
.pc/0001-nomozalloc.patch/configure.in (+0/-228)
.pc/0002-require-nspr.patch/configure.in (+0/-228)
.pc/applied-patches (+0/-2)
configure.in (+2/-3)
debian/changelog (+33/-0)
debian/gbp.conf (+1/-1)
debian/install (+0/-1)
debian/patches/functable-check.patch (+33/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/saucy/gecko-mediaplayer/1.0.8-4u1
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+183036@code.launchpad.net

Description of the change

Merge from debian testing, closes 2 of 3 complete bugs, maybe all of them

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Unmerged revisions

32. By Jackson Doak

* Merge from Debian testing, remaining ubuntu changes:
  - debian/rules: Drop --with-xulrunner-sdk flag, it's empty and cause FTBFS.
  - debian/control: Build depend on libnspr4-dev
  - debian/patches/0002-require-nspr.patch:
    firefox-dev now only provides npapi headers so require nspr to build

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed directory '.pc/0001-nomozalloc.patch'
2=== removed file '.pc/0001-nomozalloc.patch/configure.in'
3--- .pc/0001-nomozalloc.patch/configure.in 2013-03-07 11:00:21 +0000
4+++ .pc/0001-nomozalloc.patch/configure.in 1970-01-01 00:00:00 +0000
5@@ -1,228 +0,0 @@
6-dnl Process this file with autoconf to produce a configure script.
7-dnl Created by Anjuta application wizard.
8-
9-AC_INIT(configure.in)
10-AM_INIT_AUTOMAKE(gecko-mediaplayer, 1.0.8)
11-AM_CONFIG_HEADER(config.h)
12-AM_MAINTAINER_MODE([enable])
13-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
14-
15-AC_ISC_POSIX
16-AC_PROG_CC
17-AM_PROG_CC_STDC
18-AC_HEADER_STDC
19-
20-
21-AC_PROG_CPP
22-AC_PROG_CXX
23-AM_PROG_CC_C_O
24-AC_PROG_RANLIB
25-
26-dnl Set gettext package name
27-GETTEXT_PACKAGE=gecko-mediaplayer
28-AC_SUBST(GETTEXT_PACKAGE)
29-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
30-
31-dnl Add the languages which your application supports here.
32-ALL_LINGUAS="cs de es fr ja it nl pl pt pt_BR tr"
33-AM_GLIB_GNU_GETTEXT
34-
35-PKG_CHECK_MODULES(GLIB, [glib-2.0])
36-AC_SUBST(GLIB_CFLAGS)
37-AC_SUBST(GLIB_LIBS)
38-
39-PKG_CHECK_MODULES(GMLIB, [gmlib >= 1.0.7])
40-AC_SUBST(GMLIB_CFLAGS)
41-AC_SUBST(GMLIB_LIBS)
42-
43-
44-AC_ARG_WITH([xulrunner-sdk],
45- [AS_HELP_STRING([--with-xulrunner-sdk=path_to_sdk],
46- [Path to xulrunner SDK for build --with-xulrunner-sdk=/path/to/sdk])],
47- [
48- XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
49- GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
50- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
51- ],
52- [])
53-
54-if test "$GECKO_CFLAGS" = ""; then
55-PKG_CHECK_MODULES(GECKO, [libxul >= 2],[GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
56- AC_MSG_NOTICE([Using libxul >= 2.0 ])
57- ],[AC_MSG_NOTICE([libxul >= 2 not found, trying another])])
58-fi
59-
60-if test "$GECKO_CFLAGS" = ""; then
61-PKG_CHECK_MODULES(GECKO, [libxul >= 1.9.2],[ AC_MSG_NOTICE([Using libxul >= 1.9.2])
62- ],[AC_MSG_NOTICE([libxul >= 1.9.2 not found, trying another])])
63-fi
64-
65-if test "$GECKO_CFLAGS" = ""; then
66-PKG_CHECK_MODULES(GECKO, [libxul < 1.9.2],[ AC_MSG_NOTICE([Using libxul < 1.9.2])
67- ],[AC_MSG_WARN([libxul < 1.9.2 not found, trying another])])
68-fi
69-
70-if test "$GECKO_CFLAGS" = ""; then
71-PKG_CHECK_MODULES(GECKO, [libxul-unstable],[ AC_MSG_NOTICE([Using libxul-unstable])
72- ],[AC_MSG_WARN([libxul-unstable not found, trying another])])
73-fi
74-
75-if test "$GECKO_CFLAGS" = ""; then
76-PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[ AC_MSG_NOTICE([Using mozilla])
77- ],[AC_MSG_WARN([mozilla-plugin not found, trying another])])
78-fi
79-
80-if test "$GECKO_CFLAGS" = ""; then
81-PKG_CHECK_MODULES(GECKO, [firefox-plugin firefox-xpcom],[ AC_MSG_NOTICE([Using firefox])
82- ],[AC_MSG_WARN([firefox-plugin not found, trying another])])
83-fi
84-
85-if test "$GECKO_CFLAGS" = ""; then
86-PKG_CHECK_MODULES(GECKO, [seamonkey-plugin seamonkey-xpcom],[ AC_MSG_NOTICE([Using seamonkey])
87- ],[AC_MSG_WARN([seamonkey-plugin not found, trying another])])
88-fi
89-
90-if test "$GECKO_CFLAGS" = ""; then
91-PKG_CHECK_MODULES(GECKO, [xulrunner-plugin xulrunner-xpcom],[ AC_MSG_NOTICE([Using xulrunner])
92- ],[AC_MSG_WARN([xulrunner-plugin not found, trying another])])
93-fi
94-
95-if test "$GECKO_CFLAGS" = ""; then
96-PKG_CHECK_MODULES(GECKO, [iceape-plugin iceape-xpcom],[ AC_MSG_NOTICE([Using iceape])
97- ],[AC_MSG_WARN([iceape-plugin not found, trying another])])
98-fi
99-
100-if test "$GECKO_CFLAGS" = ""; then
101-PKG_CHECK_MODULES(GECKO, [npapi-sdk],[ AC_MSG_NOTICE([Using npapi-sdk])
102- ],[AC_MSG_ERROR([npapi-sdk not found, all out of tries])])
103- require_nspr="yes"
104-fi
105-
106-AC_MSG_CHECKING([for const return value of NPP_GetMIMEDescription])
107-oCFLAGS=$CFLAGS
108-CFLAGS="$GECKO_CFLAGS"
109-AC_LANG_PUSH([C])
110-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
111-#ifndef XP_UNIX
112-#define XP_UNIX 1
113-#endif
114-#include <npapi.h>
115-#if NP_VERSION_MAJOR == 0 && NP_VERSION_MINOR < 27
116-#error
117-#else
118-const char*NPP_GetMIMEDescription(void) {
119- return "test";
120-}
121-#endif
122-],[
123-const char *f=NPP_GetMIMEDescription();
124-])],[
125- AC_MSG_RESULT([yes])
126- AC_DEFINE([NPAPI_USE_CONSTCHARS],[1],[Define if NPAPI declares NPP_GetMIMEDescription as a const char*])
127-],[
128- AC_MSG_RESULT([no])
129-])
130-AC_LANG_POP([C])
131-CFLAGS=$oCFLAGS
132-
133-AC_MSG_CHECKING([for usage of UTF8Characters])
134-oCFLAGS=$CFLAGS
135-CFLAGS="$GECKO_CFLAGS"
136-AC_LANG_PUSH([C])
137-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
138-#ifndef XP_UNIX
139-#define XP_UNIX 1
140-#endif
141-#include <npapi.h>
142-#include <npruntime.h>
143-],[
144-NPString s;
145-s.UTF8Characters = "Testing";
146-])],[
147- AC_MSG_RESULT([yes])
148- AC_DEFINE([NPAPI_USE_UPPERCASE_UTF8],[1],[Define if NPAPI declares NPString with an uppercase UTF8])
149-],[
150- AC_MSG_RESULT([no])
151-])
152-AC_LANG_POP([C])
153-CFLAGS=$oCFLAGS
154-
155-
156-dnl Locate where the plugins should go
157-PKG_CHECK_MODULES(NSPR, [nspr],[
158- libdir=`$PKG_CONFIG --variable=libdir nspr`
159- AC_SUBST(libdir)
160- if test "$require_nspr" = "yes"; then
161- AC_DEFINE([HAVE_NSPR],[1],[Define to 1 if using nspr])
162- GECKO_CFLAGS="$GECKO_CFLAGS $NSPR_CFLAGS"
163- fi],[if test "$require_nspr" = "yes"; then
164- AC_MSG_ERROR([nspr not found, required by detected gecko])
165- else
166- AC_MSG_WARN([nspr not found, may not be needed])
167- fi])
168-
169-
170-AC_SUBST(GECKO_CFLAGS)
171-AC_SUBST(GECKO_LIBS)
172-
173-PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.95 dbus-glib-1 >= 0.70])
174-AC_SUBST(DBUS_CFLAGS)
175-AC_SUBST(DBUS_LIBS)
176-
177-AC_ARG_WITH([plugin_dir],
178- [AS_HELP_STRING([--with-plugin-dir=dir],
179- [Directory where plugins are stored])],
180- [plugindir=$withval],
181- [plugindir='$(libdir)/mozilla/plugins'])
182-AC_SUBST(plugindir)
183-
184-AC_ARG_ENABLE(caching,
185- AC_HELP_STRING([--disable-caching],[Disable caching of remote media to local storage]),
186- [usecache=$enableval],[usecache=yes])
187-
188-if test $usecache != yes; then
189- GECKO_CFLAGS="$GECKO_CFLAGS -DDISABLE_CACHE"
190-fi
191-
192-AC_ARG_WITH([libcurl],
193- [AS_HELP_STRING([--with-libcurl],
194- [Add support for libcurl])],
195- [],
196- [with_libcurl=check])
197-AS_IF([test "x$with_libcurl" != xno],
198- [PKG_CHECK_MODULES(CURL,[libcurl],[CURL_DEFINES="-DHAVE_CURL" AC_DEFINE([CURL_ENABLED],[1],[Define to 1 if you have curl support])],AC_MSG_NOTICE([Compiling without curl support. May disable apple.com sites]))
199- AC_SUBST(CURL_DEFINES)
200- AC_SUBST(CURL_CFLAGS)
201- AC_SUBST(CURL_LIBS)
202- ])
203-
204-
205-BACKEND=`pkg-config --variable=preference_backend gmlib`
206-
207-if test ${BACKEND} = "gsettings"; then
208- AC_MSG_NOTICE([gmlib is using ${BACKEND} for preference storage])
209- dnl GLIB_GSETTINGS
210- AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL],[false])
211- USE_GSETTINGS=1
212- AC_SUBST(USE_GSETTINGS)
213-elif test ${BACKEND} = "gconf"; then
214- AC_MSG_NOTICE([gmlib is using ${BACKEND} for preference storage])
215- GSETTINGS_RULES=""
216- AC_SUBST(GSETTINGS_RULES)
217- AM_GCONF_SOURCE_2
218- USE_GCONF=1
219- AC_SUBST(USE_GCONF)
220-elif test ${BACKEND} = "keystore"; then
221- GSETTINGS_RULES=""
222- AC_SUBST(GSETTINGS_RULES)
223- AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL],[false])
224-fi
225-
226-
227-AC_OUTPUT([
228-Makefile
229-gecko-mediaplayer.spec
230-src/Makefile
231-po/Makefile.in
232-])
233-
234
235=== removed directory '.pc/0002-require-nspr.patch'
236=== removed file '.pc/0002-require-nspr.patch/configure.in'
237--- .pc/0002-require-nspr.patch/configure.in 2013-03-07 11:00:21 +0000
238+++ .pc/0002-require-nspr.patch/configure.in 1970-01-01 00:00:00 +0000
239@@ -1,228 +0,0 @@
240-dnl Process this file with autoconf to produce a configure script.
241-dnl Created by Anjuta application wizard.
242-
243-AC_INIT(configure.in)
244-AM_INIT_AUTOMAKE(gecko-mediaplayer, 1.0.8)
245-AM_CONFIG_HEADER(config.h)
246-AM_MAINTAINER_MODE([enable])
247-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
248-
249-AC_ISC_POSIX
250-AC_PROG_CC
251-AM_PROG_CC_STDC
252-AC_HEADER_STDC
253-
254-
255-AC_PROG_CPP
256-AC_PROG_CXX
257-AM_PROG_CC_C_O
258-AC_PROG_RANLIB
259-
260-dnl Set gettext package name
261-GETTEXT_PACKAGE=gecko-mediaplayer
262-AC_SUBST(GETTEXT_PACKAGE)
263-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
264-
265-dnl Add the languages which your application supports here.
266-ALL_LINGUAS="cs de es fr ja it nl pl pt pt_BR tr"
267-AM_GLIB_GNU_GETTEXT
268-
269-PKG_CHECK_MODULES(GLIB, [glib-2.0])
270-AC_SUBST(GLIB_CFLAGS)
271-AC_SUBST(GLIB_LIBS)
272-
273-PKG_CHECK_MODULES(GMLIB, [gmlib >= 1.0.7])
274-AC_SUBST(GMLIB_CFLAGS)
275-AC_SUBST(GMLIB_LIBS)
276-
277-
278-AC_ARG_WITH([xulrunner-sdk],
279- [AS_HELP_STRING([--with-xulrunner-sdk=path_to_sdk],
280- [Path to xulrunner SDK for build --with-xulrunner-sdk=/path/to/sdk])],
281- [
282- XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
283- GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
284- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s_nomozalloc -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
285- ],
286- [])
287-
288-if test "$GECKO_CFLAGS" = ""; then
289-PKG_CHECK_MODULES(GECKO, [libxul >= 2],[GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
290- AC_MSG_NOTICE([Using libxul >= 2.0 ])
291- ],[AC_MSG_NOTICE([libxul >= 2 not found, trying another])])
292-fi
293-
294-if test "$GECKO_CFLAGS" = ""; then
295-PKG_CHECK_MODULES(GECKO, [libxul >= 1.9.2],[ AC_MSG_NOTICE([Using libxul >= 1.9.2])
296- ],[AC_MSG_NOTICE([libxul >= 1.9.2 not found, trying another])])
297-fi
298-
299-if test "$GECKO_CFLAGS" = ""; then
300-PKG_CHECK_MODULES(GECKO, [libxul < 1.9.2],[ AC_MSG_NOTICE([Using libxul < 1.9.2])
301- ],[AC_MSG_WARN([libxul < 1.9.2 not found, trying another])])
302-fi
303-
304-if test "$GECKO_CFLAGS" = ""; then
305-PKG_CHECK_MODULES(GECKO, [libxul-unstable],[ AC_MSG_NOTICE([Using libxul-unstable])
306- ],[AC_MSG_WARN([libxul-unstable not found, trying another])])
307-fi
308-
309-if test "$GECKO_CFLAGS" = ""; then
310-PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[ AC_MSG_NOTICE([Using mozilla])
311- ],[AC_MSG_WARN([mozilla-plugin not found, trying another])])
312-fi
313-
314-if test "$GECKO_CFLAGS" = ""; then
315-PKG_CHECK_MODULES(GECKO, [firefox-plugin firefox-xpcom],[ AC_MSG_NOTICE([Using firefox])
316- ],[AC_MSG_WARN([firefox-plugin not found, trying another])])
317-fi
318-
319-if test "$GECKO_CFLAGS" = ""; then
320-PKG_CHECK_MODULES(GECKO, [seamonkey-plugin seamonkey-xpcom],[ AC_MSG_NOTICE([Using seamonkey])
321- ],[AC_MSG_WARN([seamonkey-plugin not found, trying another])])
322-fi
323-
324-if test "$GECKO_CFLAGS" = ""; then
325-PKG_CHECK_MODULES(GECKO, [xulrunner-plugin xulrunner-xpcom],[ AC_MSG_NOTICE([Using xulrunner])
326- ],[AC_MSG_WARN([xulrunner-plugin not found, trying another])])
327-fi
328-
329-if test "$GECKO_CFLAGS" = ""; then
330-PKG_CHECK_MODULES(GECKO, [iceape-plugin iceape-xpcom],[ AC_MSG_NOTICE([Using iceape])
331- ],[AC_MSG_WARN([iceape-plugin not found, trying another])])
332-fi
333-
334-if test "$GECKO_CFLAGS" = ""; then
335-PKG_CHECK_MODULES(GECKO, [npapi-sdk],[ AC_MSG_NOTICE([Using npapi-sdk])
336- ],[AC_MSG_ERROR([npapi-sdk not found, all out of tries])])
337- require_nspr="yes"
338-fi
339-
340-AC_MSG_CHECKING([for const return value of NPP_GetMIMEDescription])
341-oCFLAGS=$CFLAGS
342-CFLAGS="$GECKO_CFLAGS"
343-AC_LANG_PUSH([C])
344-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
345-#ifndef XP_UNIX
346-#define XP_UNIX 1
347-#endif
348-#include <npapi.h>
349-#if NP_VERSION_MAJOR == 0 && NP_VERSION_MINOR < 27
350-#error
351-#else
352-const char*NPP_GetMIMEDescription(void) {
353- return "test";
354-}
355-#endif
356-],[
357-const char *f=NPP_GetMIMEDescription();
358-])],[
359- AC_MSG_RESULT([yes])
360- AC_DEFINE([NPAPI_USE_CONSTCHARS],[1],[Define if NPAPI declares NPP_GetMIMEDescription as a const char*])
361-],[
362- AC_MSG_RESULT([no])
363-])
364-AC_LANG_POP([C])
365-CFLAGS=$oCFLAGS
366-
367-AC_MSG_CHECKING([for usage of UTF8Characters])
368-oCFLAGS=$CFLAGS
369-CFLAGS="$GECKO_CFLAGS"
370-AC_LANG_PUSH([C])
371-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
372-#ifndef XP_UNIX
373-#define XP_UNIX 1
374-#endif
375-#include <npapi.h>
376-#include <npruntime.h>
377-],[
378-NPString s;
379-s.UTF8Characters = "Testing";
380-])],[
381- AC_MSG_RESULT([yes])
382- AC_DEFINE([NPAPI_USE_UPPERCASE_UTF8],[1],[Define if NPAPI declares NPString with an uppercase UTF8])
383-],[
384- AC_MSG_RESULT([no])
385-])
386-AC_LANG_POP([C])
387-CFLAGS=$oCFLAGS
388-
389-
390-dnl Locate where the plugins should go
391-PKG_CHECK_MODULES(NSPR, [nspr],[
392- libdir=`$PKG_CONFIG --variable=libdir nspr`
393- AC_SUBST(libdir)
394- if test "$require_nspr" = "yes"; then
395- AC_DEFINE([HAVE_NSPR],[1],[Define to 1 if using nspr])
396- GECKO_CFLAGS="$GECKO_CFLAGS $NSPR_CFLAGS"
397- fi],[if test "$require_nspr" = "yes"; then
398- AC_MSG_ERROR([nspr not found, required by detected gecko])
399- else
400- AC_MSG_WARN([nspr not found, may not be needed])
401- fi])
402-
403-
404-AC_SUBST(GECKO_CFLAGS)
405-AC_SUBST(GECKO_LIBS)
406-
407-PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.95 dbus-glib-1 >= 0.70])
408-AC_SUBST(DBUS_CFLAGS)
409-AC_SUBST(DBUS_LIBS)
410-
411-AC_ARG_WITH([plugin_dir],
412- [AS_HELP_STRING([--with-plugin-dir=dir],
413- [Directory where plugins are stored])],
414- [plugindir=$withval],
415- [plugindir='$(libdir)/mozilla/plugins'])
416-AC_SUBST(plugindir)
417-
418-AC_ARG_ENABLE(caching,
419- AC_HELP_STRING([--disable-caching],[Disable caching of remote media to local storage]),
420- [usecache=$enableval],[usecache=yes])
421-
422-if test $usecache != yes; then
423- GECKO_CFLAGS="$GECKO_CFLAGS -DDISABLE_CACHE"
424-fi
425-
426-AC_ARG_WITH([libcurl],
427- [AS_HELP_STRING([--with-libcurl],
428- [Add support for libcurl])],
429- [],
430- [with_libcurl=check])
431-AS_IF([test "x$with_libcurl" != xno],
432- [PKG_CHECK_MODULES(CURL,[libcurl],[CURL_DEFINES="-DHAVE_CURL" AC_DEFINE([CURL_ENABLED],[1],[Define to 1 if you have curl support])],AC_MSG_NOTICE([Compiling without curl support. May disable apple.com sites]))
433- AC_SUBST(CURL_DEFINES)
434- AC_SUBST(CURL_CFLAGS)
435- AC_SUBST(CURL_LIBS)
436- ])
437-
438-
439-BACKEND=`pkg-config --variable=preference_backend gmlib`
440-
441-if test ${BACKEND} = "gsettings"; then
442- AC_MSG_NOTICE([gmlib is using ${BACKEND} for preference storage])
443- dnl GLIB_GSETTINGS
444- AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL],[false])
445- USE_GSETTINGS=1
446- AC_SUBST(USE_GSETTINGS)
447-elif test ${BACKEND} = "gconf"; then
448- AC_MSG_NOTICE([gmlib is using ${BACKEND} for preference storage])
449- GSETTINGS_RULES=""
450- AC_SUBST(GSETTINGS_RULES)
451- AM_GCONF_SOURCE_2
452- USE_GCONF=1
453- AC_SUBST(USE_GCONF)
454-elif test ${BACKEND} = "keystore"; then
455- GSETTINGS_RULES=""
456- AC_SUBST(GSETTINGS_RULES)
457- AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL],[false])
458-fi
459-
460-
461-AC_OUTPUT([
462-Makefile
463-gecko-mediaplayer.spec
464-src/Makefile
465-po/Makefile.in
466-])
467-
468
469=== removed file '.pc/applied-patches'
470--- .pc/applied-patches 2012-09-24 12:57:53 +0000
471+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
472@@ -1,2 +0,0 @@
473-0001-nomozalloc.patch
474-0002-require-nspr.patch
475
476=== modified file 'configure.in'
477--- configure.in 2013-03-07 11:00:21 +0000
478+++ configure.in 2013-08-29 21:48:20 +0000
479@@ -42,7 +42,7 @@
480 [
481 XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
482 GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
483- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s_nomozalloc -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
484+ GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
485 ],
486 [])
487
488@@ -68,9 +68,8 @@
489 fi
490
491 if test "$GECKO_CFLAGS" = ""; then
492-PKG_CHECK_MODULES(GECKO, [mozilla-plugin],[ AC_MSG_NOTICE([Using mozilla])
493+PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[ AC_MSG_NOTICE([Using mozilla])
494 ],[AC_MSG_WARN([mozilla-plugin not found, trying another])])
495- require_nspr="yes"
496 fi
497
498 if test "$GECKO_CFLAGS" = ""; then
499
500=== modified file 'debian/changelog'
501--- debian/changelog 2013-03-07 11:00:21 +0000
502+++ debian/changelog 2013-08-29 21:48:20 +0000
503@@ -1,3 +1,36 @@
504+gecko-mediaplayer (1.0.8-4ubuntu1) UNRELEASED; urgency=low
505+
506+ * Merge from Debian testing, remaining ubuntu changes:
507+ - debian/rules: Drop --with-xulrunner-sdk flag, it's empty and cause FTBFS.
508+ - debian/control: Build depend on libnspr4-dev
509+ - debian/patches/0002-require-nspr.patch:
510+ firefox-dev now only provides npapi headers so require nspr to build
511+
512+ -- Jackson Doak <noskcaj@ubuntu.com> Fri, 30 Aug 2013 07:26:44 +1000
513+
514+gecko-mediaplayer (1.0.8-4) unstable; urgency=low
515+
516+ * debian/patches/functable-check.patch: Actually check the correct function
517+ table. This should now cover all cases correctly.
518+
519+ -- Sebastian Ramacher <sramacher@debian.org> Mon, 24 Jun 2013 12:51:09 +0200
520+
521+gecko-mediaplayer (1.0.8-3) unstable; urgency=low
522+
523+ * debian/patches/functable-check.patch: Fix function table check. This
524+ improves the compatibility with browser other than iceweasel and with
525+ older versions of iceweasel if built against a newer one. (LP: #870115,
526+ #1069635)
527+
528+ -- Sebastian Ramacher <sramacher@debian.org> Sun, 23 Jun 2013 17:44:51 +0200
529+
530+gecko-mediaplayer (1.0.8-2) unstable; urgency=low
531+
532+ * Upload to unstable.
533+ * debian/install: Don't install obsolete gconf2 scheme.
534+
535+ -- Sebastian Ramacher <sramacher@debian.org> Thu, 06 Jun 2013 22:42:00 +0200
536+
537 gecko-mediaplayer (1.0.8-1ubuntu1) raring; urgency=low
538
539 * Merge from Debian experimental, Ubuntu remaining changes :
540
541=== modified file 'debian/gbp.conf'
542--- debian/gbp.conf 2012-11-18 11:33:04 +0000
543+++ debian/gbp.conf 2013-08-29 21:48:20 +0000
544@@ -1,3 +1,3 @@
545 [DEFAULT]
546 pristine-tar = True
547-debian-branch = experimental
548+debian-branch = master
549
550=== removed file 'debian/install'
551--- debian/install 2008-11-25 21:39:54 +0000
552+++ debian/install 1970-01-01 00:00:00 +0000
553@@ -1,1 +0,0 @@
554-gecko-mediaplayer.schemas /usr/share/gconf/schemas
555
556=== added file 'debian/patches/functable-check.patch'
557--- debian/patches/functable-check.patch 1970-01-01 00:00:00 +0000
558+++ debian/patches/functable-check.patch 2013-08-29 21:48:20 +0000
559@@ -0,0 +1,33 @@
560+Description: Fix function table check
561+ We only need to know if we have access to all the values we need. Everything
562+ else is not necessary.
563+Author: Sebastian Ramacher <sramacher@debian.org>
564+Last-Update: 2013-06-24
565+Forwarded: https://code.google.com/p/gecko-mediaplayer/issues/detail?id=184
566+
567+--- a/src/np_entry.cpp
568++++ b/src/np_entry.cpp
569+@@ -42,6 +42,7 @@
570+ #include <npapi.h>
571+ #include <npfunctions.h>
572+ #include "npupp.h"
573++#include <cstddef>
574+
575+ #ifdef HAVE_CONFIG_H
576+ #include <config.h>
577+@@ -117,9 +118,14 @@
578+ if (HIBYTE(pFuncs->version) > NP_VERSION_MAJOR)
579+ return NPERR_INCOMPATIBLE_VERSION_ERROR;
580+
581+- if (pFuncs->size < sizeof(NPNetscapeFuncs))
582++ if (pFuncs->size < offsetof(NPNetscapeFuncs, setexception) + sizeof(NPN_SetExceptionProcPtr))
583+ return NPERR_INVALID_FUNCTABLE_ERROR;
584+
585++#ifdef XP_UNIX
586++ if (pluginFuncs->size < offsetof(NPPluginFuncs, getvalue) + sizeof(NPP_GetValueProcPtr))
587++ return NPERR_INVALID_FUNCTABLE_ERROR;
588++#endif
589++
590+ NPNFuncs.size = pFuncs->size;
591+ NPNFuncs.version = pFuncs->version;
592+ NPNFuncs.geturlnotify = pFuncs->geturlnotify;
593
594=== modified file 'debian/patches/series'
595--- debian/patches/series 2012-09-24 12:57:53 +0000
596+++ debian/patches/series 2013-08-29 21:48:20 +0000
597@@ -1,2 +1,3 @@
598 0001-nomozalloc.patch
599 0002-require-nspr.patch
600+functable-check.patch

Subscribers

People subscribed via source and target branches

to all changes: