Changeset 16948 in niluje


Ignore:
Timestamp:
Mar 10, 2020, 3:41:23 AM (3 weeks ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Unbreak ncurses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r16947 r16948  
    20962096echo "* Building ncurses (narrowc) . . ."
    20972097echo ""
    2098 NCURSES_SOVER="6.1"
    2099 cd ..
    2100 tar -I pigz -xvf /usr/portage/distfiles/ncurses-6.2.tar.gz
    2101 cd ncurses-6.2
     2098NCURSES_SOVER="6.2"
     2099cd ..
     2100tar -I pigz -xvf /usr/portage/distfiles/ncurses-${NCURSES_SOVER}.tar.gz
     2101cd ncurses-${NCURSES_SOVER}
    21022102update_title_info
    21032103export CFLAGS="${BASE_CFLAGS}"
     
    21212121# NOTE: use our host's tic
    21222122MY_BASE_PATH="${PATH}"
    2123 export PATH="${TC_BUILD_DIR}/ncurses-6.1/${CBUILD}/progs:${PATH}"
    2124 export TIC_PATH="${TC_BUILD_DIR}/ncurses-6.1/${CBUILD}/progs/tic"
     2123export PATH="${TC_BUILD_DIR}/ncurses-${NCURSES_SOVER}/${CBUILD}/progs:${PATH}"
     2124export TIC_PATH="${TC_BUILD_DIR}/ncurses-${NCURSES_SOVER}/${CBUILD}/progs/tic"
    21252125cd ..
    21262126./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --with-terminfo-dirs="${DEVICE_USERSTORE}/usbnet/etc/terminfo:/etc/terminfo:/usr/share/terminfo" --with-pkg-config-libdir="${TC_BUILD_DIR}/lib/pkgconfig" --enable-pc-files --with-shared --without-hashed-db --without-ada --without-cxx --without-cxx-binding --without-debug --without-profile --without-gpm --disable-term-driver --disable-termcap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-hard-tabs --enable-echo --with-progs --disable-widec --without-pthread --without-reentrant --with-termlib --disable-stripping
     
    21482148echo ""
    21492149cd ..
    2150 rm -rf ncurses-6.1
    2151 tar -I pigz -xvf /usr/portage/distfiles/ncurses-6.1.tar.gz
    2152 cd ncurses-6.1
    2153 update_title_info
    2154 bzcat /usr/portage/distfiles/ncurses-6.1-20181020-patch.sh.bz2 > ncurses-6.1-20181020-patch.sh
    2155 sh ncurses-6.1-20181020-patch.sh
     2150rm -rf ncurses-${NCURSES_SOVER}
     2151tar -I pigz -xvf /usr/portage/distfiles/ncurses-${NCURSES_SOVER}.tar.gz
     2152cd ncurses-${NCURSES_SOVER}
     2153update_title_info
     2154#bzcat /usr/portage/distfiles/ncurses-6.1-20190609-patch.sh.bz2 > ncurses-6.1-20190609-patch.sh
     2155#sh ncurses-6.1-20190609-patch.sh
    21562156patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
    21572157patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-6.0-rxvt-unicode-9.15.patch
     
    21602160patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-6.0-ticlib.patch
    21612161patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-6.0-cppflags-cross.patch
     2162patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-6.2-no_user_ldflags_in_libs.patch
    21622163export CPPFLAGS="${BASE_CPPFLAGS} -D_GNU_SOURCE"
    21632164# NOTE: cross-compile fun times, build tic for our host, in case we're not running the same ncurses version...
     
    21682169# NOTE: use our host's tic
    21692170MY_BASE_PATH="${PATH}"
    2170 export PATH="${TC_BUILD_DIR}/ncurses-6.1/${CBUILD}/progs:${PATH}"
    2171 export TIC_PATH="${TC_BUILD_DIR}/ncurses-6.1/${CBUILD}/progs/tic"
     2171export PATH="${TC_BUILD_DIR}/ncurses-${NCURSES_SOVER}/${CBUILD}/progs:${PATH}"
     2172export TIC_PATH="${TC_BUILD_DIR}/ncurses-${NCURSES_SOVER}/${CBUILD}/progs/tic"
    21722173cd ..
    21732174./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --with-terminfo-dirs="${DEVICE_USERSTORE}/usbnet/etc/terminfo:/etc/terminfo:/usr/share/terminfo" --with-pkg-config-libdir="${TC_BUILD_DIR}/lib/pkgconfig" --enable-pc-files --with-shared --without-hashed-db --without-ada --without-cxx --without-cxx-binding --without-debug --without-profile --without-gpm --disable-term-driver --disable-termcap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-hard-tabs --enable-echo --with-progs --enable-widec --without-pthread --without-reentrant --with-termlib --includedir="${TC_BUILD_DIR}/include/ncursesw" --disable-stripping
Note: See TracChangeset for help on using the changeset viewer.