maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   The Grand DEB Packaging Thread! (https://talk.maemo.org/showthread.php?t=80914)

marmistrz 2011-12-25 14:35

Re: The Grand DEB Packaging Thread!
 
How to create a .changes file this way?
Without it I cannot upload to extras-devel

marmistrz 2011-12-27 15:24

Re: The Grand DEB Packaging Thread!
 
How to create the .changes file this way?

Schturman 2011-12-31 00:38

Re: The Grand DEB Packaging Thread!
 
Quote:

Originally Posted by ammyt (Post 1138356)
Good. This guide is also applicable on the N9/50, and IF I ever happened to buy an N9, I can pretty much package everything on it as I do right now on my good ol' N900.

No.. it's not work on N9...
When I run this command:
Code:

dpkg-deb -b /path/to/package
I always get this:
Code:

tar: unrecognized option '--format=gnu'
BusyBox v1.19.0.git (MeeGo 3:1.19-8+0m6) multi-call binary.
Usage: tar -[cxtzjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
dpkg-deb: subprocess tar -cf returned error exit status 1


F2thaK 2011-12-31 00:43

Re: The Grand DEB Packaging Thread!
 
Ive got issues with installing my DEBs. They wont install.
"aegies rejecting control file"

Ive got 755 permissions on package files, DEBIAN folder and control file

Help?!

Schturman 2011-12-31 00:51

Re: The Grand DEB Packaging Thread!
 
Quote:

Originally Posted by F2thaK (Post 1143667)
Ive got issues with installing my DEBs. They wont install.
"aegies rejecting control file"

Ive got 755 permissions on package files, DEBIAN folder and control file

Help?!

What you have in DEBIAN folder ? Check this again.. I have the same issue (can't install) when I used postinst and postrm files...
But now I fixed this and It can be installable..

F2thaK 2011-12-31 01:04

Re: The Grand DEB Packaging Thread!
 
I havent tried any postinst and postrm files.. only control. my first few attempts at packaging worked. but now, doing it the same, they wont install.

Im thinking maybe theres a syntax error somewhere.

Heres my control file:
http://www.multiupload.com/4HNKC706KQ

If someone could take a look Id really appreciate it.

Schturman 2011-12-31 01:22

Re: The Grand DEB Packaging Thread!
 
Quote:

Originally Posted by F2thaK (Post 1143671)
I havent tried any postinst and postrm files.. only control. my first few attempts at packaging worked. but now, doing it the same, they wont install.

Im thinking maybe theres a syntax error somewhere.

Heres my control file:
http://www.multiupload.com/4HNKC706KQ

If someone could take a look Id really appreciate it.

Try something...
1) this section:
Code:

XB-Maemo-Flags: visible
XB-Maemo-Display-Name: Faster Darker Better Theme

change to this:
Code:

Maemo-Flags: visible
Maemo-Display-Name: Faster Darker Better Theme

2) Giv the same name of your package in /home/user, like this:
Code:

/home/user/fdb-theme
3) try to change the "Maemo-Display-Name: Faster Darker Better Theme" to the shorter one like "Maemo-Display-Name: Faster Theme"

4) if 1+2+3 don't work, try to remove this line:
Code:

Installed-Size: 1200
5) if all this still don't work, tell me where your package will be installed and if this have copy something into MyDocs ?

F2thaK 2011-12-31 02:01

Re: The Grand DEB Packaging Thread!
 
This package doesnt install anything to MyDocs, but I have tried to packaged other things that install to MyDocs which also dont install and give same error as one above.

Thanks for your help.

Edit: I would also like to add postinstall and rm scripts if you could help me with that

ammyt 2011-12-31 08:44

Re: The Grand DEB Packaging Thread!
 
Quote:

Originally Posted by F2thaK (Post 1141392)
Packaging does not work on my N9 even after installing the 3 apps mentioned above.

You sure the tar version you're using is GNU?
If not, you can download this tar then:
Code:

cp /where/you/downloaded/that/tar /usr/bin/tar

ammyt 2011-12-31 08:46

Re: The Grand DEB Packaging Thread!
 
Quote:

Originally Posted by marmistrz (Post 1142362)
How to create the .changes file this way?

I'm gonna look into it, stop crying for god's sake!


All times are GMT. The time now is 19:57.

vBulletin® Version 3.8.8