]> git.openpandora.org Git - openembedded.git/commitdiff
Merge openembedded@openembedded.bkbits.net:packages-devel
authorChris Larson <clarson@kergoth.com>
Tue, 16 Nov 2004 06:35:01 +0000 (06:35 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 16 Nov 2004 06:35:01 +0000 (06:35 +0000)
into handhelds.org:/home/kergoth/code/packages

2004/11/16 00:34:37-06:00 handhelds.org!kergoth
Make some packages that were setting --(dis|en)able-nls use the gettext oeclass instead.

BKrev: 41999f95y5kOtyn8kkalbqOVb83Jng

19 files changed:
binutils/binutils_2.14.90.0.6.oe
binutils/binutils_2.14.90.0.7.oe
binutils/binutils_2.15.90.0.3.oe
binutils/binutils_2.15.91.0.1.oe
binutils/binutils_2.15.91.0.2.oe
binutils/binutils_cvs.oe
gcc-csl/gcc-csl_2004-q1a.oe
gcc-snapshot/gcc-snapshot_cvs.oe
gdb/gdb_6.1.oe
gdb/gdb_6.2.1.oe
gdb/gdb_6.2.oe
lftp/lftp_3.0.1.oe
libffi/libffi_2.0+gcc3.4.1.oe
libxine/libxine-opie_1.0.0-rc7.oe
libxine/libxine_1.0.0-rc5.oe
libxine/libxine_1.0.0-rc7.oe
matchbox-panel/matchbox-panel_0.8.1.oe
matchbox-panel/matchbox-panel_0.8.3.oe
matchbox-panel/matchbox-panel_0.8.oe

index ac3284e1813a4a67bd9b552b0716c7e583d6dd2b..e5f7cd02e633243b14183fba88f5fafe9dc79e75 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 PR = "r1"
 
@@ -52,7 +52,6 @@ S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--with-sysroot=${prefix} \
-               --disable-nls \
                --program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
index a73fee8794b946938867b928b2196ade0591b088..139bc45b6c22736e58870d17f09c657c36bcbe03 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
@@ -52,7 +52,6 @@ S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--with-sysroot=${prefix} \
-               --disable-nls \
                --program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
index c7ac536542c00775b4cbdabf591e6fa4350466cd..466def8c6fe15cc2eea89b2d250168c7c3a08ca8 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
@@ -50,7 +50,6 @@ S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--with-sysroot=${prefix} \
-               --disable-nls \
                --program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
index e305092fa3f4ca7addc5daa890ae64f903948788..d92cc9031277e7e933ac708382ac187ba2695398 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
@@ -49,7 +49,6 @@ S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--with-sysroot=${prefix} \
-               --disable-nls \
                --program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
index 99db09d98885ad1eb700ea51654dc0338e53bfb3..a2f1addfd529564c4eea8844b984b86412e719ab 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
 PR = "r4"
 
-inherit autotools
+inherit autotools gettext
 
 PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
@@ -50,8 +50,7 @@ SRC_URI = \
 S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
-EXTRA_OECONF = "--disable-nls \
-               --program-prefix=${TARGET_PREFIX} \
+EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
 # This is necessary due to a bug in the binutils Makefiles
index 49cbcf28e39312de1f1c761e4014b267d44a4848..c20175fdf712ced958045ef3a483809509f3e191 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
@@ -48,7 +48,6 @@ S = "${WORKDIR}/src"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--with-sysroot=${prefix} \
-               --disable-nls \
                --program-prefix=${TARGET_PREFIX} \
                --enable-shared"
 
index b179975816bcd218730ab960f2255e1d8ea293d7..b91f1a1dfc01dada9cdea79f43289aa8c4757444 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 DESCRIPTION = "The GNU cc and gcc C compilers."
 LICENSE = "GPL"
@@ -138,8 +138,7 @@ python do_patch () {
 S = "${WORKDIR}/gcc-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
-EXTRA_OECONF = "--disable-nls \
-                --with-gnu-ld \
+EXTRA_OECONF = "--with-gnu-ld \
                 --enable-shared \
                 --enable-multilib \
                 --enable-target-optspace \
index 59a5e32008d6eb52827f0f27326e146993f328d3..dfa9fe53448676f7bfa0b9661798244bd36eced8 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-inherit autotools
+inherit autotools gettext
 
 PV = "${CVSDATE}"
 DESCRIPTION = "The GNU cc and gcc C compilers."
@@ -119,8 +119,7 @@ python do_patch () {
 S = "${WORKDIR}/gcc"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
-EXTRA_OECONF = "--disable-nls \
-                --with-gnu-ld \
+EXTRA_OECONF = "--with-gnu-ld \
                 --enable-shared \
                 --enable-multilib \
                 --enable-target-optspace \
index f187f5bc8e2b45e9164596f832e70d6969c2c86b..081eb6040f6142bdcca37499a45d3c012802bd14 100644 (file)
@@ -7,7 +7,7 @@ DEPENDS = "ncurses readline"
 PACKAGES =+ 'gdbserver '
 FILES_gdbserver = '${bindir}/gdbserver'
 
-inherit autotools
+inherit autotools gettext
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           file://uclibc.patch;patch=1"
@@ -22,7 +22,7 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
 export CFLAGS_append=" -L${STAGING_LIBDIR}"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
-EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-nls \
+EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
                 --with-curses --with-readline --disable-sim \
                 --program-prefix=''"
 
index 46ff8d4006786c18f54f12d129e451b1a5fb56c9..5bd3b2b51c9ab4663d2775a9ea8f4de8234c5ab3 100644 (file)
@@ -9,7 +9,7 @@ DEPENDS = "ncurses readline"
 PACKAGES =+ 'gdbserver '
 FILES_gdbserver = '${bindir}/gdbserver'
 
-inherit autotools
+inherit autotools gettext
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           file://uclibc.patch;patch=1 \
@@ -25,7 +25,7 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
 export CFLAGS_append=" -L${STAGING_LIBDIR}"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
-EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-nls \
+EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
                 --with-curses --disable-multilib --with-readline --disable-sim \
                 --program-prefix=''"
 
index dc1e2106d1ff9e2ebf1dfb9eb9f82c0463991869..b8d0ec606ed10aab308e22353c267e8f3734c25d 100644 (file)
@@ -8,7 +8,7 @@ DEPENDS = "ncurses readline"
 PACKAGES =+ 'gdbserver '
 FILES_gdbserver = '${bindir}/gdbserver'
 
-inherit autotools
+inherit autotools gettext
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           file://uclibc.patch;patch=1"
@@ -23,7 +23,7 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
 export CFLAGS_append=" -L${STAGING_LIBDIR}"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
-EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-nls \
+EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
                 --with-curses --disable-multilib --with-readline --disable-sim \
                 --program-prefix=''"
 
index a054bbdedb124f4662db9248437fc5baa325410f..d1445b2c920356bed9f76a8eb0499d48ef841861 100644 (file)
@@ -9,7 +9,6 @@ PR = "r1"
 SRC_URI = "http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-${PV}.tar.bz2 \
           file://pty.patch;patch=1"
 
-EXTRA_OECONF = "--disable-largefile --disable-rpath --disable-nls --with-included-readline=no"
+EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
 
-
-inherit autotools
+inherit autotools gettext
index a2204a6a0f3f99420b7e9d2dd166a581d95d7896..2708d0f31dacbbb219c2e205b2f2949ad8eda496 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "libffi"
 PRIORITY = "optional"
 MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
 
-inherit autotools
+inherit autotools gettext
 
 PACKAGES = "${PN} ${PN}-dev"
 
@@ -28,8 +28,7 @@ ${GNU_MIRROR}/gcc/    http://mirrors.rcn.net/pub/sourceware/gcc/releases/
 S = "${WORKDIR}/gcc-${GCC_VER}/libffi"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
-EXTRA_OECONF = "--disable-nls \
-                --with-gnu-ld \
+EXTRA_OECONF = "--with-gnu-ld \
                 --enable-shared \
                 --enable-target-optspace \
                 --enable-languages=c,c++,f77 \
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b0d5db2ba6d4a7a89b71f8bff1ec72e7d42633a9 100644 (file)
@@ -0,0 +1,96 @@
+# libxine OE build file
+# Modified by Advanced Micro Devices, Inc.
+
+DESCRIPTION = "libxine compiled for Opie"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
+DEPENDS = "zlib libogg tremor libmad"
+PROVIDES = "virtual/libxine"
+
+inherit autotools pkgconfig gettext
+
+S = "${WORKDIR}/xine-lib-1-rc7"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/xine/xine-lib-1-rc7.tar.gz \
+       file://cpu-${PV}.patch;patch=1 \
+       file://configure-${PV}.patch;patch=1 \
+       file://demuxogg.patch;patch=1 \
+       file://fix-syntax.patch;patch=1 \
+       file://libxine-cut-memusage.patch;patch=1 \
+       file://libxine-ffmpeg-enable-arm.patch;patch=1 \
+       file://libxine-libvorbis.patch;patch=1 \
+       file://libxine-tremor-autoconf.patch;patch=1 \
+       file://mpegvideo-static-inlinine.patch;patch=1 \
+       file://libxine-arm-configure.patch;patch=1 "
+
+
+
+SOV = "1.0.7"
+
+# Omit the annoying xine-config in /usr/bin
+FILES_${PN}="/usr/lib/*.so*"
+
+# And include it in the dev package
+FILES_${PN}-dev += " /usr/bin"
+
+EXTRA_OECONF="-with-zlib-path=${STAGING_DIR}/${HOST_SYS} \
+       --with-vorbis-prefix=${STAGING_DIR}/${HOST_SYS} \
+       --disable-oggtest \
+       --with-ogg-prefix=${STAGING_DIR}/${HOST_SYS} \
+       --disable-altivec --disable-vis --disable-mlib \
+       --enable-shared --disable-static \ 
+       --disable-fb --disable-alsa --disable-vcd \
+       --disable-asf --disable-faad --disable-iconv \
+       --disable-aalib --with-xv-path=${STAGING_LIBDIR} \
+       --without-v4l --without-arts --without-sdl \
+       --disable-dxr3 --without-xv --without-xvmc \
+       --without-xxmc --without-Xshm "
+                             
+do_compile() {
+       oe_runmake LIBTOOL=${S}/${TARGET_SYS}-libtool
+}
+
+do_install() {
+       oe_runmake DESTDIR=${D} LIBTOOL=${S}/${TARGET_SYS}-libtool install
+}
+
+HEADERS="src/xine-engine/xineintl.h src/xine-utils/xineutils.h            \
+       src/xine-engine/xine_internal.h  src/xine-engine/xine_plugin.h    \
+       src/xine-utils/xine_buffer.h     src/xine-engine/video_out.h      \
+       src/xine-engine/buffer.h         src/xine-engine/vo_scale.h       \
+       src/xine-engine/configfile.h     src/xine-utils/attributes.h      \
+       src/xine-engine/info_helper.h    src/xine-engine/scratch.h        \
+       src/xine-engine/audio_decoder.h  src/input/input_plugin.h         \
+       src/xine-engine/spu_decoder.h    src/xine-engine/audio_out.h      \
+       src/xine-engine/io_helper.h      src/xine-engine/video_decoder.h  \
+       src/xine-engine/broadcaster.h    src/xine-engine/metronom.h       \
+       src/xine-utils/xmllexer.h        src/xine-engine/osd.h            \
+       src/xine-engine/video_overlay.h  src/xine-utils/xmlparser.h       \
+       src/xine-utils/compat.h          src/xine-engine/plugin_catalog.h \
+       src/xine-engine/post.h           src/demuxers/demux.h             \
+       src/xine-engine/resample.h       lib/os_types.h                   \
+       src/xine-engine/refcounter.h"
+
+do_stage() {
+       install -d ${STAGING_INCDIR}/xine
+
+       install -m 0644 ${S}/include/xine.h ${STAGING_INCDIR}
+
+       for file in ${HEADERS}; do
+               cp ${S}/$file ${STAGING_INCDIR}/xine/`basename $file`
+       done
+
+       oe_libinstall -so -C src/xine-engine libxine ${STAGING_LIBDIR}
+}
+
+python populate_packages_prepend () {
+       plugindir = oe.data.expand('${libdir}/xine/plugins/1.0.0', d)
+       do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' )
+
+       postdir = oe.data.expand('${libdir}/xine/plugins/1.0.0/post', d)
+       do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' )
+
+       fontdir = oe.data.expand('${datadir}/xine/libxine1/fonts', d)
+       do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s', extra_depends='' )
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..90f57f2be3dfba47f257a303d508871bde88743d 100644 (file)
@@ -0,0 +1,69 @@
+# libxine OE build file
+# Modified by Advanced Micro Devices, Inc.
+
+DESCRIPTION = "libxine"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
+DEPENDS = "zlib libogg libvorbis libmad"
+
+inherit autotools pkgconfig gettext
+
+S = "${WORKDIR}/xine-lib-1-rc5"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/xine/xine-lib-1-rc5.tar.gz \
+       file://cpu.patch;patch=1 \
+       file://configure.patch;patch=1"
+
+SOV = "1.0.6"
+
+# Omit the annoying xine-config in /usr/bin
+FILES_${PN}="/usr/lib/*.so*"
+
+# And include it in the dev package
+FILES_${PN}-dev += " /usr/bin"
+
+EXTRA_OECONF="-with-zlib-path=${STAGING_DIR}/${HOST_SYS} \
+       --with-vorbis-prefix=${STAGING_DIR}/${HOST_SYS} \
+       --disable-oggtest \
+       --with-ogg-prefix=${STAGING_DIR}/${HOST_SYS} \
+       --disable-altivec --disable-vis --disable-mlib \
+       --disable-fb --disable-alsa --disable-vcd \
+       --disable-asf --disable-faad --disable-iconv \
+       --disable-aalib \
+       --without-v4l --without-arts --without-sdl"
+                             
+do_compile() {
+       oe_runmake LIBTOOL=${S}/${TARGET_SYS}-libtool
+}
+
+do_install() {
+       oe_runmake DESTDIR=${D} LIBTOOL=${S}/${TARGET_SYS}-libtool install
+}
+
+HEADERS="src/xine-engine/xineintl.h src/xine-utils/xineutils.h \
+       src/xine-engine/xine_internal.h src/xine-engine/xine_plugin.h \
+       src/xine-utils/xine_buffer.h"
+
+do_stage() {
+       install -d ${STAGING_INCDIR}/xine
+
+       install -m 0644 ${S}/include/xine.h ${STAGING_INCDIR}
+
+       for file in ${HEADERS}; do
+               cp ${S}/$file ${STAGING_INCDIR}/xine/`basename $file`
+       done
+
+       oe_libinstall -so -C src/xine-engine libxine ${STAGING_LIBDIR}
+}
+
+python populate_packages_prepend () {
+       plugindir = oe.data.expand('${libdir}/xine/plugins/1.0.0', d)
+       do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s')
+
+       postdir = oe.data.expand('${libdir}/xine/plugins/1.0.0/post', d)
+       do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s')
+
+       fontdir = oe.data.expand('${datadir}/xine/libxine1/fonts', d)
+       do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s')
+}
index 15c818447066249916be08a16b9cf70f4bfd793d..ae8ae987c0589e37af03574fe16140d45337fa9c 100644 (file)
@@ -31,7 +31,7 @@ MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
 DEPENDS = "zlib libogg libvorbis libmad"
 PROVIDES = "virtual/libxine"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig gettext
 
 S = "${WORKDIR}/xine-lib-1-rc7"
 
@@ -55,7 +55,7 @@ EXTRA_OECONF="-with-zlib-path=${STAGING_DIR}/${HOST_SYS} \
        --enable-shared --disable-static \ 
        --disable-fb --disable-alsa --disable-vcd \
        --disable-asf --disable-faad --disable-iconv \
-       --disable-nls --disable-aalib --with-xv-path=${STAGING_LIBDIR} \
+       --disable-aalib --with-xv-path=${STAGING_LIBDIR} \
        --without-v4l --without-arts --without-sdl"
                              
 do_compile() {
index 077e19a24cf82421fcc7864eb1df2658f39e679d..5844cad1f11b60aad9f5ad6bef203c95a3e399d6 100644 (file)
@@ -10,9 +10,9 @@ SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/matchbox-panel/0.8/matchbox-
        file://make-batteryapp-less-strict.patch;patch=1"
 S = "${WORKDIR}/matchbox-panel-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig gettext
 
-EXTRA_OECONF = "--enable-startup-notification --enable-dnotify --enable-nls --enable-small-icons"
+EXTRA_OECONF = "--enable-startup-notification --enable-dnotify --enable-small-icons"
 
 FILES_${PN} = "${bindir} \
               ${datadir}/applications \
index a8e3a964f8e859fa7d9bdd3e9347bef117f7d203..445b8d38de41c285f007d9030b49b0e230168ff1 100644 (file)
@@ -7,9 +7,9 @@ SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/matchbox-panel/0.8/matchbox-
        file://make-batteryapp-less-strict.patch;patch=1"
 S = "${WORKDIR}/matchbox-panel-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig gettext
 
-EXTRA_OECONF = "--enable-startup-notification --enable-dnotify --enable-nls --enable-small-icons"
+EXTRA_OECONF = "--enable-startup-notification --enable-dnotify --enable-small-icons"
 
 FILES_${PN} = "${bindir} \
               ${datadir}/applications \
index ae265a3160543dfa0c7b6d466349aa06c2420764..fd31832b39ee77e14ef3ab4f93f873f1d6ace8ca 100644 (file)
@@ -7,9 +7,8 @@ RDEPENDS = "libmatchbox matchbox-common"
 SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/matchbox-panel/${PV}/matchbox-panel-${PV}.tar.bz2"
 S = "${WORKDIR}/matchbox-panel-${PV}"
 
-inherit autotools  pkgconfig
+inherit autotools pkgconfig gettext
 
 EXTRA_OECONF = "--enable-small-icons"
 #              --enable-dnotify
 #              --enable-startup-notification
-#              --enable-nls