Re: creating an orig.tar.gz from a CVS

2012-02-09 Thread Xavier Grave
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 09/02/2012 02:50, Jerome BENOIT a écrit :
 Hello List
 
 On 06/02/12 15:00, Xavier Grave wrote:
 Le 02/02/2012 22:43, Jerome BENOIT a écrit :
 In short, I have to do it by hand.
 
 You can still add a target in your debian/rules file to avoid doing it
 too many times :). See [1] for explanation for example about
 get-orig-source target.
 
 I read it a again, and it could useful for an other package:
 does someone know Debian packages using get-orig-source in d/rules  ?

One example you can browse at [1] (file at [2]) or using monotone at
www.ada-france.org, branch org.debian.music123

The target use a temporary directory to clone the needed software, may
be it can be of some help.

xavier
[1] http://green.ada-france.org:8081/branch/changes/org.debian.music123
[2]
http://green.ada-france.org:8081/revision/file/649b490168349b96d3724823533e94927052639f/debian/rules
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPM5GgAAoJEG3iFwasTcfaIlwQAIVZHxt+kjKp2JxFis5WwNb+
KbrOwlBQv8nm8i7F1cZeOF7cqjl9SQbqqboRELYis2Gax+ioeFU+qFiM0iXOIPaq
VX+xvQ3f5qBn9Npy9tH+eDaivBFE9cABxYUw1WQub+IG/xZWI/W1AXhoPr7wBbdw
53vizQr4tiFeLRXnJHht/W/gvlm9NgVaeHuK1vXhRWTxBZoVGTL6deWQWmJfUVYd
5Ik330CColR+bUMKDbFzKfmMbOYxcVNPO2kTefouyEowUIjx600G1o9KaldwFSbL
tq4/GNTvAjXQvPdEVdq5XaCBRF86tFyKi7+a/GpuoLzHfbJZusb0vS1KLzkv0REK
zANdVeQ5j4TqzGEjVaakzSp49+EqMbda5aftsGIzMXXqRvRRJuKSxHuQfiZAQruN
fB+inZtE3nQ3URW23eAAO6knOkWXSlJYR9OcxelZlTt5G7bjI1nYg3gTg23aQJY8
K676/AjQ9H0e5aaOSw/5muFy5RQQcb5PSlSvX74WOVkVAXRAUTIxmNE/GdsbQCz9
SlocAmnlf9/FJwIjwp+XkVKT7dPxywvxAV9686JqR6MHirBr4D+7mcznKZ/V1T5U
MMZ4M1llvYawOPxK31r5vl/B3p3W2+kkwV7WR4A2xLxm7M3wwl8BwPkdX+GFiOoe
EO/gNXW67VCq5EsemOSQ
=s/h9
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f3391a0.4080...@ipno.in2p3.fr



Re: creating an orig.tar.gz from a CVS

2012-02-08 Thread Jerome BENOIT

Hello List

On 06/02/12 15:00, Xavier Grave wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 02/02/2012 22:43, Jerome BENOIT a écrit :

In short, I have to do it by hand.


You can still add a target in your debian/rules file to avoid doing it
too many times :). See [1] for explanation for example about
get-orig-source target.


I read it a again, and it could useful for an other package:
does someone know Debian packages using get-orig-source in d/rules  ?

Thanks in advance,
Jerome



xavier
[1] 4.9 in http://www.debian.org/doc/debian-policy/ch-source.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPL9zqAAoJEG3iFwasTcfat/MP/A/EdEYe83zuisWheJa5Okgr
kriYeGuNMTPjVpyNrpA6EqY/6OL+SV54i2p+7EzuJDSU7jtalG9+PMvP5uD4AmM/
h0ds2sMsM6BASBysmjJ15g0/gTPLewRKZEQ4xcdV6sOtw1jXfk+vPe4tV8z9v4gf
v1SvGB/LPFAJrRDgCi32ZeWKPG9G6pmCC/NJir4DCT3IO2yq30dn7ep3Oz9bcHba
pvVDn6ZlUZ74s4/8XZz/xmOGX3ScuTX0/k3BtPBa9pEtle/Hws/waz6C7F66ULMa
mr+FARrCyLAHvr01lGYxC8/yxms++yq7blBpktQFkJwmrFh5Mp6L25bw/EPDaTtz
KaSXXVjcf2vUbNV9w0NKq2KGj+zQ1Qk0bOVvsKXjJ/t62zBdrlGF73qhbHDCHJlu
v63kggr4roqax61ISCddS6kZ6KBKTZ/REroVCq+drNHCziouNK8lFqvzAPjCdR1m
lklStiu3GbJ+7mVBRqY0yMr5uyNAEeneOFhFbjCMJwg4gNwkR7xV4Q5Eseyy5ACG
eEVfn/JXfJ0pziefBLNf3/Rn6Cxjh2itIYhjD/6QS4R84YxYPCYOrQDxZHbY6r+T
EicWbkpt60JJggKwhqBoKdkcvbR+ngCowcYJYF4gkm83UVIgGgfIshj8/Ndd0X5f
OCbVp4BpXUDPs73xskWg
=WdQp
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f33264d.1090...@rezozer.net



