Re: Adding debian/rules unpack as a required operation

2002-01-18 Thread Manoj Srivastava
Branden == Branden Robinson [EMAIL PROTECTED] writes:

 Branden On Thu, Jan 17, 2002 at 04:03:32PM -0600, Manoj Srivastava wrote:
  David == David Starner [EMAIL PROTECTED] writes:
 David A suggestion for policy:
 David If a package source does not come fully unpacked - i.e. it uses a
 David DBS-like system - debian/rules must include an unpack target, that
 David unpacks the source code and applies all patches to it.
  
  Umm. I suggest you talk to the people who are using DBS (and
  perhaps also talk to Adam Heath, the author, to include suggestions
  in the DBS docs) to implement such a target.
  
  Policy is not a stick to beat people on the head with.

 Branden While I agree with you vis a vis Policy, I have no objection
 Branden to such a thing, speaking as the maintainer of a very large,
 Branden DBS-using package.

And I would say the proposers would be enchanted by your
 stance. Now, if we could only prevail upon the dbs author to include
 a note exhorting the inclusion of such a target in the rules file,
 and perhaps insert such a codicil in the developers reference, yet
 another good-practice-but-not-good-policy gem would have been
 recorded in the appropriate place and all shall be well in the
 world. 

manoj
-- 
 To lose weight, eat less; to gain weight, eat more; if you merely
 wish to maintain, do whatever you were doing. The Bronx diet is a
 legitimate system of food therapy showing that food SHOULD be used a
 crutch and which food could be the most effective in promoting
 spiritual and emotional satisfaction.  For the first time, an eater
 could instantly grasp the connection between relieving depression and
 Mallomars, and understand why a lover's quarrel isn't so bad if
 there's a pint of ice cream nearby. Richard Smith, The Bronx Diet
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Re: Adding debian/rules unpack as a required operation

2002-01-18 Thread Colin Watson
On Thu, Jan 17, 2002 at 01:21:29AM +0100, Martin Waitz wrote:
 On Wed, Jan 16, 2002 at 02:25:36PM -0600, David Starner wrote:
  If a package source does not come fully unpacked - i.e. it uses a
  DBS-like system - debian/rules must include an unpack target, that
  unpacks the source code and applies all patches to it.
 
 i think this is the wrong approach
 
 there should be a standard tool which can cope with dbs packages,
 preferable this support should be build into dpkg-source.

One day ...

 there is a 'dbs' package in debian, doesn't it include such
 an unpack utility?

You're assuming that all packages that use various versions of DBS and
of other build-time patching systems have anything to do with the code
in the dbs package, which many of them don't. For a start, there are at
least two major forks of the system known as DBS.

Although I'd oppose this being 'must', I would love to see a documented
optional target in order to promote consistency. Given agreement among
the maintainers of source-patching packages, policy is the right place
to document debian/rules targets.

-- 
Colin Watson  [EMAIL PROTECTED]



Re: Adding debian/rules unpack as a required operation

2002-01-17 Thread Manoj Srivastava
David == David Starner [EMAIL PROTECTED] writes:

 David A suggestion for policy:
 David If a package source does not come fully unpacked - i.e. it uses a
 David DBS-like system - debian/rules must include an unpack target, that
 David unpacks the source code and applies all patches to it.

Umm. I suggest you talk to the people who are using DBS (and
 perhaps also talk to Adam Heath, the author, to include suggestions
 in the DBS docs) to implement such a target.

Policy is not a stick to beat people on the head with.

manoj
-- 
 How much for your women?  I want to buy your daughter... how much for
 the little girl? Jake Blues, The Blues Brothers
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Re: Adding debian/rules unpack as a required operation

2002-01-17 Thread Branden Robinson
On Thu, Jan 17, 2002 at 04:03:32PM -0600, Manoj Srivastava wrote:
 David == David Starner [EMAIL PROTECTED] writes:
  David A suggestion for policy:
  David If a package source does not come fully unpacked - i.e. it uses a
  David DBS-like system - debian/rules must include an unpack target, that
  David unpacks the source code and applies all patches to it.
 
   Umm. I suggest you talk to the people who are using DBS (and
  perhaps also talk to Adam Heath, the author, to include suggestions
  in the DBS docs) to implement such a target.
 
   Policy is not a stick to beat people on the head with.

While I agree with you vis a vis Policy, I have no objection to such a
thing, speaking as the maintainer of a very large, DBS-using package.

-- 
G. Branden Robinson|Build a fire for a man, and he'll
Debian GNU/Linux   |be warm for a day.  Set a man on
[EMAIL PROTECTED] |fire, and he'll be warm for the
http://people.debian.org/~branden/ |rest of his life. - Terry Pratchett


pgpp0lMD17cP1.pgp
Description: PGP signature


Adding debian/rules unpack as a required operation

2002-01-16 Thread David Starner
A suggestion for policy:

If a package source does not come fully unpacked - i.e. it uses a
DBS-like system - debian/rules must include an unpack target, that
unpacks the source code and applies all patches to it.

The motivation is, that I'm tired of wanting to look at the source code
to a program, and discovering it's in some DBS-like system, and I don't
have the foggest how to unpack it, short of running a build and killing
the build, or manually (wherein it can be hard to tell what patches are
applied in what order.) debian/rules unpack exists in some DBS-like
packages, and is the simpliest solution, IMO. Comments?

-- 
David Starner - [EMAIL PROTECTED], dvdeug/jabber.com (Jabber)
Pointless website: http://dvdeug.dhis.org
When the aliens come, when the deathrays hum, when the bombers bomb,
we'll still be freakin' friends. - Freakin' Friends



Re: Adding debian/rules unpack as a required operation

2002-01-16 Thread Andrew Suffield
On Wed, Jan 16, 2002 at 02:25:36PM -0600, David Starner wrote:
 If a package source does not come fully unpacked - i.e. it uses a
 DBS-like system - debian/rules must include an unpack target, that
 unpacks the source code and applies all patches to it.

Make it another optional target listed in section 5.2 (slightly
different from what you said), with a description along the lines of
Unpacks, patches, or otherwise generates all source files which are
invariant across all builds (this needs to be reworded). This is more
generic, but excludes operations like ./configure - ie, an
'unpack'ed source tree could be freely copied or shared between hosts
without having to unpack it again.

 The motivation is, that I'm tired of wanting to look at the source code
 to a program, and discovering it's in some DBS-like system, and I don't
 have the foggest how to unpack it, short of running a build and killing
 the build, or manually (wherein it can be hard to tell what patches are
 applied in what order.) debian/rules unpack exists in some DBS-like
 packages, and is the simpliest solution, IMO. Comments?

Seems at least as valuable as the get-orig-source optional target,
probably more so.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ | Dept. of Computing,
 `. `'  | Imperial College,
   `- --  | London, UK


pgpQxsn356KoJ.pgp
Description: PGP signature


Re: Adding debian/rules unpack as a required operation

2002-01-16 Thread Martin Waitz
hi :)

On Wed, Jan 16, 2002 at 02:25:36PM -0600, David Starner wrote:
 If a package source does not come fully unpacked - i.e. it uses a
 DBS-like system - debian/rules must include an unpack target, that
 unpacks the source code and applies all patches to it.
i think this is the wrong approach

there should be a standard tool which can cope with dbs packages,
preferable this support should be build into dpkg-source.

otherwise you would have to run code from the package,
just to be able to view the package! not nice
(okok, i could have a look at debian/rules first, but that's
rather ugly if i have to check all included makefiles just
to be able to look up some debian patch)
(and yes, i have to trust debian packages anyway, as binary packages
are root on my system, but i want to look at third-party
source-packages without running code in them)

there is a 'dbs' package in debian, doesn't it include such
an unpack utility?

-- 
CU,   / Friedrich-Alexander University Erlangen, Germany
Martin Waitz//  [Tali on IRCnet]  [tali.home.pages.de] _
__/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet//
tippfehler und ist auch ohne grossbuchstaben gueltig.   /
-
Wer bereit ist, grundlegende Freiheiten aufzugeben, um sich 
kurzfristige Sicherheit zu verschaffen, der hat weder Freiheit 
noch Sicherheit verdient.
Benjamin Franklin  (1706 - 1790)


pgpxsHWWhOKQW.pgp
Description: PGP signature