Hi folks,
I need to package j3d-core[1]. The source includes a few headers that fedora packages already provide. Is it OK to let them be or do I need to get rid of these and make use of the ones that fedora packages provide?
The licenses are here[2][3]. The mention the included third party headers as well.
If I need to remove them, can I simply symlink the fedora provided headers here? Or do I need to edit the build system to make it point to them? If you look at the source folder here[4], it has separate build files for each platform/arch, so editing the build files would be a little difficult.
I've also noticed that multiple packages provide the headers. How does one know which of these is the required one please?
[root@ankur root]# repoquery -f */include/*/glext.h mesa-libGLES-devel-0:7.11-0.9.20110509.0.fc15.i686 mesa-libGLES-devel-0:7.11-0.11.20110525.0.fc15.i686 xorg-x11-drv-nvidia-173xx-devel-0:173.14.30-1.fc15.x86_64 mingw32-w32api-0:3.15-2.fc15.noarch gtkglext-devel-0:1.2.0-14.fc15.i686 chromium-debuginfo-0:12.0.718.0-1.fc15.x86_64 xorg-x11-drv-nvidia-173xx-devel-0:173.14.30-1.fc15.i686 mesa-libGL-devel-0:7.11-0.9.20110509.0.fc15.i686 mesa-libGL-devel-0:7.11-0.11.20110525.0.fc15.i686 mesa-libGL-devel-0:7.11-0.9.20110509.0.fc15.x86_64 mesa-libGL-devel-0:7.11-0.11.20110525.0.fc15.x86_64 mesa-libGLES-devel-0:7.11-0.11.20110525.0.fc15.x86_64 gtkglext-devel-0:1.2.0-14.fc15.x86_64 mesa-libGLES-devel-0:7.11-0.9.20110509.0.fc15.x86_64 [root@ankur root]#
[2] http://java.net/projects/j3d-core/sources/svn/content/trunk/THIRDPARTY-LICEN...
[3] http://java.net/projects/j3d-core/sources/svn/content/trunk/THIRDPARTY-LICEN...
[4]http://java.net/projects/j3d-core/sources/svn/show/trunk/src/native/ogl?rev=...
Thanks! Regards, Ankur
Ankur Sinha wrote:
Hi folks,
I need to package j3d-core[1]. The source includes a few headers that fedora packages already provide. Is it OK to let them be or do I need to get rid of these and make use of the ones that fedora packages provide?
The licenses are here[2][3]. The mention the included third party headers as well.
If I need to remove them, can I simply symlink the fedora provided headers here? Or do I need to edit the build system to make it point to them? If you look at the source folder here[4], it has separate build files for each platform/arch, so editing the build files would be a little difficult.
I've also noticed that multiple packages provide the headers. How does one know which of these is the required one please?
[root@ankur root]# repoquery -f */include/*/glext.h mesa-libGLES-devel-0:7.11-0.9.20110509.0.fc15.i686 mesa-libGLES-devel-0:7.11-0.11.20110525.0.fc15.i686 xorg-x11-drv-nvidia-173xx-devel-0:173.14.30-1.fc15.x86_64 mingw32-w32api-0:3.15-2.fc15.noarch gtkglext-devel-0:1.2.0-14.fc15.i686 chromium-debuginfo-0:12.0.718.0-1.fc15.x86_64 xorg-x11-drv-nvidia-173xx-devel-0:173.14.30-1.fc15.i686 mesa-libGL-devel-0:7.11-0.9.20110509.0.fc15.i686 mesa-libGL-devel-0:7.11-0.11.20110525.0.fc15.i686 mesa-libGL-devel-0:7.11-0.9.20110509.0.fc15.x86_64 mesa-libGL-devel-0:7.11-0.11.20110525.0.fc15.x86_64 mesa-libGLES-devel-0:7.11-0.11.20110525.0.fc15.x86_64 gtkglext-devel-0:1.2.0-14.fc15.x86_64 mesa-libGLES-devel-0:7.11-0.9.20110509.0.fc15.x86_64 [root@ankur root]#
[2] http://java.net/projects/j3d-core/sources/svn/content/trunk/THIRDPARTY-LICEN...
[3] http://java.net/projects/j3d-core/sources/svn/content/trunk/THIRDPARTY-LICEN...
[4]http://java.net/projects/j3d-core/sources/svn/show/trunk/src/native/ogl?rev=...
Thanks! Regards, Ankur
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
You do need to use the system versions rather than the bundled versions. Symlinking is ok, but patching the build system to look at the usual places on the system rather than locally will be more maintainable.
-J
packaging@lists.fedoraproject.org