Re: nodejs-electron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, 27 February 2022 01:37:08 CET Demi Marie Obenour wrote:
> On 2/26/22 02:21, Andreas Schneider wrote:
> > On Friday, 25 February 2022 14:02:11 CET Neal Gompa wrote:
> >> I think this is probably one of those things that would be worth
> >> forming a SIG on. An Electron SIG could help with Electron and all
> >> Electron-based applications that come into Fedora.
> > 
> > That would be fine by me. The most obvious application would be Element
> > (Matrix). https://element.io/
> 
> How do you plan to rebuild all of the NPM dependencies?  “Just use
> what is in node_modules” runs into the problem that what is in
> node_modules often isn’t actually source code.  Yes, I know that most
> other packagers are likely using this approach, but it doesn’t meet
> Fedora’s “everything must be built from source” requirement.

With signal I replaced the binary node modules with source ones. I also make 
sure that there are no shared libraries or prebuild .node file around.

Most of the time a `node-gyp rebuild` is what you need to rebuild the 
binaries.

nodejs-signal-ringrtc was not that easy as it requires webrtc. This also uses 
ffmpeg and I need a system ffmpeg for that. Also webrtc only offers a static 
library. So you need to use that to then build ringrtc (rust) and node glue 
code.

It took me a long long time to figure several things out as there is no 
documentation how to cleanly build for distributions. I'm making it better in 
small steps whenever I learn something.


	Andreas

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux