cleanup iconv

This commit is contained in:
Stefan Saraev 2013-07-07 21:44:57 +03:00
parent b2a1ebcceb
commit 74a3e2d021
31 changed files with 33 additions and 92 deletions

View File

@ -31,10 +31,6 @@ PROJECT_DIR="$ROOT/projects"
# Target system library C (eglibc)
TARGET_LIBC="eglibc"
# Target iconv implementation (libiconv)
# leave empty if we are using glibc's gconv
ICONV=""
# Library strip
LIBSTRIP="yes"

View File

@ -24,17 +24,12 @@
cd $PKG_BUILD
if [ "$ICONV" = "libiconv" ]; then
CONFIG_LIBXML="--with-iconv"
fi
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-static \
--disable-shared \
$CONFIG_LIBXML \
--disable-ipv6 \
--without-python \
--without-crypto

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org/xslt/"
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
PKG_SHORTDESC="libxslt"

View File

@ -39,12 +39,6 @@ NO_KBD=yes
VDR_USER=root
EOF
if [ "$ICONV" = "libiconv" ]; then
cat >> Make.config <<EOF
LIBS += -liconv
EOF
fi
make vdr
make include-dir
make plugins

View File

@ -22,10 +22,6 @@
. config/options
if [ "$ICONV" = "libiconv" ]; then
export LIBS="-liconv"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://wirbel.htpc-forum.de/w_scan/index2.html"
PKG_URL="http://wirbel.htpc-forum.de/w_scan/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="lib/multimedia"
PKG_SHORTDESC="w_scan: eine kleine Anwendung zum Scannen von ATSC/DVB-C/S/T Transpondern/Bouquets nach Sendern und Erstellen einer VDR channels.conf."

View File

@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
PKG_URL="ftp://rsync.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network/backup"
PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"

View File

@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://sourceforge.net/projects/iperf/"
PKG_URL="$SOURCEFORGE_SRC/iperf/files/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network/testing"
PKG_SHORTDESC="iperf: A modern alternative for measuring maximum TCP and UDP bandwidth performance"

View File

@ -22,10 +22,6 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
export LIBS="-liconv"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.transmissionbt.com/"
PKG_URL="http://download.transmissionbt.com/files/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="zlib $ICONV openssl curl libevent"
PKG_BUILD_DEPENDS="toolchain $ICONV zlib openssl curl libevent"
PKG_DEPENDS="zlib openssl curl libevent"
PKG_BUILD_DEPENDS="toolchain zlib openssl curl libevent"
PKG_PRIORITY="optional"
PKG_SECTION="service/downloadmanager"
PKG_SHORTDESC="transmission: a fast, easy and free BitTorrent client"

View File

@ -25,10 +25,6 @@
# do not build with LTO support
strip_lto
if [ "$ICONV" = "libiconv" ]; then
export LDFLAGS="$LDFLAGS -liconv"
fi
cd $PKG_BUILD
./configure --prefix=/usr \
--arch=$TARGET_ARCH \

View File

@ -26,8 +26,8 @@ PKG_LICENSE="GPL"
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
#PKG_URL="https://github.com/downloads/tvheadend/tvheadend/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_URL="$DISTRO_SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS="$ICONV openssl curl"
PKG_BUILD_DEPENDS="toolchain $ICONV openssl curl"
PKG_DEPENDS="openssl curl"
PKG_BUILD_DEPENDS="toolchain openssl curl"
PKG_PRIORITY="optional"
PKG_SECTION="service/multimedia"
PKG_SHORTDESC="tvheadend (Version: $PKG_VERSION): a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources."

View File

@ -22,10 +22,6 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
CONFIG_FLAC="--with-libiconv-prefix=$SYSROOT_PREFIX/usr"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
@ -40,7 +36,6 @@ cd $PKG_BUILD
--disable-xmms-plugin \
--disable-oggtest \
--with-ogg="$SYSROOT_PREFIX/usr" \
$CONFIG_FLAC \
--with-gnu-ld
make

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://flac.sourceforge.net/"
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV libogg"
PKG_BUILD_DEPENDS="toolchain $ICONV libogg"
PKG_DEPENDS="libogg"
PKG_BUILD_DEPENDS="toolchain libogg"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/libcdio/"
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libcdio: A CD-ROM reading and control library"

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://cgit.freedesktop.org/evtest/"
PKG_URL="http://cgit.freedesktop.org/evtest/snapshot/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV libxml2"
PKG_BUILD_DEPENDS="toolchain $ICONV libxml2"
PKG_DEPENDS="libxml2"
PKG_BUILD_DEPENDS="toolchain libxml2"
PKG_PRIORITY="optional"
PKG_SECTION="debug/tools"
PKG_SHORTDESC="evtest: Simple tool for input event debugging."

View File

