[Digikam-users] creating packages for sarge: dpkg help needed

Achim Bohnet ach at mpe.mpg.de
Wed Mar 14 21:33:18 GMT 2007


On Wednesday, 14. March 2007, Markus Spring wrote:
> Hi,
> 
> I am in the process of compiling digikam 9.1 and all support packages for debian
> sarge. I set up a clean installation for this task - no backports, nothing, just
> plain sarge.

Have a look at pbuilder. It provides a clean environment to build pkgs.
For the sarge-backport test, a chroot environment (see debootstrap and
dchroot) is very helpful.
> 
> For myself I would not need clean packages according to debian standards -
> checkinstall will do
> 
> However I could provide those packages for others on my website, provided they
> are "clean"

Great!
> 
> Now I do not have a thorough understanding of creating debian packages, so a
> bunch of specfile-stubs and maybe a hint to a short and comprehensable howto
> would help me gain speed.

You can always download the .tar.gz .diff.gz and .dsc files from the source
archives of debian.

	dpkg-source -x name-of-the-dsc

will unpack pkgs

	dch -i

will incr the pkgs version.  Edit debian/changelog the version  <debian->~myname1

	debuild -us -uc

will build the pkg.  If it fails, use  debuild -us -uc -nc until you succeed, then
rebuild once more with debuild -us -uc,   to make sure everything is really right.

last but not least you can build in a clean environment with

	pbuilder build  name-of-my-backported.dsc


Further reading https://wiki.kubuntu.org/MOTU/Packages/New  I'm sure debian wiki
has something similar.

Don't spend too much time with pkgin details.  As you backport pkgs most of
work is already done.  Feel free to ping me on freenode IRC #digikam  nick: allee

You may also look at http://buildserver.net/.  Its tries to build pkgs for several
distro versions.  Maybe you find something useful for sarge there already.
> 
> All help is greatly appreciated

Your welcome!

Achim
> Markus
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
> 
> 



-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com



More information about the Digikam-users mailing list