View Single Post
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#50
I just want to make a quick post on how the dependencies have been combined for this package. It might help someone else, but I also need to remember this because I have to re-do it every time I change conky. If anyone has any suggestions on how to do this better let me know. This seems to work fine for now, hopefully I can submit it to the store.

1) in scratchbox have the conky deb and also libimlib and liblua debs
2) copy them all to a folder like "godpackage" and cd into it
3) "dpkg -x filename.deb ." on all 3 packages
4) "dpkg --control filename.deb tmpfilename" to extract the control files from the 3 packages to 3 separate temp folders
5) make a DEBIAN subfolder, and one set of control files by combining any important bits from the postinst, postrm, control, conffiles. Put the changelog file from the main package. digsigsums will be created in step 7 automatically. The icons, desktop file, and whatever else is already copied where it needs to be by step 3, don't worry about those either.
6) "chmod 644 *", then "chmod 755 post*" to set the correct permissions
7) cd back to home, then "fakeroot dpkg-deb --build ~/godpackage ." Not sure if you need fakeroot really.

Now you should have a big deb file with everything combined.
Only part I didn't explain well is the control file, I am not sure if I did that right. I just removed the dependencies to the packages I've added and put them in the Replaces: and Provides: instead. The dependencies are stable enough (not upgraded often) so I wouldn't worry too much, but if they do get updated it might force you to uninstall conky. Not a big deal because nothing depends on conky, but there's probably a better way to do this.


Originally Posted by TMavica View Post
The icon could be harmattan style?
Finally did this too

Link on first post now downloads this 'godpackage', if you want the new icon. No other changes except I added the conky version and my name to the default config to satisfy ovi store requirements.
__________________

Last edited by Creamy Goodness; 2012-07-16 at 00:42.
 

The Following 7 Users Say Thank You to Creamy Goodness For This Useful Post: