Notices


Reply
Thread Tools
Posts: 527 | Thanked: 121 times | Joined on Feb 2010
#11
Originally Posted by maxximuscool View Post
Woohoo SUCESS!!! Now All I need to do is to packaging it. But how?
Any tutorial lol?
In a hurry again???
ROFL
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#12
Originally Posted by rolan900d View Post
In a hurry again???
ROFL
Lol I forgot to get rid of URGEN part.
Yeah I got the script working and I'm eager to share it with people here.
 
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#13
Originally Posted by maxximuscool View Post
Yeah I got the script working and I'm eager to share it with people here.
The following code is just an example. You have to change the control files and the data contents. N900 uses standard debian packages. You can search google for deb build scripts.

On a Linux system (e.g. Ubuntu) you can type the following:

Code:
mkdir packagetest
cd packagetest

wget http://torsten-traenkner.de/wissen/n900/mplayer-touchcontrol_1.0_armel.deb

# extract debian package
ar xv mplayer-touchcontrol_1.0_armel.deb

# extract data and control parts
mkdir data
mkdir control
tar xzvf data.tar.gz -C data
tar xzvf control.tar.gz -C control

# modify the data
cd data

# compress the data
tar czvf ../data.tar.gz *

# create MD5 checksums
find . -type f ! -regex '.*/DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum | sort -k2 > ../control/md5sums

# compress control
cd ../control
tar czvf ../control.tar.gz *
cd ..

# create package
ar -r mplayer-touchcontrol_1.0_armel.deb debian-binary control.tar.gz data.tar.gz
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:10.