Create Debian Package from Template

Asked by Gabriel P-C on 2013-01-30

I want to make Quickly work on Debian, because Ubuntu doesn't work on my Raspberry Pi. I installed the Debian packages I could find:
   python-quickly-common: build new apps quickly (works)
   python-quickly-core: build new apps quickly (works)
   quickly: build new apps quickly (works)
   quickly-ubuntu-template: quickly ubuntu application template (Depends on glade-gtk2, which is not available on Debian)
All are version 12.04.
I have made a copy of the ubuntu-application template and have edited the 'design.py' script to remove everything where it says 'glade-gtk2' and when I run 'python setup.py --requires' it says :
   gi.repository.GLib
   gi.repository.GdkPixbuf
   gi.repository.Gtk
   gi.repository.Nautilus
   gi.repository.Vte
   httplib2
   launchpadlib.credentials
   launchpadlib.errors
   launchpadlib.launchpad
   launchpadlib.uris
   nose
I found out that the dependency is listed in 'debian/debian/control', I have deleted the line in which it says 'glade-gtk2' and then I have run dpkg-buildpackage, but it fails.

I now have created a template from ubuntu-application, that does not need glade-gtk2, and I want to package it so it's easy to install on a Debian computer. How can I do this (I am running Ubuntu and Quickly on my computer) easily (preferrable using Quickly) or where is the glade-gtk2 package in Debian?

Thanks, Gabriel

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
Gabriel P-C
Solved:
2013-02-10
Last query:
2013-02-10
Last reply:

I solved it myself. You need to write a setup.py file.