Thanks to visit codestin.com
Credit goes to github.com

Skip to content

iquidus/slackdeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slackdeps

Usage: slackdeps [options] <package_filename>

slackdeps is used to test a .t{gz,bz,lz,xz} package to see if your Slackware system has the required dependencies. slackdeps may also be able to install any required packages. Any required packages or libraries missing from your system will be listed when the test completes. slackdeps can be used like this:
    slackdeps -i n /path/to/gimp-2.6.11-x86_64-1.txz
    
options:    -i, --install-available y|n (Install available required packages,
                                        prompts user if not set)
            -m, --multilib y|n          (Sets multilib to y or n,
                                        Auto-determined if not set)
            -e, --exclude <package_name>(Blacklists <package_name>)
            -I, --ignore-official-pkgs  (Ignores official Slackware packages,
            							Only 3rd party dependencies will be displayed)
            -c, --current-working-dir   (Test cwd instead of a package)
            -v, --version               (Prints $PRGNAM version)           
            -h, --help                  (Prints this message)

Exclude:
	Exclude adds a single package to the blacklist. <package_name> is the packages
	shortname, e.g glibc not glibc-ver-arch-build. It can be used like this:
		slackdeps -e glibc gimp-2.6.11-x86_64-1.txz
		slackdeps -c -e glibc
	
	To exclude multiple packages you can use the option more than once. e.g
		slackdeps -c -e glibc -e gcc

slackdeps is an experimental script, it is currently in testing, some bugs are to be expected. The current version of this script is 20120908, once more testing has taken place and I am happy with the scripts performance I'll change the version from a date format to a proper versioning system. If you experience any unexpected behaviour or have feedback of any kind please don't hesitate to contact the author/maintaner of this script.

Note: slackdeps is in no way affiliated with or supported by Slackware Linux, please don't bother the Slackware team with your enquiries. 

Requirements: Slackpkg gets used to identify any required libraries (if they belong to offical slackware packages) and also used to retrieve any required packages that are part of the slackware main tree. To obtain full functionality of this script you must have slackpkg installed on your system. However the script still has basic functionality without slackpkg. 

TODO: Script dependency support (perl, python, javascript etc)
	  SBo support. 

Changes in version 20120908 (xocel)
 * Removed slack-required support (keep flip flopping on this one) as
   this method of dependency resolution is very rarely used by package
   maintainers, if at all anymore.
 * Changed the --blacklist option to --ignore-official-pkgs as that 
   is how that feature is used most anyway.
 * Tidied up the script
     
Changes in version 20120704 (xocel)
 * Added -m & --multilib options to set multilib to y or n.
   If unset the value will be automatically determined, set to y if
   testing a 32bit package on a 64bit system. Otherwise set to n. 
 * Added Multilib support. Now when testing 32bit packages on 64bit
   system compat32 packages will be listed as requirements instead of
   the stock x86_64 packages.

Changes in version 20120706 (xocel)
 * Added better slack-required read support.
 * Added the option -c or --current-working-dir allowing
   the script to test the cwd instead of a package, useful for
   downloaded binaries, or running before makepkg with the -s 
   option
 * Re added the slack-required write feature this can be used to create
   the 'install/slack-required' file by using -s or --slack-required in 
   conjunction with the -c option of course.
   e.g "slackdeps -c -s" from the packages root directory.
	  
Luke Williams
[email protected] 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages