creating packages for sarge: dpkg help needed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

creating packages for sarge: dpkg help needed

Markus Spring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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"

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.

All help is greatly appreciated

Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFF98tLxxUzQSse11ARArrfAKCCJuGKZqqt3oxL+q89pmNbTt83PACdGTvR
pi6Gets59Ig9NND/lL0ryfQ=
=wxEA
-----END PGP SIGNATURE-----
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: creating packages for sarge: dpkg help needed

Bugzilla from ach@mpe.mpg.de
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
> [hidden email]
> 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.
                                      -- [hidden email]
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users