Porting over an XUL App

Discussions about applications built on our platform code that do not have a dedicated board.

Moderators: trava90, athenian200

User avatar
kokhoor
New to the forum
New to the forum
Posts: 1
Joined: 2023-01-01, 01:22

Porting over an XUL App

Unread post by kokhoor » 2023-01-02, 14:52

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

User avatar
leothetechguy
Moonbather
Moonbather
Posts: 56
Joined: 2020-12-10, 18:46

Re: Porting over an XUL App

Unread post by leothetechguy » 2023-01-11, 21:26

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.

Post Reply