Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
wxWidgets-ansi
wxWidgets-find-wx-requires
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxWidgets-find-wx-requires of Package wxWidgets-ansi
#! /bin/bash # convert libwxfoo()() to libwxfoo(variant)()() for libraries inside wx libdir # # Notes: # - We do not use ldd, it fails to detect uninstalled libraries in the sysroot. # - The script is not able to recognize exact variant of wx libraries. # It expects, that it corresponds with just-installed devel packages. shopt -s nullglob RPM_BUILD_ROOT=$1 /usr/lib/rpm/find-requires |\ while read ; do case "$REPLY" in *'('*')' | *'('*')('*')' ) SONAME=${REPLY%%(*} NOT_WX=true for DIR in /usr/lib*/wx-*-* /usr/lib*/wx-*-*/wx/* "$RPM_BUILD_ROOT"/usr/lib*/wx-*-* "$RPM_BUILD_ROOT"/usr/lib*/wx-*-*/wx/* ; do if test -f "$DIR/$SONAME" ; then VARIANT=${DIR#*/usr/lib*/wx-*-} VARIANT=${VARIANT%%/*} echo "$SONAME($VARIANT)${REPLY#$SONAME}" NOT_WX=false break fi done if $NOT_WX ; then echo "$REPLY" fi ;; * ) echo "$REPLY" ;; esac done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor