On Wed, Aug 17, 2011 at 4:22 PM, Michael Tokarev <m...@tls.msk.ru> wrote: > 17.08.2011 12:16, Liang Guo wrote: >> It looks like the better solution is: >> >> 1 move pixman-1 >= 0.17.7 celt051 >= 0.5.1.1 openssl to >> Requires.private in spice-server.pc >> 2 keep libpixman-1-dev (>= 0.17.7~), libssl-dev in depends control file field >> >> The disadvantage is libpixman-1-dev (>= 0.17.7~), libssl-dev need be >> downloaded. >> >> What's your opinion ? > > That's the best approach so far, yes. > >> Actually I think removing pixman-1 >= 0.17.7 openssl from Requires is >> acceptable too, >> qemu/qemu-kvm don't use staticially link at all, and no other program >> calls spice. > > while qemu/qemu-kvm does not, it calls pkg-config, which, in case > any of packages listed in Requires: or Requires.private: variables > are missing, complains, just like in my initial bugreport. This is > true for pkg-config --cflags, which is used by qemu. > > So the final solution is to keep libssl-dev and libpixman-dev as > build dependencies (and watch for versions!), move the "dependent" > packages to Requires.private, and stop depending on extra stuff. > > Now, can someone tell me what problem pkg-config is trying to _solve_ ? :) > (Kidding really, I know it's helpful when installing from sources > using upstream makefiles directly, for example). > > /mjt > I've pushed changes to git.d.o, and re-uploaded spice to mentors.d.n,
Would you like review it ? Thanks, -- Liang Guo http://bluestone.cublog.cn -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org