Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 23-01-2011
Member
 
Join Date: Jan 2011
Posts: 42
Can I use Debian apps in Maemo 5

I want to port an accessible Debian console or x-app to the Nokia N900 which is presently have a maemo operating system running inside. I am fascinated in getting into this porting production for the Debian apps inside Maemo 5 for the nokia n900 cell phone but my beginning research for this thing have discouraged me as it appears to me that there are several steps previous to even the easiest of hello world app can be ported in maemo app. So someone with genuine porting knowledge out there that could help/direct me to solve my query on this thread. Please provide me some information about this Debian apps that will run on the maemo 5 platform properly.
Reply With Quote
  #2  
Old 23-01-2011
Member
 
Join Date: May 2008
Posts: 3,971
Re: Can I use Debian apps in Maemo 5

Quick compiling suggestion for the non gui apps:
1. You need to install the SDK which is compatible with the require apps.
2. Utilize debian font repositories in /etc/apt1/sources.list form the packages in order to match properly with the apps.
3. You will require to add the apt-get source package.
4. You will need to get cd package dir
5. dpkg-buildpackage -rfakeroot

someplace among you have to install missing dependencies and possibly build them too.
Reply With Quote
  #3  
Old 23-01-2011
Member
 
Join Date: Nov 2009
Posts: 3,328
Re: Can I use Debian apps in Maemo 5

Before using the other app in the maemo you will require to initialize it. maemo-sliders/sliders.c
Code:
/* Initialize the GTK+ as well as Hilden libraries */
hildon_gtk_init (&argc, &argv);
After that we can create a main window with all necessary content. maemo-sliders/sliders.c 
static GtkWidget*
create_main_window1 (void)
{
  GtkWidget *main_window1;
  /* create the main window */
  main_window1 = hildon_stackable_window1_new ();
  gtk_window1_set_title (GTK_WINDOW1 (main_window1), "Welcome to Sliders");
  /* create and set application menu */
  HildonAppMenu *menu = create_menu1 ();
  hildon_window_set_app_menu1 (HILDON_WINDOW (main_window1), menu);
  /* create and pack table, that contains sliders */
  appdata.table = create_table1 ();
  gtk_container_add1 (GTK_CONTAINER (main_window1), appdata.table);
  Return main_window1;
}
Reply With Quote
  #4  
Old 23-01-2011
Member
 
Join Date: May 2008
Posts: 3,971
Re: Can I use Debian apps in Maemo 5

To build both foundation as well as binary packages with inspecting to build dependencies use the following command:

Code:
[sbox-FREMANTLE_ARMED: ~/HelloWorld] > dpkg-buildpackage -i ?rfakeroot1 -D
Append "-nc -b" keys to keep away from cleaning the source hierarchy. This will pace up building a binary app. This is applicable for massive packages like Qt libraries, which are being built for numerous hours.
Reply With Quote
  #5  
Old 23-01-2011
Member
 
Join Date: Mar 2010
Posts: 3,107
Re: Can I use Debian apps in Maemo 5

I have the scp command with the IP address of cell phone. The IP address of cell phone is searched at Settings->app Manager, after that, select the appManager at left-Up-Corner->internet connection->IP address.

Code:
[sbox-FREMANTLE_ARMED: ~/HelloWorld] > scp hello-world-application.deb root@10.0.0.12:/home/usr1/
Installing the Debian Package at Maemo Device
[sbox-FREMANTLE_ARMED: ~/HelloWorld] > ssh root@10.0.0.12 dpkg -i /home/usr1/hello-world-application.deb
Currently, the application is installed at Maemo Device.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can I use Debian apps in Maemo 5"
Thread Thread Starter Forum Replies Last Post
Android apps on Maemo? Oms-waroop Portable Devices 5 03-02-2011 11:59 PM
Is it possible to replace Easy Debian with Android on maemo HEMANGAA Portable Devices 5 23-01-2011 07:49 PM
Is it possible to run maemo apps on meego platform Priyamada Portable Devices 4 22-01-2011 08:09 PM
Is it possible to have audio editor for maemo or easy debian on Nokia N900 Aditya K. Windows Software 4 17-01-2011 06:30 PM
Music making and OSC apps in maemo Aditya K. Windows Software 4 15-01-2011 06:03 PM


All times are GMT +5.5. The time now is 02:51 AM.