Hey Chris,

See the attached patch for the debian/control file.

It adds a version limit on each part to relate to the others.

Interestingly libbarry0 wasn't a dep for the opensync plugin, I wonder
if that was an oversight.

Martin

On Sun, 2010-07-25 at 07:53 -0400, Chris Frey wrote:

> I know.  But nearly all Barry releases so far have changed the API in
> some small way; so the package should be, perhaps, libbarry16 by now.
> If you wish to package Barry that way, I don't mind.  Please do.  I'm
> just trying to make clear that API breakages are to be expected, and I'm
> not ready to invest a lot of time in preserving backward compatibility when we
> haven't reached version 1.0 yet.
> 
> If people are installing version 0.16 of the library, it makes sense to
> install 0.16 utils as well.  The PPA packages should be setup in such
> a way as to encourage that lockstep.  So I (or somebody) need to double check
> the default Barry package rules shortly.
> 
> - Chris

diff --git a/debian/control b/debian/control
index b325646..5f02919 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,7 @@ Description: Development files for libbarry
 Package: barry-util
 Section: utils
 Architecture: any
-Depends: udev (>= 0.056), ${shlibs:Depends}
+Depends: libbarry0 (= ${binary:Version}), udev (>= 0.056), ${shlibs:Depends}
 Suggests: ppp
 Description: Command line utilities for working with the RIM BlackBerry Handheld
  Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld.
@@ -58,7 +58,7 @@ Description: Command line utilities for working with the RIM BlackBerry Handheld
 Package: barrybackup-gui
 Section: utils
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: libbarry0 (= ${binary:Version}), ${shlibs:Depends}
 Description: GTK+ based GUI for backing up the RIM BlackBerry Handheld
  Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld.
  .
@@ -77,7 +77,7 @@ Description: GTK+ based GUI for backing up the RIM BlackBerry Handheld
 Package: opensync-plugin-barry
 Section: libs
 Architecture: any
-Depends: libopensync0 (>= 0.22), libopensync0 (<< 0.30), ${shlibs:Depends}
+Depends: libopensync0 (>= 0.22), libopensync0 (<< 0.30), libbarry0 (= ${binary:Version}), ${shlibs:Depends} 
 Description: Opensync Blackberry plugin, based on the Barry project
  Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld.
  .
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to