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

Re: DH_COMPAT 2 or 3 ?



On Wed, Apr 04, 2001 at 01:17:06PM +0100, Julian Gilbey wrote:
> On Wed, Apr 04, 2001 at 07:44:34AM +0200, Sven LUTHER wrote:
> > > Why exactly?  It's not a crime to create two separate packages; one
> > > for stable and one for unstable.  You can change the build
> > > dependencies to match the distribution.
> > 
> > Well, the idea is to have only one package for both, this make things simpler,
> > create less work for me, and should be more error proof in general.
> > 
> > Anyway, forking a package for 2 lines difference in the debian/rules file, and
> > different build-depends don't seem worth it for me.
> 
> So it'll potentially create different binaries with the same version
> number on the different platforms.  Hmm.  Why not just go with the
> potato version?  It should work fine on unstable.

I don't package for potato, only for unstable. The version in potato is very
old, and upstream did 2 releases since then (1 major and 1 minor). The reason
for this question, was that someone wanted to build unofficial potato packages
out of my source package for unstable. It caused some problems because i was
depending on tcl/tk 8.3, while potato only has tcl/tk 8.2.

Also, the package configure script did check for tcl.h to determine the
version of tcl/tk installed on the system, and this file got moved from the
potato version of tcl/tk (both all 8.0 forks and 8.2) (/usr/include/tcl.h) and
the newer versions of tcl/tk for unstable (well 8.2 and 8.3, not 8.0, which
conserve the old location). (/usr/include/tcl8.[23]/tcl.h).

Now i solved this by fixing the upstream configure script and providing
upstream with my patch, but it could have been nice also to provide a way to
tell the package that you are under a potato system, or unstable/woody system,
for this, and to build-depend on the correct tcl/tk.

Notice that this is not so much a problem for potato, since apt in potato
don't support build depends, but in the forthcoming woody release, apt will be
able to support build depends, so this could cause problems.

Friendly,

Sven Luther



Reply to: