repomain / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 1 forks source link

r531 build fails @ "npupp.h:77:26: error: expected ‘)’ before ‘NPP_InitializeUPP’" ... #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
upgrading geck-mediaplayer to latest trunk

    cd gecko-mediaplayer
    svn info
        Path: .
        Working Copy Root Path: /usr/local/src/gecko-mediaplayer
        URL: http://gecko-mediaplayer.googlecode.com/svn/trunk
        Relative URL: ^/trunk
        Repository Root: http://gecko-mediaplayer.googlecode.com/svn
        Repository UUID: 631ae04c-4c47-0410-aa2c-6d2544a86fb6
        Revision: 534
        Node Kind: directory
        Schedule: normal
        Last Changed Author: kdekorte
        Last Changed Rev: 531
        Last Changed Date: 2014-04-23 20:42:36 -0700 (Wed, 23 Apr 2014)

with

    xulrunner --version
        Mozilla XULRunner 30.0 - 20140512231802

build now FAILs

    export CPPFLAGS="-I/usr/local/xulrunner-sdk/include -I/usr/include/nspr4"
    export XULDEV="/usr/local/xulrunner-sdk"
    aclocal
    ./configure --with-xulrunner-sdk=${XULDEV}
    make -j1
    cd . && automake-1.13 --gnu
        automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
        configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
        configure.in:5: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
        configure.in:5: error: version mismatch.  This is Automake 1.14.1,
        configure.in:5: but the definition used by this AM_INIT_AUTOMAKE
        configure.in:5: comes from Automake 1.13.4.  You should recreate
        configure.in:5: aclocal.m4 with aclocal and run automake again.
        automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
        src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
        make: *** [Makefile.in] Error 1
    make clean
    aclocal
    ./configure --with-xulrunner-sdk=${XULDEV}
    make -j1

