From dc128bf76c118fe7da9cbb984b1e839a62922755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cabello?= Date: Sun, 8 Dec 2024 19:52:02 +0000 Subject: [PATCH 1/4] Correct dekstop file comment Change org.openusd.usdview.desktop comment since usdview does not open cbr/cbz files. --- org.openusd.usdview.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.openusd.usdview.desktop b/org.openusd.usdview.desktop index 71aa0d2..4be9905 100644 --- a/org.openusd.usdview.desktop +++ b/org.openusd.usdview.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=USD view GenericName=Universal Scene Description Viewer -Comment=Open .cbr & .cbz files +Comment=Visualize USD files Exec=usdview Icon=applications-graphics Terminal=false From 4db9c4ac28b23daac75225527f40bafc440536d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cabello?= Date: Sun, 29 Dec 2024 15:09:41 +0000 Subject: [PATCH 2/4] Add temporary hack to find OpenGL See: https://github.com/PixarAnimationStudios/OpenUSD/issues/3310 --- usd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usd.spec b/usd.spec index b9bbeef..4d3a14c 100644 --- a/usd.spec +++ b/usd.spec @@ -579,6 +579,11 @@ desktop-file-install \ %{SOURCE1} %endif +# Little hack until this issue is resolved +# https://github.com/PixarAnimationStudios/OpenUSD/issues/3310 +sed -i 's|OpenGL::GL|${OPENGL_gl_LIBRARY}|g' \ + %{_libdir}/cmake/pxr/pxrConfig.cmake + # Remove examples that were built and installed even though we set # -DPXR_BUILD_EXAMPLES=OFF. rm -vrf '%{buildroot}%{_datadir}/usd/examples' From 33501ece8d9fb76457bed332d041526f55dd8be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cabello?= Date: Sun, 29 Dec 2024 15:57:48 +0000 Subject: [PATCH 3/4] Fixed hack path --- usd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usd.spec b/usd.spec index 4d3a14c..ddcdf3c 100644 --- a/usd.spec +++ b/usd.spec @@ -582,7 +582,7 @@ desktop-file-install \ # Little hack until this issue is resolved # https://github.com/PixarAnimationStudios/OpenUSD/issues/3310 sed -i 's|OpenGL::GL|${OPENGL_gl_LIBRARY}|g' \ - %{_libdir}/cmake/pxr/pxrConfig.cmake + %{buildroot}%{_libdir}/cmake/pxr/pxrConfig.cmake # Remove examples that were built and installed even though we set # -DPXR_BUILD_EXAMPLES=OFF. From 98a98be1715fae7a6861aa96cf54c87d8f08a018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cabello?= Date: Sun, 29 Dec 2024 20:32:00 +0000 Subject: [PATCH 4/4] Change mistake sed from pxrConfig to pxrTargets --- usd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usd.spec b/usd.spec index ddcdf3c..abccf2b 100644 --- a/usd.spec +++ b/usd.spec @@ -582,7 +582,7 @@ desktop-file-install \ # Little hack until this issue is resolved # https://github.com/PixarAnimationStudios/OpenUSD/issues/3310 sed -i 's|OpenGL::GL|${OPENGL_gl_LIBRARY}|g' \ - %{buildroot}%{_libdir}/cmake/pxr/pxrConfig.cmake + %{buildroot}%{_libdir}/cmake/pxr/pxrTargets.cmake # Remove examples that were built and installed even though we set # -DPXR_BUILD_EXAMPLES=OFF.