Notices


Reply
Thread Tools
ammyt's Avatar
Posts: 1,896 | Thanked: 3,033 times | Joined on Oct 2010 @ Digizonia
#21
Originally Posted by F2thaK View Post
Ill do it.
Thanks for being a volunteer mate! Will PM you shortly.
 

The Following User Says Thank You to ammyt For This Useful Post:
Posts: 1,376 | Thanked: 1,523 times | Joined on Feb 2011
#22
Originally Posted by ammyt View Post
Exactly. Extracting a .deb does not produce the /DEBIAN directory and the control file. You should extract the .deb to a folder, then in the folder create the /DEBIAN directory with 755 permissions and the control file in it with 755 permissions too.

Here check: http://talk.maemo.org/showthread.php?t=80914 STEP 8
buildme.deb does have DEBIAN folder and control file in it... :/

EDIT: just in case permissions are wrong:
|user@Nokia-N900|~/buildme]ls -la
drwxr-xr-x 4 user users 4096 Apr 28 14:38 .
drwxr-xr-x 81 user users 4096 Apr 28 14:38 ..
dr-xr-xr-x 5 user users 4096 Apr 28 14:38 CONTENTS
dr-xr-xr-x 2 user users 4096 Apr 28 14:38 DEBIAN
-r--r--r-- 1 user users 484 Apr 28 14:38 INFO
-r-xr--r-- 1 user users 424 Apr 28 14:38 INSTALL
 

The Following User Says Thank You to szopin For This Useful Post:
Posts: 1,376 | Thanked: 1,523 times | Joined on Feb 2011
#23
Not sure if hint or misleading comment, but from my experience of on-device deb building busybox tar lacks a few arguments used by buildpackager and gnutar might be needed, no idea if this is leading to operation failed dialog though
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
ammyt's Avatar
Posts: 1,896 | Thanked: 3,033 times | Joined on Oct 2010 @ Digizonia
#24
Originally Posted by szopin View Post
buildme.deb does have DEBIAN folder and control file in it... :/

EDIT: just in case permissions are wrong:
|user@Nokia-N900|~/buildme]ls -la
drwxr-xr-x 4 user users 4096 Apr 28 14:38 .
drwxr-xr-x 81 user users 4096 Apr 28 14:38 ..
dr-xr-xr-x 5 user users 4096 Apr 28 14:38 CONTENTS
dr-xr-xr-x 2 user users 4096 Apr 28 14:38 DEBIAN
-r--r--r-- 1 user users 484 Apr 28 14:38 INFO
-r-xr--r-- 1 user users 424 Apr 28 14:38 INSTALL
So you're trying to package an app that packages apps for you...
BUILDMECEPTION!
Anyway, here, I attached something for you to try out.
Code:
root
tar xvf /home/user/MyDocs/test.tar
Then launch Build Me! and navigate to /home/user/ you should see a folder named Build_Me, select and try to package it. Good Luck
Attached Files
File Type: tar Test.tar (110.0 KB, 40 views)
 

The Following 3 Users Say Thank You to ammyt For This Useful Post:
ammyt's Avatar
Posts: 1,896 | Thanked: 3,033 times | Joined on Oct 2010 @ Digizonia
#25
Originally Posted by szopin View Post
Not sure if hint or misleading comment, but from my experience of on-device deb building busybox tar lacks a few arguments used by buildpackager and gnutar might be needed, no idea if this is leading to operation failed dialog though
Good Catch! But nothing to worry about.
That's why GNU Tar in the package
The error is probably because of the composition of your source directory, try the test.

HINT: Type Build-Me in Xterminal to launch Build Me! through Xterminal (Obviously xD) and read outputs.

Last edited by ammyt; 2012-04-28 at 13:00.
 

The Following 3 Users Say Thank You to ammyt For This Useful Post:
ammyt's Avatar
Posts: 1,896 | Thanked: 3,033 times | Joined on Oct 2010 @ Digizonia
#26
TODO For next release:
  • Creating /DEBIAN/control from within the application
  • <opened for suggestions>

Last edited by ammyt; 2012-04-28 at 13:08.
 

The Following 6 Users Say Thank You to ammyt For This Useful Post:
Posts: 1,376 | Thanked: 1,523 times | Joined on Feb 2011
#27
Works! (yeah that was the YoDawg test: Yo, I heard you built a package that packages, let me just repackage your package with your packa.... I'm gonna let you finish but <paste your favourite celebrity> has the best package in the world)
Guess CONTENT dir and files in / break the process. Great stuff!
 

The Following 3 Users Say Thank You to szopin For This Useful Post:
Posts: 1,376 | Thanked: 1,523 times | Joined on Feb 2011
#28
Originally Posted by ammyt View Post
TODO For next release:
  • Creating /DEBIAN/control from within the application
  • <opened for suggestions>
That would be great, especially as this is case of a pre-defined quoestionnaire (Q1: package name;Q2: prog name;Q3: version...)
As for suggestions... icon converter maybe? You dump jpg/gif and it converts/scales it to proper size? This would make .debs prepared from this prog very user friendly
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
Schturman's Avatar
Posts: 4,744 | Thanked: 3,204 times | Joined on Jan 2010 @ Israel
#29
Hi ammyt
I also want to test your harmattan version.
Thanks
For now i've use this command on my n900:
dpkg-deb -b /path/to/package/folder

And it's work perfectly..
 

The Following User Says Thank You to Schturman For This Useful Post:
F2thaK's Avatar
Posts: 4,364 | Thanked: 2,434 times | Joined on Jan 2010 @ Australia Mate
#30
Originally Posted by ammyt
The package was built via Python-QT, which in theory should run unmodified on the N9, now I don't exactly know if zenity is available for Harmatan, but lets just see if the main UI boots or not. I'll figure something out later for file selection.
So to start, you should be sure that you've got python2.5-qt4 installed (not sure of the version numbers in harmattan), then extract the contents of TEST.zip to a known folder in your N9/50, then simply:
Code:
root (AFAIK N9 users do openshh so I don't exactly know, just get root permissions)

python /path/where/the/folder/is/Build_me.py
Post your findings!

ammyt sent me this to test on N9.
 

The Following User Says Thank You to F2thaK For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:53.