maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Technology Preview: MADDE (https://talk.maemo.org/showthread.php?t=38075)

DrWilken 2010-02-08 10:27

Re: Technology Preview: MADDE
 
Thanks... I will try this when I get home from work... ;)

Hrw 2010-02-08 13:07

Re: Technology Preview: MADDE
 
There should be a way to upgrade MADDE to newer versions other then fetching CD sized archives.

DrWilken 2010-02-08 13:41

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by rontti (Post 515863)
Hi, you don't need qmake at all. Use nmon makefile.

Code:

mkdir nmon-0.1
cp nmon12d.c nmon-0.1/
cp makefile nmon-0.1/
cd nmon-0.1
mv nmon12d.c lmon.c
mad make

I think I need to create and extra line in the makefile like this:
Code:

nmon_armel:
        cc -o nmon $(FILE) $(CFLAGS) $(LDFLAGS) -D ARMEL

And then run:
Code:

$ mad make nmon_armel
cc -o nmon lmon.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D ARMEL

Otherwise I'm compiling to POWER architecture (right?)... :D

DrWilken 2010-02-08 13:51

Re: Technology Preview: MADDE
 
WORKS! :D

nmon for the N900...! Yay! ;)

http://static.pixelpipe.com/365f2e18...64c85942_m.jpg

http://talk.maemo.org/showthread.php...284#post516284

too 2010-02-08 14:15

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Hrw (Post 516166)
There should be a way to upgrade MADDE to newer versions other then fetching CD sized archives.

There are plans to implement such functionality; however, we have
not concentrated on this issue much so far for these TECH PREVIEW releases.

DrWilken 2010-02-08 14:59

Re: Technology Preview: MADDE
 
I think I finally figured it out... :)

This is the makefile I ended up with:
Code:

CFLAGS=-g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM
# CFLAGS=-g -O2 -D JFS -D GETUSER -Wall -D POWER
#CFLAGS=-g -D JFS -D GETUSER
LDFLAGS=-lncurses -g
FILE=lmon.c
TARGET=armel
all: $(TARGET)

install: $(TARGET)
        mkdir -p  $(DESTDIR)/usr/bin
        cp $(TARGET) $(DESTDIR)/usr/bin

clean:
        rm $(TARGET)

armel:
        cc -o nmon $(FILE) $(CFLAGS) $(LDFLAGS) -D ARMEL

With the above make file I was able to run mad make, mad dh_make --single --createorig and mad dpkg-buildpackage as advised by rontti... :D

Sasler 2010-02-17 09:34

Re: Technology Preview: MADDE
 
Since PR1.2 is coming soon with Qt 4.6, I would like to know when will MADDE officially support 4.6?

Oh, and is the integration with Qt Creator ready yet? ;)

nick.read 2010-02-17 09:43

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Sasler (Post 531736)
Since PR1.2 is coming soon with Qt 4.6, I would like to know when will MADDE officially support 4.6?

Oh, and is the integration with Qt Creator ready yet? ;)

Straight from http://labs.trolltech.com/blogs/2010...mo-5-released/

Quote:

We’re trying to get Qt Creator with MADDE support to a decent level before PR 1.2 is released.

too 2010-02-17 18:55

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Sasler (Post 531736)

Oh, and is the integration with Qt Creator ready yet? ;)

MADDE and QT Creator integration has been there for months
now; both have evolved since and new Maemo releases bring
new integration work to be completed.

pta0007 2010-02-18 19:22

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by too (Post 492477)
MADDE works well for GTK+ development (in C).

At minimum the lines 'pkg-config --cflags gtk+-2.0' (for sourrce to object
file compiling) and 'pkg-config --libs gtk+-2.0' (for linking) is needed
in your Makefile

I got some problems when trying to use GTK+ in Qt/MADDE. First, I created the project with Qt Creator, where Gtk+ is used. In order to inform qmake the project is using GTK..., I added
unix {
CONFIG += link_pkgconfig
PKGCONFIG += gtk+-2.0 hildon-1 gstreamer-0.10
}
to the .pro file.
Then I tried to build the project with MADDE, using mad qmake. I got
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.

I have asked the question at Nokia forum, but it seems I still can't get the solution. Any one help?

Cheers.


All times are GMT. The time now is 18:15.

vBulletin® Version 3.8.8