Bug#755212: transition: protobuf-c
Emilio Pozuelo Monfort wrote:
> On 18/07/14 22:19, Robert Edmonds wrote:
> > * The header file (protobuf-c.h) which compiled .pb-c.h files must
> > include. This is shipped in the libprotobuf-c0-dev package
> > (protobuf-c < 1.0.0), or the libprotobuf-c-dev package (protobuf-c
> > >= 1.0.0). (libprotobuf-c-dev Provides: libprotobuf-c0-dev, which
> > smoothes the transition for packages with an unversioned
> > build-dependency on libprotobuf-c0-dev.)
>
> I just realized that that's not going to work, because the old
> libprotobuf-c0-dev is still available, and so packages that build-depend on that
> will get libprotobuf-c0-dev. So they'll need sourceful uploads to build-depend
> on the new (unversioned) libprotobuf-c-dev.
Hi, Emilio:
Are you sure about that? protobuf-c-compiler has:
Depends: ${shlibs:Depends}, ${misc:Depends}, libprotobuf-c-dev (= ${binary:Version})
Which will force libprotobuf-c-dev to be installed. And
libprotobuf-c-dev has:
Depends: libprotobuf-c1 (= ${binary:Version}), ${misc:Depends}
Provides: libprotobuf-c0-dev
Conflicts: libprotobuf-c0-dev
Replaces: libprotobuf-c0-dev
Breaks: protobuf-c-compiler (<< 1.0.0~)
Which will force libprotobuf-c0-dev to be uninstalled.
I *think* what will happen is that if a package does:
Build-Depends: protobuf-c-compiler
or
Build-Depends: protobuf-c-compiler, libprotobuf-c0-dev
They will end up with protobuf-c-compiler (1.0.0-1) and
libprotobuf-c-dev (1.0.0-1) installed, which is what is desired.
I think all of the packages I listed in my original email had a
build-dep on either protobuf-c-compiler only, or protobuf-c-compiler and
libprotobuf-c0-dev. (I don't think there are any with just
libprotobuf-c0-dev.)
The only package with a versioned build-dep on libprotobuf-c0-dev is
osm2pgsql, which needs other sourceful changes anyway. I think with the
pending upload of osm2pgsql (#756112) there will be no more packages in
the Debian archive with a versioned build-dep on libprotobuf-c0-dev, and
it can be removed from the archive?
--
Robert Edmonds
edmonds@debian.org
Reply to: