![]() |
Re: Technology Preview: MADDE
I felt I was spamming this forum a bit with tech questions, I have started a new thread to follow my "app->package->icon-> install" journey.
i hope at the end of this journey we can have a step by step guide for the community on how to add the icon and deploy an app with icon with Madde. The thread is here: http://talk.maemo.org/showthread.php...257#post478257 Please look in and advise, I'm getting closer (app installed with blue square icon now). Thanks for all the help everyone, Shep |
Re: Technology Preview: MADDE
Hot tip:
http://wiki.maemo.org/Documentation/...d_Distributing mentions that if you want to have icon in application managed you need to create 48x48 pixel png image and then add it as base64-encoded to the debian/control file. With MADDE, until helper tool is created, the base64-data can be achieved with the following way: Code:
perl -MMIME::Base64 -ne 'print decode_base64($_)' < icon48x48file.png |
Re: Technology Preview: MADDE
Quote:
http://www.motobit.com/util/base64-decoder-encoder.asp |
Re: Technology Preview: MADDE
Hello hello
Is there any ETA on a version of MADDE that works with Qt 4.6.0?...I just bumped in to the 'This file was generated using the moc from 4.6.0. It cannot be used with the include files from this version of Qt'. Will try fooling MADDE to believe the MOC is ok and see what happens :-) |
Re: Technology Preview: MADDE
Quote:
All those working with MADDE: You are doing a great job. Thank you very much! :) Just could you please do it faster? :D |
Re: Technology Preview: MADDE
Quote:
And by the way, Qt 4.6.1 just came out ;) http://labs.trolltech.com/blogs/2010...-461-released/ |
Re: Technology Preview: MADDE
|
Re: Technology Preview: MADDE
Quote:
And thanks a lot for your effort. It's nice! Cheers Daniel |
Re: Technology Preview: MADDE
Quote:
Quick first comment: Code:
mad pscreate -t qt_simple projectnamealso removes the need for 'mad qmake' before 'mad dpkg-buildpackage' (as it adds running qmake to debian/rules). |
Re: Technology Preview: MADDE
Quote:
|
Re: Technology Preview: MADDE
Quote:
|
Re: Technology Preview: MADDE
Hiya,
How well does MADDE work for GTK+ development (in C)? It seems rather Qt-oriented and I really have no desire to learn Qt. Currently using VMware to get my stuff done; being able to do this from Windows would be a lot nicer. |
Re: Technology Preview: MADDE
hi! i've just installed on mac osx! i think you should write on installation procedure something about adding bin path!
after installation "mad" command didn't work, so i had to: 1) create ".bash_profile" file on my user home folder 2) add this line: export PATH=/Users/"your_username"/bin:$PATH 3) save it, close shell, reopen and then it worked! regards! |
Re: Technology Preview: MADDE
Quote:
VDVsx - Proud Gnome user :D . |
Re: Technology Preview: MADDE
Quote:
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 Use 'mad pkg-config --list-all' to see some other (gtk) modules you may need. (Note that if you try to run gcc compilation from command line outside mad environment the line must be like mad gcc -o foo foo.c `mad pkg-config --cflags --libs gtk+-2.0' to get both gcc and pkg-config be run inside mad environment -- When inside Makefile this is not a problem as whole make is run inside mad environment...). |
Re: Technology Preview: MADDE
I added MADDE FAQ page http://wiki.maemo.org/MADDE/FAQ.
All suggestions for content of that page are welcomed. |
Re: Technology Preview: MADDE
I thought that MADDE needs some proper icon, so I've madde this concept:
http://s59.radikal.ru/i166/1001/c5/5151f9494842.png |
Re: Technology Preview: MADDE
Quote:
It should just work. There is the 'simple' project type, which is a plain C or C++ project. But if nothing else take a look at the Qt docs to see what Qt provides. |
Re: Technology Preview: MADDE
When you are developing your application and you are tired to
copy all your test versions into N900 every now and then, why not trying remote mounting. With MADDE you can mount your local working directory to N900. Then you are able to run your application by using remote interface. See instructions from there: http://wiki.maemo.org/MADDE/Mounting |
Re: Technology Preview: MADDE
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. |
Re: Technology Preview: MADDE
Quote:
|
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. |
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:
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 |
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... :)
|
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. |
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? |
Re: Technology Preview: MADDE
Quote:
Quote:
Daniel |
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 :) |
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' |
Re: Technology Preview: MADDE
Quote:
Code:
mkdir nmon-0.1to do following. Code:
mad dh_make --single --createorigneed install and clean targets. Lets do these. Code:
# add these after following lineCode:
mad dpkg-buildpackage |
Re: Technology Preview: MADDE
Thanks... I will try this when I get home from work... ;)
|
Re: Technology Preview: MADDE
There should be a way to upgrade MADDE to newer versions other then fetching CD sized archives.
|
Re: Technology Preview: MADDE
Quote:
Code:
mkdir nmon-0.1Code:
nmon_armel:Code:
$ mad make nmon_armel |
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 |
Re: Technology Preview: MADDE
Quote:
not concentrated on this issue much so far for these TECH PREVIEW releases. |
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 |
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? ;) |
Re: Technology Preview: MADDE
Quote:
Quote:
|
Re: Technology Preview: MADDE
Quote:
now; both have evolved since and new Maemo releases bring new integration work to be completed. |
Re: Technology Preview: MADDE
Quote:
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 11:43. |
vBulletin® Version 3.8.8