Fwd: How to build kubuntu-docs debian package.
Sean Wheller
sean at inwords.co.za
Fri Jul 1 06:11:46 UTC 2005
There is now a debian directory in /kde/
Forwarding this here so others can see it and so I won't lose it :-)
---------- Forwarded Message ----------
Subject: How to build kubuntu-docs debian package.
Date: Friday 01 July 2005 01:15
From: "Frode M. Døving" <frode at lnix.net>
To: Sean Wheller <sean at inwords.co.za>
Good morning Sean.
A short and incomplete guide to make the kubuntu-docs package follows.
I recommend to make a separate directory for building the package.
Mine is called 'kubuntu-docs' for the kubuntu-docs package.
kubuntu-docs is special from the application packages because:
There is not just kubuntu related documentation in the repository.
The files needed to build kubuntu-docs are included from ../something.
The debian/ directory needs to be in the root-directory of the package.
If we relate this to the repository at
svn+https://docteam.ubuntu.com/repos/trunk/
We know that 'make kdeb' in kde/ includes files from ../common and ../authors
and so on. So we will have to put the debian/ dir directly in
svn+https://docteam.ubuntu.com/repos/trunk/ and not in
svn+https://docteam.ubuntu.com/repos/trunk/kde/ which would be cleaner and
not conflicting with the ubuntu-docs debian/ dir.
When debian packages are buildt a source package is made first.
The source package basically makes a tarball of the directory containing the
debian/ directory. If we relate this to the repository again, that means
whole trunk/. And we don't want that.
That is why I suggest you make a directory called 'kubuntu-docs'.
Next;
Make a package directory, this might sound strange, at first,but the
kubuntu-docs directory is the directory where the result will end up. So we
need another directory inside the first. This should be named
kubuntu-docs-<version>. Mine is kubuntu-docs-0.1
By now you should have two directories like this:
kubuntu-docs/kubuntu-docs-0.1
Move the debian/ dir you got from me into the 'kubuntu-docs-0.1' directory.
Copy the folders needed from trunk/ to your local 'kubuntu-docs-0,1'
directory.
When I did this i copied these folders from the repository:
common
generic
kde
libs
At this time that is all the folders needed from trunk/ to make the kubuntu
documentation.
Now you should have these directories:
kubuntu-docs
`-- kubuntu-docs-0.1
|-- build
|-- common
|-- debian
|-- generic
|-- kde
`-- libs
You need some tools to actually build the package.
Install these packages:
debhelper
devscripts
cdbs
When the tools are installed you can cd into 'kubuntu-docs-0.1' directory and
issue the command 'debuild -us -uc' to make the package.
I hope this helps you on the way.
Ask me on irc or send a mail if it isn't working.
Info from the wiki:
https://wiki.ubuntu.com/PackagingTips
https://wiki.ubuntu.com/KubuntuPackagingGuide
- Frode M. Doeving
aka uniq @ freenode.
-------------------------------------------------------
--
Sean Wheller
Technical Author
sean at inwords.co.za
084-854-9408
http://www.inwords.co.za
Registered Linux User #375355
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20050701/12799606/attachment.pgp>
More information about the ubuntu-doc
mailing list