Changeset ad3bf2c


Ignore:
Timestamp:
05/27/2006 03:12:42 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
6a49a38
Parents:
f1fadeb
Message:

Finished the support for GNOME and KDE meta-packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    rf1fadeb rad3bf2c  
    6363  echo -en "\tGenerating $TARGET dependencies tree ..."
    6464
     65  mkdir dependencies
     66
    6567  #---------------------
    6668  # Create target package dependencies list
     
    6870    # Skip the creation when all dependencies are circular.
    6971    alsa-lib | cracklib | libexif | unixodbc ) ;;
     72
    7073    # Meta-packages at target level
    7174    # KDE and Gnome-{core,full} could be made via packages.sh, but not sure yet how.
    72     alsa ) # When target "alsa", use all alsa-* packages
    73       mkdir dependencies
     75    alsa )
    7476      echo -e "alsa-oss\nalsa-firmware\nalsa-tools\nalsa-utils\n \
    75                alsa-plugins\nalsa-lib" > dependencies/$TARGET.dep
     77               alsa-plugins\nalsa-lib" > dependencies/alsa.dep
     78      ;;
     79    gnome-core )
     80      cp ../libs/gnome-core.dep dependencies/
     81      ;;
     82    gnome-full )
     83      cp ../libs/gnome-{core,full}.dep dependencies/
     84      ;;
     85    kde-core )
     86      cp ../libs/kde-core.dep dependencies/
     87      ;;
     88    kde-full )
     89      cp ../libs/kde-{core,full}.dep dependencies/
     90      ;;
     91    kde-koffice )
     92      cp ../libs/kde-{core,full}.dep dependencies/
     93      echo -e "koffice\nkde-full\nkde-core" > dependencies/kde-koffice.dep
    7694      ;;
    7795    xorg7 ) # At atarget level, add also x-config and x-setup
    78       mkdir dependencies
    7996      echo -e "x-config\nx-setup\nrman\nxterm2\nxorg7-driver\nxorg7-server\nluit\n \
    8097               xorg7-font\nxorg7-data\nxorg7-app\nxbitmaps\nmesalib\nlibdrm\n \
    81                xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/$TARGET.dep
     98               xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/xorg7.dep
    8299      ;;
    83100    * ) # Default
     
    96113  case $TARGET in
    97114    # If there is no usefull XML page, skip it.
    98     alsa | arts | gnome-core | gnome-full | kde-core | kde-full | kde-koffice ) ;;
     115    alsa | gnome-core | gnome-full | kde-core | kde-full | kde-koffice ) ;;
    99116    * )
    100117      echo -e "    $ENTRY_START$PKGXML$ENTRY_END" >> $TARGET-index.xml.tmp
     
    179196      db ) # The proper version of DB is installed in LFS
    180197        continue ;;
    181       hal-requirements ) # ID value don't have their own XML package file
     198      hal-requirements | hal-runtime-dependencies ) # Don't have their own XML file
    182199        continue ;;
    183200      perl-* | tk-perl )  DEP=perl-modules ;;
     
    228245        [[ "$PKG" = "alsa-plugins" ]] && continue
    229246        ;;
     247      akode )
     248        # Both are in the same page
     249        [[ "$PKG" = "kdemultimedia" ]] && continue
     250        ;;
    230251    esac
    231252
     
    238259      x-window-system | alsa ) ;; # No page for that (proper link must be created when generating the book)
    239260      xorg7 ) ;; # This page will be dump in the xorg7.xinc file
     261      gnome-core | kde-core | kde-full ) ;; # Invented packages
    240262      * )
    241263        # Remove the Xinclude entry if found
     
    256278        alsa ) # When dependency "alsa", use all alsa-* packages
    257279          echo -e "alsa-oss\nalsa-firmware\nalsa-tools\nalsa-utils\n \
    258                    alsa-plugins\nalsa-lib" > dependencies/$DEP.dep
     280                   alsa-plugins\nalsa-lib" > dependencies/alsa.dep
    259281          ;;
    260282        x-window-system ) # X11 alternatives
    261           echo -e "x-config\nx-setup\n$X11" > dependencies/$DEP.dep
     283          echo -e "x-config\nx-setup\n$X11" > dependencies/x-window-system.dep
    262284          ;;
    263285        xorg7 )
    264286          echo -e "rman\nxterm2\nxorg7-driver\nxorg7-server\nluit\nxorg7-font\n \
    265287                   xorg7-data\nxorg7-app\nxbitmaps\nmesalib\nlibdrm\n \
    266                    xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/$DEP.dep
     288                   xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/xorg7.dep
    267289          ;;
    268290        * ) xsltproc --stringparam dependencies $DEP_LV \
Note: See TracChangeset for help on using the changeset viewer.