Andrew Shadura <bugzi...@tut.by> writes:
> Tcl API is stable enough to just depend on the lowest version it builds
> against; however, it's better to build-depend on unversioned packages
> (eg tcl and tk instead of tcl8.5 and tk8.5) but use versioned
> dependencies on unversioned packages for your binaries (like, tcl
> (>=8.5.0)). 

Since it also builds in 8.3 and 8.4, should I put (>= 8.3.0) here?

> Also, please use tcltk-depends to put the correct versions into
> Depends fields.

How do I do this? My control file is like

-----------------8<------------------------------------
Source: tk-table
[...]
Build-Depends: debhelper (>= 7.0.50), dh-autoreconf, tcl-dev (>= 8.3.0), tk-dev 
(>= 8.3.0)
[...]

Package: tk-table
Section: libs
Architecture: any
Depends: ${tcl:Depends}, ${tk:Depends}, ${misc:Depends}, ${shlibs:Depends}
Provides: libtktable2.9
Replaces: libtktable2.9
Conflicts: libtktable2.9
Description: [...]
-----------------8<------------------------------------

but while packaging I get

   dh_gencontrol
dpkg-gencontrol: warning: Depends field of package tk-table: unknown 
substitution variable ${tcl:Depends}
dpkg-gencontrol: warning: Depends field of package tk-table: unknown 
substitution variable ${tk:Depends}

Shouldn't it be enough to depend on tcl-dev and tk-dev?

Best

Ole


-- 
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/ytzzkdxjlrd....@news.ole.ath.cx

Reply via email to