
Originally Posted by
robbie75
Hi Misha,
I was just managing to build Feisty package of nm-0.7 from svn,
everything seems fine except for the fact that I don't know how to get
separeted debs for lib-nm, nm, nm applet... actually all I get is one big
package for nm/libnm-glib/libnm-utils and one for the applet....
Hints?
thank you
Rob
hmm... well are you using checkinstall to build these debs or how are you doing it?
Usually for a "proper" deb, you need a debian directory with all sorts of things like a rules file that tells debian (or Ubuntu) how to build the package. An easy way to do this, and how I did this for my CVS packages, is simply to get the source for the existing package:
Code:
apt-get source network-manager
(note this is done _without_ using sudo, as it just retrieves the source code and unpacks it into a directory). Then, you can copy the whole debian directory to the network manager SVN directory, tweak the rules file (mainly in terms of patches applied as most of the patches in the package won't apply to SVN, and some of the file names changed too like some of the manual pages). However, for this new split applet approach that network manager 0.6.5 and svn are using, much more tweaking is needed of the debian/rules files, and although I have figured out a lot of things about these files I have not yet delved in deeply enough to make these significant changes yet (and plus since LEAP support is now in an "official" release 0.6.5 it is only a matter of time before this version becomes the Ubuntu "official" version anyhow, and I would rather have someone who is a MOTU and really knows what they are doing package it anyhow).
But in any case, once you are done tweaking debian/rules and other files in the debian directory, you can compile with the dpkg-buildpackage utility, usually the following command is used:
Code:
dpkg-buildpackage -rfakeroot -us -uc
Hope that helped and was not things you already knew. Let me know if you have any more questions and I'll try to answer them if I am able to.
Misha
Bookmarks