From 6fb59c47344b8dec7f46dde511032a1ecb9b6658 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Fri, 26 Aug 2011 03:26:59 +0000 Subject: [PATCH] =?utf8?q?Gnash=20fonctionnel.=20=C3=87a=20prend=20absolum?= =?utf8?q?ent=20AGG=20pour=20que=20les=20vid=C3=A9os=20fonctionnent=20(cai?= =?utf8?q?ro=20ne=20suffit=20pas).=20Et=20=C3=A7a=20prend=20SDL=20aussi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- config/packages-list | 3 ++- stage5/hv-install-1 | 5 +++-- stage5/packages-update | 2 ++ stage5/pkg/agg | 13 +++++++++++++ stage5/pkg/gnash | 8 +++++--- 5 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 stage5/pkg/agg diff --git a/config/packages-list b/config/packages-list index 3baa976..3aac532 100644 --- a/config/packages-list +++ b/config/packages-list @@ -5,10 +5,10 @@ ABIWORD="abiword-2.8.6" ACPID="acpid-2.0.9" +AGG="agg-2.5" ALSA_LIB="alsa-lib-1.0.21" ALSA_PLUGINS="alsa-plugins-1.0.21" ALSA_UTILS="alsa-utils-1.0.21" - APR="apr-1.3.9" APR_UTIL="apr-util-1.3.9" AVR_GDB="gdb-6.4" @@ -381,6 +381,7 @@ SAMBA="samba-3.0.21c" SANE_BACKENDS="sane-backends-1.0.22" XSANE="xsane-0.996" SASL2="cyrus-sasl-2.1.23" +SDL="SDL-1.2.14" SED="sed-4.2.1" SENDMAIL="sendmail-8.14.4" SENDMAIL_GID="bin" diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 8d84886..686f563 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -135,8 +135,9 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the ipkg -s qt ${QT} ipkg -m noac ${LUA} ipkg -m acnb ${VLC} "--enable-mozilla" - ####ipkg ${GNASH} - # GtkGLExt gstreamer SDL xulrunner + ipkg ${SDL} + ipkg -m noac ${AGG} + ipkg ${GNASH} fi ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin" diff --git a/stage5/packages-update b/stage5/packages-update index a303c67..56e5d5d 100755 --- a/stage5/packages-update +++ b/stage5/packages-update @@ -117,6 +117,8 @@ fpkg -f "${FIREFOX}.source" ${FIREFOX} \ fpkg -e "tar.gz" ${QT} "http://get.qt.nokia.com/qt/source" fpkg -e "tar.gz" ${LUA} "http://www.lua.org/ftp" fpkg -e "tar.bz2" -m sf ${VLC} +fpkg -e "tar.gz" ${SDL} "http://www.libsdl.org/release" +fpkg -e "tar.gz" ${AGG} "http://www.antigrain.com" fpkg ${GNASH} "http://ftp.gnu.org/pub/gnu/gnash/$(get_pkg_ver ${GNASH})" fpkg -e "tar.gz" ${LIBSPF2} "http://libspf2.org/spf" diff --git a/stage5/pkg/agg b/stage5/pkg/agg new file mode 100644 index 0000000..1fb83b1 --- /dev/null +++ b/stage5/pkg/agg @@ -0,0 +1,13 @@ +#!/bin/bash + +hvconfig_pre() +{ + cd ${LFS_TMP}/${PACKAGE} + sh autogen.sh + + CONFIGURE_OPTS=" \ + ${CONFIGURE_OPTS} \ + --disable-static \ + --enable-ctrl \ + --enable-gpc" +} diff --git a/stage5/pkg/gnash b/stage5/pkg/gnash index 912e4e9..b71ca0d 100644 --- a/stage5/pkg/gnash +++ b/stage5/pkg/gnash @@ -5,10 +5,12 @@ hvconfig_pre() CONFIGURE_OPTS=" \ ${CONFIGURE_OPTS} \ --enable-gui=gtk \ - --enable-renderer=cairo" + --enable-media=gst \ + --enable-renderer=cairo,agg \ + --with-npapi-plugindir=/usr/lib/mozilla/plugins" } -hvconfig_post() +hvbuild_post() { - install -m 755 plugin/.libs/libgnashplugin.so /usr/lib/firefox/plugins + make install-plugin } -- 2.20.1