Re: [Bulk] Re: Advice about first package building (from sources)

2008-09-18 Thread Al Nikolov
Laurent Guignard wrote:

 I'll build a chroot environment with deboostrap with unstable.
 I'll have to build the new libnet1 package of David Paleino from all
 files he upload on mentors.debian.net (with Debian unstable dependencies).
 After, I'll can build my package from source.
 
 It seems to be the better solution...
 
 My words clean and stable means that I have a Debian stable and i
 doesn't want to upgrade to testing or unstable, so i need a specific
 environment to build package.

No, you do not! You need what you already have - the Debian Etch
environment. You can, of course make `debootstrap etch` in trying to not
pollute your clean 'working' environment with build dependencies, or
whatever, but this is not necessary.

OTOH, if you build your binary package in Debian Sid enviroment, they could
be suitable for Sid (that's the point!), but you have a little chance to
install them in Etch due to broken dependecies.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Bulk] Re: Advice about first package building (from sources)

2008-09-18 Thread David Paleino
Hello Laurent,

On Wed, 17 Sep 2008 21:01:06 +0200, Laurent Guignard wrote:

 I'll build a chroot environment with deboostrap with unstable.
 I'll have to build the new libnet1 package of David Paleino from all
 files he upload on mentors.debian.net (with Debian unstable dependencies).
 After, I'll can build my package from source.

Didn't I tell you to wait a bit? :)
The new libnet1, with the applied patches is now in unstable. You don't need to
get anything from mentors, just do:

# apt-get update
# apt-get -t unstable install libnet1 libnet1-dev

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature


Re : [Bulk] Re: Advice about first package building (from sources)

2008-09-18 Thread Laurent Guignard
 De : David Paleino [EMAIL PROTECTED]
 À : debian-mentors@lists.debian.org
 Cc : Laurent Guignard [EMAIL PROTECTED]
 Envoyé le : Jeudi, 18 Septembre 2008, 7h47mn 38s
 Objet : Re: [Bulk] Re: Advice about first package building (from sources)
 
 Hello Laurent,
 
 On Wed, 17 Sep 2008 21:01:06 +0200, Laurent Guignard wrote:
 
 I'll build a chroot environment with deboostrap with unstable.
 I'll have to build the new libnet1 package of David Paleino from all
 files he upload on mentors.debian.net (with Debian unstable dependencies).
 After, I'll can build my package from source.
 
 Didn't I tell you to wait a bit? :)

Yes you did ! ;)
But i would like to learn about how Debian packaging tools are working. It is 
only curiosity to improve my technical skills and observing the procedure to 
submit a package for sponsoring help to understand what files to provide, where 
to upload them, and anything interesting for newbies...
It is the fearlessness of the youth ! ;)

Sorry, i doesn't want to disturb or irritate anyone.

 The new libnet1, with the applied patches is now in unstable. You don't need 
 to
 get anything from mentors, just do:
 
 # apt-get update
 # apt-get -t unstable install libnet1 libnet1-dev
 
 Kindly,
 David

I am fine to hear this. The only thing i have to do now is to build a package 
and that will be a great adventure for me ;)
Again, sorry for my impatience.

This message isn't signed because it come from yahoo mail...





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Bulk] Re: Advice about first package building (from sources)

2008-09-17 Thread Laurent Guignard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric Lavarde - Debian a écrit :
 Hi Laurent,
 
 Al Nikolov said:
 Laurent Guignard wrote:

 I have read the main documentation about pbuilder but i haven't seen if
 it is possible to build a package from upstream sources.
 In all examples, the command is like pbuilder build ???.dsc

 What is the correct method to build a package from upstream sources ?

 I thought to build a virtual host (KVM), install all packages needed,
 import all sources (upstream with all files needed to build package) and
 run the dpkg-buildpackage command...

 All this to keep a clean and stable Debian on my laptop ;)
 I fear the answers you got might have been a bit confusing, but it's also
 because it's not clear what you mean with keeping a clean and stable
 Debian: only install packaged software (nothing by hand), or really not do
 anything out of the normal (e.g. compiling and packaging) on your
 laptop, or both.
 
 I'm kind of a both guy, so:
 - I created an unstable CHROOT jail with debootstrap and do all my
 packaging in there (as suggested by Neil). For this purpose, KVM, Xen or
 any VM is as good, but more heavyweight.
 - I check that my packages build correctly with pbuilder (and pbuilder is
 really only meant for this).
 - Neither pbuilder nor debootstrap will help you to learn Debian
 packaging, hence the advice from Al to read
 http://www.debian.org/doc/maint-guide/
 
 Hope this helps, Eric
 
 PS: I directed my answer back to you because it was not clear if you are
 subscribed to Mentors.
 

Thanks for all your answers.

I'll build a chroot environment with deboostrap with unstable.
I'll have to build the new libnet1 package of David Paleino from all
files he upload on mentors.debian.net (with Debian unstable dependencies).
After, I'll can build my package from source.

It seems to be the better solution...

My words clean and stable means that I have a Debian stable and i
doesn't want to upgrade to testing or unstable, so i need a specific
environment to build package.

Thanks again.


- --
Laurent Guignard, Registered as user #301590 with the Linux Counter
Site : http://www.famille-guignard.org
Blog : http://blog.famille-guignard.org
Projet : http://sicontact.sourceforge.net
GULL de Villefranche sur Saône : http://www.cagull.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI0VPyjcKpXFc/7oYRAkPFAKCAE3MEphIxoCdpcLoUKuLoaPe0cQCffwxK
zfxWiRukeU+gEKqInRm6U4E=
=EOwr
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]