Changeset View
Changeset View
Standalone View
Standalone View
appimage/kdevelop-recipe-centos6.sh
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Line(s) | |||||
272 | # Setting export QT_DEBUG_PLUGINS=1 revealed the cause. | 272 | # Setting export QT_DEBUG_PLUGINS=1 revealed the cause. | ||
273 | # QLibraryPrivate::loadPlugin failed on "/usr/lib64/qt5/plugins/platforms/libqxcb.so" : | 273 | # QLibraryPrivate::loadPlugin failed on "/usr/lib64/qt5/plugins/platforms/libqxcb.so" : | ||
274 | # "Cannot load library /usr/lib64/qt5/plugins/platforms/libqxcb.so: (/lib64/libEGL.so.1: undefined symbol: drmGetNodeTypeFromFd)" | 274 | # "Cannot load library /usr/lib64/qt5/plugins/platforms/libqxcb.so: (/lib64/libEGL.so.1: undefined symbol: drmGetNodeTypeFromFd)" | ||
275 | # Which means that we have to copy libEGL.so.1 in too | 275 | # Which means that we have to copy libEGL.so.1 in too | ||
276 | cp $(ldconfig -p | grep libEGL.so.1 | cut -d ">" -f 2 | xargs) ./usr/lib/ # Otherwise F23 cannot load the Qt platform plugin "xcb" | 276 | cp $(ldconfig -p | grep libEGL.so.1 | cut -d ">" -f 2 | xargs) ./usr/lib/ # Otherwise F23 cannot load the Qt platform plugin "xcb" | ||
277 | cp $(ldconfig -p | grep libxcb.so.1 | cut -d ">" -f 2 | xargs) ./usr/lib/ | 277 | cp $(ldconfig -p | grep libxcb.so.1 | cut -d ">" -f 2 | xargs) ./usr/lib/ | ||
278 | 278 | | |||
279 | ldd usr/bin/kdevelop | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | 279 | ldd usr/bin/kdevelop | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | ||
280 | cp /usr/bin/cmake usr/bin/cmake | | |||
281 | ldd usr/bin/cmake | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | | |||
282 | #ldd usr/lib64/kdevelop/*.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | 280 | #ldd usr/lib64/kdevelop/*.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | ||
283 | #ldd usr/lib64/plugins/imageformats/*.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | 281 | #ldd usr/lib64/plugins/imageformats/*.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | ||
284 | 282 | | |||
285 | ldd usr/lib/qt5/plugins/platforms/libqxcb.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | 283 | ldd usr/lib/qt5/plugins/platforms/libqxcb.so | grep "=>" | awk '{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true | ||
286 | 284 | | |||
287 | # Copy in the indirect dependencies | 285 | # Copy in the indirect dependencies | ||
288 | FILES=$(find . -type f -executable) | 286 | FILES=$(find . -type f -executable) | ||
289 | 287 | | |||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |