On Sun, Nov 15, 2009 at 11:05:50PM +0100, Mike Hommey wrote:
> On Sun, Nov 15, 2009 at 03:13:43PM +0100, Guido Günther wrote:
> > Hi Mike,
> > On Thu, Nov 12, 2009 at 04:20:56PM +0100, Mike Hommey wrote:
> > > Package: gtk-vnc
> > > Severity: important
> > > 
> > > (disclaimer: this is a semi automatic message)
> > > 
> > > Hi,
> > > 
> > > Iceape 2.0 has been uploaded to unstable, and it is deprecating 
> > > iceape-dev. 
> > > For now, the iceape-dev package still exists and depends on 
> > > xulrunner-dev, 
> > > which may provide a smooth upgrade path, and your package may build 
> > > properly this way (i.e. a binNMU would work)
> > > 
> > > But the iceape-dev package is going to be removed from the archive before
> > > the squeeze release, so please switch to using xulrunner-dev anyways.
> > xulrunner-dev doesn't contain npupp.h as the iceape-dev package did.
> > Some stuff is now in npfunctions.h but named differently. Is there any
> > kind of conversion document?
> 
> What about npapi.h ?
Thats being used already. Here's what fails:

/bin/bash ../libtool  --tag=CC   --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H 
-I. -I..    -I../src -D_REENTRANT -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -DXP_UNIX -DOJI 
-I/usr/include/xulrunner-1.9.1/stable -I/usr/include/nspr    -Wall -Wformat 
-Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra 
-Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline 
-Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fasynchronous-unwind-tables  -g -O2 -g -Wall -O2 -c -o 
gtk_vnc_plugin_la-npunix.lo `test -f 'npunix.c' || echo './'`npunix.c
libtool: compile:  cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -D_REENTRANT 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXP_UNIX -DOJI 
-I/usr/include/xulrunner-1.9.1/stable -I/usr/include/nspr -Wall -Wformat 
-Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra 
-Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline 
-Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fasynchronous-unwind-tables -g -O2 -g -Wall -O2 -c npunix.c  -fPIC -DPIC -o 
.libs/gtk_vnc_plugin_la-npunix.o
npunix.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘gNetscapeFuncs’
npunix.c: In function ‘NPN_Version’:
npunix.c:101: error: ‘gNetscapeFuncs’ undeclared (first use in this function)
npunix.c:101: error: (Each undeclared identifier is reported only once
npunix.c:101: error: for each function it appears in.)
npunix.c: In function ‘NPN_GetValue’:
npunix.c:109: warning: implicit declaration of function ‘NPN_GetValueProcPtr’
npunix.c:109: warning: nested extern declaration of ‘NPN_GetValueProcPtr’
npunix.c:109: error: ‘gNetscapeFuncs’ undeclared (first use in this function)
npunix.c: In function ‘NPN_SetValue’:
npunix.c:116: warning: implicit declaration of function ‘CallNPN_SetValueProc’
npunix.c:116: warning: nested extern declaration of ‘CallNPN_SetValueProc’
npunix.c:116: error: ‘gNetscapeFuncs’ undeclared (first use in this function)
npunix.c: In function ‘NPN_GetURL’:
npunix.c:123: warning: implicit declaration of function ‘CallNPN_GetURLProc’
npunix.c:123: warning: nested extern declaration of ‘CallNPN_GetURLProc’
npunix.c:123: error: ‘gNetscapeFuncs’ undeclared (first use in this function)
npunix.c: In function ‘NPN_GetURLNotify’:
npunix.c:129: warning: implicit declaration of function 
‘CallNPN_GetURLNotifyProc’
npunix.c:129: warning: nested extern declaration of ‘CallNPN_GetURLNotifyProc’
npunix.c:129: error: ‘gNetscapeFuncs’ undeclared (first use in this function)

If I use NPPluginFuncs instead of gNetscapeFuncs things look slightly
better but I didn't find any docs on how this is supposed to be done
(I'd rather not move the plugin to another deprecated interface).
Cheers,
 -- Guido





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to