Ignore:
Timestamp:
08/17/2006 08:41:38 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
f2a45d9
Parents:
de14f6a
Message:

Pre-generating dep files for alsa, kde-koffice, and xorg7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    rde14f6a r323f805  
    7474
    7575    # Meta-packages at target level
    76     # KDE and Gnome-{core,full} could be made via packages.sh, but not sure yet how.
    7776    alsa )
    78       echo -e "alsa-oss\nalsa-firmware\nalsa-tools\nalsa-utils\n \
    79                alsa-plugins\nalsa-lib" > dependencies/alsa.dep
     77      cp ../libs/alsa.dep dependencies/
    8078      ;;
    8179    gnome-core )
     
    9290      ;;
    9391    kde-koffice )
    94       cp ../libs/kde-{core,full}.dep dependencies/
    95       echo -e "koffice\nkde-full\nkde-core" > dependencies/kde-koffice.dep
     92      cp ../libs/kde-{core,full,koffice}.dep dependencies/
    9693      ;;
    9794    xorg7 ) # At atarget level, add also x-config and x-setup
    98       echo -e "x-config\nx-setup\nrman\nxterm2\nxorg7-driver\nxorg7-server\nluit\n \
    99                xorg7-font\nxorg7-data\nxorg7-app\nxbitmaps\nmesalib\nlibdrm\n \
    100                xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/xorg7.dep
     95      cp ../libs/xorg7.dep dependencies/
    10196      ;;
    10297    * ) # Default
     
    273268        alsa-lib | cracklib | libexif | unixodbc ) ;;
    274269        # Meta-packages at dependency level (ugly *.dep files, but work for now)
    275         alsa ) # When dependency "alsa", use all alsa-* packages
    276           echo -e "alsa-oss\nalsa-firmware\nalsa-tools\nalsa-utils\n \
    277                    alsa-plugins\nalsa-lib" > dependencies/alsa.dep
     270        alsa )
     271          cp ../libs/alsa.dep dependencies/
    278272          ;;
    279273        kde-core )
     
    283277          echo -e "x-config\nx-setup\n$X11" > dependencies/x-window-system.dep
    284278          ;;
    285         xorg7 )
    286           echo -e "rman\nxterm2\nxorg7-driver\nxorg7-server\nluit\nxorg7-font\n \
    287                    xorg7-data\nxorg7-app\nxbitmaps\nmesalib\nlibdrm\n \
    288                    xorg7-lib\nxorg7-util\nxorg7-proto" > dependencies/xorg7.dep
     279        xorg7 ) # At dependencies level, remove x-config and x-setup
     280          cp ../libs/xorg7.dep dependencies/
     281          sed -i '/x-config/d;/x-setup/d' dependencies/xorg7.dep
    289282          ;;
    290283        * ) xsltproc --stringparam dependencies $DEP_LV \
     
    338331  if [[ "$PKG" = "xorg7" ]] ; then
    339332    # Add their XInclude
    340     PKG_XML=`grep "^$PKG[[:space:]]" ../packages | cut -f2`
     333    PKG_XML=blfs-xml/x/installing/xorg7.xml
    341334    echo -e "    $ENTRY_START$PKG_XML$ENTRY_END" >> xincludes/$PKG.xinc.tmp
    342335  fi
Note: See TracChangeset for help on using the changeset viewer.