From: hugo Date: Tue, 30 Jun 2009 14:36:08 +0000 (+0000) Subject: Gnash X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=589342af5c6b0235fc6194ae39f76bbcd12d683e;p=hvlinux.git Gnash --- diff --git a/dependencies b/dependencies index 48b3ebb..bd28a9a 100644 --- a/dependencies +++ b/dependencies @@ -21,3 +21,5 @@ ${ABIWORD}: ${WV} ${GOFFICE} ${GIT}: cpio ${GIMP}: ${BABL} ${INTTOOL} ${PYGTK} + +${GNASH}: ${AGG} diff --git a/packages-list b/packages-list index a05c21e..945b271 100644 --- a/packages-list +++ b/packages-list @@ -6,6 +6,7 @@ HV_FONTS_PATH="/usr/share/fonts" ABIWORD="abiword-2.6.4" +AGG="agg-2.5" ALSA_DRIVER="alsa-driver-1.0.15" ALSA_LIB="alsa-lib-1.0.15" ALSA_PLUGINS="alsa-plugins-1.0.15" @@ -81,13 +82,11 @@ EXPAT="expat-2.0.0" LIBFAAD2="faad2-2.6.1" LIBFAAC="faac-1.26" FCRON="fcron-3.0.0" -##FFMPEG="ffmpeg-17742" FFMPEG="ffmpeg-0.5" FILE_PKG="file-4.26" FINDUTILS="findutils-4.2.32" -FIREFOX="firefox-3.0.1" +FIREFOX="firefox-3.0.10" FLAC="flac-1.2.1" -#####FLASH_PLUGIN="flash-player-9.0.48.0" FLEX="flex-2.5.33" FONTCONFIG="fontconfig-2.4.2" FREETYPE="freetype-2.3.4" @@ -115,6 +114,7 @@ GETTEXT="gettext-0.17" ESPGS="espgs-8.15.2" GHOSTSCRIPT_FONTS_STD="ghostscript-fonts-std-8.11" GHOSTSCRIPT_FONTS_OTHER="ghostscript-fonts-other-6.0" +GNASH=" gnash-0.8.5" GIMP="gimp-2.6.6" GUTENPRINT="gutenprint-5.2.3" GLIB2="glib-2.18.4" @@ -198,7 +198,7 @@ GNOME_TOTEM="totem-2.18.3" GDM="gdm-2.18.3" GNOME_MOUNT="gnome-mount-0.6" -LIBSOUP="libsoup-2.2.100" +LIBSOUP="libsoup-2.4.1" GGV="ggv-2.8.4" LIBWNCK="libwnck-2.16.1" STARTUP_NOTIFICATION="startup-notification-0.8" @@ -257,7 +257,7 @@ KERNEL="linux-2.6.28.3" KVM="kvm-84" LAME="lame-3.97" -LCMS="lcms-1.15" +LCMS="lcms-1.17" LESS="less-418" LESSTIF="lesstif-0.95.0" LFS_BOOTSCRIPTS="lfs-bootscripts-20070813" @@ -278,7 +278,7 @@ VORBIS_TOOLS="vorbis-tools-1.1.1" LIBID3TAG="libid3tag-0.15.1b" LIBMAD="libmad-0.15.1b" LIBJPEG="libjpeg-6b" -LIBPNG="libpng-1.2.29" +LIBPNG="libpng-1.2.35" LIBTIFF="tiff-3.7.4" GIFLIB="giflib-4.1.4" LIBMNG="libmng-1.0.9" @@ -329,7 +329,7 @@ OPENLDAP="openldap-2.3.38" OPENSP="OpenSP-1.5.2" OPENSSH="openssh-4.7p1" OPENSSL="openssl-0.9.8g" -OPERA="opera-9.51-2061.gcc4-shared-qt3.i386" +OPERA="opera-9.64-2480.gcc4-shared-qt3.i386" OPERA_LANG_FR="ouw900_fr-CA.lng" PAM="Linux-PAM-0.99.7.1" @@ -362,7 +362,7 @@ PERL_MOD_NET_DNS="Net-DNS-0.61" PHP="php-5.2.6" PIXMAN="pixman-0.10.0" PKG_CONFIG="pkg-config-0.22" -POPPLER="poppler-0.8.5" +POPPLER="poppler-0.10.5" POPT="popt-1.10.4" PORTAUDIO="portaudio-v19_061121" PORTMAP="portmap-6.0" diff --git a/stage3/cis-agg b/stage3/cis-agg new file mode 100755 index 0000000..6937f41 --- /dev/null +++ b/stage3/cis-agg @@ -0,0 +1,30 @@ +#!/bin/sh +# First argument of this script is the package name. +# Remaining arguments are additional configure options. + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +PACKAGE=${1} +shift +CONFIGURE_OPTS=${*} + +# Applying patches (if any) +apply_patches ${PACKAGE} && + +cd ${LFS_TMP}/${PACKAGE} && +sh autogen.sh && +./configure \ + --prefix=/usr \ + --disable-static \ + --enable-ctrl \ + --enable-gpc \ + ${CONFIGURE_OPTS} && +make && +make install && +ldconfig + +# Return last error +exit $? diff --git a/stage3/cis-dosfstools b/stage3/cis-dosfstools new file mode 100755 index 0000000..35a5bd4 --- /dev/null +++ b/stage3/cis-dosfstools @@ -0,0 +1,26 @@ +#!/bin/sh +# First argument of this script is the package name. +# Remaining arguments are additional configure options. + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +PACKAGE=${1} + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +# Applying patches (if any) +apply_patches ${PACKAGE} && + +cd ${LFS_TMP}/${PACKAGE} && +make && +make PREFIX=/usr SBINDIR=/sbin install && +ldconfig + +# Return last error +exit $? diff --git a/stage3/cis-firefox b/stage3/cis-firefox index 5062900..190c132 100755 --- a/stage3/cis-firefox +++ b/stage3/cis-firefox @@ -21,6 +21,9 @@ cat > .mozconfig << "EOF" # Use the default settings specified in the source tree . $topsrcdir/browser/config/mozconfig +# build the browser +ac_add_options --enable-application=browser + # Create an object directory and specify to build the package in that # directory. If desired, modify the location of the object directory # to a directory inside the source tree by removing '../' from the @@ -33,43 +36,55 @@ mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../_FIREFOX_BUILD_DIR_ # the BLFS book to point to your desired prefix. ac_add_options --prefix=/usr +# Compile with a minimal level of optimization +ac_add_options --enable-optimize + # These options are used so that the Firefox binaries are linked to # the system-installed copies of the specified libraries instead of # the source tree code which may not be the most recent versions. ac_add_options --with-system-zlib ac_add_options --with-system-jpeg ac_add_options --enable-system-cairo -# --with-system-png: Problem with missing apng support - -# This option causes the installed binaries to have the official -# Firefox name embedded in them. Due to license restrictions, you -# may not distribute binaries created using this option. -ac_add_options --enable-official-branding +ac_add_options --enable-system-lcms +ac_add_options --enable-system-sqlite +# comment this if you have not installed png with the apng patch +ac_add_options --with-system-png # This option is used to enable support for rendering SVG files in the # Firefox browser. Comment out the line to disable the option. ac_add_options --enable-svg -# This option is used so that the debugging symbols are removed from -# the installed binaries during the installation process. Comment out -# this option if you may have a need to retain the debugging symbols -# in the installed binaries. Note that this can substantially -# increase the size of the installed binaries. -ac_add_options --enable-strip +# These two options enable support for building Firefox with +# system-installed versions of the Network Security Services (NSS) +# and Netscape Portable Runtime (NSPR) libraries. We build these +# as part of xulrunner, so we can use them here. For a standalone +# firefox you might want to comment these. +#ac_add_options --with-system-nspr +#ac_add_options --with-system-nss -# This option is added so that test libraries and programs are not -# built. These would only be required for debugging purposes. -ac_add_options --disable-tests +# uncomment this if you did not build curl +ac_add_options --disable-crashreporter # This option is added so that the Mozilla Installer program is not # built or installed. The program is not required for a BLFS # installation of Firefox. ac_add_options --disable-installer +# The updater is not useful if you build from source. +ac_add_options --disable-updater + # This option is used to disable the a11y support in the Firefox # binaries. Comment out this option if you require a11y support. ac_add_options --disable-accessibility +# This option is added so that test libraries and programs are not +# built. These would only be required for debugging purposes. +ac_add_options --disable-tests + +# The mochitest is a separate test feature and has caused problems +# in the past. +ac_add_options --disable-mochitest + # This option is used to enable source tree included LDAP support in # the Firefox binaries. ################################################################### @@ -84,13 +99,24 @@ ac_add_options --disable-accessibility # make[3]: *** No targets specified and no makefile found. Stop. ######ac_add_options --enable-ldap -# These two options enable support for building Firefox with -# system-installed versions of the Network Security Services (NSS) -# and Netscape Portable Runtime (NSPR) libraries. Uncomment both -# lines to enable support for system-installed NSS/NSPR. -#ac_add_options --with-system-nss -# --with-system-nss: Problem with missing nss-config in nss-3.12!!! -#ac_add_options --with-system-nspr +# This option causes the installed binaries to have the official +# Firefox name embedded in them. Due to license restrictions, you +# may not distribute binaries created using this option. +ac_add_options --enable-official-branding + +# use the anti-phishing blacklist +ac_add_options --enable-safe-browsing + +# This option is used so that the debugging symbols are removed from +# the installed binaries during the installation process. Comment out +# this option if you may have a need to retain the debugging symbols +# in the installed binaries. Note that this can substantially +# increase the size of the installed binaries. +ac_add_options --enable-strip + +# Point to the xulrunner libraries - comment this for a standalone browser +#ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.0.7 + EOF sed -i -e "s!_FIREFOX_BUILD_DIR_!${FIREFOX_BUILD_DIR}!g" .mozconfig && diff --git a/stage3/cis-gdbm b/stage3/cis-gdbm new file mode 100755 index 0000000..3d7c8cb --- /dev/null +++ b/stage3/cis-gdbm @@ -0,0 +1,35 @@ +#!/bin/sh +# First argument of this script is the package name. +# Remaining arguments are additional configure options. + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +PACKAGE=${1} +shift +CONFIGURE_OPTS=${*} + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +# Applying patches (if any) +apply_patches ${PACKAGE} && + +cd ${LFS_TMP}/${PACKAGE}-build && +../${PACKAGE}/configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + ${CONFIGURE_OPTS} && +make && +# Overrides the BINOWN and BINGRP variables in the Makefile changing ownership of +# the installed files to root instead of the bin user: +make BINOWN=root BINGRP=root install && + +ldconfig + +# Return last error +exit $? diff --git a/stage3/cis-gnash b/stage3/cis-gnash new file mode 100755 index 0000000..5be6d70 --- /dev/null +++ b/stage3/cis-gnash @@ -0,0 +1,30 @@ +#!/bin/sh +# First argument of this script is the package name. +# Remaining arguments are additional configure options. + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +PACKAGE=${1} +shift +CONFIGURE_OPTS=${*} + +# Applying patches (if any) +apply_patches ${PACKAGE} && + +cd ${LFS_TMP}/${PACKAGE}-build && +../${PACKAGE}/configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-gui=gtk \ + ${CONFIGURE_OPTS} && +make && +make install && +ldconfig && + +install -m 755 plugin/.libs/libgnashplugin.so /usr/lib/firefox/plugins + +# Return last error +exit $? diff --git a/stage3/packages-update b/stage3/packages-update index de470e5..a7b5af1 100755 --- a/stage3/packages-update +++ b/stage3/packages-update @@ -193,6 +193,8 @@ fpkg ${QT} "http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source fpkg_hv ${OPERA} fpkg_hv ${OPERA_LANG_FR} +fpkg_hv ${AGG} +fpkg ${GNASH} "http://ftp.gnu.org/pub/gnu/gnash/$(get_pkg_ver ${GNASH})" fpkg_hv ${NSS} # Il faut simplement renommer firefox-3.0.1-source.tar.bz2 en firefox-3.0.1.tar.bz2 diff --git a/stage3/stage3-install b/stage3/stage3-install index f5d1c42..c5a7f85 100755 --- a/stage3/stage3-install +++ b/stage3/stage3-install @@ -263,7 +263,8 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the # Plugins for Opera and Firefox ipkg ${JAVA} cis-java - ######ipkg ${FLASH_PLUGIN} cis-flashplugin + ipkg ${AGG} cis-agg + ipkg ${GNASH} cis-gnash ipkg_ac_nb ${FFMPEG} "--enable-shared --enable-pthreads --enable-swscaler --enable-liba52 \ --enable-gpl --disable-ffplay --enable-libfaac --enable-libfaad \