Page 1 of 1

Porting over an XUL App

Posted: 2023-01-02, 14:52
by kokhoor
Hi,

I have a very old XUL app that runs on Windows and on XUL 1.8.1.3.

I am hoping can port over to UXP, and am trying Goanna_6.0. Is this right place to start?

I compiled Goanna_6.0 branch and end up with following folder: UXP\obj-i686-pc-mingw32\dist\bin, with following files:
  • .purgecaches
  • js-gdb.py
  • js.exe
  • mozglue.dll
  • mozjs-6.dll
  • nspr4.dll
  • plc4.dll
  • plds4.dll
I built using Visual Studio 2022 Community Edition, mozbuild 3.3, using: 'mach build' in the UXP folder.

Is this correct? Can I start using this to run an xul application? Previously I run using: xulrunner\xulrunner application.ini -jsconsole

Any guidance or sample XUL application boilerplate will be appreciated.

Regards,
Kok Hoor

Re: Porting over an XUL App

Posted: 2023-01-11, 21:26
by leothetechguy
Here is the example application for the UXP Platform, but I dont know if it still builds. it hasn't been updated in a while.
https://repo.palemoon.org/MoonchildProd ... pp-example
Maybe you can integrate your own application with that starting point. Looks like the client.mk also includes some build instructions, but I'm no developer.