From 2876869020584497e61a340d4ca3c4c8a8cbde7f Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 21 Feb 2009 12:43:42 +0000 Subject: undoing pyalsaaudio patch --- (limited to 'bin') diff --git a/bin/compile-archspec b/bin/compile-archspec deleted file mode 100755 index 2a5a042..0000000 --- a/bin/compile-archspec +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -set -e - -archsrcdir="$1" -archinstdir="$2" - -mkdir -p "${archinstdir}" -cp -a "${archsrcdir}"/* "${archinstdir}"/ -cd "${archinstdir}" -if [ -e configure ] ; then - ./configure --prefix="${archinstdir}" -fi - -make PREFIX="${archinstdir}" -make install PREFIX="${archinstdir}" - diff --git a/bin/wrapper b/bin/wrapper deleted file mode 100755 index 0d92661..0000000 --- a/bin/wrapper +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -set -e -instflag="${SUGAR_ACTIVITY_ROOT}/data/.installed" -cpu="$(uname -m)" -archsrcdir="${SUGAR_BUNDLE_PATH}/arch_src" -archbundledir="${SUGAR_BUNDLE_PATH}/arch_${cpu}" -archinstdir="${SUGAR_ACTIVITY_ROOT}/data/.arch_${cpu}" -pythonversion="$(python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)" - -if [ ! -e "${instflag}" ] ; then - curchecksum="$(find "${archsrcdir}" -type f -print0 | xargs -0 md5sum -- | md5sum)" - if [ "$cpu" = "unknown" -o ! -e "${archbundledir}" ] || [ "${curchecksum}" != "$(cat "${archbundledir}/checksum")" ] ; then - # unknown arch or no (current) precompiled binaries -> need to compile - compile-archspec "${archsrcdir}" "${archinstdir}" - fi - touch "${instflag}" -fi - -export LD_LIBRARY_PATH="${archinstdir}/lib:${archinstdir}/lib64:${LD_LIBRARY_PATH}" -export PYTHONPATH="${archinstdir}/lib/python${pythonversion}/site-packages:${PYTHONPATH}" - -exec "$@" -- cgit v0.9.1