PDA

View Full Version : Packaging Notalon as a DEB file?



catechu
August 6th, 2009, 05:01 AM
Hi all,

I've developed Notalon, a free and open-source note-taking application (http://notalon.org). I've been using it on Ubuntu.

I came across the "Debian New Maintainers' Guide (http://www.debian.org/doc/maint-guide/ch-start.en.html)," but I wasn't able to figure out how to properly make a DEB file from those instructions. Searching around hasn't yielded anything much clearer to me either.

So I have two questions:


Is there a minimal guide for creating a DEB package? (Also, if someone is willing to help me out with packaging this, that would be great!)
After doing so, how can I submit Notalon to be in a Debian/Ubuntu repository?

I appreciate all pointers and offers to help. Thanks, everyone!

Leslie Viljoen
August 6th, 2009, 12:19 PM
1.
Basic: http://ubuntuforums.org/showthread.php?t=910717

Here's how to modify an existing package - also good for learning:
http://book.opensourceproject.org.cn/distrib/ubuntu/hacks/opensource/0596527209/i-0596527209-chp-6-sect-10.html

2.
You need to join the Ubuntu MOTU group and become an apprentice packager, or get a MOTU to adopt your package. See: https://wiki.ubuntu.com/MOTU
Probably the latter.

catechu
August 7th, 2009, 04:02 AM
Thank you for those guides, Leslie!

I am confused because my application has resources (e.g. icons, config file), and it's not clear from these guides how best to include those. How can I do this?

chaosrl
September 30th, 2009, 12:48 AM
Hey, any word on this? I can't seem to get Notalon up and running on Jaunty, something about "No module named agw.flatmenu." I'm really interested in seeing what this is like, thanks!

catechu
September 30th, 2009, 12:50 AM
chaosrl, you need the latest version of wxPython for Ubuntu, then that error will go away.

I'm still figuring out how to develop the DEB file -- if anyone who has experience with this is willing to help me out, I'd be grateful!

dinxter
September 30th, 2009, 06:20 AM
maybe the tutorial specific to python will help
https://wiki.ubuntu.com/PackagingGuide/Python
I dont have much knowledge in the python area myself, but with a Makefile it should be as simple as running dh_make inside the source dir, removing the unneeded files in debian/ (dh_make creates examples you might not need for a simple package) and edit debian/control to add build/run dependencies, dch -i to update the changelog, and check your debian/copyright. using pbuilder to check that your package dependencies are good on a default system is also a good idea
The rest of the ubuntu packaging guide really is a useful read too, not just for python apps :)