> James, are you sure that /usr/lib/x86_64-linux-gnu/libglfw.so comes
from libglfw-dev package?

Yes. Here is the conflict:

$ dpkg-deb -c libglfw3-dev_3.1.2-3_amd64.deb | grep libglfw.so
lrwxrwxrwx root/root         0 2016-01-29 05:17 
./usr/lib/x86_64-linux-gnu/libglfw.so -> libglfw.so.3
$ dpkg-deb -c libglfw-dev_2.7.9-1_amd64.deb | grep libglfw.so
lrwxrwxrwx root/root         0 2015-07-11 06:15 
./usr/lib/x86_64-linux-gnu/libglfw.so -> libglfw.so.2

> First, the libglfw-dev should have only include files (and maybe
static library), plus documentation. Doesn't the library come from
libglfw2?

libglfw2 contains the actual library (libglfw.so.2) which is enough for
running applications built against glfw2. To build applications you also
need the library symlink (libglfw.so) which is shipped in libglfw-dev.
This is the standard layout for all Debian / Ubuntu library packages.

> Second, the package should include fully qualified libraries, that is
libglfw.so.2 and not libglfw.so. The unqualified name should be created
by post-install step. Installing different versions of the same
libraries in parallel is a solved problem.

You can already install the runtime libaries (libglfw2 and libglfw3)
together. I don't think creating the symlink in a post-install step
solves the problem. You'll still end up with one of the packages
"winning" and getting control of the libglfw.so symlink.

> As for GLFW 2 no longer existing in Yakkety, I'd like to remind you
that Ubuntu 16.04 is LTS: Long Term Support! So this is not an academic
question - many people are running LTS.

I know people are using LTS, but the only thing I can think of is
renaming libglfw.so for one of the packages - a change which is far to
invasive for a Xenial SRU (as it would break applications already
relying on the libglfw.so name).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1635684

Title:
  libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glfw3/+bug/1635684/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to