Changeset e91a15d for BLFS/libs


Ignore:
Timestamp:
11/23/2015 02:22:48 PM (9 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
d020649
Parents:
7ac11f0
Message:

Print external dependencies when printing the dependency tree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    r7ac11f0 re91a15d  
    7272                files: ../xsl/dependencies.xsl: stylesheet for creating the
    7373                                               .dep files
    74                        ../packages.xml:         Files containing packages id
     74                       ../packages.xml:         File containing packages id
    7575                                                and dependencies
    7676    returns:    0 if the tree has been successfully created
     
    112112    2) priostring=recommended ;;
    113113    3) priostring=optional ;;
     114    4) priostring=external ;;
    114115esac
    115116# start of DepFile
     
    121122    2) dpriostring=recommended ;;
    122123    3) dpriostring=optional ;;
     124    4) dpriostring=external ;;
    123125esac
    124126# count entries in file
     
    161163             # subtree computed. We are done
    162164  fi # Has this entry already been seen?
    163 # So, this entry has not already been seen. Let's build the corresponding
     165# So, this entry has not already been seen.
     166# If this is an external dep, just display it and go to next dep:
     167  if [ "$prio_of_dep" -eq 4 ]; then
     168    echo "${rootlink[*]} $count" > ${id_of_dep}.dep
     169    echo -en "\nLeaf: $(($depth+1))${spaceSTR:0:$(($depth+1))}${CYAN}${id_of_dep}${OFF} $dpriostring"
     170    continue
     171  fi
     172# Otherwise, let's build the corresponding
    164173# subtree. Since decisions about circular deps can lead us to start again
    165174# dependencies, we restart until the flag is false.
Note: See TracChangeset for help on using the changeset viewer.