[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
There is a file conflict: /usr/lib/x86_64-linux-gnu/libglfw.so However this is a fairly academic question now since GLFW 2 no longer exists in yakkety and I expect attempting to fix this in Xenial would be too much for an SRU. If you have an idea on how to fix this, I'd happily listen to it though! Thanks, James ** Changed in: glfw3 (Ubuntu) Status: New => Invalid -- 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
James, are you sure that /usr/lib/x86_64-linux-gnu/libglfw.so comes from libglfw-dev package? First, the libglfw-dev should have only include files (and maybe static library), plus documentation. Doesn't the library come from libglfw2? 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. 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. -- 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
> 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
> 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). Actually this would only affect *compiling* applications, as compiled applications are linked against libglfs.so.2 or libglfw.so.3. So for example making libglfw-dev to create libglfw2.so being symlink to libglfw.so.2 would mean that during compilation one would have to run linker with '-lglfw2' option instead of '-lglfw'. That could mean breaking compilation of some packages... but I don't think any package depends on GLFW. -- 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
Yes the change would only affect compiling applications, but I still think it's too invasive for an SRU. > That could mean breaking compilation of some packages... but I don't think any package depends on GLFW. These are the reverse dependencies in xenial: $ reverse-depends -r xenial src:glfw Reverse-Depends === * info-beamer (for libglfw2) * libcegui-mk2-0.8.4(for libglfw2) * pax-britannica(for libglfw2) * pink-pony (for libglfw2) You would also break every existing project which uses glfw2 (ie not packaged in Ubuntu) which does not use pkg-config. -- 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
The one possible solution, though I don't know if it is worth the effort and if it is compatible with Ubuntu policy, would be to create a separate libglfw2-dev package, which would be almost identical to libglfw-dev, but would install libglfw2.so link to libglfw.so.2 (and appropriate changes for pkg-config). This way if one needs to develop for GLFW2 and GLFW3 at the same time (or at least compile for both versions), he or she would be able to install libglfw3-dev and libglfw2-dev in parallel. -- 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
[Bug 1635684] Re: libglfw3-dev unnecessarily conflicts with libglfw-dev (for GLFW 2.x)
That would work and since it would not change an existing package, it might pass the SRU rules. Personally I do not want to work on glfw2 - it's now been about 3.5 years since it went EOL and I think applications should move to glfw3. However if you can find another Ubuntu developer (which btw I am not) to sponsor your fix for xenial, then go ahead with it. -- 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