mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
initial import
This commit is contained in:
commit
de71016fb4
1
config/issue
Normal file
1
config/issue
Normal file
@ -0,0 +1 @@
|
|||||||
|
Welcome to GeeXboX
|
235
config/options
Normal file
235
config/options
Normal file
@ -0,0 +1,235 @@
|
|||||||
|
# Target system we want to cross compile for (i386/x86_64/powerpc)
|
||||||
|
TARGET_ARCH=i386
|
||||||
|
|
||||||
|
# Target platform we want to run GeeXboX on (keep it blank for generic)
|
||||||
|
# Available: linutop/easygate/eeepc
|
||||||
|
TARGET_PLATFORM=
|
||||||
|
|
||||||
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
|
# generated code.
|
||||||
|
case $TARGET_ARCH in
|
||||||
|
i386)
|
||||||
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
||||||
|
# athlon-fx athlon-mp athlon-xp athlon-4
|
||||||
|
# athlon-tbird athlon k6-3 k6-2 k6 geode
|
||||||
|
# (Intel CPUs) core2 nocona prescott pentium4[m] pentium3[m] pentium-m
|
||||||
|
# pentium2 pentiumpro pentium-mmx pentium
|
||||||
|
# i686 i586 i486 i386
|
||||||
|
# (VIA CPUs) c3 c3-2
|
||||||
|
#
|
||||||
|
#TARGET_CPU=i686
|
||||||
|
;;
|
||||||
|
|
||||||
|
x86_64)
|
||||||
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
||||||
|
# athlon-fx amdfam10 barcelona
|
||||||
|
# (Intel CPUs) core2 nocona
|
||||||
|
#
|
||||||
|
#TARGET_CPU=generic
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Build optimizations (size/speed)
|
||||||
|
OPTIMIZATIONS=size
|
||||||
|
|
||||||
|
# Target system library C (uClibc/glibc)
|
||||||
|
TARGET_LIBC=uClibc
|
||||||
|
|
||||||
|
# Library strip
|
||||||
|
LIBSTRIP=yes
|
||||||
|
|
||||||
|
# Need to point to your actual cc
|
||||||
|
# If you have ccache installed, take care that LOCAL_CC don't point to it
|
||||||
|
LOCAL_CC=`which gcc`
|
||||||
|
|
||||||
|
# Need to point to your actual g++
|
||||||
|
# If you have ccache installed, take care that LOCAL_CXX don't point to it
|
||||||
|
LOCAL_CXX=`which g++`
|
||||||
|
|
||||||
|
# Support C++ in toolchain
|
||||||
|
TOOLCHAIN_CXX=yes
|
||||||
|
|
||||||
|
# Theme (omc)
|
||||||
|
THEME=omc
|
||||||
|
|
||||||
|
# Resolution (640x480, 800x600, 1024x768, 1280x1024 or 1600x1200)
|
||||||
|
RESOLUTION=800x600
|
||||||
|
|
||||||
|
# Menu languages to include in the ISO (en is included by default)
|
||||||
|
# (ar/bg/br/ca/cs/de/es/en/et/fi/fr/gr/he/hu/it/nl/no/pl/ro/ru/sk/sr/sv/vn)
|
||||||
|
INCLUDED_LANGS="de"
|
||||||
|
|
||||||
|
# Menu language (ar/bg/br/ca/cs/de/en/es/et/fi/fr/gr/he/hu/it/nl/no/pl/ro/ru/sk/sr/sv/vn)
|
||||||
|
MENU_LANG=de
|
||||||
|
|
||||||
|
# Subtitle charset (ar/bg/br/ca/cs/de/en/es/et/fi/fr/gr/he/hu/it/nl/no/pl/ro/ru/sk/sr/sv/vn)
|
||||||
|
# Can also be set to a charset code (iso-8859-{1,2,6,7,8,9}/windows-125{0,1,3,6}/koi8-r)
|
||||||
|
# when empty it defaults to $MENU_LANG
|
||||||
|
SUB_CHARSET=
|
||||||
|
|
||||||
|
# Timezone to use (empty disables timezone support)
|
||||||
|
# if TARGET_LIBC=uClibc use a TZ environment string
|
||||||
|
# if TARGET_LIBC=glibc use a zoneinfo name and remember to set INCLUDED_TIMEZONES accordingly
|
||||||
|
TIMEZONE=
|
||||||
|
|
||||||
|
# Keymap (qwerty/azerty/qwertz)
|
||||||
|
KEYMAP=qwertz
|
||||||
|
|
||||||
|
# Remote to Use (pctv/logitech/hauppauge/realmagic/creative/leadtek/
|
||||||
|
# leadtek-pvr2000/RM-S6/RX-V850/animax/askey/avermedia/packard_bell/atiusb/
|
||||||
|
# atiusb2/LG/D-10/digimatrix/mceusb/streamzap/cinergy1400/nova-s-plus/twinhan/
|
||||||
|
# tosh-vt76f/flytv-prime/Medion-X10/imonknob/ultrax/dvico/MCE-X10)
|
||||||
|
REMOTE=atiusb
|
||||||
|
|
||||||
|
# Remote receiver to use (animax/askey/avermedia/atiusb/atiusb2/creative/
|
||||||
|
# hauppauge/homemade/irman/leadtek/leadtek-pvr2000/logitech/pctv/realmagic/
|
||||||
|
# digimatrix/mceusb/mceusb2/streamzap/cx88/imonknob/ultrax/dvico/MCE-X10)
|
||||||
|
RECEIVER=atiusb
|
||||||
|
|
||||||
|
# Use Extra Binary Codecs - RealMedia/WindowsMedia 9 (yes/no)
|
||||||
|
EXTRACODECS=no
|
||||||
|
|
||||||
|
# Use Extra Binary Firmwares - WiFi/DVB cards (yes/no)
|
||||||
|
EXTRAFIRMWARES=no
|
||||||
|
|
||||||
|
# Use Extra Non-Free Fonts, required for Asian Font Support (yes/no)
|
||||||
|
EXTRAFONTS=no
|
||||||
|
|
||||||
|
# Network Support (Samba shares and FTP Server) (yes/no)
|
||||||
|
NETWORK=yes
|
||||||
|
|
||||||
|
# Start network services ? (Anonymous Telnet and FTP server as root) (yes/no)
|
||||||
|
SERVICES=yes
|
||||||
|
|
||||||
|
# enable bootchart (yes/no)
|
||||||
|
BOOTCHART=yes
|
||||||
|
|
||||||
|
# Wireless network support (yes/no)
|
||||||
|
WIFI=yes
|
||||||
|
|
||||||
|
# Use NdisWrapper for Windows network driver support (yes/no)
|
||||||
|
NDISWRAPPER=no
|
||||||
|
|
||||||
|
# Allow use of WPA_Supplicant for WPA-PSK secured wireless networks (yes/no)
|
||||||
|
WPA_SUPPLICANT=yes
|
||||||
|
|
||||||
|
# enable olsr protocol (yes/no)
|
||||||
|
OLSR=no
|
||||||
|
|
||||||
|
# Auto-discovery of UPnP MediaServer devices (yes/no)
|
||||||
|
UPNP=yes
|
||||||
|
|
||||||
|
# Add DXR3/Hollywood+ support (EXPERIMENTAL)
|
||||||
|
DXR3=no
|
||||||
|
|
||||||
|
# Add LIVE555 support (requires glibc and forces c++ support)
|
||||||
|
LIVE555=no
|
||||||
|
|
||||||
|
# Support for Python (yes/no)
|
||||||
|
PYTHON=yes
|
||||||
|
|
||||||
|
# Support for Pygame (yes/no)
|
||||||
|
PYGAME=yes
|
||||||
|
|
||||||
|
# Support for SDL library (yes/no)
|
||||||
|
SDL=yes
|
||||||
|
|
||||||
|
# Support for regular console mode (a.k.a. SD mode) (yes/no)
|
||||||
|
CONSOLE=yes
|
||||||
|
|
||||||
|
# Support for X.org server (a.k.a. HD mode) (yes/no)
|
||||||
|
XORG=yes
|
||||||
|
|
||||||
|
# X.org drivers to use (all/ati/geode/glint/i740/intel/mga/nv/openchrome/
|
||||||
|
# radeonhd/s3/s3virge/savage/sis/tdfx/trident/vesa/vmware)
|
||||||
|
# Space separated list is supported, e.g. XORG_DRIVERS="ati s3"
|
||||||
|
XORG_DRIVERS="intel nv s3 s3virge vesa via"
|
||||||
|
|
||||||
|
# Include nVidia proprietary X.Org video driver
|
||||||
|
NVIDIA=no
|
||||||
|
|
||||||
|
# Default boot method (geexbox/hdtv/install/debug/hdtvdebug)
|
||||||
|
BOOT_DEFAULT=
|
||||||
|
|
||||||
|
# Support for emulators (yes/no)
|
||||||
|
EMULATORS=yes
|
||||||
|
|
||||||
|
# Support for games (yes/no)
|
||||||
|
GAMES=yes
|
||||||
|
|
||||||
|
# Image viewer / dia show support (yes/no)
|
||||||
|
VIEW_IMG=no
|
||||||
|
|
||||||
|
# Allow addition of digimatrix-only support tools (yes/no)
|
||||||
|
DIGIMATRIX=no
|
||||||
|
|
||||||
|
# Default timeout in seconds for dia show (0 to disable)
|
||||||
|
VIEW_IMG_TIMEOUT=10
|
||||||
|
|
||||||
|
# LCD display support (yes/no)
|
||||||
|
LCD4LINUX=yes
|
||||||
|
|
||||||
|
# Enable LCD display by default (yes/no)
|
||||||
|
LCD_ENABLED=yes
|
||||||
|
|
||||||
|
# Select the LCD display model (cf. packages/lcd4linux/config/lcd4linux.conf)
|
||||||
|
# (SerDispLib / Trefon / LK204 / MI240 / CW12232 / CF631 / CF632 / CF633 /
|
||||||
|
# HD44780-generic / HD44780-winamp / HD44780-kernelconcepts / SC1602D /
|
||||||
|
# LCM-162 / HD44780-I2C / LCDTerm / SimpleLCD / M50530-24x8 / CT20x4 /
|
||||||
|
# USBLCD / BWCT / T6963-240x64)
|
||||||
|
LCD_MODEL=HD44780-winamp
|
||||||
|
LCD_WIDTH=16
|
||||||
|
LCD_HEIGHT=2
|
||||||
|
|
||||||
|
# enable debuging (debugging flags and enables gdb)
|
||||||
|
DEBUG=no
|
||||||
|
|
||||||
|
# enable gdb (yes/no)
|
||||||
|
GDB=yes
|
||||||
|
|
||||||
|
# enable devel tools (yes/no)
|
||||||
|
DEVTOOLS=yes
|
||||||
|
|
||||||
|
# verbose compilation mode (yes/no)
|
||||||
|
VERBOSE=yes
|
||||||
|
|
||||||
|
# modify the framebuffer settings to be VMware compliant (yes/no)
|
||||||
|
VMWARE=no
|
||||||
|
|
||||||
|
# download new sources when url file is updated (yes/no/ask)
|
||||||
|
AUTOUPDATE=ask
|
||||||
|
|
||||||
|
|
||||||
|
# Burning options
|
||||||
|
|
||||||
|
# device (ex: 0,0,0). See the output of cdrecord -scanbus.
|
||||||
|
BURNER=/dev/cdrw
|
||||||
|
|
||||||
|
# blank the CD-RW before burning (yes/no)
|
||||||
|
BLANK=yes
|
||||||
|
|
||||||
|
# you can also pass options to cdrecord :
|
||||||
|
CDRECORD_OPTS=
|
||||||
|
|
||||||
|
|
||||||
|
# PXE boot options (nfs/smb)
|
||||||
|
DEFAULT_PXE="nfs"
|
||||||
|
|
||||||
|
DEFAULT_NFS_SERVER=192.168.0.2
|
||||||
|
DEFAULT_NFS_DIR=/tftpboot/GEEXBOX
|
||||||
|
|
||||||
|
DEFAULT_SMB_SERVER=192.168.0.2
|
||||||
|
DEFAULT_SMB_DIR=/GEEXBOX
|
||||||
|
DEFAULT_SMB_USER=""
|
||||||
|
DEFAULT_SMB_PWD=""
|
||||||
|
|
||||||
|
|
||||||
|
# Concurrency make level (-j option)
|
||||||
|
# Try value 1 (default) to 4 on single CPU computer, or more on
|
||||||
|
# multi-processor computer (like hyperthreading SMP CPU)
|
||||||
|
CONCURRENCY_MAKE_LEVEL=1
|
||||||
|
|
||||||
|
# read personal options if available
|
||||||
|
test -f "$HOME/.geexbox-options" && . "$HOME/.geexbox-options"
|
||||||
|
|
||||||
|
. config/path
|
15
config/options.python
Normal file
15
config/options.python
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
PYTHON_DIR="`ls -d $ROOT/$BUILD/Python*`"
|
||||||
|
PYTHON_LIBDIR="`ls -d $ROOT/$TOOLCHAIN/lib/python*`"
|
||||||
|
#PYTHON_INCDIR="`ls -d $SYSROOT_PREFIX/usr/include/python*`"
|
||||||
|
|
||||||
|
export PYTHON="$ROOT/$TOOLCHAIN/bin/python"
|
||||||
|
#export PATH="$PYTHON_DIR":$PATH
|
||||||
|
#export CFLAGS="$CFLAGS -I$PYTHON_INCDIR -I$SYSROOT_PREFIX/usr/include"
|
||||||
|
export LDSHARED="$CC -shared"
|
||||||
|
#export PYTHONHOME=$ROOT/$TOOLCHAIN
|
||||||
|
#export PYTHON_INCLUDES="`ls -d $ROOT/$TOOLCHAIN/include/python*`"
|
||||||
|
|
||||||
|
PYTHON_TOOLCHAIN_PATH=`ls -d $SYSROOT_PREFIX/usr/lib/python*/site-packages`
|
||||||
|
PYTHON_IMAGE_PATH=`ls -d $INSTALL/usr/lib/python*/site-packages`
|
||||||
|
|
||||||
|
export PYTHONPATH="$PYTHON_TOOLCHAIN_PATH:$PYTHON_IMAGE_PATH"
|
196
config/path
Normal file
196
config/path
Normal file
@ -0,0 +1,196 @@
|
|||||||
|
set -e
|
||||||
|
|
||||||
|
test -f config/target-$TARGET_PLATFORM && . config/target-$TARGET_PLATFORM
|
||||||
|
|
||||||
|
# determine architecture's family
|
||||||
|
TARGET_FAMILY=i686
|
||||||
|
TARGET_NAME=$TARGET_FAMILY-openelec-linux-uclibc
|
||||||
|
#determines TARGET_CPU, if not forced by user
|
||||||
|
TARGET_CPU=generic
|
||||||
|
|
||||||
|
GEEXBOX_VERSION=`cat VERSION`
|
||||||
|
CONFIG=config
|
||||||
|
SCRIPTS=scripts
|
||||||
|
PACKAGES=packages
|
||||||
|
SOURCES=sources
|
||||||
|
BUILD_BASE=build
|
||||||
|
BUILD=$BUILD_BASE.$TARGET_ARCH.$TARGET_LIBC
|
||||||
|
[ -n "$TARGET_PLATFORM" ] && BUILD=$BUILD.$TARGET_PLATFORM
|
||||||
|
STAMPS_NOARCH=.stamps
|
||||||
|
STAMPS=$BUILD/$STAMPS_NOARCH
|
||||||
|
DOCS=DOCS
|
||||||
|
ROOT=`pwd`
|
||||||
|
TOOLCHAIN=$BUILD/toolchain
|
||||||
|
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||||
|
LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||||
|
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||||
|
|
||||||
|
HOST_NAME_CACHE=$BUILD/configtools/host_name
|
||||||
|
if [ -f $HOST_NAME_CACHE ]; then
|
||||||
|
HOST_NAME=`cat $HOST_NAME_CACHE`
|
||||||
|
elif [ -x $BUILD/configtools/config.guess ]; then
|
||||||
|
HOST_NAME=`$BUILD/configtools/config.guess`
|
||||||
|
fi
|
||||||
|
|
||||||
|
MAKE="$ROOT/$TOOLCHAIN/bin/make"
|
||||||
|
MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make DESTDIR=$SYSROOT_PREFIX install"
|
||||||
|
SED="sed -i"
|
||||||
|
|
||||||
|
CONFIGURE=" ./configure --host=$TARGET_NAME
|
||||||
|
--build=$HOST_NAME
|
||||||
|
--prefix=/usr
|
||||||
|
--sysconfdir=/etc
|
||||||
|
--localstatedir=/var
|
||||||
|
--disable-static
|
||||||
|
--enable-shared"
|
||||||
|
|
||||||
|
CONFIGURESTATIC=" ./configure --host=$TARGET_NAME
|
||||||
|
--build=$HOST_NAME
|
||||||
|
--prefix=/usr
|
||||||
|
--sysconfdir=/etc
|
||||||
|
--localstatedir=/var
|
||||||
|
--enable-static
|
||||||
|
--disable-shared"
|
||||||
|
|
||||||
|
XORG_PATH_ENCODINGS=/usr/share/X11/encodings
|
||||||
|
XORG_PATH_FONTS=/usr/share/X11/fonts
|
||||||
|
XORG_PATH_MAPS=$XORG_PATH_FONTS/util
|
||||||
|
XORG_PATH_DRI=/usr/lib/dri
|
||||||
|
XORG_PATH_XKB=/usr/share/X11/xkb
|
||||||
|
XORG_PATH_XKB_OUTPUT=/var/lib/xkb
|
||||||
|
XORG_PATH_RGB=/usr/lib/X11/rgb
|
||||||
|
XORG_PATH_MODULES=/usr/lib/xorg/modules
|
||||||
|
|
||||||
|
TOOLCHAIN_LANGUAGES=c
|
||||||
|
[ "$TOOLCHAIN_CXX" = yes ] && TOOLCHAIN_LANGUAGES=${TOOLCHAIN_LANGUAGES},c++
|
||||||
|
|
||||||
|
[ "$OPTIMIZATIONS" = speed ] && GCC_OPTIM="-O3" || GCC_OPTIM="-Os"
|
||||||
|
|
||||||
|
TARGET_CC=${TARGET_PREFIX}gcc
|
||||||
|
TARGET_CXX=${TARGET_PREFIX}g++
|
||||||
|
TARGET_LD=${TARGET_PREFIX}ld
|
||||||
|
TARGET_AS=${TARGET_PREFIX}as
|
||||||
|
TARGET_AR=${TARGET_PREFIX}ar
|
||||||
|
TARGET_NM=${TARGET_PREFIX}nm
|
||||||
|
TARGET_RANLIB=${TARGET_PREFIX}ranlib
|
||||||
|
TARGET_OBJCOPY=${TARGET_PREFIX}objcopy
|
||||||
|
TARGET_STRIP=${TARGET_PREFIX}strip
|
||||||
|
TARGET_CPPFLAGS=
|
||||||
|
TARGET_CFLAGS="$GCC_OPTIM -Wall -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mtune=$TARGET_CPU"
|
||||||
|
TARGET_CXXFLAGS="$GCC_OPTIM -Wall -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mtune=$TARGET_CPU"
|
||||||
|
TARGET_LDFLAGS=
|
||||||
|
|
||||||
|
#if [ "$DEBUG" = yes ]; then
|
||||||
|
# TARGET_CFLAGS="$TARGET_CFLAGS -g3"
|
||||||
|
# TARGET_CXXFLAGS="$TARGET_CXXFLAGS -g3"
|
||||||
|
# TARGET_STRIP=true
|
||||||
|
#else
|
||||||
|
TARGET_CFLAGS="$TARGET_CFLAGS -s -fomit-frame-pointer"
|
||||||
|
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -s -fomit-frame-pointer"
|
||||||
|
TARGET_LDFLAGS="$TARGET_LDFLAGS -s"
|
||||||
|
#fi
|
||||||
|
|
||||||
|
HOST_AWK=gawk
|
||||||
|
HOST_CC=$ROOT/$TOOLCHAIN/bin/host-gcc
|
||||||
|
HOST_CXX=$ROOT/$TOOLCHAIN/bin/host-g++
|
||||||
|
HOST_LD=ld
|
||||||
|
HOST_AS=as
|
||||||
|
HOST_AR=ar
|
||||||
|
HOST_NM=nm
|
||||||
|
HOST_RANLIB=ranlib
|
||||||
|
HOST_OBJCOPY=objcopy
|
||||||
|
HOST_STRIP=strip
|
||||||
|
HOST_CPPFLAGS=""
|
||||||
|
HOST_CFLAGS="-O2 -Wall -pipe"
|
||||||
|
HOST_LDFLAGS=""
|
||||||
|
|
||||||
|
export CCACHE_DIR=$ROOT/$BUILD/.ccache
|
||||||
|
export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
|
||||||
|
export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
|
||||||
|
|
||||||
|
if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
|
||||||
|
export PATH="$ROOT/$TOOLCHAIN/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
setup_toolchain() {
|
||||||
|
if [ "$1" = "--optimize" ]; then
|
||||||
|
OPTIMIZE=yes
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = target ]; then
|
||||||
|
export CC=$TARGET_CC
|
||||||
|
export CXX=$TARGET_CXX
|
||||||
|
export LD=$TARGET_LD
|
||||||
|
export AS=$TARGET_AS
|
||||||
|
export AR=$TARGET_AR
|
||||||
|
export NM=$TARGET_NM
|
||||||
|
export RANLIB=$TARGET_RANLIB
|
||||||
|
export OBJCOPY=$TARGET_OBJCOPY
|
||||||
|
export STRIP=$TARGET_STRIP
|
||||||
|
export CPPFLAGS="$TARGET_CPPFLAGS"
|
||||||
|
export CFLAGS="$TARGET_CFLAGS"
|
||||||
|
export CXXFLAGS="$TARGET_CXXFLAGS"
|
||||||
|
export LDFLAGS="$TARGET_LDFLAGS"
|
||||||
|
elif [ "$1" = host ]; then
|
||||||
|
export AWK=$HOST_AWK
|
||||||
|
export CC=$HOST_CC
|
||||||
|
export CXX=$HOST_CXX
|
||||||
|
export LD=$HOST_LD
|
||||||
|
export AS=$HOST_AS
|
||||||
|
export AR=$HOST_AR
|
||||||
|
export NM=$HOST_NM
|
||||||
|
export RANLIB=$HOST_RANLIB
|
||||||
|
export OBJCOPY=$HOST_OBJCOPY
|
||||||
|
export STRIP=$HOST_STRIP
|
||||||
|
export CPPFLAGS="$HOST_CPPFLAGS"
|
||||||
|
export CFLAGS="$HOST_CFLAGS"
|
||||||
|
export CXXFLAGS="$HOST_CXXFLAGS"
|
||||||
|
export LDFLAGS="$HOST_LDFLAGS"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
setup_toolchain target
|
||||||
|
|
||||||
|
SILENT_OUT=3
|
||||||
|
VERBOSE_OUT=4
|
||||||
|
if [ "$VERBOSE" = yes ]; then
|
||||||
|
exec 3>&1
|
||||||
|
exec 4>&2
|
||||||
|
else
|
||||||
|
exec 3>&2
|
||||||
|
exec 4>/dev/null
|
||||||
|
fi
|
||||||
|
INDENT_SIZE=4
|
||||||
|
|
||||||
|
GEEXBOX_SRCS=http://www.geexbox.org/src/$GEEXBOX_VERSION
|
||||||
|
[ "$GEEXBOX_VERSION" = devel ] && GEEXBOX_VERSION=$GEEXBOX_VERSION-`date +%Y%m%d` #-r`hg tip --template={rev}`
|
||||||
|
[ -n "$GEEXBOX_VERSION_EXTRA" ] && GEEXBOX_VERSION=$GEEXBOX_VERSION-$GEEXBOX_VERSION_EXTRA
|
||||||
|
|
||||||
|
VERSION_SUFFIX=$TARGET_ARCH
|
||||||
|
[ -n "$TARGET_PLATFORM" ] && VERSION_SUFFIX=$TARGET_PLATFORM
|
||||||
|
|
||||||
|
ISO=geexbox-$GEEXBOX_VERSION-$MENU_LANG.$VERSION_SUFFIX.iso
|
||||||
|
GENERATOR_NAME=geexbox-generator-$GEEXBOX_VERSION.$VERSION_SUFFIX
|
||||||
|
PXE_NAME=geexbox-pxe/GEEXBOX.$VERSION_SUFFIX
|
||||||
|
VMX_NAME=geexbox-vmx
|
||||||
|
|
||||||
|
|
||||||
|
kernel_path() {
|
||||||
|
ls -d $ROOT/$BUILD/linux*
|
||||||
|
}
|
||||||
|
|
||||||
|
require_glibc() {
|
||||||
|
if [ "$TARGET_LIBC" != glibc ]; then
|
||||||
|
echo "$1 requires glibc, aborting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
require_cxx() {
|
||||||
|
if [ "$TOOLCHAIN_CXX" != yes ]; then
|
||||||
|
echo "$1 requires C++ toolchain support, aborting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDED_LANGS="en $MENU_LANG $INCLUDED_LANGS"
|
53
packages/accessibility/atk/build
Executable file
53
packages/accessibility/atk/build
Executable file
@ -0,0 +1,53 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build glib
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
ac_cv_func_posix_getpwuid_r=yes \
|
||||||
|
glib_cv_stack_grows=no glib_cv_uscore=no \
|
||||||
|
ac_cv_func_strtod=yes ac_fsusage_space=yes \
|
||||||
|
fu_cv_sys_stat_statfs2_bsize=yes ac_cv_func_closedir_void=no \
|
||||||
|
ac_cv_func_getloadavg=no ac_cv_lib_util_getloadavg=no \
|
||||||
|
ac_cv_lib_getloadavg_getloadavg=no ac_cv_func_getgroups=yes \
|
||||||
|
ac_cv_func_getgroups_works=yes ac_cv_func_chown_works=yes \
|
||||||
|
ac_cv_have_decl_euidaccess=no ac_cv_func_euidaccess=no \
|
||||||
|
ac_cv_have_decl_strnlen=yes ac_cv_func_strnlen_working=yes \
|
||||||
|
ac_cv_func_lstat_dereferences_slashed_symlink=yes ac_cv_func_lstat_empty_string_bug=no \
|
||||||
|
ac_cv_func_stat_empty_string_bug=no vb_cv_func_rename_trailing_slash_bug=no \
|
||||||
|
ac_cv_have_decl_nanosleep=yes jm_cv_func_nanosleep_works=yes \
|
||||||
|
gl_cv_func_working_utimes=yes ac_cv_func_utime_null=yes \
|
||||||
|
ac_cv_have_decl_strerror_r=yes ac_cv_func_strerror_r_char_p=no \
|
||||||
|
jm_cv_func_svid_putenv=yes ac_cv_func_getcwd_null=yes \
|
||||||
|
ac_cv_func_getdelim=yes ac_cv_func_mkstemp=yes \
|
||||||
|
utils_cv_func_mkstemp_limitations=no utils_cv_func_mkdir_trailing_slash_bug=no \
|
||||||
|
ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes \
|
||||||
|
gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes \
|
||||||
|
ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes \
|
||||||
|
jm_cv_func_gettimeofday_clobber=no gl_cv_func_working_readdir=yes \
|
||||||
|
jm_ac_cv_func_link_follows_symlink=no utils_cv_localtime_cache=no \
|
||||||
|
ac_cv_struct_st_mtim_nsec=no gl_cv_func_tzset_clobber=no \
|
||||||
|
gl_cv_func_getcwd_null=yes gl_cv_func_getcwd_path_max=yes \
|
||||||
|
ac_cv_func_fnmatch_gnu=yes am_getline_needs_run_time_check=no \
|
||||||
|
am_cv_func_working_getline=yes gl_cv_func_mkdir_trailing_slash_bug=no \
|
||||||
|
gl_cv_func_mkstemp_limitations=no ac_cv_func_working_mktime=yes \
|
||||||
|
jm_cv_func_working_re_compile_pattern=yes ac_use_included_regex=no \
|
||||||
|
gl_cv_c_restrict=no ac_cv_path_GLIB_GENMARSHAL=/usr/bin/glib-genmarshal \
|
||||||
|
ac_cv_prog_F77=no ac_cv_prog_CXX=no ac_cv_path_PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config" \
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-glibtest \
|
||||||
|
--enable-explicit-deps=no \
|
||||||
|
--disable-debug
|
||||||
|
$MAKE
|
||||||
|
|
||||||
|
$STRIP $1/.libs/libatk*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
8
packages/accessibility/atk/install
Executable file
8
packages/accessibility/atk/install
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install glib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/$1/.libs/libatk*.so* $INSTALL/usr/lib
|
1
packages/accessibility/atk/url
Normal file
1
packages/accessibility/atk/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://ftp.gnome.org/pub/gnome/sources/atk/1.26/atk-1.26.0.tar.bz2
|
18
packages/audio/a52dec/build
Executable file
18
packages/audio/a52dec/build
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
|
||||||
|
CC=$HOST_CC make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
5
packages/audio/a52dec/unpack
Executable file
5
packages/audio/a52dec/unpack
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/fixconfigtools $BUILD/$1*/autotools
|
1
packages/audio/a52dec/url
Normal file
1
packages/audio/a52dec/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
|
24
packages/audio/alsa-lib/build
Executable file
24
packages/audio/alsa-lib/build
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-python \
|
||||||
|
--disable-dependency-tracking
|
||||||
|
|
||||||
|
$MAKE
|
||||||
|
|
||||||
|
$STRIP src/.libs/libasound.so*
|
||||||
|
|
||||||
|
$MAKE -C include DESTDIR=$SYSROOT_PREFIX install-data
|
||||||
|
$MAKE -C src DESTDIR=$SYSROOT_PREFIX install-exec
|
||||||
|
$MAKE -C utils DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|
13
packages/audio/alsa-lib/config/PMac.conf
Normal file
13
packages/audio/alsa-lib/config/PMac.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# configuration for PMac
|
||||||
|
|
||||||
|
<confdir:pcm/front.conf>
|
||||||
|
|
||||||
|
PMac.pcm.front.0 {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type string
|
||||||
|
}
|
||||||
|
type hw
|
||||||
|
card $CARD
|
||||||
|
device 0
|
||||||
|
}
|
14
packages/audio/alsa-lib/install
Executable file
14
packages/audio/alsa-lib/install
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/src/.libs/libasound.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/alsa
|
||||||
|
sed 's%.*~/\.asoundrc.*%%' $BUILD/$1*/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
||||||
|
|
||||||
|
cp -rf $BUILD/$1*/src/conf/cards $INSTALL/usr/share/alsa/
|
||||||
|
cp -rf $BUILD/$1*/src/conf/pcm $INSTALL/usr/share/alsa/
|
||||||
|
rm -f $INSTALL/usr/share/alsa/cards/Makefile*
|
||||||
|
rm -f $INSTALL/usr/share/alsa/pcm/Makefile*
|
37
packages/audio/alsa-lib/patches/10_wordexp.diff
Normal file
37
packages/audio/alsa-lib/patches/10_wordexp.diff
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
diff -Nur alsa-lib-1.0.11rc1.orig/src/userfile.c alsa-lib-1.0.11rc1/src/userfile.c
|
||||||
|
--- alsa-lib-1.0.11rc1.orig/src/userfile.c 2005-12-05 16:27:28.000000000 +0200
|
||||||
|
+++ alsa-lib-1.0.11rc1/src/userfile.c 2005-12-17 16:47:45.000000000 +0200
|
||||||
|
@@ -61,11 +61,31 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
#else /* !HAVE_WORDEXP_H */
|
||||||
|
+#include <glob.h>
|
||||||
|
+#include <assert.h>
|
||||||
|
+
|
||||||
|
/* just copy the string - would be nicer to expand by ourselves, though... */
|
||||||
|
int snd_user_file(const char *file, char **result)
|
||||||
|
{
|
||||||
|
- *result = strdup(file);
|
||||||
|
- if (! *result)
|
||||||
|
+ glob_t globbuf;
|
||||||
|
+ int err;
|
||||||
|
+
|
||||||
|
+ assert(file && result);
|
||||||
|
+ err = glob(file, 0, NULL, &globbuf);
|
||||||
|
+ switch (err) {
|
||||||
|
+ case GLOB_NOSPACE:
|
||||||
|
+ return -ENOMEM;
|
||||||
|
+ case 0:
|
||||||
|
+ if (globbuf.gl_pathc == 1)
|
||||||
|
+ break;
|
||||||
|
+ /* Fall through */
|
||||||
|
+ default:
|
||||||
|
+ globfree(&globbuf);
|
||||||
|
+ return -EINVAL;
|
||||||
|
+ }
|
||||||
|
+ *result = strdup(globbuf.gl_pathv[0]);
|
||||||
|
+ globfree(&globbuf);
|
||||||
|
+ if (*result == NULL)
|
||||||
|
return -ENOMEM;
|
||||||
|
return 0;
|
||||||
|
}
|
19
packages/audio/alsa-lib/patches/20_reduce.diff
Normal file
19
packages/audio/alsa-lib/patches/20_reduce.diff
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -Naur alsa-lib-1.0.4.orig/include/error.h alsa-lib-1.0.4/include/error.h
|
||||||
|
--- alsa-lib-1.0.4.orig/include/error.h 2004-04-27 00:16:40.000000000 +0200
|
||||||
|
+++ alsa-lib-1.0.4/include/error.h 2004-04-27 00:19:31.000000000 +0200
|
||||||
|
@@ -61,11 +61,11 @@
|
||||||
|
extern int snd_lib_error_set_handler(snd_lib_error_handler_t handler);
|
||||||
|
|
||||||
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||||
|
-#define SNDERR(...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, 0, __VA_ARGS__) /**< Shows a sound error message. */
|
||||||
|
-#define SYSERR(...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, errno, __VA_ARGS__) /**< Shows a system error message (related to \c errno). */
|
||||||
|
+#define SNDERR(...)
|
||||||
|
+#define SYSERR(...)
|
||||||
|
#else
|
||||||
|
-#define SNDERR(args...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, 0, ##args) /**< Shows a sound error message. */
|
||||||
|
-#define SYSERR(args...) snd_lib_error(__FILE__, __LINE__, __FUNCTION__, errno, ##args) /**< Shows a system error message (related to \c errno). */
|
||||||
|
+#define SNDERR(args...)
|
||||||
|
+#define SYSERR(args...)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** \} */
|
1
packages/audio/alsa-lib/url
Normal file
1
packages/audio/alsa-lib/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
|
20
packages/audio/alsa-utils/build
Executable file
20
packages/audio/alsa-utils/build
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build alsa-lib
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-alsamixer
|
||||||
|
|
||||||
|
$MAKE -C amixer
|
||||||
|
$STRIP amixer/amixer
|
112
packages/audio/alsa-utils/init.d/40_alsa
Executable file
112
packages/audio/alsa-utils/init.d/40_alsa
Executable file
@ -0,0 +1,112 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# setup alsa (especially the mixer config)
|
||||||
|
#
|
||||||
|
# runlevels: geexbox, debug, configure
|
||||||
|
|
||||||
|
echo "### Setting up sound card ###"
|
||||||
|
|
||||||
|
# include audio configuration file
|
||||||
|
. /etc/audio
|
||||||
|
|
||||||
|
[ ! -f /etc/asound.conf ] && echo "" > /etc/asound.conf
|
||||||
|
|
||||||
|
mixer() {
|
||||||
|
parm=${3:-on}
|
||||||
|
amixer -c $ALSA_CARD sset "$1" "$2" $parm >/dev/null 2>&1
|
||||||
|
amixer -c $ALSA_CARD sset "$1" $parm >/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
# set alsa channel mode (6ch, 4ch, 2ch)
|
||||||
|
mixer 'Channel Mode' "${CHANNELS}ch"
|
||||||
|
|
||||||
|
# set common mixer params
|
||||||
|
mixer Master 90%
|
||||||
|
mixer Front 90%
|
||||||
|
mixer PCM 90%
|
||||||
|
mixer Synth 90%
|
||||||
|
# mute CD, since using digital audio instead
|
||||||
|
mixer CD 0% mute
|
||||||
|
# Only unmute Line and Aux if they are possibly used.
|
||||||
|
if [ -e /var/use_dxr3 -o -e /var/tvcard -o -e /var/dvbcard -o -e /var/digimatrix ]; then
|
||||||
|
mixer Line 90%
|
||||||
|
mixer Aux 90%
|
||||||
|
else
|
||||||
|
mixer Line 0% mute
|
||||||
|
mixer Aux 0% mute
|
||||||
|
fi
|
||||||
|
# mute mic
|
||||||
|
mixer Mic 0% mute
|
||||||
|
# ESS 1969 chipset has 2 PCM channels
|
||||||
|
mixer PCM,1 90%
|
||||||
|
# Trident/YMFPCI/emu10k1
|
||||||
|
mixer Wave 100%
|
||||||
|
mixer Music 100%
|
||||||
|
mixer AC97 100%
|
||||||
|
mixer Surround 90%
|
||||||
|
mixer 'Surround Digital' 90%
|
||||||
|
mixer 'Wave Surround' 90%
|
||||||
|
if [ "$CHANNELS" = 6 ]; then
|
||||||
|
mixer 'Duplicate Front' 0% off
|
||||||
|
else
|
||||||
|
mixer 'Duplicate Front' 90%
|
||||||
|
fi
|
||||||
|
mixer 'Sigmatel 4-Speaker Stereo' 90%
|
||||||
|
# CS4237B chipset:
|
||||||
|
mixer 'Master Digital' 90%
|
||||||
|
# DRC
|
||||||
|
mixer 'Dynamic Range Compression' 90%
|
||||||
|
# Envy24 chips with analog outs
|
||||||
|
mixer DAC 90%
|
||||||
|
mixer DAC,0 90%
|
||||||
|
mixer DAC,1 90%
|
||||||
|
# some notebooks use headphone instead of master
|
||||||
|
mixer Headphone 90%
|
||||||
|
mixer 'Internal Speaker' 75%
|
||||||
|
mixer Playback 100%
|
||||||
|
|
||||||
|
mixer Center 90%
|
||||||
|
mixer LFE 90%
|
||||||
|
mixer Center/LFE 90%
|
||||||
|
|
||||||
|
# Required for newer Via hardware
|
||||||
|
mixer 'VIA DXS,0' 80%
|
||||||
|
mixer 'VIA DXS,1' 80%
|
||||||
|
mixer 'VIA DXS,2' 80%
|
||||||
|
mixer 'VIA DXS,3' 80%
|
||||||
|
|
||||||
|
# Intel P4P800-MX (Ubuntu bug #5813)
|
||||||
|
mixer 'Master Playback Switch' on
|
||||||
|
|
||||||
|
# Required at least for Via 823x hardware on DFI K8M800-MLVF Mobo
|
||||||
|
mixer 'IEC958 Capture Monitor' 0% off
|
||||||
|
|
||||||
|
# Required on some notebooks with ICH4:
|
||||||
|
mixer 'Headphone Jack Sense' 0% off
|
||||||
|
mixer 'Line Jack Sense' 0% off
|
||||||
|
|
||||||
|
# Required for either Analog or Digital output
|
||||||
|
mixer 'SB Live Analog/Digital Output Jack' $SBL_AUDIGY
|
||||||
|
mixer 'Audigy Analog/Digital Output Jack' $SBL_AUDIGY
|
||||||
|
|
||||||
|
# set SPDIF mixer params
|
||||||
|
if [ "$SOUNDCARD_MODE" = SPDIF ]; then
|
||||||
|
mixer 'IEC958' 90%
|
||||||
|
mixer 'IEC958 Output' 90%
|
||||||
|
mixer 'IEC958 Playback AC97-SPSA' $AC97_SPSA
|
||||||
|
mixer 'IEC958 Coaxial' 90%
|
||||||
|
mixer 'IEC958 LiveDrive' 90%
|
||||||
|
mixer 'IEC958 Optical Raw' 90%
|
||||||
|
mixer 'SPDIF Out' 90%
|
||||||
|
mixer 'SPDIF Front' 90%
|
||||||
|
mixer 'SPDIF Rear' 90%
|
||||||
|
mixer 'SPDIF Center/LFE' 90%
|
||||||
|
mixer 'Master Digital' 80%
|
||||||
|
else
|
||||||
|
mixer 'SPDIF Out' 0% off
|
||||||
|
mixer 'Analog Front' 90%
|
||||||
|
mixer 'Analog Rear' 90%
|
||||||
|
mixer 'Analog Center/LFE' 90%
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
7
packages/audio/alsa-utils/install
Executable file
7
packages/audio/alsa-utils/install
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
$SCRIPTS/install alsa-lib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp $BUILD/$1*/amixer/amixer $INSTALL/usr/bin
|
10
packages/audio/alsa-utils/need_unpack
Executable file
10
packages/audio/alsa-utils/need_unpack
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
STAMP=$STAMPS/$1/unpack
|
||||||
|
. $STAMP
|
||||||
|
|
||||||
|
test $STAMP_DEVTOOLS != $DEVTOOLS && rm -f $STAMP
|
||||||
|
|
||||||
|
exit 0
|
1
packages/audio/alsa-utils/url
Normal file
1
packages/audio/alsa-utils/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.19.tar.bz2
|
6
packages/audio/alsa/build
Executable file
6
packages/audio/alsa/build
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build alsa-lib
|
||||||
|
$SCRIPTS/build alsa-utils
|
18
packages/audio/alsa/config/alsa-base
Normal file
18
packages/audio/alsa/config/alsa-base
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#############################
|
||||||
|
# ALSA drivers load options #
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# Prevent abnormal drivers from grabbing index 0
|
||||||
|
options snd-bt87x index=-2
|
||||||
|
options cx88-alsa index=-2
|
||||||
|
options saa7134-alsa index=-2
|
||||||
|
options snd-atiixp-modem index=-2
|
||||||
|
options snd-intel8x0m index=-2
|
||||||
|
options snd-via82xx-modem index=-2
|
||||||
|
options snd-usb-audio index=-2
|
||||||
|
options snd-usb-usx2y index=-2
|
||||||
|
options snd-usb-caiaq index=-2
|
||||||
|
options snd-cmipci mpu_port=0x330 fm_port=0x388
|
||||||
|
|
||||||
|
# Some Toshiba laptops might require this
|
||||||
|
# options snd-hda-intel model=toshiba
|
35
packages/audio/alsa/config/audio
Normal file
35
packages/audio/alsa/config/audio
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Soundcard Configuration File
|
||||||
|
|
||||||
|
# Soundcard's ID (0 for first card, 1 for second, ...)
|
||||||
|
ALSA_CARD="0"
|
||||||
|
|
||||||
|
# Output mode (SPDIF or analog)
|
||||||
|
SOUNDCARD_MODE="analog"
|
||||||
|
|
||||||
|
# SPDIF passthrough mode (none, ac3, dts or ac3dts)
|
||||||
|
# (Note: in analog mode this option is ignored)
|
||||||
|
# none : software audio decoding for all streams
|
||||||
|
# ac3 : enable hardware passthrough for AC-3 streams only
|
||||||
|
# dts : enable hardware passthrough for DTS streams only
|
||||||
|
# ac3dts : enable hardware passthrough for both AC-3 and DTS streams
|
||||||
|
SPDIF_PT_MODE="none"
|
||||||
|
|
||||||
|
# IEC958 Playback AC97-SPSA Mode:
|
||||||
|
# 0. PCM1
|
||||||
|
# 1. PCM2,PCM1 (rear)
|
||||||
|
# 2. Centre and LFE
|
||||||
|
# 3. PCM3,Modem,Dedicated S/PDIF
|
||||||
|
# For SPDIF most users will want 0, but some users may need 3.
|
||||||
|
AC97_SPSA="0"
|
||||||
|
|
||||||
|
# Playback channels
|
||||||
|
# 2 - Stereo
|
||||||
|
# 4 - Surround
|
||||||
|
# 6 - Full 5.1
|
||||||
|
# note: in SPDIF and hardware AC3 decoder mode this option is ignored.
|
||||||
|
CHANNELS="2"
|
||||||
|
|
||||||
|
# SB Live/Audigy Analog/Digital Output Mode:
|
||||||
|
# 0: Suitable for some older SB Live! cards
|
||||||
|
# 1: Suitable for newer SB Live! and all Audigy cards
|
||||||
|
SBL_AUDIGY="1"
|
12
packages/audio/alsa/install
Executable file
12
packages/audio/alsa/install
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||||
|
|
||||||
|
$SCRIPTS/install alsa-lib
|
||||||
|
$SCRIPTS/install alsa-utils
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/modprobe.d
|
||||||
|
cp $PKG_DIR/config/alsa-base $INSTALL/etc/modprobe.d
|
||||||
|
cp $PKG_DIR/config/audio $INSTALL/etc
|
33
packages/audio/cdparanoia/build
Executable file
33
packages/audio/cdparanoia/build
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
export ac_cv_sizeof_short=2
|
||||||
|
export ac_cv_sizeof_int=4
|
||||||
|
export ac_cv_sizeof_long=4
|
||||||
|
export ac_cv_sizeof_long_long=8
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
|
||||||
|
|
||||||
|
$MAKE OPT="$CFLAGS -ffast-math"
|
||||||
|
|
||||||
|
#$MAKE prefix=$SYSROOT_PREFIX/usr install
|
||||||
|
|
||||||
|
#$STRIP {paranoia,interface}/libcdda_*.so*
|
||||||
|
#chmod -v 755 {paranoia,interface}/libcdda_*.so*
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -PR {paranoia,interface}/libcdda_*.a $SYSROOT_PREFIX/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||||
|
cp -PR {paranoia,interface}/cdda_*.h $SYSROOT_PREFIX/usr/include
|
1
packages/audio/cdparanoia/url
Normal file
1
packages/audio/cdparanoia/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz
|
20
packages/audio/faac/build
Executable file
20
packages/audio/faac/build
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./bootstrap
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--with-mp4v2
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP libfaac/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/faac/url
Normal file
1
packages/audio/faac/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://heanet.dl.sourceforge.net/sourceforge/faac/faac-1.26.tar.gz
|
21
packages/audio/faad2/build
Executable file
21
packages/audio/faad2/build
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--without-xmms \
|
||||||
|
--without-drm \
|
||||||
|
--without-mpeg4ip \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP libfaad/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
50
packages/audio/faad2/patches/01_xmms-autotools.diff
Normal file
50
packages/audio/faad2/patches/01_xmms-autotools.diff
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 01_xmms-autotools.dpatch by Matthew W. S. Bell <matthew@bells23.org.uk>
|
||||||
|
##
|
||||||
|
## All lines beginning with ## DP:' are a description of the patch.
|
||||||
|
## DP: Fix the configuration of the XMMS plugin using autotools
|
||||||
|
## DP: This patch has already been applied, and autoreconf called.
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad faad2.tmp~/configure.in faad2.tmp/configure.in
|
||||||
|
--- faad2.tmp~/configure.in 2007-10-15 00:41:42.000000000 +0100
|
||||||
|
+++ faad2.tmp/configure.in 2007-10-15 00:43:05.000000000 +0100
|
||||||
|
@@ -16,9 +16,9 @@
|
||||||
|
|
||||||
|
dnl Checks for programs.
|
||||||
|
AC_PROG_CC
|
||||||
|
-AC_PROG_CPP
|
||||||
|
-dnl disable for mpeg4ip plugin
|
||||||
|
-dnl AC_PROG_CXX
|
||||||
|
+dnl AC_PROG_CPP
|
||||||
|
+dnl enable for mpeg4ip plugin, rather than above
|
||||||
|
+AC_PROG_CXX
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
AC_PROG_LN_S
|
||||||
|
AC_PROG_MAKE_SET
|
||||||
|
@@ -129,10 +129,7 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x$WITHXMMS = xyes; then
|
||||||
|
- AC_CHECK_PROGS(XMMS_CONFIG, xmms-config,"not_found")
|
||||||
|
- if test "$XMMS_CONFIG" = "not_found"; then
|
||||||
|
- AC_MSG_ERROR("*** xmms-config not found - xmms plugin can't be build")
|
||||||
|
- fi
|
||||||
|
+ AM_PATH_XMMS()
|
||||||
|
AC_CHECK_HEADER(pthread.h,,
|
||||||
|
AC_MSG_ERROR(*** pthread headers support not installed or not found))
|
||||||
|
AC_CHECK_HEADER(id3.h,,
|
||||||
|
diff -urNad faad2.tmp~/plugins/xmms/src/Makefile.am faad2.tmp/plugins/xmms/src/Makefile.am
|
||||||
|
--- faad2.tmp~/plugins/xmms/src/Makefile.am 2007-10-15 00:42:18.000000000 +0100
|
||||||
|
+++ faad2.tmp/plugins/xmms/src/Makefile.am 2007-10-15 00:43:32.000000000 +0100
|
||||||
|
@@ -1,6 +1,7 @@
|
||||||
|
-local_CFLAGS=`$(XMMS_CONFIG) --cflags` -Wall
|
||||||
|
-local_LDFLAGS=`$(XMMS_CONFIG) --libs`
|
||||||
|
-libdir = `$(XMMS_CONFIG) --input-plugin-dir`
|
||||||
|
+local_CFLAGS=$(XMMS_CFLAGS) -Wall
|
||||||
|
+local_LDFLAGS=$(XMMS_LIBS)
|
||||||
|
+libdir = $(XMMS_INPUT_PLUGIN_DIR)
|
||||||
|
+
|
||||||
|
lib_LTLIBRARIES = libmp4.la
|
||||||
|
|
||||||
|
libmp4_la_CFLAGS = $(local_CFLAGS) -Wall \
|
1047
packages/audio/faad2/patches/02_public-headers.diff
Normal file
1047
packages/audio/faad2/patches/02_public-headers.diff
Normal file
File diff suppressed because it is too large
Load Diff
19
packages/audio/faad2/patches/04_mp4ff_h-fix.diff
Normal file
19
packages/audio/faad2/patches/04_mp4ff_h-fix.diff
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## mp4ff.h_fix.dpatch by <matthew@bells23.org.uk>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: Imported from Ubuntu
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad faad2.tmp~/common/mp4ff/mp4ff.h faad2.tmp/common/mp4ff/mp4ff.h
|
||||||
|
--- faad2.tmp~/common/mp4ff/mp4ff.h 2007-10-15 00:36:42.000000000 +0100
|
||||||
|
+++ faad2.tmp/common/mp4ff/mp4ff.h 2007-10-15 16:52:52.000000000 +0100
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
-#include "mp4ff_int_types.h"
|
||||||
|
+#include <stdint.h>
|
||||||
|
|
||||||
|
/* file callback structure */
|
||||||
|
typedef struct
|
56
packages/audio/faad2/patches/05_mp4ff-static-makefile.diff
Normal file
56
packages/audio/faad2/patches/05_mp4ff-static-makefile.diff
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 05_mp4ff-static_makefile.dpatch by <matthew@localhost.localdomain>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: Add a static build of mp4ff to Makefile
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad faad2-svn~/common/mp4ff/Makefile.am faad2-svn/common/mp4ff/Makefile.am
|
||||||
|
--- faad2-svn~/common/mp4ff/Makefile.am 2007-11-28 23:34:18.000000000 +0000
|
||||||
|
+++ faad2-svn/common/mp4ff/Makefile.am 2007-11-28 23:40:29.000000000 +0000
|
||||||
|
@@ -1,8 +1,9 @@
|
||||||
|
-noinst_LTLIBRARIES = libmp4ff.la
|
||||||
|
+lib_LIBRARIES = libmp4ff.a
|
||||||
|
+include_HEADERS = mp4ff.h mp4ffint.h
|
||||||
|
|
||||||
|
-libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
|
||||||
|
+libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
|
||||||
|
|
||||||
|
-libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
|
||||||
|
- mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
|
||||||
|
- drms.h drms.c drmstables.h
|
||||||
|
+libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
|
||||||
|
+ mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
|
||||||
|
+ drms.h drms.c drmstables.h
|
||||||
|
|
||||||
|
diff -urNad faad2-svn~/frontend/Makefile.am faad2-svn/frontend/Makefile.am
|
||||||
|
--- faad2-svn~/frontend/Makefile.am 2007-11-28 23:34:18.000000000 +0000
|
||||||
|
+++ faad2-svn/frontend/Makefile.am 2007-11-28 23:39:28.000000000 +0000
|
||||||
|
@@ -1,11 +1,11 @@
|
||||||
|
bin_PROGRAMS = faad
|
||||||
|
|
||||||
|
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
|
||||||
|
- -I$(top_srcdir)/common/mp4ff
|
||||||
|
+ -I$(top_srcdir)/common/mp4ff
|
||||||
|
|
||||||
|
faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
|
||||||
|
- $(top_builddir)/common/mp4ff/libmp4ff.la
|
||||||
|
+ $(top_builddir)/common/mp4ff/libmp4ff.a
|
||||||
|
|
||||||
|
faad_SOURCES = main.c \
|
||||||
|
- audio.c audio.h \
|
||||||
|
- $(top_srcdir)/common/faad/getopt.c
|
||||||
|
+ audio.c audio.h \
|
||||||
|
+ $(top_srcdir)/common/faad/getopt.c
|
||||||
|
diff -urNad faad2-svn~/plugins/xmms/src/Makefile.am faad2-svn/plugins/xmms/src/Makefile.am
|
||||||
|
--- faad2-svn~/plugins/xmms/src/Makefile.am 2007-11-28 23:38:02.000000000 +0000
|
||||||
|
+++ faad2-svn/plugins/xmms/src/Makefile.am 2007-11-28 23:38:02.000000000 +0000
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
-I$(top_srcdir)/include -I$(top_srcdir)/common/mp4ff
|
||||||
|
|
||||||
|
libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
|
||||||
|
- $(top_builddir)/common/mp4ff/libmp4ff.la
|
||||||
|
+ $(top_builddir)/common/mp4ff/libmp4ff.a
|
||||||
|
|
||||||
|
libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread
|
||||||
|
|
20
packages/audio/faad2/patches/07_remove-static.diff
Normal file
20
packages/audio/faad2/patches/07_remove-static.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## mp4ff.c_remove-static.dpatch by <matthew@bells23.org.uk>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: Imported from Ubuntu
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
|
||||||
|
diff -Nur faad2-2.0.0clean-old/common/mp4ff/mp4ff.c faad2-2.0.0/common/mp4ff/mp4ff.c
|
||||||
|
--- faad2-2.0.0clean-old/common/mp4ff/mp4ff.c 2005-07-15 18:58:03.807969368 +0000
|
||||||
|
+++ faad2-2.0.0/common/mp4ff/mp4ff.c 2005-07-15 19:00:22.142939256 +0000
|
||||||
|
@@ -105,7 +105,7 @@
|
||||||
|
if (ff) free(ff);
|
||||||
|
}
|
||||||
|
|
||||||
|
-static void mp4ff_track_add(mp4ff_t *f)
|
||||||
|
+void mp4ff_track_add(mp4ff_t *f)
|
||||||
|
{
|
||||||
|
f->total_tracks++;
|
||||||
|
|
96
packages/audio/faad2/patches/10_faad-man.diff
Normal file
96
packages/audio/faad2/patches/10_faad-man.diff
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 10_faad-man.dpatch by <matthew@ibis.bells>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: No description.
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man
|
||||||
|
--- faad2-2.6.1~/frontend/faad.man 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:19:24.000000000 +0100
|
||||||
|
@@ -0,0 +1,85 @@
|
||||||
|
+.TH FAAD "1" "October 2006" "faad 2.5" ""
|
||||||
|
+.SH NAME
|
||||||
|
+faad \(em Process an Advanced Audio Codec stream
|
||||||
|
+
|
||||||
|
+.SH "SYNOPSIS"
|
||||||
|
+.B faad
|
||||||
|
+[options] [\-w | \-o <output_filename> | \-a <output_filename>] input_filename
|
||||||
|
+
|
||||||
|
+.SH "DESCRIPTION"
|
||||||
|
+This utility provides a command line interface to libfaad2. This program reads in MPEG\(hy4 AAC files, processes, and outputs them in either Microsoft WAV, MPEG\(hy4 AAC ADTS, or standard PCM formats.
|
||||||
|
+
|
||||||
|
+.SH "OPTIONS"
|
||||||
|
+.TP
|
||||||
|
+.BI \-a " <filename>" ", \-\^\-adtsout" " <filename>"
|
||||||
|
+Sets the processing to output to the specified file in MPEG\(hy4 AAC ADTS format
|
||||||
|
+.TP
|
||||||
|
+.BI \-b " <number>" ", \-\^\-bits" " <number>"
|
||||||
|
+Set the output (individual) sample format. The number takes one of the following values:
|
||||||
|
+.RS
|
||||||
|
+.RS
|
||||||
|
+1: 16\(hybit PCM data (default).
|
||||||
|
+.br
|
||||||
|
+2: 24\(hybit PCM data.
|
||||||
|
+.br
|
||||||
|
+3: 32\(hybit PCM data.
|
||||||
|
+.br
|
||||||
|
+4: 32\(hybit floating\hy(point data.
|
||||||
|
+.br
|
||||||
|
+5: 64\(hybit floating\hy(point data.
|
||||||
|
+.RE
|
||||||
|
+.RE
|
||||||
|
+.TP
|
||||||
|
+.B \-d ", \-\^\-downmix"
|
||||||
|
+Set the processing to downsample from 5.1 (surround sound and bass) channels to 2 channels (stereo).
|
||||||
|
+.TP
|
||||||
|
+.BI \-f " <number>" ", \-\^\-format" " <number>"
|
||||||
|
+Set the output file format. The number takes one of the following values:
|
||||||
|
+.RS
|
||||||
|
+.RS
|
||||||
|
+1: Microsoft WAV format (default).
|
||||||
|
+.br
|
||||||
|
+2: Raw PCM data.
|
||||||
|
+.RE
|
||||||
|
+.RE
|
||||||
|
+.TP
|
||||||
|
+.BI \-g
|
||||||
|
+Set the processing to not perform gapless decoding.
|
||||||
|
+.TP
|
||||||
|
+.B \-h ", \-\^\-help"
|
||||||
|
+Shows a usage summary.
|
||||||
|
+.TP
|
||||||
|
+.B \-i ", \-\^\-info"
|
||||||
|
+Shows information about the about the input file.
|
||||||
|
+.TP
|
||||||
|
+.BI \-l " <number>" ", \-\^\-objecttype" " <number>"
|
||||||
|
+Sets the MPEG\hy(4 profile and object type for the processing to use. The number takes one of the following values:
|
||||||
|
+.RS
|
||||||
|
+.RS
|
||||||
|
+1: Main object type.
|
||||||
|
+.br
|
||||||
|
+2: Low Complexity (LC) object type (default).
|
||||||
|
+.br
|
||||||
|
+4: Long Term Prediction (LTP) object type.
|
||||||
|
+.br
|
||||||
|
+23: Low Delay (LD) object type.
|
||||||
|
+.RE
|
||||||
|
+.RE
|
||||||
|
+.TP
|
||||||
|
+.BI \-o " <filename>" ", \-\^\-outfile" " <number>"
|
||||||
|
+Sets the filename for processing output.
|
||||||
|
+.TP
|
||||||
|
+.B \-q ", \-\^\-quiet"
|
||||||
|
+Quiet \- Suppresses status messages during processing.
|
||||||
|
+.TP
|
||||||
|
+.B \-t ", \-\^\-oldformat"
|
||||||
|
+Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format.
|
||||||
|
+.TP
|
||||||
|
+.B \-w ", \-\^\-stdio"
|
||||||
|
+Sets the processing output to be sent to the standard out.
|
||||||
|
+
|
||||||
|
+.SH "AUTHOR"
|
||||||
|
+Matthew W. S. Bell <matthew (at) bells23.org.uk>
|
||||||
|
+
|
||||||
|
+.SH "SEE ALSO"
|
||||||
|
+\fBfaac\fP(1)
|
35
packages/audio/faad2/patches/11_faad-stdio.diff
Normal file
35
packages/audio/faad2/patches/11_faad-stdio.diff
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 10_faad-stdio.dpatch by <matthew@ibis.bells>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: No description.
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man
|
||||||
|
--- faad2-2.6.1~/frontend/faad.man 2008-06-17 04:27:16.000000000 +0100
|
||||||
|
+++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:27:17.000000000 +0100
|
||||||
|
@@ -73,7 +73,7 @@
|
||||||
|
Quiet \- Suppresses status messages during processing.
|
||||||
|
.TP
|
||||||
|
.B \-t ", \-\^\-oldformat"
|
||||||
|
-Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format.
|
||||||
|
+Sets the processing output to be sent to the standard out. Only raw PCM may be sent to the standard out, as headers cannot currently be streamed.
|
||||||
|
.TP
|
||||||
|
.B \-w ", \-\^\-stdio"
|
||||||
|
Sets the processing output to be sent to the standard out.
|
||||||
|
diff -urNad faad2-2.6.1~/frontend/main.c faad2-2.6.1/frontend/main.c
|
||||||
|
--- faad2-2.6.1~/frontend/main.c 2007-11-01 12:33:29.000000000 +0000
|
||||||
|
+++ faad2-2.6.1/frontend/main.c 2008-06-17 03:58:33.000000000 +0100
|
||||||
|
@@ -1190,9 +1190,10 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/* only allow raw data on stdio */
|
||||||
|
- if (writeToStdio == 1)
|
||||||
|
+ if (writeToStdio && (format != 2))
|
||||||
|
{
|
||||||
|
- format = 2;
|
||||||
|
+ faad_fprintf(stderr, "Only raw PCM data (2) may be sent to the standard out.\n");
|
||||||
|
+ return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* point to the specified file name */
|
21
packages/audio/faad2/patches/12_heap_overflow.diff
Normal file
21
packages/audio/faad2/patches/12_heap_overflow.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
--- faad2-2.6.1\faad2\frontend\main.c 2007-11-01 13:33:30.000000000 -0700
|
||||||
|
+++ faad2-2.6.1/frontend/main.c 2008-09-16 11:01:40.000000000 -0700
|
||||||
|
@@ -911,12 +911,14 @@
|
||||||
|
if (sampleId == 0) dur = 0;
|
||||||
|
|
||||||
|
if (useAacLength || (timescale != samplerate)) {
|
||||||
|
sample_count = frameInfo.samples;
|
||||||
|
} else {
|
||||||
|
sample_count = (unsigned int)(dur * frameInfo.channels);
|
||||||
|
+ if (sample_count > frameInfo.samples)
|
||||||
|
+ sample_count = frameInfo.samples;
|
||||||
|
|
||||||
|
if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples))
|
||||||
|
{
|
||||||
|
faad_fprintf(stderr, "MP4 seems to have incorrect frame duration, using values from AAC data.\n");
|
||||||
|
useAacLength = 1;
|
||||||
|
sample_count = frameInfo.samples;
|
||||||
|
|
46142
packages/audio/faad2/patches/99_autotools-regenerated.diff
Normal file
46142
packages/audio/faad2/patches/99_autotools-regenerated.diff
Normal file
File diff suppressed because it is too large
Load Diff
7
packages/audio/faad2/unpack
Executable file
7
packages/audio/faad2/unpack
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
cp $BUILD/configtools/config.guess $BUILD/$1*/
|
||||||
|
cp $BUILD/configtools/config.sub $BUILD/$1*/
|
||||||
|
chmod a+x $BUILD/$1*/configure
|
1
packages/audio/faad2/url
Normal file
1
packages/audio/faad2/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://sources.openelec.tv/svn/faad2-2.6.1.tar.gz
|
280
packages/audio/flac/001-no_encoder.diff
Normal file
280
packages/audio/flac/001-no_encoder.diff
Normal file
@ -0,0 +1,280 @@
|
|||||||
|
diff -ru flac-1.1.2.OLD/build/lib.mk flac-1.1.2.NEW/build/lib.mk
|
||||||
|
--- flac-1.1.2.OLD/build/lib.mk 2005-01-25 15:10:47.000000000 +1100
|
||||||
|
+++ flac-1.1.2.NEW/build/lib.mk 2005-10-16 10:10:43.000000000 +1000
|
||||||
|
@@ -58,7 +58,7 @@
|
||||||
|
|
||||||
|
debug : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||||
|
valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||||
|
-release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||||
|
+release : CFLAGS = -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||||
|
|
||||||
|
LFLAGS = -L$(LIBPATH)
|
||||||
|
|
||||||
|
diff -ru flac-1.1.2.OLD/src/libFLAC/lpc.c flac-1.1.2.NEW/src/libFLAC/lpc.c
|
||||||
|
--- flac-1.1.2.OLD/src/libFLAC/lpc.c 2005-01-26 15:31:36.000000000 +1100
|
||||||
|
+++ flac-1.1.2.NEW/src/libFLAC/lpc.c 2005-10-16 10:44:58.000000000 +1000
|
||||||
|
@@ -293,6 +293,209 @@
|
||||||
|
|
||||||
|
void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
|
||||||
|
{
|
||||||
|
+ register const FLAC__int32 *qlp0 = &qlp_coeff[(order-1)];
|
||||||
|
+ register FLAC__int32 sum;
|
||||||
|
+ register const FLAC__int32 *history, *qlp;
|
||||||
|
+
|
||||||
|
+ history = &data[(-order)];
|
||||||
|
+
|
||||||
|
+ switch (order) {
|
||||||
|
+ case 12:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ + (qlp0[-7] * history[7])
|
||||||
|
+ + (qlp0[-8] * history[8])
|
||||||
|
+ + (qlp0[-9] * history[9])
|
||||||
|
+ + (qlp0[-10] * history[10])
|
||||||
|
+ + (qlp0[-11] * history[11])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 11:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ + (qlp0[-7] * history[7])
|
||||||
|
+ + (qlp0[-8] * history[8])
|
||||||
|
+ + (qlp0[-9] * history[9])
|
||||||
|
+ + (qlp0[-10] * history[10])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 10:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ + (qlp0[-7] * history[7])
|
||||||
|
+ + (qlp0[-8] * history[8])
|
||||||
|
+ + (qlp0[-9] * history[9])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 9:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ + (qlp0[-7] * history[7])
|
||||||
|
+ + (qlp0[-8] * history[8])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 8:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ + (qlp0[-7] * history[7])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 7:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ + (qlp0[-6] * history[6])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 6:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ + (qlp0[-5] * history[5])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 5:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ + (qlp0[-4] * history[4])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 4:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ + (qlp0[-3] * history[3])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 3:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ + (qlp0[-2] * history[2])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 2:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * history[0])
|
||||||
|
+ + (qlp0[-1] * history[1])
|
||||||
|
+ ;
|
||||||
|
+ ++history;
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ case 1:
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ sum = (qlp0[0] * (*(history++)));
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ default:
|
||||||
|
+ {
|
||||||
|
+ /* handle everything else: (order > 12)
|
||||||
|
+ * with Duff's Device to reduce jumps */
|
||||||
|
+ const unsigned n0 = (order + 7)/8;
|
||||||
|
+ const int tmp = 0 - order - 1;
|
||||||
|
+ register const FLAC__int32 *qlpd = &qlp_coeff[order];
|
||||||
|
+ for( ; data_len != 0; --data_len) {
|
||||||
|
+ register unsigned n = n0;
|
||||||
|
+ sum = 0;
|
||||||
|
+ qlp = qlpd;
|
||||||
|
+ history = &data[tmp];
|
||||||
|
+
|
||||||
|
+ switch(order%8) {
|
||||||
|
+ case 0: do {
|
||||||
|
+ sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 7: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 6: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 5: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 4: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 3: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 2: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ case 1: sum += (*(--qlp)) * (*(++history));
|
||||||
|
+ } while (--n);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ *(data++) = *(residual++) + (sum >> lp_quantization);
|
||||||
|
+ }
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+#if 0
|
||||||
|
+void FLAC__lpc_restore_signal_orig(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
|
||||||
|
+{
|
||||||
|
#ifdef FLAC__OVERFLOW_DETECT
|
||||||
|
FLAC__int64 sumo;
|
||||||
|
#endif
|
||||||
|
@@ -339,6 +542,7 @@
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
+#endif /* 0 */
|
||||||
|
|
||||||
|
void FLAC__lpc_restore_signal_wide(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
|
||||||
|
{
|
||||||
|
diff -ru flac-1.1.2.OLD/src/libFLAC/Makefile.lite flac-1.1.2.NEW/src/libFLAC/Makefile.lite
|
||||||
|
--- flac-1.1.2.OLD/src/libFLAC/Makefile.lite 2005-01-27 11:08:35.000000000 +1100
|
||||||
|
+++ flac-1.1.2.NEW/src/libFLAC/Makefile.lite 2005-10-16 10:13:29.000000000 +1000
|
||||||
|
@@ -41,7 +41,7 @@
|
||||||
|
ifeq ($(SOLARIS_BUILD),yes)
|
||||||
|
DEFINES = -DFLAC__NO_ASM -DFLAC__ALIGN_MALLOC_DATA
|
||||||
|
else
|
||||||
|
-DEFINES = -DFLAC__CPU_IA32 -DFLAC__USE_3DNOW -DFLAC__HAS_NASM -DFLAC__ALIGN_MALLOC_DATA
|
||||||
|
+DEFINES = -DFLAC__CPU_UNKNOWN -DFLAC__NO_ASM -DFLAC__ALIGN_MALLOC_DATA -DFLAC__INTEGER_ONLY_LIBRARY
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
INCLUDES = -I./include -I$(topdir)/include
|
||||||
|
@@ -50,14 +50,6 @@
|
||||||
|
ifeq ($(DARWIN_BUILD),yes)
|
||||||
|
SRCS_S = \
|
||||||
|
ppc/as/lpc_asm.s
|
||||||
|
-else
|
||||||
|
-ifeq ($(SOLARIS_BUILD),yes)
|
||||||
|
-else
|
||||||
|
-SRCS_NASM = \
|
||||||
|
- ia32/cpu_asm.nasm \
|
||||||
|
- ia32/fixed_asm.nasm \
|
||||||
|
- ia32/lpc_asm.nasm
|
||||||
|
-endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
SRCS_C = \
|
||||||
|
@@ -66,7 +58,6 @@
|
||||||
|
cpu.c \
|
||||||
|
crc.c \
|
||||||
|
file_decoder.c \
|
||||||
|
- file_encoder.c \
|
||||||
|
fixed.c \
|
||||||
|
float.c \
|
||||||
|
format.c \
|
||||||
|
@@ -76,10 +67,7 @@
|
||||||
|
metadata_iterators.c \
|
||||||
|
metadata_object.c \
|
||||||
|
seekable_stream_decoder.c \
|
||||||
|
- seekable_stream_encoder.c \
|
||||||
|
- stream_decoder.c \
|
||||||
|
- stream_encoder.c \
|
||||||
|
- stream_encoder_framing.c
|
||||||
|
+ stream_decoder.c
|
||||||
|
|
||||||
|
include $(topdir)/build/lib.mk
|
||||||
|
|
23
packages/audio/flac/build
Executable file
23
packages/audio/flac/build
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libogg
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--disable-thorough-tests \
|
||||||
|
--disable-cpplibs \
|
||||||
|
--disable-xmms-plugin \
|
||||||
|
--with-ogg=$SYSROOT_PREFIX/usr
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP src/libFLAC/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/flac/url
Normal file
1
packages/audio/flac/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.sourceforge.net/flac/flac-1.2.1.tar.gz
|
19
packages/audio/lame/build
Executable file
19
packages/audio/lame/build
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--without-x
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP libmp3lame/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/lame/url
Normal file
1
packages/audio/lame/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://switch.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
|
23
packages/audio/libcdaudio/build
Executable file
23
packages/audio/libcdaudio/build
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP src/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
||||||
|
|
||||||
|
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
|
||||||
|
$SYSROOT_PREFIX/usr/bin/$1-config
|
||||||
|
|
||||||
|
mv $SYSROOT_PREFIX/usr/bin/$1-config $ROOT/$TOOLCHAIN/bin
|
1
packages/audio/libcdaudio/url
Normal file
1
packages/audio/libcdaudio/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://mesh.dl.sourceforge.net/sourceforge/libcdaudio/libcdaudio-0.99.12p2.tar.gz
|
35
packages/audio/libcdio/build
Executable file
35
packages/audio/libcdio/build
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libiconv
|
||||||
|
$SCRIPTS/build ncurses
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--disable-cxx \
|
||||||
|
--without-cd-drive \
|
||||||
|
--without-cd-info \
|
||||||
|
--with-cd-paranoia \
|
||||||
|
--without-cdda_player \
|
||||||
|
--without-cd-read \
|
||||||
|
--without-iso-info \
|
||||||
|
--without-iso-read \
|
||||||
|
--without-versioned-libs \
|
||||||
|
|
||||||
|
make -C lib
|
||||||
|
make -C include
|
||||||
|
|
||||||
|
#$STRIP lib/*/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL -C lib
|
||||||
|
$MAKEINSTALL -C include
|
||||||
|
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
cp *.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
151
packages/audio/libcdio/patches/10_crosscompile.diff
Normal file
151
packages/audio/libcdio/patches/10_crosscompile.diff
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
--- libcdio-0.80/configure.orig 2008-03-30 05:23:15.000000000 +0200
|
||||||
|
+++ libcdio-0.80/configure 2008-03-30 05:27:21.000000000 +0200
|
||||||
|
@@ -7402,120 +7402,14 @@
|
||||||
|
|
||||||
|
{ echo "$as_me:$LINENO: checking bitfield ordering in structs" >&5
|
||||||
|
echo $ECHO_N "checking bitfield ordering in structs... $ECHO_C" >&6; }
|
||||||
|
-if test "$cross_compiling" = yes; then
|
||||||
|
+if test "$cross_compiling" = dummy; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
See \`config.log' for more details." >&5
|
||||||
|
echo "$as_me: error: cannot run test program while cross compiling
|
||||||
|
See \`config.log' for more details." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
else
|
||||||
|
- cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
-/* confdefs.h. */
|
||||||
|
-_ACEOF
|
||||||
|
-cat confdefs.h >>conftest.$ac_ext
|
||||||
|
-cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
-/* end confdefs.h. */
|
||||||
|
-
|
||||||
|
-int
|
||||||
|
- main() {
|
||||||
|
- struct { char bit_0:1, bit_12:2, bit_345:3, bit_67:2; }
|
||||||
|
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
|
||||||
|
- __attribute__((packed))
|
||||||
|
-#endif
|
||||||
|
- bf = { 1,1,1,1 };
|
||||||
|
- if (sizeof (bf) != 1) return 1;
|
||||||
|
- return *((unsigned char*) &bf) != 0x4b; }
|
||||||
|
-
|
||||||
|
-_ACEOF
|
||||||
|
-rm -f conftest$ac_exeext
|
||||||
|
-if { (ac_try="$ac_link"
|
||||||
|
-case "(($ac_try" in
|
||||||
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||||
|
- *) ac_try_echo=$ac_try;;
|
||||||
|
-esac
|
||||||
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||||
|
- (eval "$ac_link") 2>&5
|
||||||
|
- ac_status=$?
|
||||||
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
||||||
|
- { (case "(($ac_try" in
|
||||||
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||||
|
- *) ac_try_echo=$ac_try;;
|
||||||
|
-esac
|
||||||
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||||
|
- (eval "$ac_try") 2>&5
|
||||||
|
- ac_status=$?
|
||||||
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
- (exit $ac_status); }; }; then
|
||||||
|
bf_lsbf=1
|
||||||
|
-else
|
||||||
|
- echo "$as_me: program exited with status $ac_status" >&5
|
||||||
|
-echo "$as_me: failed program was:" >&5
|
||||||
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
-
|
||||||
|
-( exit $ac_status )
|
||||||
|
-if test "$cross_compiling" = yes; then
|
||||||
|
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
-See \`config.log' for more details." >&5
|
||||||
|
-echo "$as_me: error: cannot run test program while cross compiling
|
||||||
|
-See \`config.log' for more details." >&2;}
|
||||||
|
- { (exit 1); exit 1; }; }
|
||||||
|
-else
|
||||||
|
- cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
-/* confdefs.h. */
|
||||||
|
-_ACEOF
|
||||||
|
-cat confdefs.h >>conftest.$ac_ext
|
||||||
|
-cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
-/* end confdefs.h. */
|
||||||
|
-
|
||||||
|
-int
|
||||||
|
-main() {
|
||||||
|
- struct { char bit_0:1, bit_12:2, bit_345:3, bit_67:2; }
|
||||||
|
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
|
||||||
|
- __attribute__((packed))
|
||||||
|
-#endif
|
||||||
|
- bf = { 1,1,1,1 };
|
||||||
|
- if (sizeof (bf) != 1) return 1;
|
||||||
|
- return *((unsigned char*) &bf) != 0xa5; }
|
||||||
|
-
|
||||||
|
-_ACEOF
|
||||||
|
-rm -f conftest$ac_exeext
|
||||||
|
-if { (ac_try="$ac_link"
|
||||||
|
-case "(($ac_try" in
|
||||||
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||||
|
- *) ac_try_echo=$ac_try;;
|
||||||
|
-esac
|
||||||
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||||
|
- (eval "$ac_link") 2>&5
|
||||||
|
- ac_status=$?
|
||||||
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
||||||
|
- { (case "(($ac_try" in
|
||||||
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||||
|
- *) ac_try_echo=$ac_try;;
|
||||||
|
-esac
|
||||||
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||||
|
- (eval "$ac_try") 2>&5
|
||||||
|
- ac_status=$?
|
||||||
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
- (exit $ac_status); }; }; then
|
||||||
|
- bf_lsbf=0
|
||||||
|
-else
|
||||||
|
- echo "$as_me: program exited with status $ac_status" >&5
|
||||||
|
-echo "$as_me: failed program was:" >&5
|
||||||
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
-
|
||||||
|
-( exit $ac_status )
|
||||||
|
-{ { echo "$as_me:$LINENO: error: unsupported bitfield ordering" >&5
|
||||||
|
-echo "$as_me: error: unsupported bitfield ordering" >&2;}
|
||||||
|
- { (exit 1); exit 1; }; }
|
||||||
|
-fi
|
||||||
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-fi
|
||||||
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@@ -23190,7 +23084,7 @@
|
||||||
|
|
||||||
|
{ echo "$as_me:$LINENO: checking extern long timezone variable" >&5
|
||||||
|
echo $ECHO_N "checking extern long timezone variable... $ECHO_C" >&6; }
|
||||||
|
-if test "$cross_compiling" = yes; then
|
||||||
|
+if test "$cross_compiling" = dummy; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
See \`config.log' for more details." >&5
|
||||||
|
echo "$as_me: error: cannot run test program while cross compiling
|
||||||
|
@@ -23495,7 +23389,7 @@
|
||||||
|
if test $ac_cv_member_struct_tm_tm_gmtoff = yes ; then
|
||||||
|
{ echo "$as_me:$LINENO: checking whether time.h defines daylight and timezone variables" >&5
|
||||||
|
echo $ECHO_N "checking whether time.h defines daylight and timezone variables... $ECHO_C" >&6; }
|
||||||
|
- if test "$cross_compiling" = yes; then
|
||||||
|
+ if test "$cross_compiling" = dummy; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
See \`config.log' for more details." >&5
|
||||||
|
echo "$as_me: error: cannot run test program while cross compiling
|
||||||
|
@@ -23565,7 +23459,7 @@
|
||||||
|
echo "${ECHO_T}$has_daylight" >&6; }
|
||||||
|
{ echo "$as_me:$LINENO: checking whether time.h defines tzname variable" >&5
|
||||||
|
echo $ECHO_N "checking whether time.h defines tzname variable... $ECHO_C" >&6; }
|
||||||
|
- if test "$cross_compiling" = yes; then
|
||||||
|
+ if test "$cross_compiling" = dummy; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
See \`config.log' for more details." >&5
|
||||||
|
echo "$as_me: error: cannot run test program while cross compiling
|
1
packages/audio/libcdio/url
Normal file
1
packages/audio/libcdio/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://ftp.gnu.org/gnu/libcdio/libcdio-0.80.tar.gz
|
18
packages/audio/libid3tag/build
Executable file
18
packages/audio/libid3tag/build
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP .libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/libid3tag/url
Normal file
1
packages/audio/libid3tag/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://mesh.dl.sourceforge.net/sourceforge/mad/libid3tag-0.15.1b.tar.gz
|
18
packages/audio/libmad/build
Executable file
18
packages/audio/libmad/build
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP .libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/libmad/url
Normal file
1
packages/audio/libmad/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.sourceforge.net/mad/libmad-0.15.1b.tar.gz
|
19
packages/audio/libogg/build
Executable file
19
packages/audio/libogg/build
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
|
||||||
|
$MAKE
|
||||||
|
|
||||||
|
#$STRIP src/.libs/libogg*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/libogg/url
Normal file
1
packages/audio/libogg/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
|
29
packages/audio/libshout/build
Executable file
29
packages/audio/libshout/build
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libvorbis
|
||||||
|
$SCRIPTS/build libtheora
|
||||||
|
$SCRIPTS/build libogg
|
||||||
|
$SCRIPTS/build speex
|
||||||
|
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--with-ogg=$SYSROOT_PREFIX/usr \
|
||||||
|
--with-vorbis=$SYSROOT_PREFIX/usr \
|
||||||
|
--with-theora=$SYSROOT_PREFIX/usr \
|
||||||
|
--with-speex=$SYSROOT_PREFIX/usr \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP src/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
@ -0,0 +1,87 @@
|
|||||||
|
diff -up libshout-2.2.2/src/Makefile.in.fix_speex libshout-2.2.2/src/Makefile.in
|
||||||
|
--- libshout-2.2.2/src/Makefile.in.fix_speex 2007-12-07 15:03:46.000000000 +0100
|
||||||
|
+++ libshout-2.2.2/src/Makefile.in 2007-12-07 15:04:43.000000000 +0100
|
||||||
|
@@ -65,7 +65,8 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
|
||||||
|
am__DEPENDENCIES_2 =
|
||||||
|
libshout_la_DEPENDENCIES = net/libicenet.la timing/libicetiming.la \
|
||||||
|
avl/libiceavl.la httpp/libicehttpp.la $(am__DEPENDENCIES_1) \
|
||||||
|
- $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2)
|
||||||
|
+ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
|
||||||
|
+ $(am__DEPENDENCIES_2)
|
||||||
|
am__libshout_la_SOURCES_DIST = shout.c util.c ogg.c vorbis.c mp3.c \
|
||||||
|
theora.c speex.c
|
||||||
|
@HAVE_THEORA_TRUE@am__objects_1 = theora.lo
|
||||||
|
@@ -128,6 +129,7 @@ EXEEXT = @EXEEXT@
|
||||||
|
F77 = @F77@
|
||||||
|
FFLAGS = @FFLAGS@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
+GREP = @GREP@
|
||||||
|
HAVE_PKGCONFIG_FALSE = @HAVE_PKGCONFIG_FALSE@
|
||||||
|
HAVE_PKGCONFIG_TRUE = @HAVE_PKGCONFIG_TRUE@
|
||||||
|
HAVE_SPEEX_FALSE = @HAVE_SPEEX_FALSE@
|
||||||
|
@@ -199,13 +201,9 @@ VORBIS_LIBS = @VORBIS_LIBS@
|
||||||
|
VORBIS_PREFIX = @VORBIS_PREFIX@
|
||||||
|
XIPH_CFLAGS = @XIPH_CFLAGS@
|
||||||
|
XIPH_CPPFLAGS = @XIPH_CPPFLAGS@
|
||||||
|
-ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_CXX = @ac_ct_CXX@
|
||||||
|
ac_ct_F77 = @ac_ct_F77@
|
||||||
|
-ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
-ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
-ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
|
||||||
|
acx_pthread_config = @acx_pthread_config@
|
||||||
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||||
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||||
|
@@ -223,23 +221,30 @@ build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
datadir = @datadir@
|
||||||
|
+datarootdir = @datarootdir@
|
||||||
|
+docdir = @docdir@
|
||||||
|
+dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
+htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
+localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
+pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
+psdir = @psdir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
shout_cflags = @shout_cflags@
|
||||||
|
@@ -261,7 +266,7 @@ noinst_HEADERS = shout_ogg.h shout_priva
|
||||||
|
libshout_la_SOURCES = shout.c util.c ogg.c vorbis.c mp3.c $(MAYBE_THEORA) $(MAYBE_SPEEX)
|
||||||
|
AM_CFLAGS = @XIPH_CFLAGS@
|
||||||
|
libshout_la_LIBADD = net/libicenet.la timing/libicetiming.la avl/libiceavl.la\
|
||||||
|
- httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS)
|
||||||
|
+ httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS)
|
||||||
|
|
||||||
|
INCLUDES = -I$(top_builddir)/include
|
||||||
|
all: all-recursive
|
||||||
|
diff -up libshout-2.2.2/src/Makefile.am.fix_speex libshout-2.2.2/src/Makefile.am
|
||||||
|
--- libshout-2.2.2/src/Makefile.am.fix_speex 2007-12-07 15:03:39.000000000 +0100
|
||||||
|
+++ libshout-2.2.2/src/Makefile.am 2007-12-07 15:04:35.000000000 +0100
|
||||||
|
@@ -26,7 +26,7 @@ libshout_la_SOURCES = shout.c util.c ogg
|
||||||
|
AM_CFLAGS = @XIPH_CFLAGS@
|
||||||
|
|
||||||
|
libshout_la_LIBADD = net/libicenet.la timing/libicetiming.la avl/libiceavl.la\
|
||||||
|
- httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS)
|
||||||
|
+ httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS)
|
||||||
|
|
||||||
|
INCLUDES = -I$(top_builddir)/include
|
||||||
|
|
1
packages/audio/libshout/url
Normal file
1
packages/audio/libshout/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.xiph.org/releases/libshout/libshout-2.2.2.tar.gz
|
20
packages/audio/libsndfile/build
Executable file
20
packages/audio/libsndfile/build
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build alsa-lib
|
||||||
|
#$SCRIPTS/build flac
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP src/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/libsndfile/url
Normal file
1
packages/audio/libsndfile/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.mega-nerd.com/libsndfile/libsndfile-1.0.18.tar.gz
|
21
packages/audio/libvorbis/build
Executable file
21
packages/audio/libvorbis/build
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libogg
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--with-ogg=$SYSROOT_PREFIX/usr
|
||||||
|
|
||||||
|
$MAKE
|
||||||
|
|
||||||
|
#$STRIP lib/.libs/libvorbis*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
8
packages/audio/libvorbis/install
Executable file
8
packages/audio/libvorbis/install
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
$SCRIPTS/install libogg
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/lib/.libs/libvorbis*.so* $INSTALL/usr/lib
|
||||||
|
rm -rf $INSTALL/usr/lib/libvorbis*.so*T
|
1
packages/audio/libvorbis/url
Normal file
1
packages/audio/libvorbis/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.tar.bz2
|
27
packages/audio/speex/build
Executable file
27
packages/audio/speex/build
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libogg
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
OGG_CFLAGS="" \
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--with-ogg=$SYSROOT_PREFIX/usr \
|
||||||
|
--enable-fixed-point \
|
||||||
|
--disable-oggtest \
|
||||||
|
--disable-float-api \
|
||||||
|
--disable-vbr \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP libspeex/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
24
packages/audio/speex/patches/001-remove_host_includes.diff
Normal file
24
packages/audio/speex/patches/001-remove_host_includes.diff
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -Naur speex-1.2rc1/libspeex/Makefile.am speex-1.2rc1.patch/libspeex/Makefile.am
|
||||||
|
--- speex-1.2rc1/libspeex/Makefile.am 2008-06-04 09:31:35.000000000 +0200
|
||||||
|
+++ speex-1.2rc1.patch/libspeex/Makefile.am 2009-03-10 20:40:51.000000000 +0100
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
EXTRA_DIST=echo_diagnostic.m
|
||||||
|
|
||||||
|
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
|
||||||
|
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libspeex.la libspeexdsp.la
|
||||||
|
|
||||||
|
diff -Naur speex-1.2rc1/libspeex/Makefile.in speex-1.2rc1.patch/libspeex/Makefile.in
|
||||||
|
--- speex-1.2rc1/libspeex/Makefile.in 2008-07-21 04:17:19.000000000 +0200
|
||||||
|
+++ speex-1.2rc1.patch/libspeex/Makefile.in 2009-03-10 20:41:25.000000000 +0100
|
||||||
|
@@ -277,7 +277,7 @@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
EXTRA_DIST = echo_diagnostic.m
|
||||||
|
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
|
||||||
|
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)
|
||||||
|
lib_LTLIBRARIES = libspeex.la libspeexdsp.la
|
||||||
|
|
||||||
|
# Sources for compilation in the library
|
1
packages/audio/speex/url
Normal file
1
packages/audio/speex/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz
|
24
packages/audio/taglib/build
Executable file
24
packages/audio/taglib/build
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build zlib
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-final
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
||||||
|
|
||||||
|
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
|
||||||
|
$SYSROOT_PREFIX/usr/bin/$1-config
|
||||||
|
|
||||||
|
mv $SYSROOT_PREFIX/usr/bin/$1-config $ROOT/$TOOLCHAIN/bin
|
1
packages/audio/taglib/url
Normal file
1
packages/audio/taglib/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://developer.kde.org/~wheeler/files/src/taglib-1.5.tar.gz
|
20
packages/audio/twolame/build
Executable file
20
packages/audio/twolame/build
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
#$SCRIPTS/build libsndfile
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared
|
||||||
|
|
||||||
|
make -C libtwolame
|
||||||
|
|
||||||
|
#$STRIP libtwolame/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL -C libtwolame
|
||||||
|
cp twolame.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
1
packages/audio/twolame/url
Normal file
1
packages/audio/twolame/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://downloads.sourceforge.net/twolame/twolame-0.3.12.tar.gz
|
19
packages/audio/wavpack/build
Executable file
19
packages/audio/wavpack/build
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
#$STRIP src/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
1
packages/audio/wavpack/url
Normal file
1
packages/audio/wavpack/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.wavpack.com/wavpack-4.50.1.tar.bz2
|
22
packages/converters/libiconv/build
Executable file
22
packages/converters/libiconv/build
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build gettext
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-nls \
|
||||||
|
--enable-extra-encodings
|
||||||
|
|
||||||
|
$MAKE
|
||||||
|
|
||||||
|
$STRIP lib/.libs/*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
8
packages/converters/libiconv/install
Executable file
8
packages/converters/libiconv/install
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install gettext
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/lib/.libs/*.so* $INSTALL/usr/lib
|
1
packages/converters/libiconv/url
Normal file
1
packages/converters/libiconv/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz
|
36
packages/databases/sqlite/build
Executable file
36
packages/databases/sqlite/build
Executable file
@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build readline
|
||||||
|
$SCRIPTS/build ncurses
|
||||||
|
|
||||||
|
export config_BUILD_CC="$HOST_CC"
|
||||||
|
export config_BUILD_CFLAGS="$HOST_CFLAGS"
|
||||||
|
export config_BUILD_LIBS="$HOST_LDFLAGS"
|
||||||
|
export config_TARGET_CC="$CC"
|
||||||
|
export config_TARGET_LINK="$LD"
|
||||||
|
export config_TARGET_CFLAGS="$CFLAGS"
|
||||||
|
export config_TARGET_LFLAGS="$LDFLAGS"
|
||||||
|
export config_TARGET_LIBS="-lncurses"
|
||||||
|
export config_TARGET_READLINE_LIBS="-L$SYSROOT_PREFIX/usr/lib"
|
||||||
|
export config_TARGET_READLINE_INC="-I$SYSROOT_PREFIX/usr/include/readline -lreadline"
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-tcl \
|
||||||
|
--enable-threadsafe
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$STRIP .libs/*.so*
|
||||||
|
$STRIP .libs/sqlite3
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
7
packages/databases/sqlite/install
Executable file
7
packages/databases/sqlite/install
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/.libs/*.so* $INSTALL/usr/lib
|
||||||
|
cp $BUILD/$1*/.libs/sqlite3 $INSTALL/usr/bin
|
92
packages/databases/sqlite/patches/10_cross_compile.diff
Normal file
92
packages/databases/sqlite/patches/10_cross_compile.diff
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
--- sqlite-3.3.7/configure.ac.orig 2006-08-21 00:20:50.000000000 +0200
|
||||||
|
+++ sqlite-3.3.7/configure.ac 2006-08-21 00:22:35.000000000 +0200
|
||||||
|
@@ -187,10 +187,11 @@
|
||||||
|
default_build_cflags="-g"
|
||||||
|
if test "$config_BUILD_CC" = ""; then
|
||||||
|
AC_PROG_CC
|
||||||
|
- if test "$cross_compiling" = "yes"; then
|
||||||
|
- AC_MSG_ERROR([unable to find a compiler for building build tools])
|
||||||
|
- fi
|
||||||
|
- BUILD_CC=$CC
|
||||||
|
+# if test "$cross_compiling" = "yes"; then
|
||||||
|
+# AC_MSG_ERROR([unable to find a compiler for building build tools])
|
||||||
|
+# fi
|
||||||
|
+# BUILD_CC=$CC
|
||||||
|
+BUILD_CC=gcc
|
||||||
|
default_build_cflags=$CFLAGS
|
||||||
|
else
|
||||||
|
BUILD_CC=$config_BUILD_CC
|
||||||
|
@@ -238,6 +239,12 @@
|
||||||
|
TARGET_LINK=$config_TARGET_LINK
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT($TARGET_LINK)
|
||||||
|
+if test "$config_TARGET_LFLAGS" != ""; then
|
||||||
|
+ TARGET_LFLAGS=$config_TARGET_LFLAGS
|
||||||
|
+ else
|
||||||
|
+ TARGET_LFLAGS=$BUILD_LFLAGS
|
||||||
|
+ fi
|
||||||
|
+AC_MSG_RESULT($TARGET_LFLAGS)
|
||||||
|
AC_MSG_CHECKING([switches on the target compiler])
|
||||||
|
if test "$config_TARGET_TFLAGS" != ""; then
|
||||||
|
TARGET_TFLAGS=$config_TARGET_TFLAGS
|
||||||
|
@@ -592,15 +599,7 @@
|
||||||
|
# Figure out what C libraries are required to compile programs
|
||||||
|
# that use "readline()" library.
|
||||||
|
#
|
||||||
|
-if test "$config_TARGET_READLINE_LIBS" != ""; then
|
||||||
|
- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS"
|
||||||
|
-else
|
||||||
|
- CC=$TARGET_CC
|
||||||
|
- LIBS=""
|
||||||
|
- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
|
||||||
|
- AC_CHECK_LIB([readline], [readline])
|
||||||
|
- TARGET_READLINE_LIBS="$LIBS"
|
||||||
|
-fi
|
||||||
|
+TARGET_READLINE_LIBS="-lreadline"
|
||||||
|
AC_SUBST(TARGET_READLINE_LIBS)
|
||||||
|
|
||||||
|
##########
|
||||||
|
@@ -615,41 +614,8 @@
|
||||||
|
##########
|
||||||
|
# Figure out where to get the READLINE header files.
|
||||||
|
#
|
||||||
|
-AC_MSG_CHECKING([readline header files])
|
||||||
|
-found=no
|
||||||
|
-if test "$config_TARGET_READLINE_INC" != ""; then
|
||||||
|
- TARGET_READLINE_INC=$config_TARGET_READLINE_INC
|
||||||
|
- found=yes
|
||||||
|
-fi
|
||||||
|
-if test "$found" = "yes"; then
|
||||||
|
- AC_MSG_RESULT($TARGET_READLINE_INC)
|
||||||
|
-else
|
||||||
|
- AC_MSG_RESULT(not specified: still searching...)
|
||||||
|
- AC_CHECK_HEADER(readline.h, [found=yes])
|
||||||
|
-fi
|
||||||
|
-if test "$found" = "no"; then
|
||||||
|
- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
|
||||||
|
- AC_CHECK_FILE($dir/include/readline.h, found=yes)
|
||||||
|
- if test "$found" = "yes"; then
|
||||||
|
- TARGET_READLINE_INC="-I$dir/include"
|
||||||
|
- break
|
||||||
|
- fi
|
||||||
|
- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes)
|
||||||
|
- if test "$found" = "yes"; then
|
||||||
|
- TARGET_READLINE_INC="-I$dir/include/readline"
|
||||||
|
- break
|
||||||
|
- fi
|
||||||
|
- done
|
||||||
|
-fi
|
||||||
|
-if test "$found" = "yes"; then
|
||||||
|
- if test "$TARGET_READLINE_LIBS" = ""; then
|
||||||
|
- TARGET_HAVE_READLINE=0
|
||||||
|
- else
|
||||||
|
- TARGET_HAVE_READLINE=1
|
||||||
|
- fi
|
||||||
|
-else
|
||||||
|
- TARGET_HAVE_READLINE=0
|
||||||
|
-fi
|
||||||
|
+TARGET_READLINE_INC=""
|
||||||
|
+TARGET_HAVE_READLINE=1
|
||||||
|
AC_SUBST(TARGET_READLINE_INC)
|
||||||
|
AC_SUBST(TARGET_HAVE_READLINE)
|
||||||
|
|
25
packages/databases/sqlite/patches/20_libtool.diff
Normal file
25
packages/databases/sqlite/patches/20_libtool.diff
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Index: sqlite-3.2.1/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- sqlite-3.2.1.orig/Makefile.in 2005-03-23 17:09:39.000000000 +0100
|
||||||
|
+++ sqlite-3.2.1/Makefile.in 2005-04-25 23:11:20.000000000 +0200
|
||||||
|
@@ -15,7 +15,10 @@
|
||||||
|
# The toplevel directory of the source tree. This is the directory
|
||||||
|
# that contains this "Makefile.in" and the "configure.in" script.
|
||||||
|
#
|
||||||
|
-TOP = @srcdir@
|
||||||
|
+TOP = $(srcdir)
|
||||||
|
+srcdir = @srcdir@
|
||||||
|
+top_srcdir = @top_srcdir@
|
||||||
|
+top_builddir = .
|
||||||
|
|
||||||
|
# C Compiler and options for use in building executables that
|
||||||
|
# will run on the platform that is doing the build.
|
||||||
|
@@ -96,7 +99,7 @@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
libdir = @libdir@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
-LIBTOOL = ./libtool
|
||||||
|
+LIBTOOL = @LIBTOOL@
|
||||||
|
ALLOWRELEASE = @ALLOWRELEASE@
|
||||||
|
|
||||||
|
# libtool compile/link/install
|
67
packages/databases/sqlite/patches/30_ldflags.diff
Normal file
67
packages/databases/sqlite/patches/30_ldflags.diff
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
--- sqlite-3.3.7/Makefile.in.orig 2006-08-20 23:05:36.000000000 +0200
|
||||||
|
+++ sqlite-3.3.7/Makefile.in 2006-08-20 23:42:49.000000000 +0200
|
||||||
|
@@ -31,6 +31,10 @@
|
||||||
|
#
|
||||||
|
TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src
|
||||||
|
|
||||||
|
+# OE overrides
|
||||||
|
+#
|
||||||
|
+TARGET_LFLAGS = @TARGET_LFLAGS@
|
||||||
|
+
|
||||||
|
# Define -DNDEBUG to compile without debugging (i.e., for production usage)
|
||||||
|
# Omitting the define will cause extra debugging code to be inserted and
|
||||||
|
# includes extra comments when "EXPLAIN stmt" is used.
|
||||||
|
@@ -257,17 +261,17 @@
|
||||||
|
| $(NAWK) '{print $$5,$$6}' >last_change
|
||||||
|
|
||||||
|
libsqlite3.la: $(LIBOBJ)
|
||||||
|
- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \
|
||||||
|
+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \
|
||||||
|
${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"
|
||||||
|
|
||||||
|
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
|
||||||
|
$(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
|
||||||
|
- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \
|
||||||
|
+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \
|
||||||
|
-rpath $(libdir)/sqlite \
|
||||||
|
-version-info "8:6:8"
|
||||||
|
|
||||||
|
sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h
|
||||||
|
- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \
|
||||||
|
+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \
|
||||||
|
-o $@ $(TOP)/src/shell.c libsqlite3.la \
|
||||||
|
$(LIBREADLINE) $(TLIBS)
|
||||||
|
|
||||||
|
@@ -456,12 +460,12 @@
|
||||||
|
|
||||||
|
tclsqlite3: tclsqlite-shell.lo libsqlite3.la
|
||||||
|
$(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
|
||||||
|
- libsqlite3.la $(LIBTCL)
|
||||||
|
+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
|
||||||
|
|
||||||
|
testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
|
||||||
|
$(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
|
||||||
|
$(TEMP_STORE) -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
|
||||||
|
- libsqlite3.la $(LIBTCL)
|
||||||
|
+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
|
||||||
|
|
||||||
|
|
||||||
|
fulltest: testfixture$(TEXE) sqlite3$(TEXE)
|
||||||
|
@@ -471,7 +475,7 @@
|
||||||
|
./testfixture $(TOP)/test/quick.test
|
||||||
|
|
||||||
|
sqlite3_analyzer$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la \
|
||||||
|
- $(TESTSRC) $(TOP)/tool/spaceanal.tcl
|
||||||
|
+ $(TARGET_LFLAGS) $(TESTSRC) $(TOP)/tool/spaceanal.tcl
|
||||||
|
sed \
|
||||||
|
-e '/^#/d' \
|
||||||
|
-e 's,\\,\\\\,g' \
|
||||||
|
@@ -481,7 +485,7 @@
|
||||||
|
$(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
|
||||||
|
$(LTLINK) -DTCLSH=2 -DSQLITE_TEST=1 $(TEMP_STORE)\
|
||||||
|
-o sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \
|
||||||
|
- libtclsqlite3.la $(LIBTCL)
|
||||||
|
+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL)
|
||||||
|
|
||||||
|
# Rules used to build documentation
|
||||||
|
#
|
@ -0,0 +1,21 @@
|
|||||||
|
diff -Naur sqlite-3.3.7.orig/configure sqlite-3.3.7/configure
|
||||||
|
--- sqlite-3.3.7.orig/configure 2006-11-21 23:49:30.000000000 +0100
|
||||||
|
+++ sqlite-3.3.7/configure 2006-11-21 23:49:38.000000000 +0100
|
||||||
|
@@ -20414,7 +20414,7 @@
|
||||||
|
if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
- test "$cross_compiling" = yes &&
|
||||||
|
+ test "$cross_compiling" = no &&
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||||
|
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
@@ -20440,7 +20440,7 @@
|
||||||
|
if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
- test "$cross_compiling" = yes &&
|
||||||
|
+ test "$cross_compiling" = no &&
|
||||||
|
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||||
|
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
1
packages/databases/sqlite/url
Normal file
1
packages/databases/sqlite/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.hwaci.com/sw/sqlite/sqlite-3.3.7.tar.gz
|
33
packages/devel/dbus-glib/build
Executable file
33
packages/devel/dbus-glib/build
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build gettext
|
||||||
|
$SCRIPTS/build dbus
|
||||||
|
$SCRIPTS/build glib
|
||||||
|
$SCRIPTS/build expat
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
|
||||||
|
ac_cv_have_abstract_sockets=yes \
|
||||||
|
ac_cv_func_posix_getpwnam_r=yes \
|
||||||
|
have_abstract_sockets=yes \
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-xml-docs \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--enable-asserts=no \
|
||||||
|
|
||||||
|
make -C dbus SUBDIRS="."
|
||||||
|
|
||||||
|
$STRIP dbus/.libs/*.so*
|
||||||
|
|
||||||
|
make -C dbus SUBDIRS="." DESTDIR=$SYSROOT_PREFIX install
|
||||||
|
make DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|
11
packages/devel/dbus-glib/install
Executable file
11
packages/devel/dbus-glib/install
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install gettext
|
||||||
|
$SCRIPTS/install dbus
|
||||||
|
$SCRIPTS/install glib
|
||||||
|
$SCRIPTS/install expat
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/dbus/.libs/*.so* $INSTALL/usr/lib
|
1
packages/devel/dbus-glib/url
Normal file
1
packages/devel/dbus-glib/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.80.tar.gz
|
54
packages/devel/dbus/build
Executable file
54
packages/devel/dbus/build
Executable file
@ -0,0 +1,54 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build expat
|
||||||
|
$SCRIPTS/build libX11
|
||||||
|
|
||||||
|
export ac_cv_have_abstract_sockets=set
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -I$LIB_PREFIX/include"
|
||||||
|
export LDFLAGS="$LDFLAGS -L$LIB_PREFIX/lib"
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-ansi \
|
||||||
|
--disable-verbose-mode \
|
||||||
|
--disable-asserts \
|
||||||
|
--disable-checks \
|
||||||
|
--disable-qt \
|
||||||
|
--disable-qt3 \
|
||||||
|
--disable-gtk \
|
||||||
|
--disable-xml-docs \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--disable-gcov \
|
||||||
|
--enable-abstract-sockets \
|
||||||
|
--disable-selinux \
|
||||||
|
--disable-libaudit \
|
||||||
|
--disable-dnotify \
|
||||||
|
--enable-inotify \
|
||||||
|
--with-xml=expat \
|
||||||
|
--with-x \
|
||||||
|
--with-dbus-user=root \
|
||||||
|
--with-dbus-default-reply-timeout=60000 \
|
||||||
|
|
||||||
|
# --with-session-socket-dir=/var/run/dbus \
|
||||||
|
# --with-test-socket-dir=/var/run/dbus \
|
||||||
|
# --with-system-pid-file=/var/run/dbus/pid \
|
||||||
|
# --with-system-socket=/var/run/dbus/system_bus_socket \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$STRIP dbus/.libs/libdbus-1.so*
|
||||||
|
|
||||||
|
make -C dbus DESTDIR=$SYSROOT_PREFIX install
|
||||||
|
make DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|
||||||
|
|
17
packages/devel/dbus/init.d/15_dbus
Executable file
17
packages/devel/dbus/init.d/15_dbus
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# start D-BUS daemon
|
||||||
|
#
|
||||||
|
# runlevels: geexbox, debug, configure
|
||||||
|
|
||||||
|
if test -f /usr/bin/dbus-daemon; then
|
||||||
|
echo "### Starting D-BUS ###"
|
||||||
|
|
||||||
|
mkdir -p /var/run/dbus
|
||||||
|
mkdir -p /var/lib/dbus
|
||||||
|
|
||||||
|
dbus-daemon --system
|
||||||
|
dbus-uuidgen --ensure
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
26
packages/devel/dbus/install
Executable file
26
packages/devel/dbus/install
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install expat
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/dbus-1/services
|
||||||
|
mkdir -p $INSTALL/usr/share/dbus-1/system-services
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp $BUILD/$1*/bus/dbus-daemon $INSTALL/usr/bin
|
||||||
|
cp $BUILD/$1*/tools/.libs/dbus-uuidgen $INSTALL/usr/bin
|
||||||
|
cp $BUILD/$1*/tools/dbus-launch $INSTALL/usr/bin
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/dbus/.libs/libdbus-1.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib/dbus-1.0
|
||||||
|
cp $BUILD/$1*/bus/dbus-daemon-launch-helper $INSTALL/usr/lib/dbus-1.0
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/dbus-1/event.d
|
||||||
|
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||||
|
mkdir -p $INSTALL/etc/dbus-1/session.d
|
||||||
|
|
||||||
|
cp $BUILD/$1*/bus/session.conf $INSTALL/etc/dbus-1
|
||||||
|
sed 's%<servicehelper>.*</servicehelper>%<servicehelper>/usr/lib/dbus-1.0/dbus-daemon-launch-helper</servicehelper>%' $BUILD/$1*/bus/system.conf > $INSTALL/etc/dbus-1/system.conf
|
1
packages/devel/dbus/url
Normal file
1
packages/devel/dbus/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://dbus.freedesktop.org/releases/dbus/dbus-1.2.12.tar.gz
|
21
packages/devel/gettext/build
Executable file
21
packages/devel/gettext/build
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
cd $BUILD/$1*/
|
||||||
|
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$STRIP .libs/libintl*.so*
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
6
packages/devel/gettext/install
Executable file
6
packages/devel/gettext/install
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $BUILD/$1*/.libs/libintl*.so* $INSTALL/usr/lib
|
1
packages/devel/gettext/url
Normal file
1
packages/devel/gettext/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.pengutronix.de/software/gettext-dummy/download/gettext-dummy-1.0.1.tar.bz2
|
27
packages/devel/glib-host/build
Executable file
27
packages/devel/glib-host/build
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/unpack glib
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $BUILD/glib*
|
||||||
|
|
||||||
|
mkdir -p .build-host
|
||||||
|
|
||||||
|
cd .build-host
|
||||||
|
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--with-libiconv=no \
|
||||||
|
--enable-debug=no \
|
||||||
|
--disable-man \
|
||||||
|
--disable-rebuilds \
|
||||||
|
--disable-gtk-doc \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
cp -f gobject/glib-genmarshal $ROOT/$TOOLCHAIN/bin
|
||||||
|
cp -f gobject/glib-mkenums $ROOT/$TOOLCHAIN/bin
|
38
packages/devel/glib/build
Executable file
38
packages/devel/glib/build
Executable file
@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build libiconv
|
||||||
|
$SCRIPTS/build glib-host
|
||||||
|
|
||||||
|
export ac_cv_func_posix_getpwuid_r=yes
|
||||||
|
export ac_cv_func_posix_getgrgid_r=yes
|
||||||
|
export glib_cv_stack_grows=no
|
||||||
|
export glib_cv_uscore=no
|
||||||
|
|
||||||
|
cd $BUILD/$1*
|
||||||
|
|
||||||
|
mkdir -p .build-target
|
||||||
|
|
||||||
|
cd .build-target
|
||||||
|
../configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
--with-libiconv=gnu \
|
||||||
|
--enable-debug=no \
|
||||||
|
--disable-man \
|
||||||
|
--disable-rebuilds \
|
||||||
|
--disable-gtk-doc \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$STRIP `find . -name *.so*`
|
||||||
|
|
||||||
|
make DESTDIR=$SYSROOT_PREFIX install
|
||||||
|
|
||||||
|
cp g*-2.0.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
9
packages/devel/glib/install
Executable file
9
packages/devel/glib/install
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install libiconv
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR `find $BUILD/$1*/.build-target/g{lib,module,object,thread,io} -name *.so*` $INSTALL/usr/lib
|
||||||
|
rm -rf $INSTALL/usr/lib/libg{lib,module,object,thread,io}*.so*T
|
1
packages/devel/glib/url
Normal file
1
packages/devel/glib/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://ftp.gtk.org/pub/glib/2.20/glib-2.20.0.tar.bz2
|
1
packages/devel/glib/url.old
Normal file
1
packages/devel/glib/url.old
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://ftp.gtk.org/pub/glib/2.18/glib-2.18.4.tar.bz2
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user