Re: [blfs-dev] JS68 and firefox-78
I tried to build JS78 from Firefox 78.0b9 tarball. The build finished successfully (with rustc-1.44.0, I've not built the latest 1.44.1). "--enable-unaligned-private-values" is no longer supported. I think gjs guys will need to do a lot of work :). -- Xi Ruoyao School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] JS68 and firefox-78
On 2020-06-19 19:49 -0500, Douglas R. Reno via blfs-dev wrote: > On 6/19/20 5:04 PM, Bruce Dubbs via blfs-dev wrote: > > On 6/19/20 4:57 PM, Ken Moffat via blfs-dev wrote: > > > On Fri, Jun 19, 2020 at 04:46:26PM -0500, Bruce Dubbs via blfs-dev > > > wrote: > > > > On 6/19/20 4:11 PM, Ken Moffat via blfs-dev wrote: > > > > > Once firefox-78 is in, it will use python3. JS68 is still python2 - > > > > > last December xry111 had a patch to let JS68 use python3. I > > > > > remember building that on my py3 system, but since the polkit I was > > > > > using did not use JS68 and I was not able to address that, I had to > > > > > drop the polkit chain (JS68, polkit, elogind, rootless X). But > > > > > since then we have dropped the cut-down JS68 from fdo and moved to > > > > > using the JS shipped in firefox. Maybe we should reconsider that ? > > > > > > > > I'm not 100% sure I understand, but can't we use FF68 source for > > > > js68 and > > > > polkit and use FF78 separately? > > > Yes, we can use current FF68 source for js68. That will still > > > require python2, probably for ever. And that is my initial plan > > > (basically just reinstate a separate entity for js68). > > > > > > A possible future alternative is to reinstate the cut-down FDO > > > version of js68 source, with xry111's patch to use python3. The patch can be applied to Firefox ESR tarball, but only to build standalone JS. > > Well it certainly would be nice to get polkit to do an update. polkit js68 MR is merged. Now the maintainer seems preparing a new release. > Adding into this is the complexity of gjs. I'm not sure whether or not > gjs-1.66 (to go along with GNOME-3.38) is going to use js78 or not. I > haven't seen anything from the distributor-list at GNOME yet. gjs policy is to upgrade mozjs version when a new ESR is released: https://gitlab.gnome.org/GNOME/gjs/blob/master/CONTRIBUTING.md#L230 Firefox 78 is planned to be released on June 30th. GNOME 3.38 is planned to be released on late September. So it seems they'll migrate to JS78. But OTOH BLFS- 10.0 will keep to use JS68. > I'll let you guys know as soon as I know though. Normally they announce > those changes within a month or two before the next release of GNOME to > distributors so it's easier for them to package it upon the arrival of > the release. -- Xi Ruoyao School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] JS68 and firefox-78
On 6/19/20 5:04 PM, Bruce Dubbs via blfs-dev wrote: On 6/19/20 4:57 PM, Ken Moffat via blfs-dev wrote: On Fri, Jun 19, 2020 at 04:46:26PM -0500, Bruce Dubbs via blfs-dev wrote: On 6/19/20 4:11 PM, Ken Moffat via blfs-dev wrote: Once firefox-78 is in, it will use python3. JS68 is still python2 - last December xry111 had a patch to let JS68 use python3. I remember building that on my py3 system, but since the polkit I was using did not use JS68 and I was not able to address that, I had to drop the polkit chain (JS68, polkit, elogind, rootless X). But since then we have dropped the cut-down JS68 from fdo and moved to using the JS shipped in firefox. Maybe we should reconsider that ? I'm not 100% sure I understand, but can't we use FF68 source for js68 and polkit and use FF78 separately? Yes, we can use current FF68 source for js68. That will still require python2, probably for ever. And that is my initial plan (basically just reinstate a separate entity for js68). A possible future alternative is to reinstate the cut-down FDO version of js68 source, with xry111's patch to use python3. Well it certainly would be nice to get polkit to do an update. Adding into this is the complexity of gjs. I'm not sure whether or not gjs-1.66 (to go along with GNOME-3.38) is going to use js78 or not. I haven't seen anything from the distributor-list at GNOME yet. I'll let you guys know as soon as I know though. Normally they announce those changes within a month or two before the next release of GNOME to distributors so it's easier for them to package it upon the arrival of the release. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] JS68 and firefox-78
On 6/19/20 4:57 PM, Ken Moffat via blfs-dev wrote: On Fri, Jun 19, 2020 at 04:46:26PM -0500, Bruce Dubbs via blfs-dev wrote: On 6/19/20 4:11 PM, Ken Moffat via blfs-dev wrote: Once firefox-78 is in, it will use python3. JS68 is still python2 - last December xry111 had a patch to let JS68 use python3. I remember building that on my py3 system, but since the polkit I was using did not use JS68 and I was not able to address that, I had to drop the polkit chain (JS68, polkit, elogind, rootless X). But since then we have dropped the cut-down JS68 from fdo and moved to using the JS shipped in firefox. Maybe we should reconsider that ? I'm not 100% sure I understand, but can't we use FF68 source for js68 and polkit and use FF78 separately? Yes, we can use current FF68 source for js68. That will still require python2, probably for ever. And that is my initial plan (basically just reinstate a separate entity for js68). A possible future alternative is to reinstate the cut-down FDO version of js68 source, with xry111's patch to use python3. Well it certainly would be nice to get polkit to do an update. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] JS68 and firefox-78
On Fri, Jun 19, 2020 at 04:46:26PM -0500, Bruce Dubbs via blfs-dev wrote: > On 6/19/20 4:11 PM, Ken Moffat via blfs-dev wrote: > > Guys, > > > > at the end of this month firefox will move to the next ESR series, > > 78. Surprisingly, it has not required a newer version of rust since > > we last updated that, so the firefox part can just drop in. > > > > We are currently using latest firefox-68 to provide spidermonkey > > (JS), because both books need that for polkit, and we at last have > > a version of polkit which will use JS68. > > > > With firefox-78, a lot has changed. From the 'Help' screen of > > 78.0b8 I can see: New RegExp engine in SpiderMonkey, adding support > > for the dotAll flag, Unicode escape sequences, lookbehind > > references, and named captures. > > > > That no doubt explains why the spidermonkey code now pulls in some > > rust code. I gave that combination a trial a week or so ago, and > > after ensuring that rustc was present the build failed miserably, > > it looked like C++ scope errors. > > > > So, I'm proposing to keep JS68 in the book, and therefore separate > > it from firefox. As to whether newer versions of 68 will be worth > > the effort of updating for this (I think there might be two more), I > > have no idea. > > > > Once firefox-78 is in, it will use python3. JS68 is still python2 - > > last December xry111 had a patch to let JS68 use python3. I > > remember building that on my py3 system, but since the polkit I was > > using did not use JS68 and I was not able to address that, I had to > > drop the polkit chain (JS68, polkit, elogind, rootless X). But > > since then we have dropped the cut-down JS68 from fdo and moved to > > using the JS shipped in firefox. Maybe we should reconsider that ? > > I'm not 100% sure I understand, but can't we use FF68 source for js68 and > polkit and use FF78 separately? > > -- Bruce > Yes, we can use current FF68 source for js68. That will still require python2, probably for ever. And that is my initial plan (basically just reinstate a separate entity for js68). A possible future alternative is to reinstate the cut-down FDO version of js68 source, with xry111's patch to use python3. ĸen -- He died at the console, of hunger and thirst. Next day he was buried, face-down, nine-edge first. - the perfect programmer -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] JS68 and firefox-78
On 6/19/20 4:11 PM, Ken Moffat via blfs-dev wrote: Guys, at the end of this month firefox will move to the next ESR series, 78. Surprisingly, it has not required a newer version of rust since we last updated that, so the firefox part can just drop in. We are currently using latest firefox-68 to provide spidermonkey (JS), because both books need that for polkit, and we at last have a version of polkit which will use JS68. With firefox-78, a lot has changed. From the 'Help' screen of 78.0b8 I can see: New RegExp engine in SpiderMonkey, adding support for the dotAll flag, Unicode escape sequences, lookbehind references, and named captures. That no doubt explains why the spidermonkey code now pulls in some rust code. I gave that combination a trial a week or so ago, and after ensuring that rustc was present the build failed miserably, it looked like C++ scope errors. So, I'm proposing to keep JS68 in the book, and therefore separate it from firefox. As to whether newer versions of 68 will be worth the effort of updating for this (I think there might be two more), I have no idea. Once firefox-78 is in, it will use python3. JS68 is still python2 - last December xry111 had a patch to let JS68 use python3. I remember building that on my py3 system, but since the polkit I was using did not use JS68 and I was not able to address that, I had to drop the polkit chain (JS68, polkit, elogind, rootless X). But since then we have dropped the cut-down JS68 from fdo and moved to using the JS shipped in firefox. Maybe we should reconsider that ? I'm not 100% sure I understand, but can't we use FF68 source for js68 and polkit and use FF78 separately? -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page