Package Base Details: usd

Git Clone URL: https://aur.archlinux.org/usd.git (read-only, click to copy)
Submitter: adro
Maintainer: adro (alerque)
Last Packager: adro
Votes: 4
Popularity: 0.24
First Submitted: 2022-10-21 20:11 (UTC)
Last Updated: 2023-09-06 14:34 (UTC)

Pinned Comments

adro commented on 2023-09-03 14:48 (UTC)

Hi, just uploaded a new revamped version of the usd package:

· Added split packages · USD now follows the standard directory structure (/usr) · Man pages · Some optimizations thanks to the fedora package

Because of the large quantity of changes in the package I consider this version a test, so please share your feedback and bugs here!

Latest Comments

1 2 3 Next › Last »

acsuhllteuyr commented on 2023-09-06 10:40 (UTC)

@adro The revamped package is great, thanks! FYI 'makedepdends' is misspelt in the PKGBUILD at the moment so I needed to manually install 'help2man'.

adro commented on 2023-09-04 05:35 (UTC)

@acsuhllteuyr I didn't know how to run usdview in Wayland so thanks for the command! After the lastest update the necessary command would be: LD_PRELOAD=/usr/lib/libjemalloc.so.2 QT_QPA_PLATFORM=xcb usdview

acsuhllteuyr commented on 2023-09-04 02:48 (UTC)

@ffrank I found that I needed to force QT to use X11 when trying to get usdview to work on Wayland. So the full command I'm using is PYTHONPATH=/usr/share/usd/lib/python LD_PRELOAD=/usr/lib/libjemalloc.so.2 QT_QPA_PLATFORM=xcb /usr/share/usd/bin/usdview <model>. I filed https://github.com/PixarAnimationStudios/OpenUSD/issues/2638.

adro commented on 2023-09-03 14:48 (UTC)

Hi, just uploaded a new revamped version of the usd package:

· Added split packages · USD now follows the standard directory structure (/usr) · Man pages · Some optimizations thanks to the fedora package

Because of the large quantity of changes in the package I consider this version a test, so please share your feedback and bugs here!

alerque commented on 2023-08-25 18:49 (UTC)

@adro and @FabioLolix, I agree the way to do this is probably to compile this with all options enabled and then package it as a split package with the respective modules with extra dependencies in sub packages. This depends on the compiled result being modular enough to package in pieces though, which would require testing. That being said I also don't have very much dev time to fiddle with making that happen, but I am happy to facilitate contributions to this either via patches here or as PRs against this repository tree.

adro commented on 2023-07-24 06:38 (UTC)

I agree with you Fabio, but it's a temporal solution to be able to build the plugins you want.

In my opinion, the best way to deal with this is to package each component in a separate zst, for example: usd, usd-alembic, usd-embree, usd-mtlx...

Currently don't have a lot of time to research how to do this. If you want to contribute, I'd really appreciate it!

FabioLolix commented on 2023-07-23 21:45 (UTC)

About the optdepends I don't agree on them being 'automagic', they will never built using devtools and is not indicated that there will be support only if present at build time.

About embree, building with devtools with embree added to makedepends fail the build as reported in previous comment, it need both embree and embree3 then it indicate -- Found Embree: /usr/include

FabioLolix commented on 2023-07-23 21:14 (UTC)

For removing insecure runpath you can use either chrpath --delete "${pkgdir}/path/..." or patchelf --shrink-rpath "${pkgdir}/path/..."

For tbb2019 since the maintainer isn't active and responsive since long time I've proceeded to create onetbb-2019 https://aur.archlinux.org/packages/onetbb-2019 which have the name harmonized with upstream and Arch package, build with gcc13 (Thanks!) and install in /opt and made a merge request

About the optdepends I'm working on them

adro commented on 2023-07-22 11:50 (UTC)

Okay I'll add the opencolorio package as a dependency, thanks. The other packages are already added to optdepends.

About the insecure runpath, I'm aware of this issue but I don't really now how to deal with it. We could try using the tbb2019 package when the maintainer adds the necessary patch to be able to build it with gcc13.

FabioLolix commented on 2023-07-22 11:33 (UTC)

the embree imaging plugin should be optional and not be a problem. Clean your build folder inside src to regenerate the build flags.

Ok this is weird and can no longer reproduce, the pkgbuild was freshly downloaded and for building with makepkg I use by default an alias that clean both src and pkg (alias mkpkg="LANG=C makepkg -scC")


About the package boost is typically a makedepends and the package depends on boost-libs

namcap also detect this:

usd E: Dependency opencolorio detected and not included (python modules ['PyOpenColorIO'] needed in files ['usr/share/usd/lib/python/pxr/Usdviewq/appController.py'])
usd E: Dependency alembic detected and not included (libraries ['usr/lib/libAlembic.so.1.8'] needed in files ['usr/share/usd/plugin/usd/usdAbc.so'])
usd E: Dependency openshadinglanguage detected and not included (libraries ['usr/lib/liboslquery.so.1.12'] needed in files ['usr/share/usd/plugin/usd/sdrOsl.so'])

and insecure runpath

usd E: Insecure RUNPATH '/home/fabio/Dev/pkg_make/TO_BUILD17/usd/src/tbb2019/usr/lib' in file ('usr/share/usd/bin/sdfdump')
usd E: Insecure RUNPATH '/home/fabio/Dev/pkg_make/TO_BUILD17/usd/src/tbb2019/usr/lib' in file ('usr/share/usd/bin/sdffilter')
usd E: Insecure RUNPATH '/home/fabio/Dev/pkg_make/TO_BUILD17/usd/src/tbb2019/usr/lib' in file ('usr/share/usd/bin/usdcat')
usd E: Insecure RUNPATH '/home/fabio/Dev/pkg_make/TO_BUILD17/usd/src/tbb2019/usr/lib' in file ('usr/share/usd/bin/usdtree')
[...]