s5vi's Motorola p2k phone page
September 09, 2010, 11:48:40 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
Your Ad Here
News: 29000 member !!!
V-6.0.0 with CDMA support is available now.
To become VIP: you can do it via PayPal: http://www.el-co.hu/p2k05/paypal.html
 
   Home   Help Login Register  

Email me.
You can help me to work on P2kc.
I'm looking for a freelance work.
Upcoming V-5.0.0 can be branded with your company for a small fee. Please contact me.
Email me.
Your Ad Here
Pages: [1] 2 3 ... 6   Go Down
  Print  
Author Topic: OSX and P2kCommander  (Read 21085 times)
0 Members and 1 Guest are viewing this topic.
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« on: January 29, 2008, 08:03:50 am »

Finally i can install gtk+ on my OSX box, aproximately ran 3 hours (downloading and compiling)
Now i can run p2kc, and p2k-core an works prefectly:


Now i need to bundle gtk+ libs , libusb, p2kcore and p2kc i one dmg.
But i dont know how? It possibble i'm sure. I saw some gtk app bundle.
This is cca 10 Mb and run a gtk app with gtk libs :
http://bluestart.de/GTK-WBT201.dmg
article here: http://web3null.blogspot.com/2007/10/running-gtk-applications-in-mac-os-x.html
« Last Edit: January 29, 2008, 08:07:29 am by s5vi » Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #1 on: February 01, 2008, 09:48:57 pm »

what program are you using cuz it looks like an application that is user friendly?
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #2 on: February 03, 2008, 10:35:37 am »

As i wrote this is my P2kCommander
Currently under porting to linux/gtk+
But can run on OSX which is prepared with gtk libs
When i find out , howto pack gtk libs and apps into a dmg, p2kc will run on OSX with a single click!
Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #3 on: February 11, 2008, 07:38:08 am »

do you think you might be able to post for download somewhere? i'd be fine with downloading the different parts then install them individually.

thanks s5vi for all your help!
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #4 on: February 11, 2008, 02:51:04 pm »

ok, will publish soon...
Logged

digitol
Newbie
*
Offline Offline

Posts: 6


« Reply #5 on: February 27, 2008, 06:45:46 am »

Doh!  Shocked P2kC on mac! Well I will no longer maintain MacP2k. All should use P2k Commander.. it looks ugly (GTK) but its functions are great on the mac! Thanks for this and all your work!

-Digitol-
Logged
istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #6 on: February 27, 2008, 05:10:07 pm »

No doubt Digitol.....thanks s5vi for your help in making something that will work on mac. just curious when it'll be available?? and i apologize cuz i dont want to badger you about it  Wink .... or do the components you have posted here already work? if so is there a link so i can learn how.
thanks again s5vi
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #7 on: February 27, 2008, 07:55:59 pm »

To get GTK+ libs working on your MAC pls read this:
http://shreevatsa.wordpress.com/2007/12/07/pidgin-on-mac-os-x-natively/

Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #8 on: February 28, 2008, 05:18:07 pm »

Ok, thanks s5vi.... so far I've done these steps:
1) I installed Xcode 3.0 & X11 was already installed (Leopard - I checked). And of course, was required before installing Macports & Pidgin.
2) Installed Macports & Pidgin (about an hour to download & install for Leopard).
3) Downloaded your V_0.6.
At this point i'm not sure how to "make install" or "make mac" instead of make. Is there a link to walk me through that? Is this something done in Terminal or changes to the exec. files in Xcode? Huh?

Thanks again.....I truly appreciate all your help!!!
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #9 on: February 28, 2008, 07:11:50 pm »

Sorry for that, there is some misunderstanding....
Referenced page is about compiling and installing Pidgin. Pidgin is a GTK instant messaging application (just like msn messenger)
I have learn on that page, howto compile and install GTK libs on my MAC. Other stuff installing pidgin is not necessary.
I did not install or use X11, Macports and Pidgin

Now i will try instruct you step-by-step:
- Xcode is necessary, you have done it...good
- First you need svn package: http://homepage.mac.com/martinott/Subversion-1.4.4.pkg.zip
- after this point we need root privileges (usually with "sudo" command)
- open a terminal and try to run "svn", if not run, check your $path with "set" command
- to change $path: export PATH="$PATH:/usr/local/bin" or other path. (i remember this path)
-now will get jhbuild from the net and build it
svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild
cd jhbuild
make -f Makefile.plain install
-Then, make sure ~/bin is in your $PATH
Download this file: http://developer.imendio.com/svn/gtk-osx-build/jhbuildrc-gtk-osx  , and save it as ~/.jhbuildrc.
-Now the long procedure begins: (approx 3 hours!)
jhbuild bootstrap
jhbuild build
jhbuild build meta-gtk-osx-core

I remeber this way, i hope this is correct
Check if success:   /opt/gtk/bin/gtk-demo

Now GTK libs are ok. Now you can use my binary (not published yet) (will post it)
Or you can compile P2kc. Other problems will appear missing libs: i remember libglade and its dependencies. (and of course libusb)
I also compiled them from source.
While you compile p2kc maybe will receive err msgs regarding missing libraries. these also must be installed/compiled

Huh......quite difficult i think.
Logged

istink@modding
Newbie
*
Offline Offline

Posts: 36


Email
« Reply #10 on: February 28, 2008, 08:04:51 pm »

haha, thats funny........well, at least now i can IM people differently. I'll work on that on my day off cuz I'll need the time to go through it. Maybe I'll uninstall what I put on before first cuz it downloaded a bunch of files (they had the uninstall method there too).
Thanks again 25vi!!
 Grin
Logged
voiceofra
Newbie
*
Offline Offline

Posts: 5


Email
« Reply #11 on: March 01, 2008, 12:58:37 pm »

Oooh this is good news.
I'm watching this thread now.
I've got gtk installed for some apps i installed via macports. That should work as well, yes?
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #12 on: March 01, 2008, 02:35:50 pm »

yes, definitely need a simpler way to install gtk libs on mac
I found my way? download sources and compile them , but its very complicated and 3 hours compiling
Pls decribe your method with macports.

Anyway , if gtk libs are ready on your mac, you can compile p2kc-v06 from source.
Just open a terminal, navigate source folder and do "make" and as root "make install"
If some error appears regarding missing libs, you must get them. i think libglade is missing.

ps: i found a "mono package" which is contains all gtk libs i think (90Mb)
Logged

voiceofra
Newbie
*
Offline Offline

Posts: 5


Email
« Reply #13 on: March 02, 2008, 08:16:51 am »

I need to download some of those missing libs you mentioned in a previous post, but once it's done and I've got things working (well, opening/starting up at least), I'll post the steps.
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« Reply #14 on: March 02, 2008, 03:12:36 pm »

On OSX you must use p2k-core in modem mode just like this: "p2k-core -m"
This can be set in p2kc settings dialog . pls change "p2k-core -s" to "p2kcore -s -m" and re-start p2kc
Logged

Pages: [1] 2 3 ... 6   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!