Re: creating an orig.tar.gz from a CVS

2012-02-08 Thread Boris Pek
Hi Jerome,

 does someone know Debian packages using get-orig-source in d/rules  ?

For example you can look at my package:
https://github.com/tehnick/libterm-shellui-perl-debian/blob/master/debian/rules

Nothing difficult. You can add any script or list of commands to get-orig-source
section of makefile.

Best regards,
Boris


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/106751328774...@web84.yandex.ru



Re: creating an orig.tar.gz from a CVS

2012-02-06 Thread Xavier Grave
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 02/02/2012 22:43, Jerome BENOIT a écrit :
 In short, I have to do it by hand.

You can still add a target in your debian/rules file to avoid doing it
too many times :). See [1] for explanation for example about
get-orig-source target.

xavier
[1] 4.9 in http://www.debian.org/doc/debian-policy/ch-source.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPL9zqAAoJEG3iFwasTcfat/MP/A/EdEYe83zuisWheJa5Okgr
kriYeGuNMTPjVpyNrpA6EqY/6OL+SV54i2p+7EzuJDSU7jtalG9+PMvP5uD4AmM/
h0ds2sMsM6BASBysmjJ15g0/gTPLewRKZEQ4xcdV6sOtw1jXfk+vPe4tV8z9v4gf
v1SvGB/LPFAJrRDgCi32ZeWKPG9G6pmCC/NJir4DCT3IO2yq30dn7ep3Oz9bcHba
pvVDn6ZlUZ74s4/8XZz/xmOGX3ScuTX0/k3BtPBa9pEtle/Hws/waz6C7F66ULMa
mr+FARrCyLAHvr01lGYxC8/yxms++yq7blBpktQFkJwmrFh5Mp6L25bw/EPDaTtz
KaSXXVjcf2vUbNV9w0NKq2KGj+zQ1Qk0bOVvsKXjJ/t62zBdrlGF73qhbHDCHJlu
v63kggr4roqax61ISCddS6kZ6KBKTZ/REroVCq+drNHCziouNK8lFqvzAPjCdR1m
lklStiu3GbJ+7mVBRqY0yMr5uyNAEeneOFhFbjCMJwg4gNwkR7xV4Q5Eseyy5ACG
eEVfn/JXfJ0pziefBLNf3/Rn6Cxjh2itIYhjD/6QS4R84YxYPCYOrQDxZHbY6r+T
EicWbkpt60JJggKwhqBoKdkcvbR+ngCowcYJYF4gkm83UVIgGgfIshj8/Ndd0X5f
OCbVp4BpXUDPs73xskWg
=WdQp
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2fdcea.8030...@ipno.in2p3.fr



Re: creating an orig.tar.gz from a CVS

2012-02-06 Thread Jerome BENOIT

Hello List:

Thanks Xavier for the trick.

After getting information from the upstream maintainer, it appears that the CVS 
have
a dedicated Makefile to build the upstream package. Of course, this Makefile is 
not
distributed within the upstream package, as other part of the CVS tree: the 
package
is full of makefile mostly written by hand (meaning not generated with 
automake) that
are meant to run on different OS. In short, it is a little messy and the 
debian/rules
trick can not be applied here because the CVS tree source includes the package, 
but
is not the package. Never mind, this certainly part of the job of the Debian 
maintainer
to rationalise as far as possible the upstream package in view to apply the dh 
machinery.

Cheers,
Jerome  


On 06/02/12 15:00, Xavier Grave wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 02/02/2012 22:43, Jerome BENOIT a écrit :

In short, I have to do it by hand.


You can still add a target in your debian/rules file to avoid doing it
too many times :). See [1] for explanation for example about
get-orig-source target.

xavier
[1] 4.9 in http://www.debian.org/doc/debian-policy/ch-source.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPL9zqAAoJEG3iFwasTcfat/MP/A/EdEYe83zuisWheJa5Okgr
kriYeGuNMTPjVpyNrpA6EqY/6OL+SV54i2p+7EzuJDSU7jtalG9+PMvP5uD4AmM/
h0ds2sMsM6BASBysmjJ15g0/gTPLewRKZEQ4xcdV6sOtw1jXfk+vPe4tV8z9v4gf
v1SvGB/LPFAJrRDgCi32ZeWKPG9G6pmCC/NJir4DCT3IO2yq30dn7ep3Oz9bcHba
pvVDn6ZlUZ74s4/8XZz/xmOGX3ScuTX0/k3BtPBa9pEtle/Hws/waz6C7F66ULMa
mr+FARrCyLAHvr01lGYxC8/yxms++yq7blBpktQFkJwmrFh5Mp6L25bw/EPDaTtz
KaSXXVjcf2vUbNV9w0NKq2KGj+zQ1Qk0bOVvsKXjJ/t62zBdrlGF73qhbHDCHJlu
v63kggr4roqax61ISCddS6kZ6KBKTZ/REroVCq+drNHCziouNK8lFqvzAPjCdR1m
lklStiu3GbJ+7mVBRqY0yMr5uyNAEeneOFhFbjCMJwg4gNwkR7xV4Q5Eseyy5ACG
eEVfn/JXfJ0pziefBLNf3/Rn6Cxjh2itIYhjD/6QS4R84YxYPCYOrQDxZHbY6r+T
EicWbkpt60JJggKwhqBoKdkcvbR+ngCowcYJYF4gkm83UVIgGgfIshj8/Ndd0X5f
OCbVp4BpXUDPs73xskWg
=WdQp
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ff110.9040...@rezozer.net



