Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24800 - [blender] Missing COLLADA support

Attached to Project: Arch Linux
Opened by Mad Fish (MadFish) - Monday, 20 June 2011, 15:55 GMT
Last edited by Eric Belanger (Snowman) - Monday, 28 November 2011, 09:29 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
COLLADA is an interchange format, available in many 3D packages. Support can be enabled with WITH_OPENCOLLADA flag.
I've made some time ago package in AUR for then-unreleased blender 2.5x including this feature:
http://aur.archlinux.org/packages/blender-collada-svn/PKGBUILD
PKGBUILD there may be used as a reference.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 28 November 2011, 09:29 GMT
Reason for closing:  Won't implement
Comment by Mad Fish (MadFish) - Monday, 20 June 2011, 15:59 GMT
Sorry, I accidentally hit enter when filling in info (mods, please update this).

Title should be: "[blender] Missing COLLADA support".

Details:
COLLADA is an interchange format, available in many 3D packages. Support can be enabled with WITH_OPENCOLLADA flag.
I've made some time ago package in AUR for then-unreleased blender 2.5x including this feature:
http://aur.archlinux.org/packages/blender-collada-svn/PKGBUILD
PKGBUILD there may be used as a reference.
Comment by Eric Belanger (Snowman) - Tuesday, 21 June 2011, 08:09 GMT
Did they released any source tarball? I can't find any on their website: http://code.google.com/p/opencollada/
Comment by Mad Fish (MadFish) - Tuesday, 21 June 2011, 08:18 GMT
It seems that they had not. Specific known-good svn revision may be used for the same purpose.
This page:
http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/COLLADA
suggests using r836.
Comment by Eric Belanger (Snowman) - Thursday, 23 June 2011, 22:25 GMT
The problem here is that blender's maintainer has been inactive for a long time. I've been updating and fixing his packages including blender. If I add collada to the repos, it's just going to be one more orphaned package that I'll need to take care of. I'll leave this bug open in case another dev/TU adds collada to the repo. Then I'll add collada support to blender.
Comment by Timo Saarinen (timosa) - Thursday, 13 October 2011, 18:40 GMT
Great suggestion from Mad Fish. Is there any progress on Blender Collada support yet?
Comment by Dyrver Eriksson (dyrvere) - Wednesday, 19 October 2011, 23:15 GMT
Just keep up voting the opencollada-svn package in AUR. It's working splendid now and is patch free as well! :) http://aur.archlinux.org/packages.php?ID=51534
Comment by Mad Fish (MadFish) - Thursday, 20 October 2011, 16:01 GMT
OpenCOLLADA isn't actually supposed to be used as a shared library, and build instructions suggest linking it as a static library: http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#OpenCOLLADA
So I don't see a point in waiting for it to appear in repos (it doesn't make sense to do so).
My suggestion would be to compile and link OpenCOLLADA in blender's PKGBUILD, just as I've did a while ago in: http://aur.archlinux.org/packages/blender-collada-svn/PKGBUILD
(probably it should be changed to check out specific revision, though).
Eric Belanger, please consider this seriously, missing COLLADA is a serious problem, as COLLADA is the main open asset interchange format (I'm a game developer, so that matters to me).
Comment by Eric Belanger (Snowman) - Thursday, 20 October 2011, 21:30 GMT
I'll look into adding collada support but I'll try to avoid using static libraries. I'll probably make an opencollada package and link to the dynamic library instead.
Comment by Eric Belanger (Snowman) - Monday, 24 October 2011, 00:19 GMT
opencollada is much bigger than I expected. With just the header files and shared libraries, it has an install size of 18 BM (this increase to 90 MB with the static libaries included). Compiling blender with opencollada static libraries doesn't save much disk space.

Even though blender is quite big at 50 MB, I'm hesitant in adding a 18 MB opencollada dependency especially since the opencollada and blender-opencollada PKGBUILDs in AUR only has a few votes. I have the impression that it would be something better suited for ABS. I can post the work I did if you are interested.
Comment by Mad Fish (MadFish) - Monday, 24 October 2011, 17:56 GMT
One possible option would be to include OpenCOLLADA build script in a PKGBUILD but do not enable it by default.

P.S. And, of course, publish your work-in-progress scripts anyway, that may be helpful.
Comment by Eric Belanger (Snowman) - Tuesday, 25 October 2011, 00:56 GMT
I don't know what you mean by OpenCOLLADA build script. If it's the blender instructions you posted, then I wasn't able to make them work.
I just used regular PKGBUILD.
Comment by Mad Fish (MadFish) - Tuesday, 25 October 2011, 07:10 GMT
Build script == PKGBUILD (which is a build script, right? :) ).
By the way, if blender was linked to opencollada dynamically, will it launch if opencollada libraries aren't installed? If yes, we can build blender with opencollada, but let user whether install it or not.
Comment by Eric Belanger (Snowman) - Tuesday, 25 October 2011, 21:10 GMT
In that case, I'm not sure what you mean by "include OpenCOLLADA build script in a PKGBUILD". If you're talking about adding opencollada support in the blender PKGBUILD but not enabling it, then it's basically already done. You just need to set -DWITH_OPENCOLLADA:BOOL to ON and to add the opencollada depends. You could use the opencollada PKGBUILD I posted to improve the one in AUR. I've fixed the license among other things. You should disregard the mksource function and keep the git source fetching the same as for the standard git PKGBUILD.

No, opencollada can't be an optional depends.

Loading...