[Openmcl-devel] minor issues arising from packaging CCL for Debian

Faheem Mitha faheem at faheem.info
Tue Jan 29 01:32:49 PST 2013


Hi,

A couple of small things that came up while packaging CCL for Debian.

We've decided to just go with packaging for i386 and amd64 for now. So, 
I've trimmed the tarball down by removing some unneeded files. The 
relevant section of the script is below. The files removed as as follows.

rm -rf $SOURCE_TMP_DIR/cocoa-ide $SOURCE_TMP_DIR/objc-bridge
$SOURCE_TMP_DIR/level-0/ARM $SOURCE_TMP_DIR/level-0/PPC
$SOURCE_TMP_DIR/level-1/arm-* $SOURCE_TMP_DIR/level-1/ppc-*
$SOURCE_TMP_DIR/compiler/ARM $SOURCE_TMP_DIR/compiler/PPC
$SOURCE_TMP_DIR/examples/cocoa

Does this look Ok?

Second, some of the populate.sh scripts used for generating the interfaces 
are missing the executable bit. See the lines starting with "Fix script 
permissions". I just checked this for i386 and amd64. There may be similar 
issues with the other archs. If you want me to file an issue for this, let 
me know.

Please copy me on any reply. Thanks.
                                                            Regards, Faheem

##########################################################################

SOURCE_TMP_DIR=$(mktemp -u tmp_XXXXX)
export CCL_VERSION=1.8
export CCL_WEB_PATH=/release/$(CCL_VERSION)

svn  -r $REV export svn://svn.clozure.com/openmcl/$CCL_WEB_PATH/source $SOURCE_TMP_DIR
svn export -r $REV svn://svn.clozure.com/openmcl/$CCL_WEB_PATH/x86-headers $SOURCE_TMP_DIR/x86-headers
svn export -r $REV svn://svn.clozure.com/openmcl/$CCL_WEB_PATH/x86-headers64 $SOURCE_TMP_DIR/x86-headers64

# Remove unnecessary files

rm -rf $SOURCE_TMP_DIR/cocoa-ide $SOURCE_TMP_DIR/objc-bridge 
$SOURCE_TMP_DIR/level-0/ARM $SOURCE_TMP_DIR/level-0/PPC 
$SOURCE_TMP_DIR/level-1/arm-* $SOURCE_TMP_DIR/level-1/ppc-* 
$SOURCE_TMP_DIR/compiler/ARM $SOURCE_TMP_DIR/compiler/PPC 
$SOURCE_TMP_DIR/examples/cocoa

# Fix script permissions

chmod -v ugo+x $SOURCE_TMP_DIR/x86-headers/gmp/C/populate.sh
chmod -v ugo+x $SOURCE_TMP_DIR/x86-headers/jni/C/populate.sh
chmod -v ugo+x $SOURCE_TMP_DIR/x86-headers64/gmp/C/populate.sh
chmod -v ugo+x $SOURCE_TMP_DIR/x86-headers64/jni/C/populate.sh
chmod -v ugo+x $SOURCE_TMP_DIR/x86-headers64/gnustep/C/populate.sh



More information about the Openmcl-devel mailing list