Projects
Extra
wxWidgets
wxWidgets-find-wx-requires
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxWidgets-find-wx-requires of Package wxWidgets
#! /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
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.