[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grouping dependencies



On Tue, Jan 02, 2001 at 05:37:14PM +0100, Jrme Marant wrote:
> Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> writes:
> 
> Thank you very much.
>  
> > Hmm, this has been asked before. There is a solution.
> 
>   I would love to see a FAQ referencing all problems with their solution
>   that were mentioned on -devel and -mentors. This would avoid us to
>   ask the same questions over and over. 

How about an explanatory paragraph in the packaging manual, and a
wishlist bug report against dpkg to allow more complex
expressions?  Here is a patch to the packaging manual.  Any
comments before I talk to debian-policy about making it official?

--- packaging.sgml.orig	Tue Jan  2 09:57:08 2001
+++ packaging.sgml	Tue Jan  2 09:56:59 2001
@@ -3538,6 +3538,15 @@
 	  <tt>|</tt> (pipe symbols).
 	</p>
 
+	<p>
+	  If you would like to declare a complex relationship, you
+	  should reduce the expression to conjunctive normal form.
+	  For example, the relationship <tt>(A, B) | (C, D)</tt>
+	  (meaning either both A and B or both C and D) should be
+	  reduced to the equivalent <tt>A | C, A | D, B | C, B |
+	  D</tt>.
+	</p>
+
 	<p>	  
 	  All the fields except <tt>Provides</tt> may restrict their
 	  applicability to particular versions of each named package.

Matt



Reply to: