![]() |
Need help in modifying an existing open source N900 program ..
Hi all .. Well I want to fix this simple bug in a program called N9Profil .. The author simply can't be bothered I guess, so I just want to fix it myself ..
The code is available here: http://gitorious.org/n9profile My problem is how exactly do I recompile a program to install on the N900 .. ? Like from the link above I dont download all the code files, make the changes, but then what ? I don't know how to actually make an installer out of the code .. Any help here would be really appreciated .. |
Re: Need help in modifying an existing open source N900 program ..
Quote:
http://gitorious.org/n9profile/n9profile/trees/master Edit the files you want. (the package name, version, author are stated in files in debian folder) Then in scratchbox or in MADDE terminal, MADDE terminal is included into Nokia Qt SDK, in the main directory of source files, run either dpkg-buildpackage -sa -S and submit it to Maemo Extras Assistant https://garage.maemo.org/extras-assi...dex.php?step=2 to have it in extras-devel or dpkg-buildpackage -sa and test it on your N900. EDIT: If you just want to fix a bug, it would be better to contact the developer so that he could incorporate the fix. Of course, you are welcome to test the fix for yourself before showing it to the developer. |
Re: Need help in modifying an existing open source N900 program ..
Its just a simple bug, only one number needs to be replaced with another .. i've tried posting the bug in the program's thread but the author hasn't responded in weeks ..
Anyways, I have Qt Creator which I've been using for my own development .. Is MADDE included in it ? If yes, can you tell me specifically how to use it ? I haven't explicitly used MADDE so far .. |
Re: Need help in modifying an existing open source N900 program ..
Quote:
http://maemo.org/packages/view/n9profil/ Nokia Qt SDK includes Qt Creator and MADDE Terminal, but Qt Creator doesn't include MADDE Terminal (I think). When you get all source files downloaded in one directory, open MADDE Terminal and 'cd' to this directory. Then run dpkg-buildpackage -sa to build complete deb (which can be tested on N900) or dpkg-buildpackage -sa -S to build source-only package (which can be uploaded to extras-devel) |
Re: Need help in modifying an existing open source N900 program ..
Alright, I just tried what you said and I'm getting the following error:
Code:
MADDE-0.6.46 /d/n9profile-n9profile I installed the complete Qt SDK AFAIK .. |
Re: Need help in modifying an existing open source N900 program ..
Quote:
Try: mad dpkg-buildpackage -sa I have just forgot for a moment MADDE needs mad before many commands. |
Re: Need help in modifying an existing open source N900 program ..
Alright, I just tried this command and now the output is this:
Code:
MADDE-0.6.46 /d/n9profile-n9profile |
Re: Need help in modifying an existing open source N900 program ..
Run qmake :)
|
Re: Need help in modifying an existing open source N900 program ..
Quote:
I get: mad dpkg-buildpackage -sa which: pgp: unknown command dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package n9profil dpkg-buildpackage: source version 0.1-2 dpkg-buildpackage: source changed by Jakub Splichal <jakub.bzouk@gmail.com> dpkg-buildpackage: host architecture armel debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. rm -rf builddir dh_clean dpkg-source -b n9profil-0.1 C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: using source format `1.0' C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: building n9profil in n9profil_0.1-2.tar.gz C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: building n9profil in n9profil_0.1-2.dsc debian/rules build Then it cannot build because it has space in folder path, so I will have to move it somewhere else now. EDIT: Quote:
So, the problem is with some edit. Oh, yes, I have misread the reply of dpkg-buildpackage: debian/rules clean works while make clean doesn't work. Quote:
Including, some problems might be caused by editing Makefile in Windows's Notepad: Linux has one type of Enter and Windows has another (^M as displayed in vi). I have rarely (read: never) used Makefile, so I don't know how tolerant make is. |
Re: Need help in modifying an existing open source N900 program ..
Or he removed the Makefile, which again, can be fixed by running qmake.
|
All times are GMT. The time now is 08:37. |
vBulletin® Version 3.8.8