@ -26,10 +26,6 @@
strip_lto
if [ "$ICONV" = "libiconv" ]; then
CONFIG_GLIB="--with-libiconv"
fi
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target
@ -63,7 +59,6 @@ glib_cv_va_val_copy='no' \
--with-gnu-ld \
--with-threads=posix \
--with-pcre=system \
$CONFIG_GLIB \
make
$MAKEINSTALL

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.34/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="zlib $ICONV libffi"
PKG_BUILD_DEPENDS="toolchain zlib $ICONV libffi pcre glib-host Python-host"
PKG_DEPENDS="zlib libffi"
PKG_BUILD_DEPENDS="toolchain zlib libffi pcre glib-host Python-host"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="glib: C support library"

View File

@ -49,9 +49,7 @@ fi
if [ "$XBMC_SCR_RSXS" = yes ]; then
XBMC_RSXS="--enable-rsxs"
# fix build of RSXS Screensaver support if not using libiconv
if [ ! "$ICONV" = "libiconv" ]; then
export jm_cv_func_gettimeofday_clobber=no
fi
else
XBMC_RSXS="--disable-rsxs"
fi

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceforge.net/projects/afpfs-ng/"
PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV libgpg-error libgcrypt ncurses"
PKG_BUILD_DEPENDS="toolchain $ICONV libgpg-error libgcrypt ncurses"
PKG_DEPENDS="libgpg-error libgcrypt ncurses"
PKG_BUILD_DEPENDS="toolchain libgpg-error libgcrypt ncurses"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="afpfs-ng: an Apple Filing Protocol client"

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.samba.org"
PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV zlib connman"
PKG_BUILD_DEPENDS="toolchain zlib attr $ICONV"
PKG_DEPENDS="zlib connman"
PKG_BUILD_DEPENDS="toolchain zlib attr"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="samba: The free SMB / CIFS fileserver and client"

View File

@ -22,11 +22,6 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
CONFIG_ENCA="--with-libiconv-prefix=$SYSROOT_PREFIX/usr"
export LDFLAGS="$LDFLAGS -liconv"
fi
CFLAGS="$CFLAGS -fPIC -DPIC"
cd $PKG_BUILD
@ -44,7 +39,6 @@ CPPFLAGS="-I$SYSROOT_PREFIX/usr/include" \
--disable-shared \
--enable-static \
--disable-external \
$CONFIG_ENCA \
--without-librecode \
--disable-rpath \
--with-gnu-ld

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://freshmeat.net/projects/enca/"
PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="other"
PKG_SHORTDESC="enca: detects the encoding of text files, on the basis of knowledge of their language."

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceforge.net/projects/fuse/"
PKG_URL="$SOURCEFORGE_SRC/fuse/fuse-2.X/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="fuse: A simple user-space filesystem interface for Linux"

View File

@ -22,14 +22,9 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
CONFIG_SENSORS="LIBICONV=-liconv"
fi
cd $PKG_BUILD
make PREFIX=/usr \
CC="$TARGET_CC" \
AR="$TARGET_AR" \
CFLAGS="$TARGET_CFLAGS" \
CPPFLAGS="$TARGET_CPPFLAGS" \
$CONFIG_SENSORS \

View File

@ -26,8 +26,8 @@ PKG_LICENSE="GPL"
PKG_SITE="http://secure.netroedge.com/~lm78/"
#PKG_URL="http://dl.lm-sensors.org/lm-sensors/releases/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="$ICONV"
PKG_BUILD_DEPENDS="toolchain $ICONV"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"

View File

@ -22,10 +22,6 @@
. config/options $1
if [ "$ICONV" = "libiconv" ]; then
CONFIG_LIBXML="--with-iconv"
fi
cd $PKG_BUILD
mkdir -p .build-target
@ -37,7 +33,6 @@ cd .build-target
--enable-static \
--enable-shared \
--disable-silent-rules \
$CONFIG_LIBXML \
--enable-ipv6 \
--without-python \
--with-zlib \

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org"
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV zlib"
PKG_BUILD_DEPENDS="toolchain $ICONV zlib"
PKG_DEPENDS="zlib"
PKG_BUILD_DEPENDS="toolchain zlib"
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
PKG_SHORTDESC="libxml: XML parser library for Gnome"

View File

@ -25,10 +25,6 @@
# xerces_c fails to build with LTO support
# strip_lto
if [ "$ICONV" = "libiconv" ]; then
export LDFLAGS="$LDFLAGS -liconv"
fi
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="APL"
PKG_SITE="http://xml.apache.org/xerces-c/"
PKG_URL="http://mirror.switch.ch/mirror/apache/dist/xerces/c/3/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="$ICONV curl"
PKG_BUILD_DEPENDS="toolchain $ICONV curl"
PKG_DEPENDS="curl"
PKG_BUILD_DEPENDS="toolchain curl"
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
PKG_SHORTDESC="xerces-c: A C++ XML parser"

View File

@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL="http://www.x.org/releases/individual/data/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain util-macros xkbcomp $ICONV"
PKG_BUILD_DEPENDS="toolchain util-macros xkbcomp"
PKG_PRIORITY="optional"
PKG_SECTION="x11/data"
PKG_SHORTDESC="xkeyboard-config: X keyboard extension data files"