@

    ...
    make  all-recursive
    make[1]: Entering directory `/usr/local/src/gecko-mediaplayer'
    Making all in src
    make[2]: Entering directory `/usr/local/src/gecko-mediaplayer/src'
    make[3]: Entering directory `/usr/local/src/gecko-mediaplayer/src'
      CXX      np_entry.o
    In file included from np_entry.cpp:44:0:
    npupp.h:77:26: error: expected ‘)’ before ‘NPP_InitializeUPP’
     typedef void (*NP_LOADDS NPP_InitializeUPP) (void);
                              ^
    npupp.h:84:26: error: expected ‘)’ before ‘NPP_ShutdownUPP’
     typedef void (*NP_LOADDS NPP_ShutdownUPP) (void);
                              ^
    npupp.h:91:28: error: expected ‘)’ before ‘NPP_NewUPP’
     typedef NPError(*NP_LOADDS NPP_NewUPP) (NPMIMEType pluginType, NPP instance, uint16_t mode,
                                ^
    npupp.h:100:28: error: expected ‘)’ before ‘NPP_DestroyUPP’
     typedef NPError(*NP_LOADDS NPP_DestroyUPP) (NPP instance, NPSavedData ** save);
                                ^
    npupp.h:107:28: error: expected ‘)’ before ‘NPP_SetWindowUPP’
     typedef NPError(*NP_LOADDS NPP_SetWindowUPP) (NPP instance, NPWindow * window);
                                ^
    npupp.h:114:28: error: expected ‘)’ before ‘NPP_NewStreamUPP’
     typedef NPError(*NP_LOADDS NPP_NewStreamUPP) (NPP instance, NPMIMEType type, NPStream * stream,
                                ^
    npupp.h:122:28: error: expected ‘)’ before ‘NPP_DestroyStreamUPP’
     typedef NPError(*NP_LOADDS NPP_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason);
                                ^
    npupp.h:129:28: error: expected ‘)’ before ‘NPP_WriteReadyUPP’
     typedef int32_t(*NP_LOADDS NPP_WriteReadyUPP) (NPP instance, NPStream * stream);
                                ^
    npupp.h:136:28: error: expected ‘)’ before ‘NPP_WriteUPP’
     typedef int32_t(*NP_LOADDS NPP_WriteUPP) (NPP instance, NPStream * stream, int32_t offset,
                                ^
    npupp.h:144:26: error: expected ‘)’ before ‘NPP_StreamAsFileUPP’
     typedef void (*NP_LOADDS NPP_StreamAsFileUPP) (NPP instance, NPStream * stream, const char *fname);
                              ^
    npupp.h:151:26: error: expected ‘)’ before ‘NPP_PrintUPP’
     typedef void (*NP_LOADDS NPP_PrintUPP) (NPP instance, NPPrint * platformPrint);
                              ^
    npupp.h:158:28: error: expected ‘)’ before ‘NPP_HandleEventUPP’
     typedef int16_t(*NP_LOADDS NPP_HandleEventUPP) (NPP instance, void *event);
                                ^
    npupp.h:165:26: error: expected ‘)’ before ‘NPP_URLNotifyUPP’
     typedef void (*NP_LOADDS NPP_URLNotifyUPP) (NPP instance, const char *url, NPReason reason,
                              ^
    npupp.h:173:28: error: expected ‘)’ before ‘NPP_GetValueUPP’
     typedef NPError(*NP_LOADDS NPP_GetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue);
                                ^
    npupp.h:180:28: error: expected ‘)’ before ‘NPP_SetValueUPP’
     typedef NPError(*NP_LOADDS NPP_SetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue);
                                ^
    npupp.h:192:28: error: expected ‘)’ before ‘NPN_GetValueUPP’
     typedef NPError(*NP_LOADDS NPN_GetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue);
                                ^
    npupp.h:199:28: error: expected ‘)’ before ‘NPN_SetValueUPP’
     typedef NPError(*NP_LOADDS NPN_SetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue);
                                ^
    npupp.h:206:28: error: expected ‘)’ before ‘NPN_GetURLNotifyUPP’
     typedef NPError(*NP_LOADDS NPN_GetURLNotifyUPP) (NPP instance, const char *url, const char *window,
                                ^
    npupp.h:214:28: error: expected ‘)’ before ‘NPN_PostURLNotifyUPP’
     typedef NPError(*NP_LOADDS NPN_PostURLNotifyUPP) (NPP instance, const char *url, const char *window,
                                ^
    npupp.h:223:28: error: expected ‘)’ before ‘NPN_GetURLUPP’
     typedef NPError(*NP_LOADDS NPN_GetURLUPP) (NPP instance, const char *url, const char *window);
                                ^
    npupp.h:230:28: error: expected ‘)’ before ‘NPN_PostURLUPP’
     typedef NPError(*NP_LOADDS NPN_PostURLUPP) (NPP instance, const char *url, const char *window,
                                ^
    npupp.h:238:28: error: expected ‘)’ before ‘NPN_RequestReadUPP’
     typedef NPError(*NP_LOADDS NPN_RequestReadUPP) (NPStream * stream, NPByteRange * rangeList);
                                ^
    npupp.h:245:28: error: expected ‘)’ before ‘NPN_NewStreamUPP’
     typedef NPError(*NP_LOADDS NPN_NewStreamUPP) (NPP instance, NPMIMEType type, const char *window,
                                ^
    npupp.h:253:28: error: expected ‘)’ before ‘NPN_WriteUPP’
     typedef int32_t(*NP_LOADDS NPN_WriteUPP) (NPP instance, NPStream * stream, int32_t len,
                                ^
    npupp.h:261:28: error: expected ‘)’ before ‘NPN_DestroyStreamUPP’
     typedef NPError(*NP_LOADDS NPN_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason);
                                ^
    npupp.h:268:26: error: expected ‘)’ before ‘NPN_StatusUPP’
     typedef void (*NP_LOADDS NPN_StatusUPP) (NPP instance, const char *message);
                              ^
    npupp.h:275:33: error: expected ‘)’ before ‘NPN_UserAgentUPP’
     typedef const char *(*NP_LOADDS NPN_UserAgentUPP) (NPP instance);
                                     ^
    npupp.h:275:33: error: expected initializer before ‘NPN_UserAgentUPP’
    npupp.h:282:27: error: expected ‘)’ before ‘NPN_MemAllocUPP’
     typedef void *(*NP_LOADDS NPN_MemAllocUPP) (uint32_t size);
                               ^
    npupp.h:282:27: error: expected initializer before ‘NPN_MemAllocUPP’
    npupp.h:289:26: error: expected ‘)’ before ‘NPN_MemFreeUPP’
     typedef void (*NP_LOADDS NPN_MemFreeUPP) (void *ptr);
                              ^
    npupp.h:296:29: error: expected ‘)’ before ‘NPN_MemFlushUPP’
     typedef uint32_t(*NP_LOADDS NPN_MemFlushUPP) (uint32_t size);
                                 ^
    npupp.h:303:26: error: expected ‘)’ before ‘NPN_ReloadPluginsUPP’
     typedef void (*NP_LOADDS NPN_ReloadPluginsUPP) (NPBool reloadPages);
                              ^
    npupp.h:310:26: error: expected ‘)’ before ‘NPN_InvalidateRectUPP’
     typedef void (*NP_LOADDS NPN_InvalidateRectUPP) (NPP instance, NPRect * rect);
                              ^
    npupp.h:317:26: error: expected ‘)’ before ‘NPN_InvalidateRegionUPP’
     typedef void (*NP_LOADDS NPN_InvalidateRegionUPP) (NPP instance, NPRegion region);
                              ^
    npupp.h:324:26: error: expected ‘)’ before ‘NPN_ForceRedrawUPP’
     typedef void (*NP_LOADDS NPN_ForceRedrawUPP) (NPP instance);
                              ^
    npupp.h:331:33: error: expected ‘)’ before ‘NPN_GetStringIdentifierUPP’
     typedef NPIdentifier(*NP_LOADDS NPN_GetStringIdentifierUPP) (const NPUTF8 * name);
                                     ^
    npupp.h:338:26: error: expected ‘)’ before ‘NPN_GetStringIdentifiersUPP’
     typedef void (*NP_LOADDS NPN_GetStringIdentifiersUPP) (const NPUTF8 ** names,
                              ^
    npupp.h:347:33: error: expected ‘)’ before ‘NPN_GetIntIdentifierUPP’
     typedef NPIdentifier(*NP_LOADDS NPN_GetIntIdentifierUPP) (int32_t intid);
                                     ^
    npupp.h:354:25: error: expected ‘)’ before ‘NPN_IdentifierIsStringUPP’
     typedef bool(*NP_LOADDS NPN_IdentifierIsStringUPP) (NPIdentifier identifier);
                             ^
    npupp.h:361:29: error: expected ‘)’ before ‘NPN_UTF8FromIdentifierUPP’
     typedef NPUTF8 *(*NP_LOADDS NPN_UTF8FromIdentifierUPP) (NPIdentifier identifier);
                                 ^
    npupp.h:361:29: error: expected initializer before ‘NPN_UTF8FromIdentifierUPP’
    npupp.h:368:28: error: expected ‘)’ before ‘NPN_IntFromIdentifierUPP’
     typedef int32_t(*NP_LOADDS NPN_IntFromIdentifierUPP) (NPIdentifier identifier);
                                ^
    npupp.h:375:31: error: expected ‘)’ before ‘NPN_CreateObjectUPP’
     typedef NPObject *(*NP_LOADDS NPN_CreateObjectUPP) (NPP npp, NPClass * aClass);
                                   ^
    npupp.h:375:31: error: expected initializer before ‘NPN_CreateObjectUPP’
    npupp.h:382:31: error: expected ‘)’ before ‘NPN_RetainObjectUPP’
     typedef NPObject *(*NP_LOADDS NPN_RetainObjectUPP) (NPObject * obj);
                                   ^
    npupp.h:382:31: error: expected initializer before ‘NPN_RetainObjectUPP’
    npupp.h:389:26: error: expected ‘)’ before ‘NPN_ReleaseObjectUPP’
     typedef void (*NP_LOADDS NPN_ReleaseObjectUPP) (NPObject * obj);
                              ^
    npupp.h:396:25: error: expected ‘)’ before ‘NPN_InvokeUPP’
     typedef bool(*NP_LOADDS NPN_InvokeUPP) (NPP npp, NPObject * obj, NPIdentifier methodName,
                             ^
    npupp.h:405:25: error: expected ‘)’ before ‘NPN_InvokeDefaultUPP’
     typedef bool(*NP_LOADDS NPN_InvokeDefaultUPP) (NPP npp, NPObject * obj, const NPVariant * args,
                             ^
    npupp.h:413:25: error: expected ‘)’ before ‘NPN_EvaluateUPP’
     typedef bool(*NP_LOADDS NPN_EvaluateUPP) (NPP npp, NPObject * obj, NPString * script,
                             ^
    npupp.h:421:25: error: expected ‘)’ before ‘NPN_GetPropertyUPP’
     typedef bool(*NP_LOADDS NPN_GetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName,
                             ^
    npupp.h:429:25: error: expected ‘)’ before ‘NPN_SetPropertyUPP’
     typedef bool(*NP_LOADDS NPN_SetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName,
                             ^
    npupp.h:437:25: error: expected ‘)’ before ‘NPN_RemovePropertyUPP’
     typedef bool(*NP_LOADDS NPN_RemovePropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName);
                             ^
    npupp.h:444:25: error: expected ‘)’ before ‘NPN_HasPropertyUPP’
     typedef bool(*NP_LOADDS NPN_HasPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName);
                             ^
    npupp.h:451:25: error: expected ‘)’ before ‘NPN_HasMethodUPP’
     typedef bool(*NP_LOADDS NPN_HasMethodUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName);
                             ^
    npupp.h:458:26: error: expected ‘)’ before ‘NPN_ReleaseVariantValueUPP’
     typedef void (*NP_LOADDS NPN_ReleaseVariantValueUPP) (NPVariant * variant);
                              ^
    npupp.h:465:26: error: expected ‘)’ before ‘NPN_SetExceptionUPP’
     typedef void (*NP_LOADDS NPN_SetExceptionUPP) (NPObject * obj, const NPUTF8 * message);
                              ^
    npupp.h:472:25: error: expected ‘)’ before ‘NPN_PushPopupsEnabledStateUPP’
     typedef bool(*NP_LOADDS NPN_PushPopupsEnabledStateUPP) (NPP npp, NPBool enabled);
                             ^
    npupp.h:479:25: error: expected ‘)’ before ‘NPN_PopPopupsEnabledStateUPP’
     typedef bool(*NP_LOADDS NPN_PopPopupsEnabledStateUPP) (NPP npp);
                             ^
    npupp.h:486:25: error: expected ‘)’ before ‘NPN_EnumerateUPP’
     typedef bool(*NP_LOADDS NPN_EnumerateUPP) (NPP npp, NPObject * obj, NPIdentifier ** identifier,
                             ^
    npupp.h:494:26: error: expected ‘)’ before ‘NPN_PluginThreadAsyncCallUPP’
     typedef void (*NP_LOADDS NPN_PluginThreadAsyncCallUPP) (NPP instance, void (*func) (void *),
                              ^
    npupp.h:502:25: error: expected ‘)’ before ‘NPN_ConstructUPP’
     typedef bool(*NP_LOADDS NPN_ConstructUPP) (NPP npp, NPObject * obj, const NPVariant * args,
                             ^
    np_entry.cpp: In function ‘NPError NP_Initialize(NPNetscapeFuncs*, NPPluginFuncs*)’:
    npupp.h:95:5: error: ‘NPP_NewUPP’ was not declared in this scope
       ((NPP_NewUPP) (FUNC))
         ^
    np_entry.cpp:190:25: note: in expansion of macro ‘NewNPP_NewProc’
         pluginFuncs->newp = NewNPP_NewProc(NPP_New);
                             ^
    npupp.h:102:5: error: ‘NPP_DestroyUPP’ was not declared in this scope
       ((NPP_DestroyUPP) (FUNC))
         ^
    np_entry.cpp:191:28: note: in expansion of macro ‘NewNPP_DestroyProc’
         pluginFuncs->destroy = NewNPP_DestroyProc(NPP_Destroy);
                                ^
    npupp.h:109:5: error: ‘NPP_SetWindowUPP’ was not declared in this scope
       ((NPP_SetWindowUPP) (FUNC))
         ^
    np_entry.cpp:192:30: note: in expansion of macro ‘NewNPP_SetWindowProc’
         pluginFuncs->setwindow = NewNPP_SetWindowProc(NPP_SetWindow);
                                  ^
    npupp.h:117:5: error: ‘NPP_NewStreamUPP’ was not declared in this scope
       ((NPP_NewStreamUPP) (FUNC))
         ^
    np_entry.cpp:193:30: note: in expansion of macro ‘NewNPP_NewStreamProc’
         pluginFuncs->newstream = NewNPP_NewStreamProc(NPP_NewStream);
                                  ^
    npupp.h:124:5: error: ‘NPP_DestroyStreamUPP’ was not declared in this scope
       ((NPP_DestroyStreamUPP) (FUNC))
         ^
    np_entry.cpp:194:34: note: in expansion of macro ‘NewNPP_DestroyStreamProc’
         pluginFuncs->destroystream = NewNPP_DestroyStreamProc(NPP_DestroyStream);
                                      ^
    npupp.h:146:5: error: ‘NPP_StreamAsFileUPP’ was not declared in this scope
       ((NPP_StreamAsFileUPP) (FUNC))
         ^
    np_entry.cpp:195:27: note: in expansion of macro ‘NewNPP_StreamAsFileProc’
         pluginFuncs->asfile = NewNPP_StreamAsFileProc(NPP_StreamAsFile);
                               ^
    npupp.h:131:5: error: ‘NPP_WriteReadyUPP’ was not declared in this scope
       ((NPP_WriteReadyUPP) (FUNC))
         ^
    np_entry.cpp:196:31: note: in expansion of macro ‘NewNPP_WriteReadyProc’
         pluginFuncs->writeready = NewNPP_WriteReadyProc(NPP_WriteReady);
                                   ^
    npupp.h:139:5: error: ‘NPP_WriteUPP’ was not declared in this scope
       ((NPP_WriteUPP) (FUNC))
         ^
    np_entry.cpp:197:26: note: in expansion of macro ‘NewNPP_WriteProc’
         pluginFuncs->write = NewNPP_WriteProc(NPP_Write);
                              ^
    npupp.h:153:5: error: ‘NPP_PrintUPP’ was not declared in this scope
       ((NPP_PrintUPP) (FUNC))
         ^
    np_entry.cpp:198:26: note: in expansion of macro ‘NewNPP_PrintProc’
         pluginFuncs->print = NewNPP_PrintProc(NPP_Print);
                              ^
    npupp.h:168:5: error: ‘NPP_URLNotifyUPP’ was not declared in this scope
       ((NPP_URLNotifyUPP) (FUNC))
         ^
    np_entry.cpp:199:30: note: in expansion of macro ‘NewNPP_URLNotifyProc’
         pluginFuncs->urlnotify = NewNPP_URLNotifyProc(NPP_URLNotify);
                                  ^
    npupp.h:175:5: error: ‘NPP_GetValueUPP’ was not declared in this scope
       ((NPP_GetValueUPP) (FUNC))
         ^
    np_entry.cpp:201:29: note: in expansion of macro ‘NewNPP_GetValueProc’
         pluginFuncs->getvalue = NewNPP_GetValueProc(NPP_GetValue);
                                 ^
    make[3]: *** [np_entry.o] Error 1
    make[3]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/gecko-mediaplayer'
    make: *** [all] Error 2

Original issue reported on code.google.com by pgnet.dev on 15 May 2014 at 2:20

GoogleCodeExporter commented 9 years ago
Can you try running configure without the -with-xulrunner-sdk parameter and the 
CPPFLAGS being set as it appears either you are pointing the files incorrectly 
or Mozilla has changed their SDK yet again. It compiles fine on Fedora 19 with 
the firefox that ships with it without the --with-xulrunner-sdk option

Original comment by kdeko...@gmail.com on 15 May 2014 at 3:44

GoogleCodeExporter commented 9 years ago
hi

fwiw, my xulrunner-sdk is in the same place it's been for ages, working well -- 
previously -- with gecko-mediaplayer builds; i'd bet the SDK changed ...

cd src/gecko-mediaplayer

export XULDEV="/usr/local/xulrunner-sdk"
export CPPFLAGS="-I/usr/local/xulrunner-sdk/include -I/usr/include/nspr4"

cd /usr/local/src/gecko-mediaplayer
make distclean
aclocal
./configure
    ...
    checking for catalogs to be installed...  cs de es fr ja it nl pl pt pt_BR tr
    checking pkg-config is at least version 0.9.0... yes
    checking for GLIB... yes
    checking for GMLIB... yes
    checking for GECKO... no
    configure: libxul >= 25 not found, trying another
    checking for GECKO... no
    configure: libxul >= 2.23 not found, trying another
    checking for GECKO... no
    configure: libxul >= 2 not found, trying another
    checking for GECKO... no
    configure: libxul >= 1.9.2 not found, trying another
    checking for GECKO... no
    configure: WARNING: libxul < 1.9.2 not found, trying another
    checking for GECKO... no
    configure: WARNING: libxul-unstable not found, trying another
    checking for GECKO... no
    configure: WARNING: mozilla-plugin not found, trying another
    checking for GECKO... no
    configure: WARNING: firefox-plugin not found, trying another
    checking for GECKO... no
    configure: seamonkey-plugin >= 2.23 not found, trying another
    checking for GECKO... no
    configure: WARNING: seamonkey-plugin not found, trying another
    checking for GECKO... no
    configure: WARNING: xulrunner-plugin not found, trying another
    checking for GECKO... no
    configure: WARNING: iceape-plugin not found, trying another
    checking for GECKO... no
    configure: error: npapi-sdk not found, all out of tries

make clean
./configure --with-xulrunner-sdk=${XULDEV}
make
    ...
      CXX      memmem_compat.o
      CXX      plugin_list.o
      CXX      plugin_setup.o
      CXX      plugin_dbus.o
      CXX      np_entry.o
    In file included from np_entry.cpp:44:0:
    npupp.h:77:26: error: expected ‘)’ before ‘NPP_InitializeUPP’
     typedef void (*NP_LOADDS NPP_InitializeUPP) (void);
                              ^
    npupp.h:84:26: error: expected ‘)’ before ‘NPP_ShutdownUPP’
     typedef void (*NP_LOADDS NPP_ShutdownUPP) (void);
    ...
    make[3]: *** [np_entry.o] Error 1
    make[3]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/gecko-mediaplayer'
    make: *** [all] Error 2

Original comment by pgnet.dev on 16 May 2014 at 1:17

GoogleCodeExporter commented 9 years ago
i do NOT use a distro-pkg'd Firefox; never have.  i use firefox binaries from 
mozilla upstream.

my setup has-been/is

 firefox       installed in /usr/local/firefox
 xulrunner     installed in /usr/local/xulrunner
 xulrunner-sdl installed in /usr/local/xulrunner-sdk

Original comment by pgnet.dev on 16 May 2014 at 1:29

GoogleCodeExporter commented 9 years ago
atm, here

/usr/local/firefox/firefox --version
    Mozilla Firefox 30.0
/usr/local/xulrunner/xulrunner --version
    Mozilla XULRunner 30.0 - 20140512231802
/usr/local/xulrunner-sdk/bin/xulrunner --version
    Mozilla XULRunner 30.0 - 20140512231802

Original comment by pgnet.dev on 16 May 2014 at 1:39

GoogleCodeExporter commented 9 years ago
My workaround is building it with xulrunner 29.0.

Since my OS is Ubuntu 14.04, there's no "libxul-dev" but "firefox-dev" instead.
1. use "dpkg -i --ignore-depends=firefox firefox-dev_29.0***.deb"
   to prevent conflict with my current installed Firefox 30.0
2. I build the deb based on gecko-mediaplayer-1.0.8*** in official repository
3. after building, I purge all the building dependencies including firefox-dev
4. install it and running on Firefox 30.0 now. No problem so far.

Original comment by e.cwch...@gmail.com on 6 Jun 2014 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago
Please try to fix this. gecko-mediaplayer no longer can build in ubuntu because 
of this

Original comment by doak.jackson@gmail.com on 14 Jun 2014 at 7:29

GoogleCodeExporter commented 9 years ago
I have tried to fix this issue and the amount of work needed is significant as 
they appear to have changed the API. It seems to affect Firefox 30 and higher. 

Because of the dislike of plugins from Mozilla and the conversion of most 
websites to either HTML 5 audio and video or to Flash media. I might just end 
up letting gecko-mediaplayer stay where it is as I do not have the time or the 
motivation to fix this.

I will accept patches to the code if anyone is willing to take on this project 
to make the code work with Firefox 30 and beyond.

Original comment by kdeko...@gmail.com on 17 Jun 2014 at 7:37

GoogleCodeExporter commented 9 years ago
debian has a patch available to work around the ftbfs. 
http://packages.qa.debian.org/g/gecko-mediaplayer.html

Original comment by doak.jackson@gmail.com on 20 Jun 2014 at 3:17

GoogleCodeExporter commented 9 years ago
I have merged in the patch from Debian. I was able to compile cleanly with with 
following command line to configure.

CFLAGS=-std=c++11 CXXFLAGS=-std=c++11 ./configure 
--with-xulrunner-sdk=/home/kdekorte/Downloads/xulrunner-sdk

Original comment by kdeko...@gmail.com on 23 Jun 2014 at 2:03