diff options
Diffstat (limited to 'packages')
49 files changed, 42 insertions, 7646 deletions
diff --git a/packages/gxine/gxine_0.4.1.bb b/packages/gxine/gxine_0.4.1.bb index ef68a314de..b171d1e9a9 100644 --- a/packages/gxine/gxine_0.4.1.bb +++ b/packages/gxine/gxine_0.4.1.bb @@ -2,8 +2,8 @@ DESCRIPTION = "gxine is a front-end for libxine." SECTION = "x11/multimedia" LICENSE = "GPL" MAINTAINER = "Chris Lord <cwiiis@handhelds.org>" -DEPENDS = "gtk+ libxine" -PR = "r1" +DEPENDS = "gtk+ libxine-x11" +PR = "r2" DEFAULT_PREFERENCE = "-1" diff --git a/packages/gxine/gxine_0.4.1enhanced.bb b/packages/gxine/gxine_0.4.1enhanced.bb index 2ad90c789c..189eccdd02 100644 --- a/packages/gxine/gxine_0.4.1enhanced.bb +++ b/packages/gxine/gxine_0.4.1enhanced.bb @@ -2,7 +2,8 @@ DESCRIPTION = "gxine is a front-end for libxine." SECTION = "x11/multimedia" LICENSE = "GPL" MAINTAINER = "Chris Lord <cwiiis@handhelds.org>" -DEPENDS = "gtk+ libxine" +DEPENDS = "gtk+ libxine-x11" +PR = "r1" # Long list of RDEPENDS required to playback mp3/ogg audio and mpeg/mpeg4 video RDEPENDS = "libxine-plugin-vo-out-xshm \ diff --git a/packages/libxine/libxine-1.0.0-beta12/configure.ac.patch b/packages/libxine/libxine-1.0.0-beta12/configure.ac.patch deleted file mode 100644 index 7eda48ab25..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/configure.ac.patch +++ /dev/null @@ -1,152 +0,0 @@ ---- xine-lib/configure.ac 2003-08-10 15:20:01.000000000 +0200 -+++ xine-lib/configure.ac.patched 2003-08-10 15:23:42.000000000 +0200 -@@ -506,10 +506,10 @@ - dnl --------------------------------------------- - dnl check for SDL - dnl --------------------------------------------- --AM_PATH_SDL(1.1.5, -- AC_DEFINE(HAVE_SDL,1,[Define this if you have SDL library installed]), -- []) --AM_CONDITIONAL(HAVE_SDL, [test x"$no_sdl" != x"yes"]) -+dnl AM_PATH_SDL(1.1.5, -+dnl AC_DEFINE(HAVE_SDL,1,[Define this if you have SDL library installed]), -+dnl []) -+dnl AM_CONDITIONAL(HAVE_SDL, [test x"$no_sdl" != x"yes"]) - - - dnl --------------------------------------------- -@@ -608,19 +608,19 @@ - dnl Ogg/Theora libs. - dnl --------------------------------------------- - --AM_PATH_OGG( -- [ AM_PATH_THEORA(AC_DEFINE(HAVE_THEORA,1,[Define this if you have theora]), -- AC_MSG_RESULT([*** All OGG/THEORA dependent parts will be disabled ***])) -- ], -- AC_MSG_RESULT([*** All of OGG/Theora dependent parts will be disabled ***])) --AM_CONDITIONAL(HAVE_THEORA, [test x"$no_ogg" != "xyes" -a x"$no_theora" != "xyes"]) -+dnl AM_PATH_OGG( -+dnl [ AM_PATH_THEORA(AC_DEFINE(HAVE_THEORA,1,[Define this if you have theora]), -+dnl AC_MSG_RESULT([*** All OGG/THEORA dependent parts will be disabled ***])) -+dnl ], -+dnl AC_MSG_RESULT([*** All of OGG/Theora dependent parts will be disabled ***])) -+dnl AM_CONDITIONAL(HAVE_THEORA, [test x"$no_ogg" != "xyes" -a x"$no_theora" != "xyes"]) - - dnl --------------------------------------------- - dnl check for libFLAC - dnl --------------------------------------------- --AM_PATH_LIBFLAC([], -- AC_MSG_RESULT([*** All FLAC dependent parts will be disabled ***])) --AM_CONDITIONAL(HAVE_FLAC, [test x"$no_libFLAC" != "xyes"]) -+dnl AM_PATH_LIBFLAC([], -+dnl AC_MSG_RESULT([*** All FLAC dependent parts will be disabled ***])) -+dnl AM_CONDITIONAL(HAVE_FLAC, [test x"$no_libFLAC" != "xyes"]) - - dnl --------------------------------------------- - dnl XviD libs. -@@ -668,90 +668,7 @@ - AC_SUBST(PNG_LIBS) - - dnl --------------------------------------------- --dnl freetype2 lib. --dnl --------------------------------------------- --AC_PATH_PROG(FREETYPE_CONFIG, moooooooooooo_putain_de_script_freetype-config, no) --if test "$FREETYPE_CONFIG" = "no" ; then -- AC_MSG_RESULT([*** freetype-config not found, freetype2 support disabled ***]) --else -- FT2_CFLAGS=`$FREETYPE_CONFIG --cflags` -- FT2_LIBS=`$FREETYPE_CONFIG --libs` -- have_ft2="yes" -- AC_DEFINE(HAVE_FT2,1,[Define this if you have freetype2 library]) --fi -- --AM_CONDITIONAL(HAVE_FT2, test x"$have_ft2" = "xyes" ) --AC_SUBST(FT2_CFLAGS) --AC_SUBST(FT2_LIBS) -- --dnl --------------------------------------------- --dnl OSS style audio interface --dnl --------------------------------------------- --AC_MSG_CHECKING(for OSS audio support) --have_ossaudio=no --AC_TRY_COMPILE([ -- #ifdef __NetBSD__ -- #include <soundcard.h> -- #else -- #include <sys/soundcard.h> -- #endif -- ],[ -- int arg = SNDCTL_DSP_SETFRAGMENT; -- ],[ -- have_ossaudio=yes -- ]) --AC_MSG_RESULT($have_ossaudio) --AM_CONDITIONAL(HAVE_OSS, test x"$have_ossaudio" = "xyes") -- -- --dnl --------------------------------------------- --dnl Alsa support --dnl --------------------------------------------- --AM_PATH_ALSA(0.9.0, -- [ AC_DEFINE(HAVE_ALSA,1,[Define this if you have Alsa (libasound) installed]) -- if test x"$have_alsa09" = "xyes"; then -- AC_DEFINE(HAVE_ALSA09,1,[Define this if you have alsa 0.9.x and more installed]) -- fi -- ], -- AC_MSG_RESULT(*** All of ALSA dependent parts will be disabled ***)) --AM_CONDITIONAL(HAVE_ALSA, test x"$no_alsa" != "xyes") --AM_CONDITIONAL(HAVE_ALSA09, test x"$have_alsa09" = "xyes") -- -- --dnl --------------------------------------------- --dnl ESD support --dnl --------------------------------------------- --AM_PATH_ESD(0.2.8, -- AC_DEFINE(HAVE_ESD,1,[Define this if you have ESD (libesd) installed]), -- AC_MSG_RESULT(*** All of ESD dependent parts will be disabled ***)) --AM_CONDITIONAL(HAVE_ESD, test x"$no_esd" != "xyes") -- --dnl --------------------------------------------- --dnl ARTS support --dnl --------------------------------------------- --AM_PATH_ARTS(0.9.5, -- AC_DEFINE(HAVE_ARTS,1,[Define this if you have ARTS (libartsc) installed]), -- AC_MSG_RESULT(*** All of ARTS dependent parts will be disabled ***)) --AM_CONDITIONAL(HAVE_ARTS, test x"$no_arts" != "xyes") -- --dnl --------------------------------------------- --dnl gnome-vfs support --dnl --------------------------------------------- --PKG_CHECK_MODULES(GNOME_VFS, putain_de_module_gnome-vfs-2.0, -- no_gnome_vfs=no, -- no_gnome_vfs=yes) --AC_SUBST(GNOME_VFS_CFLAGS) --AC_SUBST(GNOME_VFS_LIBS) --if test x"$no_gnome_vfs" != "xyes"; then --AC_DEFINE(HAVE_GNOME_VFS,1,[Define this if you have gnome-vfs installed]) --else --AC_MSG_RESULT(*** All of the gnome-vfs dependent parts will be disabled ***) --fi --AM_CONDITIONAL(HAVE_GNOME_VFS, test x"$no_gnome_vfs" != "xyes") -- -- --dnl --------------------------------------------- --dnl SUN style audio interface -+dnl freetype2 lib.snterface - dnl --------------------------------------------- - AC_MSG_CHECKING(for Sun audio support) - have_sunaudio=no ---- xine-lib/configure.ac Sat Aug 23 21:22:05 2003 -+++ xine-lib/configure.ac.aalib Sat Aug 23 21:22:31 2003 -@@ -456,8 +456,10 @@ - dnl --------------------------------------------- - dnl Checks for Ascii-Art library - dnl --------------------------------------------- -+AC_ARG_ENABLE(aalib, [ --disable-aalib Disable AAlib support], -+ enable_aalib=no, enable_aalib=yes) - AM_PATH_AALIB(1.4,, AC_MSG_RESULT([*** All of AALIB dependent parts will be disabled ***])) --AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes") -+AM_CONDITIONAL(HAVE_AA, [test x"$enable_aalib" = "xyes" && test x"$no_aalib" != "xyes" ]) - - dnl --------------------------------------------- - dnl Check solaris framebuffer device support diff --git a/packages/libxine/libxine-1.0.0-beta12/demux_ogg.patch b/packages/libxine/libxine-1.0.0-beta12/demux_ogg.patch deleted file mode 100644 index 9faa3ba06d..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/demux_ogg.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xine-lib/src/demuxers/demux_ogg.c 2003-08-10 13:55:26.000000000 +0200 -+++ xine-lib/src/demuxers/demux_ogg.c.patched 2003-08-10 02:20:10.000000000 +0200 -@@ -36,7 +36,7 @@ - #include <stdlib.h> - - #include <ogg/ogg.h> --#include <vorbis/codec.h> -+#include <tremor/ivorbiscodec.h> - - #ifdef HAVE_THEORA - #include <theora/theora.h> diff --git a/packages/libxine/libxine-1.0.0-beta12/fftscope-static-inlining.patch b/packages/libxine/libxine-1.0.0-beta12/fftscope-static-inlining.patch deleted file mode 100644 index 42b3caead2..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/fftscope-static-inlining.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ../libxine-1.0.0-beta12-r0/xine-lib/src/post/visualizations/fftscope.c 2003-04-30 07:58:51.000000000 +0100 -+++ xine-lib/src/post/visualizations/fftscope.c 2004-08-17 17:40:56.000000000 +0100 -@@ -103,7 +103,7 @@ - * Bit reverser for unsigned ints - * Reverses 'bits' bits. - */ --inline const unsigned int -+static inline const unsigned int - reverse (unsigned int val, int bits) - { - unsigned int retn = 0; diff --git a/packages/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch b/packages/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch deleted file mode 100644 index be44ad3486..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/fix-oss-plugin.patch +++ /dev/null @@ -1,29 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- xine-lib-1-beta12/src/audio_out/audio_oss_out.c~fix-oss-plugin -+++ xine-lib-1-beta12/src/audio_out/audio_oss_out.c -@@ -46,20 +46,7 @@ - #include <fcntl.h> - #include <math.h> - #include <unistd.h> --#if defined(__OpenBSD__) --# include <soundcard.h> --#elif defined (__FreeBSD__) --# if __FreeBSD__ < 4 --# include <machine/soundcard.h> --# else --# include <sys/soundcard.h> --# endif --#else --# if defined(__linux__) --# include <linux/config.h> /* Check for DEVFS */ --# endif --# include <sys/soundcard.h> --#endif -+#include <sys/soundcard.h> - #include <sys/ioctl.h> - #include <inttypes.h> - diff --git a/packages/libxine/libxine-1.0.0-beta12/fix-syntax-xine-vorbis-decoder.patch b/packages/libxine/libxine-1.0.0-beta12/fix-syntax-xine-vorbis-decoder.patch deleted file mode 100644 index 6803d82e05..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/fix-syntax-xine-vorbis-decoder.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ../libxine-1.0.0-beta12-r0/xine-lib/src/libvorbis/xine_decoder.c 2004-08-17 16:07:31.000000000 +0100 -+++ xine-lib/src/libvorbis/xine_decoder.c 2004-08-17 17:08:21.000000000 +0100 -@@ -208,7 +208,7 @@ - int **pcm; - int samples; - -- if(vorbis_synthesis(&this->vb,op)==0) -+ if(vorbis_synthesis(&this->vb,op,1)==0) - vorbis_synthesis_blockin(&this->vd,&this->vb); - - if (buf->pts!=0) diff --git a/packages/libxine/libxine-1.0.0-beta12/full.patch b/packages/libxine/libxine-1.0.0-beta12/full.patch deleted file mode 100644 index d36dc39417..0000000000 --- a/packages/libxine/libxine-1.0.0-beta12/full.patch +++ /dev/null @@ -1,5601 +0,0 @@ -Copyright (C) 2003, Fred Boulay <dilb@handhelds.org> -Licensed under GPL v2 - -diff -rcN -x Makefile.in -x POTFILES -x libxine.pc -x relchk.sh -x xine-config -x dsputil_arm.c_dilb -x jrevdct_arm.S_dilb -x libdha -x vidix -x demux_ogg.c_before_test_song_length -x config.log -x config.status -x autom4te.cache -x aclocal.m4 -x xine.c_orig -x libtool-nofpic -x config.sub -x config.guess -x configure -x SlackBuild -x stamp-h1 -x config.h -x libtool -x ltmain.sh xine-lib-1-beta12_orig/autogen.sh xine-lib-1-beta12/autogen.sh -*** xine-lib-1-beta12_orig/autogen.sh Sun Mar 2 06:47:39 2003 ---- xine-lib-1-beta12/autogen.sh Sun May 18 13:32:51 2003 -*************** -*** 140,145 **** ---- 140,149 ---- - echo $_echo_n " + Running libtoolize: $_echo_c"; - libtoolize --force --copy >/dev/null 2>&1; - echo "done." -+ echo $_echo_n " + copying patched ltmain.sh solving DESTDIR issues: $_echo_c"; -+ cp -f ltmain_patched.sh ltmain.sh; -+ echo "done." -+ - } - - #-------------------- -diff -rcN -x Makefile.in -x POTFILES -x libxine.pc -x relchk.sh -x xine-config -x dsputil_arm.c_dilb -x jrevdct_arm.S_dilb -x libdha -x vidix -x demux_ogg.c_before_test_song_length -x config.log -x config.status -x autom4te.cache -x aclocal.m4 -x xine.c_orig -x libtool-nofpic -x config.sub -x config.guess -x configure -x SlackBuild -x stamp-h1 -x config.h -x libtool -x ltmain.sh xine-lib-1-beta12_orig/configure.ac xine-lib-1-beta12/configure.ac -*** xine-lib-1-beta12_orig/configure.ac Sun May 11 13:11:06 2003 ---- xine-lib-1-beta12/configure.ac Sun May 18 15:59:50 2003 -*************** -*** 670,676 **** - dnl --------------------------------------------- - dnl freetype2 lib. - dnl --------------------------------------------- -! AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) - if test "$FREETYPE_CONFIG" = "no" ; then - AC_MSG_RESULT([*** freetype-config not found, freetype2 support disabled ***]) - else ---- 670,676 ---- - dnl --------------------------------------------- - dnl freetype2 lib. - dnl --------------------------------------------- -! AC_PATH_PROG(FREETYPE_CONFIG, moooooooooooo_putain_de_script_freetype-config, no) - if test "$FREETYPE_CONFIG" = "no" ; then - AC_MSG_RESULT([*** freetype-config not found, freetype2 support disabled ***]) - else -*************** -*** 737,743 **** - dnl --------------------------------------------- - dnl gnome-vfs support - dnl --------------------------------------------- -! PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0, - no_gnome_vfs=no, - no_gnome_vfs=yes) - AC_SUBST(GNOME_VFS_CFLAGS) ---- 737,743 ---- - dnl --------------------------------------------- - dnl gnome-vfs support - dnl --------------------------------------------- -! PKG_CHECK_MODULES(GNOME_VFS, putain_de_module_gnome-vfs-2.0, - no_gnome_vfs=no, - no_gnome_vfs=yes) - AC_SUBST(GNOME_VFS_CFLAGS) -diff -rcN -x Makefile.in -x POTFILES -x libxine.pc -x relchk.sh -x xine-config -x dsputil_arm.c_dilb -x jrevdct_arm.S_dilb -x libdha -x vidix -x demux_ogg.c_before_test_song_length -x config.log -x config.status -x autom4te.cache -x aclocal.m4 -x xine.c_orig -x libtool-nofpic -x config.sub -x config.guess -x configure -x SlackBuild -x stamp-h1 -x config.h -x libtool -x ltmain.sh xine-lib-1-beta12_orig/ltmain_patched.sh xine-lib-1-beta12/ltmain_patched.sh -*** xine-lib-1-beta12_orig/ltmain_patched.sh Wed Dec 31 19:00:00 1969 ---- xine-lib-1-beta12/ltmain_patched.sh Sun May 18 13:31:34 2003 -*************** -*** 0 **** ---- 1,5044 ---- -+ # ltmain.sh - Provide generalized library-building support services. -+ # NOTE: Changing this file will not affect anything until you rerun configure. -+ # -+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 -+ # Free Software Foundation, Inc. -+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -+ # -+ # This program is free software; you can redistribute it and/or modify -+ # it under the terms of the GNU General Public License as published by -+ # the Free Software Foundation; either version 2 of the License, or -+ # (at your option) any later version. -+ # -+ # This program is distributed in the hope that it will be useful, but -+ # WITHOUT ANY WARRANTY; without even the implied warranty of -+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ # General Public License for more details. -+ # -+ # You should have received a copy of the GNU General Public License -+ # along with this program; if not, write to the Free Software -+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+ # -+ # As a special exception to the GNU General Public License, if you -+ # distribute this file as part of a program that contains a -+ # configuration script generated by Autoconf, you may include it under -+ # the same distribution terms that you use for the rest of that program. -+ -+ # Check that we have a working $echo. -+ if test "X$1" = X--no-reexec; then -+ # Discard the --no-reexec flag, and continue. -+ shift -+ elif test "X$1" = X--fallback-echo; then -+ # Avoid inline document here, it may be left over -+ : -+ elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then -+ # Yippee, $echo works! -+ : -+ else -+ # Restart under the correct shell, and then maybe $echo will work. -+ exec $SHELL "$0" --no-reexec ${1+"$@"} -+ fi -+ -+ if test "X$1" = X--fallback-echo; then -+ # used as fallback echo -+ shift -+ cat <<EOF -+ $* -+ EOF -+ exit 0 -+ fi -+ -+ # The name of this program. -+ progname=`$echo "$0" | sed 's%^.*/%%'` -+ modename="$progname" -+ -+ # Constants. -+ PROGRAM=ltmain.sh -+ PACKAGE=libtool -+ VERSION=1.4.2a -+ TIMESTAMP=" (1.922.2.79 2001/11/28 21:50:31)" -+ -+ default_mode= -+ help="Try \`$progname --help' for more information." -+ magic="%%%MAGIC variable%%%" -+ mkdir="mkdir" -+ mv="mv -f" -+ rm="rm -f" -+ -+ # Sed substitution that helps us do robust quoting. It backslashifies -+ # metacharacters that are still active within double-quoted strings. -+ Xsed='sed -e 1s/^X//' -+ sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' -+ SP2NL='tr \040 \012' -+ NL2SP='tr \015\012 \040\040' -+ -+ # NLS nuisances. -+ # Only set LANG and LC_ALL to C if already set. -+ # These must not be set unconditionally because not all systems understand -+ # e.g. LANG=C (notably SCO). -+ # We save the old values to restore during execute mode. -+ if test "${LC_ALL+set}" = set; then -+ save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL -+ fi -+ if test "${LANG+set}" = set; then -+ save_LANG="$LANG"; LANG=C; export LANG -+ fi -+ -+ # Make sure IFS has a sensible default -+ : ${IFS=" "} -+ -+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then -+ echo "$modename: not configured to build any kind of library" 1>&2 -+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 -+ exit 1 -+ fi -+ -+ # Global variables. -+ mode=$default_mode -+ nonopt= -+ prev= -+ prevopt= -+ run= -+ show="$echo" -+ show_help= -+ execute_dlfiles= -+ lo2o="s/\\.lo\$/.${objext}/" -+ o2lo="s/\\.${objext}\$/.lo/" -+ -+ # Parse our command line options once, thoroughly. -+ while test $# -gt 0 -+ do -+ arg="$1" -+ shift -+ -+ case $arg in -+ -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; -+ *) optarg= ;; -+ esac -+ -+ # If the previous option needs an argument, assign it. -+ if test -n "$prev"; then -+ case $prev in -+ execute_dlfiles) -+ execute_dlfiles="$execute_dlfiles $arg" -+ ;; -+ *) -+ eval "$prev=\$arg" -+ ;; -+ esac -+ -+ prev= -+ prevopt= -+ continue -+ fi -+ -+ # Have we seen a non-optional argument yet? -+ case $arg in -+ --help) -+ show_help=yes -+ ;; -+ -+ --version) -+ echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" -+ exit 0 -+ ;; -+ -+ --config) -+ sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 -+ exit 0 -+ ;; -+ -+ --debug) -+ echo "$progname: enabling shell trace mode" -+ set -x -+ ;; -+ -+ --dry-run | -n) -+ run=: -+ ;; -+ -+ --features) -+ echo "host: $host" -+ if test "$build_libtool_libs" = yes; then -+ echo "enable shared libraries" -+ else -+ echo "disable shared libraries" -+ fi -+ if test "$build_old_libs" = yes; then -+ echo "enable static libraries" -+ else -+ echo "disable static libraries" -+ fi -+ exit 0 -+ ;; -+ -+ --finish) mode="finish" ;; -+ -+ --mode) prevopt="--mode" prev=mode ;; -+ --mode=*) mode="$optarg" ;; -+ -+ --preserve-dup-deps) duplicate_deps="yes" ;; -+ -+ --quiet | --silent) -+ show=: -+ ;; -+ -+ -dlopen) -+ prevopt="-dlopen" -+ prev=execute_dlfiles -+ ;; -+ -+ -*) -+ $echo "$modename: unrecognized option \`$arg'" 1>&2 -+ $echo "$help" 1>&2 -+ exit 1 -+ ;; -+ -+ *) -+ nonopt="$arg" -+ break -+ ;; -+ esac -+ done -+ -+ if test -n "$prevopt"; then -+ $echo "$modename: option \`$prevopt' requires an argument" 1>&2 -+ $echo "$help" 1>&2 -+ exit 1 -+ fi -+ -+ # If this variable is set in any of the actions, the command in it -+ # will be execed at the end. This prevents here-documents from being -+ # left over by shells. -+ exec_cmd= -+ -+ if test -z "$show_help"; then -+ -+ # Infer the operation mode. -+ if test -z "$mode"; then -+ case $nonopt in -+ *cc | *++ | gcc* | *-gcc*) -+ mode=link -+ for arg -+ do -+ case $arg in -+ -c) -+ mode=compile -+ break -+ ;; -+ esac -+ done -+ ;; -+ *db | *dbx | *strace | *truss) -+ mode=execute -+ ;; -+ *install*|cp|mv) -+ mode=install -+ ;; -+ *rm) -+ mode=uninstall -+ ;; -+ *) -+ # If we have no mode, but dlfiles were specified, then do execute mode. -+ test -n "$execute_dlfiles" && mode=execute -+ -+ # Just use the default operation mode. -+ if test -z "$mode"; then -+ if test -n "$nonopt"; then -+ $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 -+ else -+ $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 -+ fi -+ fi -+ ;; -+ esac -+ fi -+ -+ # Only execute mode is allowed to have -dlopen flags. -+ if test -n "$execute_dlfiles" && test "$mode" != execute; then -+ $echo "$modename: unrecognized option \`-dlopen'" 1>&2 -+ $echo "$help" 1>&2 -+ exit 1 -+ fi -+ -+ # Change the help message to a mode-specific one. -+ generic_help="$help" -+ help="Try \`$modename --help --mode=$mode' for more information." -+ -+ # These modes are in order of execution frequency so that they run quickly. -+ case $mode in -+ # libtool compile mode -+ compile) -+ modename="$modename: compile" -+ # Get the compilation command and the source file. -+ base_compile= -+ prev= -+ lastarg= -+ srcfile="$nonopt" -+ suppress_output=< |
