Changeset 0fd8a9d


Ignore:
Timestamp:
10/15/2005 11:59:59 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
fd691b4
Parents:
3cc6f47
Message:

Added support for UTF-8 branch packages and patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r3cc6f47 r0fd8a9d  
    314314  -e '/generic/d' >> packages
    315315  echo `grep "glibc" packages | sed 's@glibc@glibc-linuxthreads@'` >> packages
     316  # If we are buildind the UTF-8 branch, the glibc-libidn package is required
     317  if grep -q "man-db-version" $BOOK/general.ent ; then
     318    echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages
     319  fi
    316320  grep "ENTITY" $BOOK/patches.ent | sed -e 's/.* "//' -e 's/">//' >> patches
    317321
     
    324328  cd $BUILDDIR/sources
    325329
    326   # Hackish fix for the bash-doc and glibc-linuxthreads packages that
     330  # Hackish fix for the bash-doc and glibc-{linuxthreads,libidn} packages that
    327331  # doesn't conform to norms in the URL scheme.
    328   DIR=`echo $1 | sed -e 's@-doc@@' -e 's@-linuxthreads@@'`
     332  DIR=`echo $1 | sed -e 's@-doc@@' -e 's@-linuxthreads@@' -e 's@-libidn@@'`
    329333
    330334  # Find the md5 sum for this package.
     
    381385    for i in `cat $JHALFSDIR/packages` ; do
    382386      PKG=`echo $i | sed 's/-version.*//'`
     387      # Needed for Groff patchlevel patch on UTF-8 branch
     388      GROFFLEVEL=`echo $i | sed -e 's/groff-patchlevel //' -e 's/"//g'`
    383389
    384390      # Someone used some silly entities right next to the valid package entities.
    385       if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" ] ; then continue ; fi
     391      if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" -o "$PKG" = "groff-patchlevel" ] ; then continue ; fi
    386392
    387393      VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'`
     
    394400      for patch in `grep "$PKG-&$PKG" $JHALFSDIR/patches` ; do
    395401        PATCH=`echo $patch | sed 's@&'$PKG'-version;@'$VRS'@'`
     402        download $PKG $PATCH
     403      done
     404      # Needed for Groff patchlevel patch on UTF-8 branch
     405      for patch in `grep "$PKG_&$PKG" $JHALFSDIR/patches` ; do
     406        PATCH=`echo $patch | sed 's@&'$PKG'-version;-&'$PKG'-patchlevel;@'$VRS'-'$GROFFLEVEL'@'`
    396407        download $PKG $PATCH
    397408      done
Note: See TracChangeset for help on using the changeset viewer.