Reply
Thread Tools
genepool's Avatar
Posts: 14 | Thanked: 1 time | Joined on Nov 2007 @ Portland, OR
#1
I ported a closed-source application to OS2008 and I would like to distribute it as a deb file. There are only two files, the binary and an icon for the menu. I would like to create a very simple deb file that installs the binary in a suitable location and adds an entry in the menu to launch it. Can anyone point me to a how-to or have advice on how to accomplish this task?

Thanks,
Avi
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
For generating a source package.. this works wonders. For just doing it by hand this is a step-by-step.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
genepool's Avatar
Posts: 14 | Thanked: 1 time | Joined on Nov 2007 @ Portland, OR
#3
Cool, I will try it out tonight. Thanks
 
genepool's Avatar
Posts: 14 | Thanked: 1 time | Joined on Nov 2007 @ Portland, OR
#4
OK, I tried to build the package by hand, and I have a deb file. When I try to install it on the n800 using the application manager I get "Unable to install Incompatible application package." Any ideas?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#5
what did you put in your control file?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
genepool's Avatar
Posts: 14 | Thanked: 1 time | Joined on Nov 2007 @ Portland, OR
#6
Code:
Package: teensyLoader
Version: 1.05-maemo0
Section: user/tools
Priority: optional
Architecture: all
Depends: 
Maintainer: Avi Solomon <genepool99@gmail.com>
Description: A GUI to program the Teensy microcontroller from PJRC.com
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#7
Well all the information I'm finding says the Section will say that. But they say to use user/* which you are already. Maybe try a different category from here.

Is there more information in the Application Manager logs? does it install with dpkg?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
genepool's Avatar
Posts: 14 | Thanked: 1 time | Joined on Nov 2007 @ Portland, OR
#8
OK, changing it to user/utilities now allows me to install from the application manager. Two more questions, what is the correct user:group to set the executable and icon, and where is the proper place to store the icon file (looks like /usr/share/icons/hicolor/48x48/apps/). Thanks!!!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#9
755 is usually the executable permissions.. 644 for files (including the icon). root:root user/group.. should happen when you build the package if you use fakeroot.

I think the icon path is:
/usr/share/icons/hicolor/48x48/hildon/
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:35.