![]() |
2010-12-30
, 09:43
|
Posts: 2,000 |
Thanked: 3,345 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#2
|
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 ..
![]() |
2010-12-30
, 18:05
|
Posts: 341 |
Thanked: 57 times |
Joined on Nov 2009
|
#3
|
![]() |
2010-12-30
, 21:37
|
Posts: 2,000 |
Thanked: 3,345 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#4
|
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 ..
![]() |
2010-12-31
, 03:04
|
Posts: 341 |
Thanked: 57 times |
Joined on Nov 2009
|
#5
|
MADDE-0.6.46 /d/n9profile-n9profile Ahmad $ dpkg-buildpackage -sa sh: dpkg-buildpackage: command not found
The Following User Says Thank You to ahmadka For This Useful Post: | ||
![]() |
2010-12-31
, 03:10
|
Posts: 2,000 |
Thanked: 3,345 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#6
|
Alright, I just tried what you said and I'm getting the following error:
I started MADDE from the start menu, and since my Qt Creator works properly (compiles and runs stuff on my N900, etc ..), I'm assuming that MADDE is 'linked' properly too ..Code:MADDE-0.6.46 /d/n9profile-n9profile Ahmad $ dpkg-buildpackage -sa sh: dpkg-buildpackage: command not found
I installed the complete Qt SDK AFAIK ..
![]() |
2010-12-31
, 03:12
|
Posts: 341 |
Thanked: 57 times |
Joined on Nov 2009
|
#7
|
MADDE-0.6.46 /d/n9profile-n9profile Ahmad $ 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.2-0 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 configure-stamp # Add here commands to clean up after the build process. /bin/make clean make[1]: Entering directory `/d/n9profile-n9profile' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/d/n9profile-n9profile' make: *** [clean] Error 2 dpkg-buildpackage: failure: debian/rules clean gave error exit status 2
The Following User Says Thank You to ahmadka For This Useful Post: | ||
![]() |
2010-12-31
, 03:25
|
Posts: 2,000 |
Thanked: 3,345 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#9
|
Alright, I just tried this command and now the output is this:
Thanks for your help dudeCode:MADDE-0.6.46 /d/n9profile-n9profile Ahmad $ 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.2-0 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 configure-stamp # Add here commands to clean up after the build process. /bin/make clean make[1]: Entering directory `/d/n9profile-n9profile' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/d/n9profile-n9profile' make: *** [clean] Error 2 dpkg-buildpackage: failure: debian/rules clean gave error exit status 2
Or he removed the Makefile, which again, can be fixed by running qmake.
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 ..