Re: native packages

2007-01-24 Thread Frank Küster
Roberto C. Sanchez roberto at connexer.com writes: A parallel branch structure might make sense in your case. Then you can just merge trunk changes up to your branch periodically. As long as you use dpatch and don't touch any upstream files, you will never have a conflict. [EMAIL

Re: native packages

2007-01-23 Thread Thijs Kinkhorst
On Tue, 2007-01-23 at 21:34 +1100, Andrew Donnellan wrote: What exactly are the advantages and disadvantages of making a Debian-native package, and is there any real policy or practice? I think this is a good rule: If the source is published outside of Debian, do not make a

Re: native packages

2007-01-23 Thread Andrew Donnellan
On 1/23/07, Thijs Kinkhorst [EMAIL PROTECTED] wrote: On Tue, 2007-01-23 at 21:34 +1100, Andrew Donnellan wrote: What exactly are the advantages and disadvantages of making a Debian-native package, and is there any real policy or practice? I think this is a good rule: If the source is

Re: native packages

2007-01-23 Thread Thijs Kinkhorst
On Tue, 2007-01-23 at 21:45 +1100, Andrew Donnellan wrote: In this particular project I am a member of upstream (packager, proofreader and copywriter for English website) and I want to store my debian/ directory in upstream's SVN as it makes it much easier for me to manage snapshots, updates,

Re: native packages

2007-01-23 Thread Neil Williams
On Tue, 23 Jan 2007 21:45:44 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: In this particular project I am a member of upstream (packager, proofreader and copywriter for English website) and I want to store my debian/ directory in upstream's SVN as it makes it much easier for me to manage

Re: native packages

2007-01-23 Thread Andrew Donnellan
On 1/23/07, Thijs Kinkhorst [EMAIL PROTECTED] wrote: On Tue, 2007-01-23 at 21:45 +1100, Andrew Donnellan wrote: In this particular project I am a member of upstream (packager, proofreader and copywriter for English website) and I want to store my debian/ directory in upstream's SVN as it

Re: native packages

2007-01-23 Thread Roberto C. Sanchez
On Tue, Jan 23, 2007 at 10:02:05PM +1100, Andrew Donnellan wrote: So essentially, store debian/ etc in the upstream VCS, but keep it out of releases and only add the directory when building a Debian package? Does this mean I should create a snapshot of everything except the debian files,

Re: native packages

2007-01-23 Thread Andrew Donnellan
On 1/23/07, Neil Williams [EMAIL PROTECTED] wrote: On Tue, 23 Jan 2007 21:45:44 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: In this particular project I am a member of upstream (packager, proofreader and copywriter for English website) and I want to store my debian/ directory in

Re: native packages

2007-01-23 Thread Neil Williams
On Tue, 23 Jan 2007 22:02:05 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: So essentially, store debian/ etc in the upstream VCS, but keep it out of releases and only add the directory when building a Debian package? Does this mean I should create a snapshot of everything except the debian

Re: native packages

