[opensuse-buildservice] Instruction on http://en.opensuse.org/Build_Service/Deb_builds are not useful for creating .deb packages
Hello, I tryied to use the instruction at http://en.opensuse.org/Build_Service/Deb_builds for creating a Debian repository (or in general a .deb package)... without obtaning nothing. After looking for solution into the debian documentation, and with a lot of trials... finally I created .deb packages. As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience. Cheers, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Jan 29, 2008 at 04:51:12PM +0100, G. Massera wrote:
As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience.
Please do! If you feel uncomfortable with editing the wiki directly (which you don't need to be, by the way) feel free to send your documentation to this list or to me directly. I have struggled with .debs a few weeks ago too and am curious to see how you do it. cheers, Sonja -- Sonja Krause-Harder (skh@suse.de) SUSE Research & Development ----------------------------------------------------------------- SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-01-29 16:51:12 +0100, G. Massera wrote:
I tryied to use the instruction at http://en.opensuse.org/Build_Service/Deb_builds for creating a Debian repository (or in general a .deb package)... without obtaning nothing. After looking for solution into the debian documentation, and with a lot of trials... finally I created .deb packages.
As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience.
it is a wiki. feel free to improve it. :) thanks in advance darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Rueckert ha scritto:
On 2008-01-29 16:51:12 +0100, G. Massera wrote:
I tryied to use the instruction at http://en.opensuse.org/Build_Service/Deb_builds for creating a Debian repository (or in general a .deb package)... without obtaning nothing. After looking for solution into the debian documentation, and with a lot of trials... finally I created .deb packages.
As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience.
it is a wiki. feel free to improve it. :)
thanks in advance
darix
I rewrite the page with a first version of instruction for do it. http://en.opensuse.org/Build_Service/Deb_builds Please... give me any kind of suggestion, correction, question, etc. Cheers, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On středa 30 leden 2008, G. Massera wrote:
Marcus Rueckert ha scritto:
On 2008-01-29 16:51:12 +0100, G. Massera wrote:
I tryied to use the instruction at http://en.opensuse.org/Build_Service/Deb_builds for creating a Debian repository (or in general a .deb package)... without obtaning nothing. After looking for solution into the debian documentation, and with a lot of trials... finally I created .deb packages.
As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience.
it is a wiki. feel free to improve it. :)
thanks in advance
darix
I rewrite the page with a first version of instruction for do it. http://en.opensuse.org/Build_Service/Deb_builds
Please... give me any kind of suggestion, correction, question, etc.
With your instructions I was able to build a package. Great, thanks! I still have these problems: - package name must be lowercase, at least at some places. Does anybody know the exact rules? - I haven't found how to apply the same patches as in RPM package. Vladimir Nadvornik --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Vladimir Nadvornik ha scritto:
On středa 30 leden 2008, G. Massera wrote:
Marcus Rueckert ha scritto:
On 2008-01-29 16:51:12 +0100, G. Massera wrote:
I tryied to use the instruction at http://en.opensuse.org/Build_Service/Deb_builds for creating a Debian repository (or in general a .deb package)... without obtaning nothing. After looking for solution into the debian documentation, and with a lot of trials... finally I created .deb packages.
As I write in discussion part of the page... the mandatory files (the minimal set of files necessary to compile a .deb package) is different from that specified in the page... and I proposed to re-write the page telling my experience. Because no-one replyied on the discussion or by e-mail... I repeat my proposal here. In fact, creating the .deb packages are very simple... with the correct instructions... and I want to contribute with my experience.
it is a wiki. feel free to improve it. :)
thanks in advance
darix
I rewrite the page with a first version of instruction for do it. http://en.opensuse.org/Build_Service/Deb_builds
Please... give me any kind of suggestion, correction, question, etc.
With your instructions I was able to build a package. Great, thanks!
I still have these problems:
- package name must be lowercase, at least at some places. Does anybody know the exact rules?
- I haven't found how to apply the same patches as in RPM package.
Vladimir Nadvornik --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I cannot find the rules for the package names :-( Instead, for the patches ... all the sources file of your project are stored in /usr/src/packages/SOURCES/ So, in the debian.rules, just before to compile, you can apply the patch with the command patch: patch -P1 < /usr/src/packages/SOURCES/somePatch1.pacth patch -P1 < /usr/src/packages/SOURCES/somePatchN.pacth Let me know if it works... so, I'll update the instructions on the wiki. Ciao, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
G. Massera wrote:
Vladimir Nadvornik ha scritto:
On středa 30 leden 2008, G. Massera wrote:
I rewrite the page with a first version of instruction for do it. http://en.opensuse.org/Build_Service/Deb_builds
Please... give me any kind of suggestion, correction, question, etc.
- I haven't found how to apply the same patches as in RPM package.
Instead, for the patches ... all the sources file of your project are stored in /usr/src/packages/SOURCES/ So, in the debian.rules, just before to compile, you can apply the patch with the command patch: patch -P1 < /usr/src/packages/SOURCES/somePatch1.pacth patch -P1 < /usr/src/packages/SOURCES/somePatchN.pacth
Let me know if it works... so, I'll update the instructions on the wiki.
I've never tried it, but there should be some support for multiple patches in the bs: "Making debian builds easier" http://lists.opensuse.org/archive/opensuse-buildservice/2007-03/msg00067.htm... hth, Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Feb 01, Vladimir Nadvornik wrote:
I rewrite the page with a first version of instruction for do it. http://en.opensuse.org/Build_Service/Deb_builds
Please... give me any kind of suggestion, correction, question, etc.
With your instructions I was able to build a package. Great, thanks!
I still have these problems:
- package name must be lowercase, at least at some places. Does anybody know the exact rules?
That's documented in the Debian Policy Manual: http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Package [...] 5.6.7 Package The name of the binary package. Package names must consist only of lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.). They must be at least two characters long and must start with an alphanumeric character. [...] -- With best regards, Carsten Hoeger
participants (6)
-
Carsten Hoeger
-
G. Massera
-
Marcus Rueckert
-
Michal Marek
-
Sonja Krause-Harder
-
Vladimir Nadvornik