Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 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,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#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,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#13
Done, now drawing a new map of the files.
 

The Following 2 Users Say Thank You to ammyt For This Useful Post:
Posts: 3,328 | Thanked: 4,476 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 by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 105 | Thanked: 99 times | Joined on Feb 2011 @ India
#15
thanks for the wonderful tutorial. can you also mention how to push to maemo repo?
 
Posts: 3,328 | Thanked: 4,476 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 by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 915 | Thanked: 3,209 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,365 | Thanked: 2,467 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,365 | Thanked: 2,467 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 19:54.