Check-in [89d8ca3eb2]
Overview
Comment:Added stripping of debugging symbols for Tk/Itcl
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:89d8ca3eb22c64b193e79b49e71be85d011aa967
User & Date: rkeene on 2010-09-26 04:37:27
Other Links: manifest | tags
Context
2010-09-26
04:37
Updated to give warnings when required packages failed to build

Updated to copy built Tclkit to current directory check-in: e062ee58fc user: rkeene tags: trunk

04:37
Added stripping of debugging symbols for Tk/Itcl check-in: 89d8ca3eb2 user: rkeene tags: trunk
04:37
Updated kitsh to use CFLAGS/CPPFLAGS/LDFLAGS

Updated kitsh comments check-in: 64d5a347c2 user: rkeene tags: trunk

Changes

Modified itcl/build.sh from [62e0471051] to [b421315dfc].

    31     31   
    32     32   (
    33     33   	cd 'build' || exit 1
    34     34   
    35     35   	gzip -dc "../${SRC}" | tar -xf -
    36     36   
    37     37   	cd "${BUILDDIR}" || exit 1
    38         -	./configure --enable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
           38  +	./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    39     39   
    40     40   	"${MAKE:-make}" || exit 1
    41     41   
    42     42   	"${MAKE:-make}" install
    43     43   
    44     44   	mkdir "${OUTDIR}/lib" || exit 1
    45     45   	cp -r "${INSTDIR}/lib"/itcl*/ "${OUTDIR}/lib/"
           46  +
           47  +	strip -g "${OUTDIR}"/lib/itcl*/*.so >/dev/null 2>/dev/null
           48  +
           49  +	exit 0
    46     50   ) || exit 1
    47     51   
    48     52   exit 0

Modified tk/build.sh from [bd63ad37a9] to [cdf646bab2].

    35     35   	cd "${BUILDDIR}" || exit 1
    36     36   	for dir in unix win macosx; do
    37     37   		# Remove previous directory's "tkConfig.sh" if found
    38     38   		rm -f 'tkConfig.sh'
    39     39   
    40     40   		cd "${BUILDDIR}/${dir}" || exit 1
    41     41   
    42         -		./configure --enable-shared --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
           42  +		./configure --enable-shared --disable-symbols --prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    43     43   
    44     44   		"${MAKE:-make}" || continue
    45     45   
    46     46   		"${MAKE:-make}" install
    47     47   
    48     48   		# Update pkgIndex to load libtk from the local directory rather
    49     49   		# than the parent directory
................................................................................
    52     52   			mv "${pkgIndex}.new" "${pkgIndex}"
    53     53   		done
    54     54   
    55     55   		mkdir "${OUTDIR}/lib" || exit 1
    56     56   		cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
    57     57   		cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
    58     58   
           59  +		strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
           60  +
    59     61   		break
    60     62   	done
           63  +
           64  +	exit 0
    61     65   ) || exit 1
    62     66   
    63     67   exit 0