Reply
Thread Tools
Estel's Avatar
Posts: 4,810 | Thanked: 7,870 times | Joined on Mar 2011
#11
... which doesn't change the fact, that "Grand .deb packaging thread" on talk.maemo.org should take optification into account. ammyt, could You please fix instructions ASAP?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
ammyt's Avatar
Posts: 1,896 | Thanked: 3,032 times | Joined on Oct 2010 @ Digizonia
#12
Originally Posted by Estel View Post
... which doesn't change the fact, that "Grand .deb packaging thread" on talk.maemo.org should take optification into account. ammyt, could You please fix instructions ASAP?

/Estel
Calm down, I am adding them
 
ammyt's Avatar
Posts: 1,896 | Thanked: 3,032 times | Joined on Oct 2010 @ Digizonia
#13
Done, now drawing a new map of the files.
 

The Following 2 Users Say Thank You to ammyt For This Useful Post:
Posts: 2,493 | Thanked: 2,668 times | Joined on May 2011 @ Poland
#14
Is it possible to make the .changes file this way?
__________________
If you want to support my work, you can DONATE

You're encouraged to donate at least a couple of euros - otherwise PayPal takes almost everything as a fee.

If you'd prefer other currency or form of donation, please contact me


MeeCoLay: run MeeGo Harmattan apps on Fremantle
 
Posts: 105 | Thanked: 97 times | Joined on Feb 2011 @ India
#15
thanks for the wonderful tutorial. can you also mention how to push to maemo repo?
 
Posts: 2,493 | Thanked: 2,668 times | Joined on May 2011 @ Poland
#16
Originally Posted by niloy View Post
thanks for the wonderful tutorial. can you also mention how to push to maemo repo?
Yeah. This way it doesn't give the .changes file
__________________
If you want to support my work, you can DONATE

You're encouraged to donate at least a couple of euros - otherwise PayPal takes almost everything as a fee.

If you'd prefer other currency or form of donation, please contact me


MeeCoLay: run MeeGo Harmattan apps on Fremantle
 
Posts: 479 | Thanked: 1,107 times | Joined on Jan 2011 @ Germany
#17
Good start, but your optification link won't work since it points to the wrong directory.

Code:
ln -s /home/user/foopackage/opt/foopackage/foo /home/user/foopackage/usr/bin/foo
You link to /home/user/foopackage/opt/foopackage/foo which works fine during creation but will fail after the package is installed because the link target will still be /home/user/foopackage/opt/foopackage/foo while it actually would have to be /opt/foopackage/foo
So change your ln command accordingly:
Code:
ln -s /opt/foopackage/foo /home/user/foopackage/usr/bin/foo
If you check this link in your testing environment it won't work because you have no /opt/foopackage/foo but it will work after installing the package.
 

The Following 3 Users Say Thank You to sulu For This Useful Post:
F2thaK's Avatar
Posts: 4,364 | Thanked: 2,431 times | Joined on Jan 2010 @ Australia Mate
#18
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?!
 
Posts: 8 | Thanked: 8 times | Joined on Jan 2011
#19
a note on the optification/symlinking

i guess it would be best to symlink in the postinst script, as symlinking to your build enviroment wont work and symlinking in your /usr/bin will only work on the machine you did the linking on.

another one on the control file:

most apps will have dependencies, how about you include info on dependency handling.

for example:

Code:
Package: acme
Version: 1.0
Section: web 
Priority: optional
Architecture: all
Essential: no
Depends: libwww-perl, acme-base (>= 1.2)
Pre-Depends: perl 
Recommends: mozilla | netscape  
Suggests: docbook 
Installed-Size: 1024
Maintainer: Joe Brockmeier <jzb@dissociatedpress.net>
Conflicts: wile-e-coyote
Replaces: sam-sheepdog
Provides: acme
Description: The description can contain free-form text
             describing the function of the program, what
             kind of features it has, and so on.
.
More descriptive text.
 

The Following 4 Users Say Thank You to lopho For This Useful Post:
F2thaK's Avatar
Posts: 4,364 | Thanked: 2,431 times | Joined on Jan 2010 @ Australia Mate
#20
Originally Posted by rcolistete View Post
Yes, MeeGo 1.2 Harmattan has 'dpkg-dev' package (when Harmattan SDK repository is enabled). As well as 'build-essential' (installation of 93 MB). Also 'bsdtar' is available.

So 'dpkg-deb', g++, etc, are available in Nokia N9/N950.
Packaging does not work on my N9 even after installing the 3 apps mentioned above.

dpkg-deb: subprocess tar -cf returned error exit status 1
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:12.