2007-01-23 Thread Neil Williams
On Tue, 23 Jan 2007 22:09:28 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: Keep the debian/* files in CVS/SVN. Don't package the debian/* files in the distributed tarball. When building the packages, you simply download the released tarball as usual, copy your debian/* files into

Re: native packages

2007-01-23 Thread George Danchev
On Tuesday 23 January 2007 12:37, Thijs Kinkhorst wrote: On Tue, 2007-01-23 at 21:34 +1100, Andrew Donnellan wrote: What exactly are the advantages and disadvantages of making a Debian-native package, and is there any real policy or practice? Hello, I think this is a good rule:

Re: native packages

2007-01-23 Thread Margarita Manterola
On 1/23/07, George Danchev [EMAIL PROTECTED] wrote: Right. Another disadvantage of making it a native package is that the orig.tar.gz (imagine monsters here, ... OpenOffice.org comes to mind ;-) has to be uploaded every time you change something in the package, even if this is a change specific

Re: native packages

2007-01-23 Thread Andrew Donnellan
On 1/23/07, Neil Williams [EMAIL PROTECTED] wrote: On Tue, 23 Jan 2007 22:09:28 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: Keep the debian/* files in CVS/SVN. Don't package the debian/* files in the distributed tarball. When building the packages, you simply download the released

Re: native packages

2007-01-23 Thread Neil Williams
On Wed, 24 Jan 2007 08:45:50 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: Hmm. Can't you use 'make dist' to create a tarball that is at least close to what will actually be released? 'make dist' will not include debian/ UNLESS you have made the mistake of putting debian/ in EXTRA_DIST

Re: native packages

2007-01-23 Thread Andrew Donnellan
On 1/24/07, Neil Williams [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007 08:45:50 +1100 Andrew Donnellan [EMAIL PROTECTED] wrote: Hmm. Can't you use 'make dist' to create a tarball that is at least close to what will actually be released? 'make dist' will not include debian/ UNLESS you have

Re: native packages

2007-01-23 Thread Russ Allbery
Andrew Donnellan [EMAIL PROTECTED] writes: So essentially, store debian/ etc in the upstream VCS, but keep it out of releases and only add the directory when building a Debian package? Does this mean I should create a snapshot of everything except the debian files, then copy the debian files

Re: Native packages

2001-09-07 Thread peter karlsson
Julian Gilbey: For what reason was it rejected? Wrong syntax or wrong checksum. I couldn't manage to get the files 100% correct, so in the end I gave up... -- \\// peter - http://www.softwolves.pp.se/ Statement concerning unsolicited e-mail according to Swedish law:

Re: Native packages

2001-09-07 Thread peter karlsson
Santiago Vila: If you insist that the tarball must be created first, follow Julian's suggestion and make your package non-native by creating an .orig.tar.gz tarball (in this case the .diff.gz is typically the debian/* files). I don't want to make it non-native, since that means I would have

Re: Native packages

2001-09-07 Thread Peter S Galbraith
peter karlsson wrote: Santiago Vila: If you insist that the tarball must be created first, follow Julian's suggestion and make your package non-native by creating an .orig.tar.gz tarball (in this case the .diff.gz is typically the debian/* files). I don't want to make it non-native,

Re: Native packages

2001-09-07 Thread peter karlsson
Julian Gilbey: For what reason was it rejected? Wrong syntax or wrong checksum. I couldn't manage to get the files 100% correct, so in the end I gave up... -- \\// peter - http://www.softwolves.pp.se/ Statement concerning unsolicited e-mail according to Swedish law:

Re: Native packages

2001-09-07 Thread peter karlsson
Santiago Vila: If you insist that the tarball must be created first, follow Julian's suggestion and make your package non-native by creating an .orig.tar.gz tarball (in this case the .diff.gz is typically the debian/* files). I don't want to make it non-native, since that means I would have

Re: Native packages

2001-09-07 Thread Peter S Galbraith
peter karlsson wrote: Santiago Vila: If you insist that the tarball must be created first, follow Julian's suggestion and make your package non-native by creating an .orig.tar.gz tarball (in this case the .diff.gz is typically the debian/* files). I don't want to make it non-native,

Re: Native packages

2001-09-06 Thread peter karlsson
Mike Markley: You probably don't want to do this... since a native package has no .diff.gz, the source tarball must contain everything used to generate the set of binary packages you're uploading. It does, I just untarred it to a directory and ran dpkg-buildpackage there. I don't wnat

Re: Native packages

2001-09-06 Thread peter karlsson
Santiago Vila: I would first create the Debian source and binary packages for upload, and then distribute the resulting tar.gz elsewhere, in that order. The problem is that I am generating the tar from my CVS (not all of the CVS is exported, there are some MSWIN and OS/2 specific stuff there

Re: Native packages

2001-09-06 Thread Santiago Vila
peter karlsson wrote: Santiago Vila: I would first create the Debian source and binary packages for upload, and then distribute the resulting tar.gz elsewhere, in that order. The problem is that I am generating the tar from my CVS (not all of the CVS is exported, there are some MSWIN and

Re: Native packages

2001-09-06 Thread Santiago Vila
I said: peter karlsson wrote: so I don't want dpkg-buildpackage to overwrite it. Why does dpkg-buildpackage overwrite it? [...] Oops! I understand. My suggestion is that you arrange things so that dpkg-buildpackage creates the one and only source tarball, instead of creating it in advance by

Re: Native packages

2001-09-06 Thread peter karlsson
Colin Watson: If you can't build the Debian package as part of the process of generating the tarball from CVS, I suppose you could use -b and hack the .changes by hand to include the source, although that's rather ugly. I tried hacking the changes file by hand, but my upload got rejected

Re: Native packages

2001-09-06 Thread Santiago Vila
peter karlsson: Santiago Vila: Oops! I understand. My suggestion is that you arrange things so that dpkg-buildpackage creates the one and only source tarball, instead of creating it in advance by hand. I *could* do that, but that would still not solve the problem of the files in the

Re: Native packages

2001-09-06 Thread Julian Gilbey
On Thu, Sep 06, 2001 at 04:00:25PM +0200, peter karlsson wrote: Colin Watson: If you can't build the Debian package as part of the process of generating the tarball from CVS, I suppose you could use -b and hack the .changes by hand to include the source, although that's rather ugly. I

Re: Native packages

2001-09-06 Thread peter karlsson
Mike Markley: You probably don't want to do this... since a native package has no .diff.gz, the source tarball must contain everything used to generate the set of binary packages you're uploading. It does, I just untarred it to a directory and ran dpkg-buildpackage there. I don't wnat

Re: Native packages

2001-09-06 Thread peter karlsson
Santiago Vila: I would first create the Debian source and binary packages for upload, and then distribute the resulting tar.gz elsewhere, in that order. The problem is that I am generating the tar from my CVS (not all of the CVS is exported, there are some MSWIN and OS/2 specific stuff there

Re: Native packages

2001-09-06 Thread Santiago Vila
peter karlsson wrote: Santiago Vila: I would first create the Debian source and binary packages for upload, and then distribute the resulting tar.gz elsewhere, in that order. The problem is that I am generating the tar from my CVS (not all of the CVS is exported, there are some MSWIN and

Re: Native packages

2001-09-06 Thread Santiago Vila
I said: peter karlsson wrote: so I don't want dpkg-buildpackage to overwrite it. Why does dpkg-buildpackage overwrite it? [...] Oops! I understand. My suggestion is that you arrange things so that dpkg-buildpackage creates the one and only source tarball, instead of creating it in advance by

Re: Native packages

2001-09-06 Thread peter karlsson
Santiago Vila: Oops! I understand. My suggestion is that you arrange things so that dpkg-buildpackage creates the one and only source tarball, instead of creating it in advance by hand. I *could* do that, but that would still not solve the problem of the files in the tarball being owned by

Re: Native packages

2001-09-06 Thread peter karlsson
Santiago Vila: Including MSWIN and OS/2 specific stuff in a Debian source tarball should not be a problem. Well, the packages structure are different on the different platforms, and also my MSWIN/OS2 source packages also contain binaries, plus that the source is CRLF formatted there, and that

Re: Native packages

2001-09-06 Thread Colin Watson
On Wed, Sep 05, 2001 at 10:49:51PM +0200, peter karlsson wrote: How do I get dpkg-buildpackage not to re-build the source tarball when building a native package? No matter what I do, it rebuilds it, which prevents me from keeping the tarball I created from my CVS tree, which also is what I

Re: Native packages

2001-09-06 Thread peter karlsson
Colin Watson: If you can't build the Debian package as part of the process of generating the tarball from CVS, I suppose you could use -b and hack the .changes by hand to include the source, although that's rather ugly. I tried hacking the changes file by hand, but my upload got rejected

Re: Native packages

2001-09-06 Thread Tollef Fog Heen
* peter karlsson | Colin Watson: | | If you can't build the Debian package as part of the process of | generating the tarball from CVS, I suppose you could use -b and hack the | .changes by hand to include the source, although that's rather ugly. | | I tried hacking the changes file by

Re: Native packages

2001-09-06 Thread Santiago Vila
peter karlsson: Santiago Vila: Oops! I understand. My suggestion is that you arrange things so that dpkg-buildpackage creates the one and only source tarball, instead of creating it in advance by hand. I *could* do that, but that would still not solve the problem of the files in the

Re: Native packages

2001-09-06 Thread Richard Atterer
On Thu, Sep 06, 2001 at 02:07:35PM +0200, peter karlsson wrote: I *could* do that, but that would still not solve the problem of the files in the tarball being owned by peter/users instead of root/root, as the tarball I build now is. If you *really* want the files to be root/root (why?), then

Re: Native packages

2001-09-06 Thread Julian Gilbey
On Thu, Sep 06, 2001 at 04:00:25PM +0200, peter karlsson wrote: Colin Watson: If you can't build the Debian package as part of the process of generating the tarball from CVS, I suppose you could use -b and hack the .changes by hand to include the source, although that's rather ugly. I

Re: Native packages

2001-09-05 Thread T.Pospisek's MailLists
On Wed, 5 Sep 2001, peter karlsson wrote: How do I get dpkg-buildpackage not to re-build the source tarball when building a native package? No matter what I do, it rebuilds it, which prevents me from keeping the tarball I created from my CVS tree, which also is what I distribute elsewhere.

Re: Native packages

2001-09-05 Thread Mike Markley
You probably don't want to do this... since a native package has no .diff.gz, the source tarball must contain everything used to generate the set of binary packages you're uploading. On Wed, Sep 05, 2001 at 10:49:51PM +0200, peter karlsson [EMAIL PROTECTED] spake forth: Hi! How do I get

Re: Native packages

2001-09-05 Thread Santiago Vila
peter karlsson wrote: How do I get dpkg-buildpackage not to re-build the source tarball when building a native package? No matter what I do, it rebuilds it, which prevents me from keeping the tarball I created from my CVS tree, which also is what I distribute elsewhere. I would first create

Re: Native packages

2001-09-05 Thread Julian Gilbey
On Wed, Sep 05, 2001 at 10:49:51PM +0200, peter karlsson wrote: Hi! How do I get dpkg-buildpackage not to re-build the source tarball when building a native package? No matter what I do, it rebuilds it, which prevents me from keeping the tarball I created from my CVS tree, which also is