LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   [ANN]sbbdep 0.2.0 released with fixes improvements and new features (http://www.linuxquestions.org/questions/slackware-14/%5Bann%5Dsbbdep-0-2-0-released-with-fixes-improvements-and-new-features-4175461562/)

a4z 05-11-2013 12:42 PM

[ANN]sbbdep 0.2.0 released with fixes improvements and new features
 
with some delay caused by real live tasks I am very happy to be able to announce the release of Slackware Builds and Binaries Dependencies (Walker), in short sbbdep, version 0.2.0.

there where a lot of changes, here a shorted summary

fixes:
some issues with given arguments where fixed
some special handling of rpath for binaries corrected
some special sonames of libraries are respected

improvements:
dependencies to libelf and libfile removed, elf handling is now done with http://elfio.sourceforge.net/
the above mentioned fixes are improvements
the listed new features are also improvements


new feature:
sbbdep does now verbose more when creating / syncing the cache,
there is a --quiet option which will turn off these messages

--xdl feature works now for packages and files for both, whoneeds and what's needed, queries

given a file that is not a dynamic linked one, sbbdep will search in the installed packages to find matches for the file name.



short sample for xdl and whoneeds usage
Code:

./sbbdep --nosync --xdl --whoneeds  /var/adm/packages/boost-1.49.0-x86_64-3
/usr/lib64/libboost_chrono.so.1.49.0 (libboost_chrono.so.1.49.0)                                                                                                       
  boost-1.49.0-x86_64-3                                                                                                                                               
    /usr/lib64/libboost_timer.so.1.49.0                                                                                                                               
/usr/lib64/libboost_date_time.so.1.49.0 (libboost_date_time.so.1.49.0)                                                                                                 
  boost-1.49.0-x86_64-3                                                                                                                                               
    /usr/lib64/libboost_wave.so.1.49.0                                                                                                                                 
/usr/lib64/libboost_filesystem.so.1.49.0 (libboost_filesystem.so.1.49.0)                                                                                               
  boost-1.49.0-x86_64-3                                                                                                                                               
    /usr/lib64/libboost_wave.so.1.49.0                                                                                                                                 
/usr/lib64/libboost_program_options.so.1.49.0 (libboost_program_options.so.1.49.0)                                                                                     
  akonadi-1.9.0-x86_64-1alien                                                                                                                                         
    /usr/bin/akonadi_agent_launcher                                                                                                                                   
    /usr/bin/akonadi_agent_server                                                                                                                                     
    /usr/bin/akonadi_control
    /usr/bin/akonadi_rds
    /usr/bin/akonadictl
    /usr/bin/akonadiserver
/usr/lib64/libboost_python.so.1.49.0 (libboost_python.so.1.49.0)
  kig-4.10.3-x86_64-1alien
    /usr/lib64/kde4/kigpart.so
/usr/lib64/libboost_regex.so.1.49.0 (libboost_regex.so.1.49.0)
  boost-1.49.0-x86_64-3
    /usr/lib64/libboost_graph.so.1.49.0
/usr/lib64/libboost_serialization.so.1.49.0 (libboost_serialization.so.1.49.0)
  boost-1.49.0-x86_64-3
    /usr/lib64/libboost_wserialization.so.1.49.0
/usr/lib64/libboost_system.so.1.49.0 (libboost_system.so.1.49.0)
  boost-1.49.0-x86_64-3
    /usr/lib64/libboost_chrono.so.1.49.0
    /usr/lib64/libboost_filesystem.so.1.49.0
    /usr/lib64/libboost_timer.so.1.49.0
    /usr/lib64/libboost_wave.so.1.49.0
/usr/lib64/libboost_thread.so.1.49.0 (libboost_thread.so.1.49.0)
  boost-1.49.0-x86_64-3
    /usr/lib64/libboost_locale.so.1.49.0
    /usr/lib64/libboost_wave.so.1.49.0



I am aware of the fact that the whoneeds option is for packages sometimes relative, if a lib is also in a different package.
This info is available within the program, but currently I am not sure how to display this info on the command line.

the command line output can become pretty long, and I would like to provide different report formats for output, I will see how I will handle this in future.
I am also start thinking about an (optional) gui for sbbdep.

here a xdl dependencies sample for a very small package

Code:

./sbbdep --nosync --xdl /var/adm/packages/bc-1.06.95-x86_64-2
file /usr/bin/bc needs:
  libc.so.6 found in:
    /lib64/libc-2.15.so( glibc-2.15_multilib-x86_64-7alien | glibc-solibs-2.15_multilib-x86_64-7alien )
  libncurses.so.5 found in:
    /lib64/libncurses.so.5.9( aaa_elflibs-14.0-x86_64-4 | ncurses-5.9-x86_64-1 )
  libreadline.so.5 found in:
    /usr/lib64/libreadline.so.5.2( aaa_elflibs-14.0-x86_64-4 | readline-5.2-x86_64-4 )
file /usr/bin/dc needs:
  libc.so.6 found in:
    /lib64/libc-2.15.so( glibc-2.15_multilib-x86_64-7alien | glibc-solibs-2.15_multilib-x86_64-7alien )


more information can be found here:
https://bitbucket.org/a4z/sbbdep

the source download can be found here
https://bitbucket.org/a4z/sbbdep_slk/downloads

Note: If you have an existing chache than this needs to be recreated with the new version. IF that's the case the app will inform you.


If you use sbbdep and find any problems, please report them here or in the bitbucket issue tracker

Feedback suggestions and feature requests are welcome.

Alien Bob 05-11-2013 05:30 PM

For the impatient, I updated the Slackware 14 packages I have for sbbdep: http://slackware.com/~alien/slackbuilds/sbbdep/

Eric

a4z 05-12-2013 03:25 AM

thanks alot Eric

mlangdn 05-12-2013 04:19 AM

Thanks a4z and Eric. :)


All times are GMT -5. The time now is 03:31 AM.