View Single Post
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#6
Originally Posted by sethkha View Post
hi
source of yellow-notes widget. I downloaded the tar.gz . Modified the source under src and compiled with make. I have no experience with sdk. Alway compiled only with gcc -bla. Now I don't know what I have to replace (info about maintainer, version, name.) Also how to ad icons to be installed.
Well, to do that, you need scratchbox installed and configured properly : http://wiki.maemo.org/Scratchbox_repositories

After that it's easy as any debian package modifications :

[sbox-FREMANTLE_ARMEL: ~] > mkdir -p tmp/Building/yellownotes-applet/
[sbox-FREMANTLE_ARMEL: ~] > cd tmp/Building/yellownotes-applet/
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet] > apt-get source yellownotes-applet
Reading package lists... Done
Building dependency tree... Done
Need to get 253kB of source archives.
Get:1 http://repository.maemo.org fremantle/free yellownotes-applet 0.5.3 (dsc) [814B]
Get:2 http://repository.maemo.org fremantle/free yellownotes-applet 0.5.3 (tar) [253kB]
Fetched 253kB in 0s (393kB/s)
gpg: Signature made Tue May 18 07:33:39 2010 CEST using DSA key ID B11FFF2F
gpg: Can't check signature: public key not found
dpkg-source: extracting yellownotes-applet in yellownotes-applet-0.5.3
dpkg-source: unpacking yellownotes-applet_0.5.3.tar.gz
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet] > cd yellownotes-applet-0.5.3/
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] >
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] > dpkg-checkbuilddeps
: Using Scratchbox tools to satisfy builddeps
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/yellownotes-applet/yellownotes-applet-0.5.3] >
NOW YOU CAN APPLY YOUR FIXES
- You need to edit debian/changelog and add a new one in head.
- And build new package with 'dpkg-buildpackage -rfakeroot'
A++