[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-12 Thread Bas Couwenberg

On 2016-04-12 12:15, Jérémy Lal wrote:

node-pre-gyp is now in the archive.
There are a couple of fixes to do to node-mapnik, and i'll upload it 
later

today ?
Unless you want to do the work.


No, please go ahead.

Kind Regards,

Bas

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-12 Thread Jérémy Lal
2016-04-08 15:26 GMT+02:00 Jérémy Lal :

> 2016-04-08 15:10 GMT+02:00 Sebastiaan Couwenberg :
>
>> On 04/08/2016 02:20 PM, Jérémy Lal wrote:
>> > 2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg:
>> >> The test target fails because it requires node-pre-gyp, as do the
>> >> bin/mapnik-*.js executables. We'll need to patch those to not require
>> >> node-pre-gyp too.
>> >>
>> >> Do you have any suggestions for that?
>> >
>> > Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar
>> > could stay a recommandation.
>> > It will be way simpler than spending the time patching node-mapnik.
>>
>> Thanks!
>>
>> I've patched the mapnik-*.js executables to not require node-pre-gyp,
>> that just leaves lib/mapnik.js which uses it to find mapnik_settings.js.
>>
>> Since its path differs between the build environment and after
>> installation, I'm not sure if we can make it support both without
>> node-pre-gyp.
>>
>> I think I'll leave the node-mapnik packaging as it is for now, add have
>> another look when node-pre-gyp is available or if it becomes clear we
>> can work around it.
>>
>
> Ok. I'll be able to upload node-pre-gyp and node-rc later today.
>

node-pre-gyp is now in the archive.
There are a couple of fixes to do to node-mapnik, and i'll upload it later
today ?
Unless you want to do the work.

Cheers,
Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Jérémy Lal
2016-04-08 15:10 GMT+02:00 Sebastiaan Couwenberg :

> On 04/08/2016 02:20 PM, Jérémy Lal wrote:
> > 2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg:
> >> The test target fails because it requires node-pre-gyp, as do the
> >> bin/mapnik-*.js executables. We'll need to patch those to not require
> >> node-pre-gyp too.
> >>
> >> Do you have any suggestions for that?
> >
> > Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar
> > could stay a recommandation.
> > It will be way simpler than spending the time patching node-mapnik.
>
> Thanks!
>
> I've patched the mapnik-*.js executables to not require node-pre-gyp,
> that just leaves lib/mapnik.js which uses it to find mapnik_settings.js.
>
> Since its path differs between the build environment and after
> installation, I'm not sure if we can make it support both without
> node-pre-gyp.
>
> I think I'll leave the node-mapnik packaging as it is for now, add have
> another look when node-pre-gyp is available or if it becomes clear we
> can work around it.
>

Ok. I'll be able to upload node-pre-gyp and node-rc later today.

Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Sebastiaan Couwenberg
On 04/08/2016 02:20 PM, Jérémy Lal wrote:
> 2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg:
>> The test target fails because it requires node-pre-gyp, as do the
>> bin/mapnik-*.js executables. We'll need to patch those to not require
>> node-pre-gyp too.
>>
>> Do you have any suggestions for that?
> 
> Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar
> could stay a recommandation.
> It will be way simpler than spending the time patching node-mapnik.

Thanks!

I've patched the mapnik-*.js executables to not require node-pre-gyp,
that just leaves lib/mapnik.js which uses it to find mapnik_settings.js.

Since its path differs between the build environment and after
installation, I'm not sure if we can make it support both without
node-pre-gyp.

I think I'll leave the node-mapnik packaging as it is for now, add have
another look when node-pre-gyp is available or if it becomes clear we
can work around it.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Jérémy Lal
2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg :

> On 04/08/2016 01:54 PM, Jérémy Lal wrote:
> > 2016-04-08 12:49 GMT+02:00 Sebastiaan Couwenberg :
> >
> >> On 04/08/2016 12:34 PM, Jérémy Lal wrote:
> >>> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg:
>  Currenly `node-gyp configure` fails with:
> 
>  gyp: Undefined variable module_path in binding.gyp while trying to
> load
>  binding.gyp
> 
>  If it's possible to fix that by using the system provided
> dependencies,
>  it may be feasible to get node-mapnik working again.
> 
> 
> >>> The generic way of getting rid of these:
> >>>
> >>> node-gyp configure --module_name=`nodejs -e
> >>> "console.log(require('./package.json').binary.module_name)"`
> >>> --module_path=`nodejs -e
> >>> "console.log(require('./package.json').binary.module_path)"`
> >>>
> >>>
> >>> Updating node-mapnik is looking good; but I have trouble with
> >>>
> >>> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,
> >>>  from ../src/mapnik_vector_tile.hpp:11,
> >>>  from ../src/node_mapnik.cpp:5:
> >>> /usr/include/vector_tile_tile.hpp:208:32: fatal error:
> >>> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type
> >>>
> >>> does it ring a bell ?
> >>
> >> Yes, the .ipp file is included in the mapnik-vector-tile source, but not
> >> installed in the binary package.
> >>
> >> I'll update mapnik-vector-tile to install the .ipp files too.
> >
> > I've just tested with those files installed by hand and it works all
> right.
>
> Yes, I've got similar results after some more changes to the node-mapnik
> packaging.
>
> The test target fails because it requires node-pre-gyp, as do the
> bin/mapnik-*.js executables. We'll need to patch those to not require
> node-pre-gyp too.
>
> Do you have any suggestions for that?
>
>
Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar
could stay a recommandation.
It will be way simpler than spending the time patching node-mapnik.

Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Sebastiaan Couwenberg
On 04/08/2016 01:54 PM, Jérémy Lal wrote:
> 2016-04-08 12:49 GMT+02:00 Sebastiaan Couwenberg :
> 
>> On 04/08/2016 12:34 PM, Jérémy Lal wrote:
>>> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg:
 Currenly `node-gyp configure` fails with:

 gyp: Undefined variable module_path in binding.gyp while trying to load
 binding.gyp

 If it's possible to fix that by using the system provided dependencies,
 it may be feasible to get node-mapnik working again.


>>> The generic way of getting rid of these:
>>>
>>> node-gyp configure --module_name=`nodejs -e
>>> "console.log(require('./package.json').binary.module_name)"`
>>> --module_path=`nodejs -e
>>> "console.log(require('./package.json').binary.module_path)"`
>>>
>>>
>>> Updating node-mapnik is looking good; but I have trouble with
>>>
>>> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,
>>>  from ../src/mapnik_vector_tile.hpp:11,
>>>  from ../src/node_mapnik.cpp:5:
>>> /usr/include/vector_tile_tile.hpp:208:32: fatal error:
>>> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type
>>>
>>> does it ring a bell ?
>>
>> Yes, the .ipp file is included in the mapnik-vector-tile source, but not
>> installed in the binary package.
>>
>> I'll update mapnik-vector-tile to install the .ipp files too.
> 
> I've just tested with those files installed by hand and it works all right.

Yes, I've got similar results after some more changes to the node-mapnik
packaging.

The test target fails because it requires node-pre-gyp, as do the
bin/mapnik-*.js executables. We'll need to patch those to not require
node-pre-gyp too.

Do you have any suggestions for that?

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Sebastiaan Couwenberg
On 04/08/2016 12:34 PM, Jérémy Lal wrote:
> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg:
>> Currenly `node-gyp configure` fails with:
>>
>> gyp: Undefined variable module_path in binding.gyp while trying to load
>> binding.gyp
>>
>> If it's possible to fix that by using the system provided dependencies,
>> it may be feasible to get node-mapnik working again.
>>
>>
> The generic way of getting rid of these:
> 
> node-gyp configure --module_name=`nodejs -e
> "console.log(require('./package.json').binary.module_name)"`
> --module_path=`nodejs -e
> "console.log(require('./package.json').binary.module_path)"`
> 
> 
> Updating node-mapnik is looking good; but I have trouble with
> 
> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,
>  from ../src/mapnik_vector_tile.hpp:11,
>  from ../src/node_mapnik.cpp:5:
> /usr/include/vector_tile_tile.hpp:208:32: fatal error:
> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type
> 
> does it ring a bell ?

Yes, the .ipp file is included in the mapnik-vector-tile source, but not
installed in the binary package.

I'll update mapnik-vector-tile to install the .ipp files too.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Jérémy Lal
2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg :

> On 04/08/2016 12:09 PM, Jérémy Lal wrote:
> > 2016-04-08 11:32 GMT+02:00 Sebastiaan Couwenberg :
> >
> >> On Wed, 8 Jul 2015 09:31:46 +0200 Jérémy Lal wrote:
> >>> 2015-07-07 23:43 GMT+02:00 Emilio Pozuelo Monfort :
>  Your package fails to build against mapnik 3.0.0:
> >>>
> >>> Thanks, it's going to be like this until gcc5 and latest boost libs are
> >>> available (which should be this summer).
> >>
> >> More recent node-mapnik versions are required for their Mapnik 3.x
> >> support, but these require the unpackaged node-pre-gyp to build.
> >>
> >> Perhaps it's better to remove node-mapnik and its reverse dependencies
> >> from the archive since they haven't seen any activity in over two years.
> >>
> >
> > Let me see if updating it goes smoothly. If not then i'll request the
> > removal.
>
> Thanks, that's much appreciated.
>
> I've pushed my initial changes for node-mapnik 3.5.8 to Alioth.
>
> > FYI node-pre-gyp is a useless module in debian because it is made to
> > download binaries from remote sources instead of properly compiling.
>
> Currenly `node-gyp configure` fails with:
>
> gyp: Undefined variable module_path in binding.gyp while trying to load
> binding.gyp
>
> If it's possible to fix that by using the system provided dependencies,
> it may be feasible to get node-mapnik working again.
>
>
The generic way of getting rid of these:

node-gyp configure --module_name=`nodejs -e
"console.log(require('./package.json').binary.module_name)"`
--module_path=`nodejs -e
"console.log(require('./package.json').binary.module_path)"`


Updating node-mapnik is looking good; but I have trouble with

In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,
 from ../src/mapnik_vector_tile.hpp:11,
 from ../src/node_mapnik.cpp:5:
/usr/include/vector_tile_tile.hpp:208:32: fatal error:
vector_tile_tile.ipp: Aucun fichier ou dossier de ce type

does it ring a bell ?

Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Sebastiaan Couwenberg
On 04/08/2016 12:09 PM, Jérémy Lal wrote:
> 2016-04-08 11:32 GMT+02:00 Sebastiaan Couwenberg :
> 
>> On Wed, 8 Jul 2015 09:31:46 +0200 Jérémy Lal wrote:
>>> 2015-07-07 23:43 GMT+02:00 Emilio Pozuelo Monfort :
 Your package fails to build against mapnik 3.0.0:
>>>
>>> Thanks, it's going to be like this until gcc5 and latest boost libs are
>>> available (which should be this summer).
>>
>> More recent node-mapnik versions are required for their Mapnik 3.x
>> support, but these require the unpackaged node-pre-gyp to build.
>>
>> Perhaps it's better to remove node-mapnik and its reverse dependencies
>> from the archive since they haven't seen any activity in over two years.
>>
> 
> Let me see if updating it goes smoothly. If not then i'll request the
> removal.

Thanks, that's much appreciated.

I've pushed my initial changes for node-mapnik 3.5.8 to Alioth.

> FYI node-pre-gyp is a useless module in debian because it is made to
> download binaries from remote sources instead of properly compiling.

Currenly `node-gyp configure` fails with:

gyp: Undefined variable module_path in binding.gyp while trying to load
binding.gyp

If it's possible to fix that by using the system provided dependencies,
it may be feasible to get node-mapnik working again.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Jérémy Lal
2016-04-08 11:32 GMT+02:00 Sebastiaan Couwenberg :

> On Wed, 8 Jul 2015 09:31:46 +0200 Jérémy Lal wrote:
> > 2015-07-07 23:43 GMT+02:00 Emilio Pozuelo Monfort :
> > > Your package fails to build against mapnik 3.0.0:
> >
> > Thanks, it's going to be like this until gcc5 and latest boost libs are
> > available (which should be this summer).
>
> More recent node-mapnik versions are required for their Mapnik 3.x
> support, but these require the unpackaged node-pre-gyp to build.
>
> Perhaps it's better to remove node-mapnik and its reverse dependencies
> from the archive since they haven't seen any activity in over two years.
>

Let me see if updating it goes smoothly. If not then i'll request the
removal.

FYI node-pre-gyp is a useless module in debian because it is made to
download
binaries from remote sources instead of properly compiling.

Jérémy
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

2016-04-08 Thread Sebastiaan Couwenberg
On Wed, 8 Jul 2015 09:31:46 +0200 Jérémy Lal wrote:
> 2015-07-07 23:43 GMT+02:00 Emilio Pozuelo Monfort :
> > Your package fails to build against mapnik 3.0.0:
> 
> Thanks, it's going to be like this until gcc5 and latest boost libs are
> available (which should be this summer).

More recent node-mapnik versions are required for their Mapnik 3.x
support, but these require the unpackaged node-pre-gyp to build.

Perhaps it's better to remove node-mapnik and its reverse dependencies
from the archive since they haven't seen any activity in over two years.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel