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)

rontti 2010-02-02 20:44

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Hrw (Post 507083)
Does MADDE uses same toolchain version as MaemoSDK?

I am asking because after unpacking it I see gcc 4.3.3 + binutils 2.19.51.x in targets/fremantle-qt-0942/bin (also in /toolchains/ dir) but gccc 4.2.1 + binutils 2.18.50.x in sysroot.

No it doesn't. It uses newer as you noticed. We will downgrade the toolchain with next release update.

sevla 2010-02-02 21:07

Re: Technology Preview: MADDE
 
This should be made available from the developer link on the main page http://maemo.org/development/ if it's not already. I looked and I wasn't able to locate the wiki other then using the direct link on the first page of this thread. Unless I just wasn't looking in the right location.

It's only by chance I happen to come across this thread and I suspect this will help a lot of developers who are used to coding in Windows.

danielwilms 2010-02-05 13:27

Re: Technology Preview: MADDE
 
Hi,

there is an updated version of MADDE available for download. The biggest changes are a new toolchain, which matches the one in the Maemo5 SDK and the use of PR1.1 as target. Other changes are:
  • Fremantle target updated to PR.1.1
  • Toolchain changed for Fremantle. Now it matches with Maemo5 SDK. cc command fixed.
  • Windows target creation performance improved.
  • Maemo Desktop files added to Qt example. base64 command added to support that
  • Qt library example fixed.
  • Following https://bugs.maemo.org/buglist.cgi?component=madde bugs fixed.
  • 8415 Cannot install MADDE to different directory than the default
  • 7637 pscreate writes a localized, invalid trailer line into de...
  • 7821 Library search path wrong
  • 7350 MADDE 0.5's dpkg replacement does not work with --search ...
  • 7774 Can't run GLES applications under madde environment
  • 8623 hildon-1 pkg-config configuration broken
  • Minor buf fixes and improvements.

Please check as well the whole blog-post. Feel free to test it and give your feedback as usual. And thanks a lot for the suggestions and feedback you gave since the first preview!!

Daniel

sjaensch 2010-02-05 14:00

Re: Technology Preview: MADDE
 
Hi Daniel, thanks for the update! How about some Qt 4.6 love? It's now in beta, so the Maemo5-specific API should be stable enough. Fixing bug 7773 along the way would help too... :)

rontti 2010-02-05 19:42

Re: Technology Preview: MADDE
 
About MADDE update.

There is no update instructions available. What do you think about that? Do you need instructions or not? Actually update packet uses same installer as first time installation packet.

My opinion is that update should be so simple operation that you don't need instructions at all. We have tried to do MADDE in that way. I hope that we have succeed our goal. Let us now if we have failed or not.

planetf1 2010-02-06 00:17

Re: Technology Preview: MADDE
 
I ddin't read any instructions since I'd only installed the xmas MADDE last night.

That installed into a version-specific directory, so when I installed the new version I place it in an independent directory.

So if I had used the same directory update would have worked just fine?

danielwilms 2010-02-06 09:16

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by rontti (Post 512295)
My opinion is that update should be so simple operation that you don't need instructions at all. We have tried to do MADDE in that way. I hope that we have succeed our goal. Let us now if we have failed or not.

This was what I thought. The installation-instructions on the wiki-page were so general, that they fit onto the new version as well. And the installation is perfectly easy! Good job rontti, I think I can speak for all, who have used it - nice piece of software ;)

Quote:

Originally Posted by planetf1 (Post 512595)
So if I had used the same directory update would have worked just fine?

The installer prevents you from doing that ;)

Daniel

too 2010-02-06 09:30

Re: Technology Preview: MADDE
 
Unix installer prevents installing on top of older version, as '.madde/<version>' is appended to the installation path.
On windows installation on top of previous install is possible, but
should not cause any problems -- we've done installations over
previous builds dozens of times and seldom had any problems -- which
vere always fixed to the build/installation system :)

DrWilken 2010-02-07 20:31

Re: Technology Preview: MADDE
 
Hi :)

I'm trying to package nmon for the N900... ;)

I've created a simple project called nmon12f, copied the .c file to src/simple.c, ran mad qmake, but when running mad make I'm getting these errors:
Code:

src/simple.c:4001: error: 'struct mem_stat' has no member named 'dirty'
src/simple.c:4002: error: 'struct mem_stat' has no member named 'writeback'
src/simple.c:4003: error: 'struct mem_stat' has no member named 'mapped'
src/simple.c:4005: error: 'struct mem_stat' has no member named 'slab'
src/simple.c:4006: error: 'struct mem_stat' has no member named 'committed_as'
src/simple.c:4007: error: 'struct mem_stat' has no member named 'pagetables'
src/simple.c:4047: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4048: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4048: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4049: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4049: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4050: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4050: error: 'struct mem_stat' has no member named 'hugesize'
src/simple.c:4052: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4052: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4062: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4069: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4070: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4071: error: 'struct mem_stat' has no member named 'hugesize'
src/simple.c:3039: warning: unused variable 'fs_size_used'
src/simple.c:3038: warning: unused variable 'fs_free'
src/simple.c:3037: warning: unused variable 'fs_size'
src/simple.c:3036: warning: unused variable 'statfs_buffer'
make: *** [build/simple.o] Error 1

I'm new to all this stuff but thought I would give it a go with my favorite monitor... :) Use it on just about every *nix system I come across... :)

rontti 2010-02-08 09:59

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by DrWilken (Post 514817)
Hi :)

I'm trying to package nmon for the N900... ;)

I've created a simple project called nmon12f, copied the .c file to src/simple.c, ran mad qmake, but when running mad make I'm getting these errors:

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

Now code is compiled. If you wanna debian package also we need
to do following.

Code:

mad dh_make --single --createorig
Now you are almost able to build debian package. makefile still
need install and clean targets. Lets do these.

Code:

# add these after following line
#FILE=lmon.c
TARGET=nmon_power_rhel3
all: $(TARGET)

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

clean:
        rm $(target)

Now you can build debian package with
Code:

mad dpkg-buildpackage


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8