Re: [Pkg-javascript-devel] Bug#971786: Bug#971786: Bug#971786: src:pdf.js: please package new upstream version

2020-10-09 Thread Xavier
Le 09/10/2020 à 15:42, Xavier a écrit :
> Le 09/10/2020 à 11:55, Xavier a écrit :
>> Le 08/10/2020 à 11:42, Jonas Smedegaard a écrit :
>>> Quoting Xavier (2020-10-08 06:13:30)
 Le 07/10/2020 à 17:13, Xavier a écrit :
> Le 07/10/2020 à 17:03, Carsten Schoenert a écrit :
>> Hello Xavier,
>>
>> Am 07.10.20 um 16:29 schrieb Xavier:
>>> Le 07/10/2020 à 10:29, Carsten Schoenert a écrit :
>>> this modules looks useless in Debian:
>>>  * no reverse-dependencies
>>
>> well, might simply because the version in Debian is far to old for 
>> all possibly other packages. ;) I haven't looked at packages that 
>> using now preshipped pdf.js.
>>
>>>  * one binary mas to be removed (xul component, #906835)
>>
>> Yes, obviously.
>>
>>>  * you're the first person who looks to it for a while ;-)
>>>
>>> Then do you need its update ? I can do it but it requires some 
>>> work (zelenka.debian.org is working on it :-D).
>>
>> No hurry, I was today looking into upgrading kopano-webapp to 4.3 
>> and the Kopano is using pdf.js since version 4.0 here.
>>
>> There are other issues to solve, but using pdf.js from Debian would 
>> prevent the requirement to use the embedded version.
>
> OK, I'll update it

 Sadly updating pdf.js requires to update acorn to acorn 7.4. This will
 take time...
>>>
>>> Perhaps then sensible to update it to something newer yet not newest.
>>
>> Finally it seems easy to upgrade acorn (with recent rollup* upgrades). I
>> pushed my work to experimental.
>>
>> The only problem I found with this upgrade is related to rollup build
>> (not fixed for now).
> 
> Mmm, Ruby-Team's tool didn't find all reverse deps (due to its multiple
> package names...). Most package succeeds but it seems to be a problem
> with acorn-walk:
> 
>  * rollup fails to build with:
> 
>   Error: 'walk' is not exported by
>   ../../../usr/share/nodejs/estree-walker/index.js

Unable to fix this for now...

>  * node-promise:
> 
>   Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/walk'
>   is not defined by "exports" in
>   /usr/share/nodejs/acorn-walk/package.json

node-promise require acorn ^1.0 ! Seems easy to fix


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] Bug#971786: Bug#971786: Bug#971786: src:pdf.js: please package new upstream version

2020-10-09 Thread Xavier
Le 09/10/2020 à 11:55, Xavier a écrit :
> Le 08/10/2020 à 11:42, Jonas Smedegaard a écrit :
>> Quoting Xavier (2020-10-08 06:13:30)
>>> Le 07/10/2020 à 17:13, Xavier a écrit :
 Le 07/10/2020 à 17:03, Carsten Schoenert a écrit :
> Hello Xavier,
>
> Am 07.10.20 um 16:29 schrieb Xavier:
>> Le 07/10/2020 à 10:29, Carsten Schoenert a écrit :
>> this modules looks useless in Debian:
>>  * no reverse-dependencies
>
> well, might simply because the version in Debian is far to old for 
> all possibly other packages. ;) I haven't looked at packages that 
> using now preshipped pdf.js.
>
>>  * one binary mas to be removed (xul component, #906835)
>
> Yes, obviously.
>
>>  * you're the first person who looks to it for a while ;-)
>>
>> Then do you need its update ? I can do it but it requires some 
>> work (zelenka.debian.org is working on it :-D).
>
> No hurry, I was today looking into upgrading kopano-webapp to 4.3 
> and the Kopano is using pdf.js since version 4.0 here.
>
> There are other issues to solve, but using pdf.js from Debian would 
> prevent the requirement to use the embedded version.

 OK, I'll update it
>>>
>>> Sadly updating pdf.js requires to update acorn to acorn 7.4. This will
>>> take time...
>>
>> Perhaps then sensible to update it to something newer yet not newest.
> 
> Finally it seems easy to upgrade acorn (with recent rollup* upgrades). I
> pushed my work to experimental.
> 
> The only problem I found with this upgrade is related to rollup build
> (not fixed for now).

Mmm, Ruby-Team's tool didn't find all reverse deps (due to its multiple
package names...). Most package succeeds but it seems to be a problem
with acorn-walk:

 * rollup fails to build with:

  Error: 'walk' is not exported by
  ../../../usr/share/nodejs/estree-walker/index.js

 * node-promise:

  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/walk'
  is not defined by "exports" in
  /usr/share/nodejs/acorn-walk/package.json

Success: node-babel7, node-astw node-browser-unpack node-buble
node-detective node-escodegen node-espre node-estree-walker node-falafel
node-gulp-sourcemaps node-is-reference node-rollup-plugin-commonjs
node-syntax-error node-terser node-webpack typescript-types uglifyjs

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] Bug#971786: Bug#971786: Bug#971786: src:pdf.js: please package new upstream version

2020-10-09 Thread Xavier
Le 08/10/2020 à 11:42, Jonas Smedegaard a écrit :
> Quoting Xavier (2020-10-08 06:13:30)
>> Le 07/10/2020 à 17:13, Xavier a écrit :
>>> Le 07/10/2020 à 17:03, Carsten Schoenert a écrit :
 Hello Xavier,

 Am 07.10.20 um 16:29 schrieb Xavier:
> Le 07/10/2020 à 10:29, Carsten Schoenert a écrit :
> this modules looks useless in Debian:
>  * no reverse-dependencies

 well, might simply because the version in Debian is far to old for 
 all possibly other packages. ;) I haven't looked at packages that 
 using now preshipped pdf.js.

>  * one binary mas to be removed (xul component, #906835)

 Yes, obviously.

>  * you're the first person who looks to it for a while ;-)
>
> Then do you need its update ? I can do it but it requires some 
> work (zelenka.debian.org is working on it :-D).

 No hurry, I was today looking into upgrading kopano-webapp to 4.3 
 and the Kopano is using pdf.js since version 4.0 here.

 There are other issues to solve, but using pdf.js from Debian would 
 prevent the requirement to use the embedded version.
>>>
>>> OK, I'll update it
>>
>> Sadly updating pdf.js requires to update acorn to acorn 7.4. This will
>> take time...
> 
> Perhaps then sensible to update it to something newer yet not newest.

Finally it seems easy to upgrade acorn (with recent rollup* upgrades). I
pushed my work to experimental.

The only problem I found with this upgrade is related to rollup build
(not fixed for now).

@rouca, could you take a look at my changes, especially
https://salsa.debian.org/js-team/acorn/-/commit/3400be5a ?

> Thanks for your efforts!

Thanks ;-)

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel