- Timestamp:
- 05/27/2006 12:16:14 PM (18 years ago)
- Branches:
- experimental
- Children:
- ad3bf2c
- Parents:
- 2ca2992
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/func_dependencies
r2ca2992 rf1fadeb 66 66 # Create target package dependencies list 67 67 case $TARGET in 68 # Skip the creation when all dependencies are circular. 69 alsa-lib | cracklib | libexif | unixodbc ) ;; 68 70 # Meta-packages at target level 69 71 # KDE and Gnome-{core,full} could be made via packages.sh, but not sure yet how. … … 92 94 #--------------------- 93 95 # Write the XInclude 94 echo -e " $ENTRY_START$PKGXML$ENTRY_END" >> $TARGET-index.xml.tmp 96 case $TARGET in 97 # If there is no usefull XML page, skip it. 98 alsa | arts | gnome-core | gnome-full | kde-core | kde-full | kde-koffice ) ;; 99 * ) 100 echo -e " $ENTRY_START$PKGXML$ENTRY_END" >> $TARGET-index.xml.tmp 101 ;; 102 esac 95 103 96 104 #------------------P--- … … 176 184 177 185 # Orphan links (proper link must be created when generating the book) 178 arts ) DEP=aRts ;; # That should be fixed in the BLFS book186 arts ) DEP=aRts ;; 179 187 # Set values for alternative packages 180 188 # X is a meta-package, thus handled in another way. … … 187 195 #------------------ 188 196 echo -e "\tDEP for $PKG is $DEP" >> depure.txt 189 # Prevent circular dependencies when level 3 197 # Prevent circular dependencies 198 # If all dependencies are circular, the creation of the *.dep file 199 # must be skipped, not placed here, to avoid that the script will bomb 200 # due empty *.xinc files 190 201 case $DEP in 191 python )192 # cracklib-->python-->tk-->X-->linux-pam-->cracklib193 [[ "$PKG" = "cracklib" ]] && continue194 ;;195 202 jadetex | perl-* | lynx | Links | w3m ) 196 203 # Optional dependencies are runtime only … … 205 212 [[ "$PKG" = "cyrus-sasl" ]] && continue 206 213 ;; 207 doxygen )208 # alsa-lib-->doxygen-->graphviz-->jdk-->alsa-lib209 # Commented out due that it bomb "jdk 3" Why??210 #[[ "$PKG" = "alsa-lib" ]] && continue211 # libexif-->doxygen-->graphviz-->php-->libexif212 [[ "$PKG" = "libexif" ]] && continue213 ;;214 qt )215 # unixodbc-->qt-->unixodbc216 [[ "$PKG" = "unixodbc" ]] && continue217 ;;218 214 espgs ) 219 215 # sendmail-->espgs-->cups-->php-->sendmail 220 216 [[ "$PKG" = "$MAIL_SERVER" ]] && continue 221 217 ;; 222 graphviz )223 # libexif-->graphviz-->php-->libexif224 [[ "$PKG" = "libexif" ]] && continue225 ;;226 218 aRts ) 227 219 # esound-->aRts-->esound 228 220 [[ "$PKG" = "esound" ]] && continue 229 221 ;; 230 gimp )231 # imagemagick--> gimp-->imagemagick222 gimp | sane ) 223 # imagemagick-->{sane}-->gimp-->imagemagick 232 224 [[ "$PKG" = "imagemagick" ]] && continue 225 ;; 226 ffmpeg ) 227 # alsa-plugins-->ffmpeg-->several-->alsa-plugins 228 [[ "$PKG" = "alsa-plugins" ]] && continue 233 229 ;; 234 230 esac … … 240 236 echo -e "\t\tDEP_XML is $DEP_XML\n" >> depure.txt 241 237 case $DEP in 242 x-window-system ) ;; # No page for that (proper link must be created when generating the book)238 x-window-system | alsa ) ;; # No page for that (proper link must be created when generating the book) 243 239 xorg7 ) ;; # This page will be dump in the xorg7.xinc file 244 240 * ) … … 255 251 if [[ ! -f dependencies/$DEP.dep ]] ; then 256 252 case $DEP in 257 alsa-lib ) ;; # Only one optional dependency and is recursive. 258 # When placed inside the circular dependencies handler 259 # some packages may bomb. But I don't know yet why 253 # Skip the creation when all dependencies are circular. 254 alsa-lib | cracklib | libexif | unixodbc ) ;; 260 255 # Meta-packages at dependency level (ugly *.dep files, but work for now) 261 256 alsa ) # When dependency "alsa", use all alsa-* packages
Note:
See TracChangeset
for help on using the changeset viewer.