WiiRd forum

USB Gecko Related => Gecko OS & USB Gecko => Topic started by: benny3t3 on November 24, 2010, 06:42:14 PM

Title: gecko-dotnet.app
Post by: benny3t3 on November 24, 2010, 06:42:14 PM
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]

Title: Re: gecko-dotnet.app
Post by: hawkeye2777 on November 24, 2010, 08:36:37 PM
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.
Title: Re: gecko-dotnet.app
Post by: benny3t3 on November 25, 2010, 02:32:58 AM
Well, allright, maybe there is something like it for winforms.
Title: Re: gecko-dotnet.app
Post by: benny3t3 on November 25, 2010, 06:16:37 AM
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.
Title: Re: gecko-dotnet.app
Post by: benny3t3 on November 25, 2010, 06:28:51 AM
Here is a link to the compiled app
http://www.megaupload.com/?d=RVWXD9AB

Here is a link to the contents file
http://www.megaupload.com/?d=TB1IU21R
Title: Re: gecko-dotnet.app
Post by: hawkeye2777 on November 26, 2010, 01:50:39 AM
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.
Title: Re: gecko-dotnet.app
Post by: benny3t3 on November 26, 2010, 07:26:07 PM
I will ask someone at the mono-osx forum, thanks for all your help in general!

Title: Re: gecko-dotnet.app
Post by: brkirch on November 27, 2010, 01:45:41 AM
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 (http://www.libusb.org/wiki/libusb-1.0)
libusb-compat-0.1 (http://www.libusb.org/wiki/libusb-compat-0.1)
libftdi (http://www.intra2net.com/en/developer/libftdi/index.php)

Memory dumping currently doesn't work reliably but there will be an update soon that should address that (see this post (http://wiird.l0nk.org/forum/index.php/topic,4954.msg61457.html#msg61457)).
Title: Re: gecko-dotnet.app
Post by: benny3t3 on November 27, 2010, 02:25:19 AM
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!