Re: creating an orig.tar.gz from a CVS

2012-02-03 Thread Thibaut Paumard
Le 02/02/12 22:43, Jerome BENOIT a écrit :
 In short, I have to do it by hand.

In short, yes, that has been my understanding so far :-) But it's so
simple that adding a dpkg-cvs-makeorigtgz script on top of that would
just be confusing for no real benefit.

Just make sure you exclude the CVS directories, either by using cvs
export or tar -x.

And by the way: since the bzip2 and xz compression utilities are now
supported by dak  dpkg, you may use them instead of gzip. The best
compression is usually achieved using xz.

Regards, Thibaut.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ba154.10...@free.fr



creating an orig.tar.gz from a CVS

2012-02-02 Thread Jerome BENOIT

Hello List:

what is the best Debian way to create a package orig.tar.gz from a CVS ?

Thanks in advance.

Best,
Jerome


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ace53.7030...@rezozer.net



Re: creating an orig.tar.gz from a CVS

2012-02-02 Thread Björn Esser
Hello!

Checkout from CVS.
Run ./configure or equal.
Run 'make tar' or 'make package' or 'make rpm' or 'make dist' or
whatever the corresponding target in makefile is named.
Then rename the produced tar.gz / bz2 to orig.tar.gz / bz2

Cheers,

Björn.

2012/2/2 Jerome BENOIT g62993...@rezozer.net:
 Hello List:

 what is the best Debian way to create a package orig.tar.gz from a CVS ?

 Thanks in advance.

 Best,
 Jerome


 --
 To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/4f2ace53.7030...@rezozer.net



--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cams3egoraaojbdh+30bgb+b2pnh9xoh9xmw5vh+kaarzrce...@mail.gmail.com



Re: creating an orig.tar.gz from a CVS

2012-02-02 Thread Jerome BENOIT

Hello List:

Let assume that the make target dist is not implemented :-)

Cheers,
Jerome

On 02/02/12 19:14, Björn Esser wrote:

Hello!

Checkout from CVS.
Run ./configure or equal.
Run 'make tar' or 'make package' or 'make rpm' or 'make dist' or
whatever the corresponding target in makefile is named.
Then rename the produced tar.gz / bz2 to orig.tar.gz / bz2

Cheers,

Björn.

2012/2/2 Jerome BENOITg62993...@rezozer.net:

Hello List:

what is the best Debian way to create a package orig.tar.gz from a CVS ?

Thanks in advance.

Best,
Jerome


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ace53.7030...@rezozer.net




--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ae71e.6050...@rezozer.net



Re: creating an orig.tar.gz from a CVS

2012-02-02 Thread Thibaut Paumard
Le 02/02/12 18:56, Jerome BENOIT a écrit :
 Hello List:
 
 what is the best Debian way to create a package orig.tar.gz from a CVS ?
 
 Thanks in advance.
 
 Best,
 Jerome
 
 

cvs export -d directory module ...

tar cvf - directory | gzip -9  package_version.orig.tar.gz


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2ae927.9050...@users.sourceforge.net



Re: creating an orig.tar.gz from a CVS

2012-02-02 Thread Jerome BENOIT

In short, I have to do it by hand.

Jerome

On 02/02/12 20:51, Thibaut Paumard wrote:

Le 02/02/12 18:56, Jerome BENOIT a écrit :

Hello List:

what is the best Debian way to create a package orig.tar.gz from a CVS ?

Thanks in advance.

Best,
Jerome




cvs export -ddirectory  module ...

tar cvf -directory  | gzip -9  package_version.orig.tar.gz





--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2b0386.9050...@rezozer.net



Re: creating an orig.tar.gz from a CVS

2012-02-02 Thread Andrea Bolognani
On Thu, Feb 02, 2012 at 10:43:34PM +0100, Jerome BENOIT wrote:

 In short, I have to do it by hand.

Tarballs are usually created by upstream when making a release.

There are a variety of build system (autotools, CMake, etc) that provide
a standard way to prepare a release tarball: if your upstream uses one
of those, you can usually follow the same steps to create a CVS snapshot,
taking care to choose a sensible version number.

If upstream uses no such standardized build system, they probably have
rolled their own script to prepare a release. Again, use the same steps
to build your snapshot.

So, in short: since it depends a lot on what upstream’s habits are, your
best bet is simply asking them.

-- 
Andrea Bolognani e...@kiyuko.org
Resistance is futile, you will be garbage collected.


signature.asc
Description: Digital signature