gecko-dotnet.app

Started by benny3t3, November 24, 2010, 06:42:14 PM

Previous topic - Next topic

benny3t3

I was thinking...
' You know what would be great? A gecko-dotnet application for mac. '

And so, I found this utility named macpack... and if I can just figure it out, I think it would be possible to make a finder-safe and recognizable application for use on mac. It should be able to go in the dock too with some more tweaking.

So i'll be working on that... if someone with more experience could tell me what 'this'(look below) means, I would greatly appreciate it.

        It's not that long, I just like to save space with spoilers. It makes up for my use of the 'enter/return' button
[spoiler]$ mcs -g -debug+ gecko-dotnet.cs -out:gecko-dotnet.exe -pkg:cocoa-sharpwarning CS8029: Compatibility: Use -debug option instead of -g or --debugPackage cocoa-sharp was not found in the pkg-config search path.
Perhaps you should add the directory containing `cocoa-sharp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cocoa-sharp' found
error CS8027: Error running pkg-config. Check the above output.[/spoiler]

EDIT: Or better yet, maybe someone could help me make sense of this different way of doing it?

http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app

according to one of the admins over there on the website...
[spoiler]Why not macpack?

This is a super useful article for understanding how everything works. However, I noticed there is the macpack (http://www.mono-project.com/Guide:Running_Mono_Applications#macpack_.28Mac_OS_X_only.29 ) utility too. Is there any reason not to use macpack?

    * reply
    * quote

Thu, 2010-02-04 20:23 â€" Admin
More control

macpack doesn't give you as much control â€" for a start, you can't edit the Info.plist or the startup script, so many of the things I did, like URL/file handlers and the Mono version check, are impossible. Arguably macpack could be improved, but there's not really much to doing the process by hand anyway.

    * reply
    * quote

[/spoiler]


hawkeye2777

I don't think either will work; macpack appears to be for Cocoa# and the other for GTK#. Gecko.NET runs on neither of those; it uses Winforms.
Currently "retired" from hacking codes.

benny3t3

Well, allright, maybe there is something like it for winforms.

benny3t3

Good news, I got an app made actually! Macpack worked! The app works, it opens up mono and everything... The only thing is...

Remember how you told me that I have to type in that command to make sure that X11 is active when starting Gecko-dotnet?

I don't know how to incorporate that in the app, So, now it runs like it did and does WITHOUT the special command; with overlap issues.

Do you know how to fix this? There has almost got to be a way.

benny3t3


hawkeye2777

Afraid I won't be much help here... this is really getting into Mac OS X specific stuff, which I have absolutely no experience in. Sorry; guess your best bet is to keep Googling unless someone else chimes in.
Currently "retired" from hacking codes.

benny3t3

I will ask someone at the mono-osx forum, thanks for all your help in general!


brkirch

Try this:
http://web.me.com/brkirch/Gecko.NET.zip
(Mac OS X v10.6 or later is required)

These libraries are included:
libusb-1.0
libusb-compat-0.1
libftdi

Memory dumping currently doesn't work reliably but there will be an update soon that should address that (see this post).

benny3t3

I haven't tested it much, but I tried to open it on my 10.5, and it worked as far as switching tabs goes!