Mailinglist Archive: opensuse-buildservice (206 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] How to build deb packages
- From: Paul Elliott <pelliott@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Mar 2009 16:46:02 -0500
- Message-id: <20090330214601.GB23091@xxxxxxxxxxxxxxxxxxx>
On Mon, Mar 30, 2009 at 01:20:19PM +0200, Carsten Hoeger wrote:
That is indeed what the "Build Service/Deb builds"
http://en.opensuse.org/Build_Service/Deb_builds
documentation seems to say.
deb> Minimum set of files required to create .deb In order to create a
deb> .deb package successfully, you have to create at least these files:
deb> packageName.dsc
deb> debian.changelog
deb> debian.control
deb> debian.rules
deb> And of course a tarball (tar.bz2) that contains the package source
deb> code to compile.
But it is not true. To see this look at the peless project:
https://build.opensuse.org/package/show?package=peless&project=home%3Apelliott11
In the files section, no debian.changelog, debian.control, debian.rules.
But of course, equivlents of these files are hiding in "peless_1.193-1.diff.gz".
But the peless project builds Debian_5.0, Debian_Etch, and xUbuntu_8.10
successfully.
The peless.dsc, peless_1.193-1.diff.gz, and peless_1.193.orig.tar.gz
were created with uupdate as described in the Debian New Maintainers' Guide.
http://www.debian.org/doc/maint-guide/ch-update.en.html
These 3 files are a "debian source package" as defined by the debian people.
By the way, it would be nice if someone could create a version
of uupdate that runs on opensuse, that way people would not
have to go to a debian system for this step.
When you create your .debs this way, and they build on the build
service, you know you can take your source package to a native debian
build system, and it will build there.
--
Paul Elliott 1(512)837-1096
pelliott@xxxxxxxxxxxxxxxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
I'm quite sure, that you still have to submit Debian Package information
(debian/control, debian/rules, debian/changelog, ...) separately.
That is indeed what the "Build Service/Deb builds"
http://en.opensuse.org/Build_Service/Deb_builds
documentation seems to say.
deb> Minimum set of files required to create .deb In order to create a
deb> .deb package successfully, you have to create at least these files:
deb> packageName.dsc
deb> debian.changelog
deb> debian.control
deb> debian.rules
deb> And of course a tarball (tar.bz2) that contains the package source
deb> code to compile.
But it is not true. To see this look at the peless project:
https://build.opensuse.org/package/show?package=peless&project=home%3Apelliott11
In the files section, no debian.changelog, debian.control, debian.rules.
But of course, equivlents of these files are hiding in "peless_1.193-1.diff.gz".
But the peless project builds Debian_5.0, Debian_Etch, and xUbuntu_8.10
successfully.
The peless.dsc, peless_1.193-1.diff.gz, and peless_1.193.orig.tar.gz
were created with uupdate as described in the Debian New Maintainers' Guide.
http://www.debian.org/doc/maint-guide/ch-update.en.html
These 3 files are a "debian source package" as defined by the debian people.
By the way, it would be nice if someone could create a version
of uupdate that runs on opensuse, that way people would not
have to go to a debian system for this step.
When you create your .debs this way, and they build on the build
service, you know you can take your source package to a native debian
build system, and it will build there.
I'd use the common Debian tools to generated them (dpkg-source).
There's a deb rpm package available on openSUSE, SLE, ..., which can be used
to do that.
--
With best regards,
Carsten Hoeger
--
Paul Elliott 1(512)837-1096
pelliott@xxxxxxxxxxxxxxxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
| < Previous | Next > |