parent
1b89448983
commit
11f4d2899b
97 changed files with 34 additions and 6193 deletions
|
@ -74,22 +74,10 @@ echo "Generating configuration files for $package, please wait...."
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
configure_ac=${etcdir}/configure.ac
|
||||||
configure=${tmpdir}/configure
|
configure=${tmpdir}/configure
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over install-sh, as it's going to be missed by autoconf
|
# copy over install-sh, as it's going to be missed by autoconf
|
||||||
cp -f ${bindir}/install-sh ${tmpdir}
|
cp -f ${bindir}/install-sh ${tmpdir}
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
cp -f ${configure_ac} ${tmpdir}
|
cp -f ${configure_ac} ${tmpdir}
|
||||||
cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@ environment variable WANT_AUTOCONF_2_5="1" before compiling the tools.)</li>
|
||||||
<li><a href="http://www.gnu.org/software/bison/bison.html">bison</a> >= 1.35<br>
|
<li><a href="http://www.gnu.org/software/bison/bison.html">bison</a> >= 1.35<br>
|
||||||
<li><a href="http://www.gnu.org/software/flex/flex.html">flex</a>
|
<li><a href="http://www.gnu.org/software/flex/flex.html">flex</a>
|
||||||
<!-- to compile gstreamer; end -->
|
<!-- to compile gstreamer; end -->
|
||||||
|
<li><a href="http://ltp.sourceforge.net/coverage/lcov.php">lcov</a> >= 1.4</li>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h1>Libraries</h1>
|
<h1>Libraries</h1>
|
||||||
|
@ -86,24 +87,18 @@ system:<br>
|
||||||
<li><a href="http://mad.sourceforge.net/">libmad</a></li>
|
<li><a href="http://mad.sourceforge.net/">libmad</a></li>
|
||||||
<li><a href="http://www.xiph.org/ogg/vorbis/">libogg</a></li>
|
<li><a href="http://www.xiph.org/ogg/vorbis/">libogg</a></li>
|
||||||
<li><a href="http://www.xiph.org/ogg/vorbis/">libvorbis</a></li>
|
<li><a href="http://www.xiph.org/ogg/vorbis/">libvorbis</a></li>
|
||||||
<li><a href="http://www.bzip.org">bzip2</a></li>
|
|
||||||
<!-- bzip2 headers are only required if boost will be compiled -->
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Recommended libraries</h2>
|
|
||||||
The following libraries are used by Campcaster. If they are not found
|
|
||||||
on the system, Campcaster will compile them from sources on its own.
|
|
||||||
While having these libraries is not necessary, Compiling takes longer
|
|
||||||
without them, and the generated Campcaster directory will be larger as
|
|
||||||
well.<br>
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.boost.org/">boost</a> >= 1.33.1</li>
|
<li><a href="http://www.boost.org/">boost</a> >= 1.33.1</li>
|
||||||
|
including the <a href="http://www.boost.org/doc/html/date_time.html">date-time
|
||||||
|
library</a></li>
|
||||||
|
<li><a href="http://curl.haxx.se/">curl</a> >= 7.12.3</li>
|
||||||
<li><a href="http://www.gtk.org/">gtk+</a> >= 2.6.10</li>
|
<li><a href="http://www.gtk.org/">gtk+</a> >= 2.6.10</li>
|
||||||
<li><a href="http://www.gtkmm.org/">gtkmm</a> >= 2.6.5</li>
|
<li><a href="http://www.gtkmm.org/">gtkmm</a> >= 2.6.5</li>
|
||||||
<li><a href="http://www.ibm.com/software/globalization/icu/">icu</a>
|
<li><a href="http://www.ibm.com/software/globalization/icu/">icu</a>
|
||||||
>= 3.0</li>
|
>= 3.0</li>
|
||||||
<li><a href="http://libxmlplusplus.sourceforge.net/">libxml++</a>
|
<li><a href="http://libxmlplusplus.sourceforge.net/">libxml++</a>
|
||||||
>= 2.8.1</li>
|
>= 2.8.1</li>
|
||||||
|
<li><a href="http://www.feep.net/libtar/">libtar</a> >= 1.2.11</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -100,28 +100,14 @@ FLAWFINDER_FILE = ${DOC_DIR}/flawfinderReport.html
|
||||||
|
|
||||||
TOOLS_DIR = ${SRC_DIR}/tools
|
TOOLS_DIR = ${SRC_DIR}/tools
|
||||||
|
|
||||||
BOOST_DIR = ${TOOLS_DIR}/boost
|
|
||||||
BOOST_VERSION = boost-1.33.1
|
|
||||||
LIBXMLXX_DIR = ${TOOLS_DIR}/libxml++
|
|
||||||
LIBXMLXX_VERSION = libxml++-2.8.1
|
|
||||||
CXXUNIT_DIR = ${TOOLS_DIR}/cppunit
|
CXXUNIT_DIR = ${TOOLS_DIR}/cppunit
|
||||||
CXXUNIT_VERSION = cppunit-1.10.2
|
CXXUNIT_VERSION = cppunit-1.10.2
|
||||||
LIBODBCXX_DIR = ${TOOLS_DIR}/libodbc++
|
LIBODBCXX_DIR = ${TOOLS_DIR}/libodbc++
|
||||||
LIBODBCXX_VERSION = libodbc++-0.2.3-20050404
|
LIBODBCXX_VERSION = libodbc++-0.2.3-20050404
|
||||||
XMLRPCXX_DIR = ${TOOLS_DIR}/xmlrpc++
|
XMLRPCXX_DIR = ${TOOLS_DIR}/xmlrpc++
|
||||||
XMLRPCXX_VERSION = xmlrpc++-20040713
|
XMLRPCXX_VERSION = xmlrpc++-20040713
|
||||||
LCOV_DIR = ${TOOLS_DIR}/lcov
|
|
||||||
LCOV_VERSION = lcov-1.3
|
|
||||||
GTK_DIR = ${TOOLS_DIR}/gtk+
|
|
||||||
GTK_VERSION = gtk+-2.6.10
|
|
||||||
GTKMM_DIR = ${TOOLS_DIR}/gtkmm
|
|
||||||
GTKMM_VERSION = gtkmm-2.6.5
|
|
||||||
GSTREAMER_DIR = ${TOOLS_DIR}/gstreamer
|
GSTREAMER_DIR = ${TOOLS_DIR}/gstreamer
|
||||||
GSTREAMER_VERSION = gstreamer-0.8.12
|
GSTREAMER_VERSION = gstreamer-0.8.12
|
||||||
ICU_DIR = ${TOOLS_DIR}/icu
|
|
||||||
ICU_VERSION = icu-3.0
|
|
||||||
CURL_DIR = ${TOOLS_DIR}/curl
|
|
||||||
CURL_VERSION = curl-7.12.3
|
|
||||||
TAGLIB_DIR = ${TOOLS_DIR}/taglib
|
TAGLIB_DIR = ${TOOLS_DIR}/taglib
|
||||||
TAGLIB_VERSION = taglib-1.4
|
TAGLIB_VERSION = taglib-1.4
|
||||||
PEAR_DIR = ${TOOLS_DIR}/pear
|
PEAR_DIR = ${TOOLS_DIR}/pear
|
||||||
|
@ -220,46 +206,15 @@ ${TMP_DIR}/tools_setup.stamp:
|
||||||
cd ${CXXUNIT_DIR}/${CXXUNIT_VERSION} && ./configure --prefix=${prefix}
|
cd ${CXXUNIT_DIR}/${CXXUNIT_VERSION} && ./configure --prefix=${prefix}
|
||||||
${MAKE} -C ${CXXUNIT_DIR}/${CXXUNIT_VERSION} install
|
${MAKE} -C ${CXXUNIT_DIR}/${CXXUNIT_VERSION} install
|
||||||
|
|
||||||
ifeq ("@COMPILE_BOOST@","yes")
|
|
||||||
cd ${BOOST_DIR}/${BOOST_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${BOOST_DIR}/${BOOST_VERSION} install
|
|
||||||
endif
|
|
||||||
|
|
||||||
cd ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} && ./configure --prefix=${prefix}
|
cd ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} && ./configure --prefix=${prefix}
|
||||||
${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} install
|
${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} install
|
||||||
|
|
||||||
cd ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} && ./configure --prefix=${prefix}
|
cd ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} && ./configure --prefix=${prefix}
|
||||||
${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} install
|
${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} install
|
||||||
|
|
||||||
cd ${LCOV_DIR}/${LCOV_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${LCOV_DIR}/${LCOV_VERSION} install
|
|
||||||
|
|
||||||
ifeq ("@COMPILE_GTK@","yes")
|
|
||||||
cd ${GTK_DIR}/${GTK_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${GTK_DIR}/${GTK_VERSION} install
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ("@COMPILE_GTKMM@","yes")
|
|
||||||
cd ${GTKMM_DIR}/${GTKMM_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${GTKMM_DIR}/${GTKMM_VERSION} install
|
|
||||||
endif
|
|
||||||
|
|
||||||
cd ${GSTREAMER_DIR}/${GSTREAMER_VERSION} && ./configure --prefix=${prefix}
|
cd ${GSTREAMER_DIR}/${GSTREAMER_VERSION} && ./configure --prefix=${prefix}
|
||||||
${MAKE} -C ${GSTREAMER_DIR}/${GSTREAMER_VERSION} install
|
${MAKE} -C ${GSTREAMER_DIR}/${GSTREAMER_VERSION} install
|
||||||
|
|
||||||
ifeq ("@COMPILE_LIBXMLPP@","yes")
|
|
||||||
cd ${LIBXMLXX_DIR}/${LIBXMLXX_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${LIBXMLXX_DIR}/${LIBXMLXX_VERSION} install
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ("@COMPILE_ICU@","yes")
|
|
||||||
cd ${ICU_DIR}/${ICU_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${ICU_DIR}/${ICU_VERSION} install
|
|
||||||
endif
|
|
||||||
|
|
||||||
cd ${CURL_DIR}/${CURL_VERSION} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${CURL_DIR}/${CURL_VERSION} install
|
|
||||||
|
|
||||||
cd ${TAGLIB_DIR}/${TAGLIB_VERSION} && ./configure --prefix=${prefix}
|
cd ${TAGLIB_DIR}/${TAGLIB_VERSION} && ./configure --prefix=${prefix}
|
||||||
${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} install
|
${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} install
|
||||||
|
|
||||||
|
@ -270,27 +225,9 @@ endif
|
||||||
|
|
||||||
tools_distclean:
|
tools_distclean:
|
||||||
-${MAKE} -C ${CXXUNIT_DIR}/${CXXUNIT_VERSION} distclean
|
-${MAKE} -C ${CXXUNIT_DIR}/${CXXUNIT_VERSION} distclean
|
||||||
ifeq ("@COMPILE_BOOST@","yes")
|
|
||||||
-${MAKE} -C ${BOOST_DIR}/${BOOST_VERSION} distclean
|
|
||||||
endif
|
|
||||||
-${MAKE} -C ${CXXUNIT_DIR}/${CXXUNIT_VERSION} distclean
|
|
||||||
-${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} distclean
|
-${MAKE} -C ${LIBODBCXX_DIR}/${LIBODBCXX_VERSION} distclean
|
||||||
-${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} distclean
|
-${MAKE} -C ${XMLRPCXX_DIR}/${XMLRPCXX_VERSION} distclean
|
||||||
-${MAKE} -C ${LCOV_DIR}/${LCOV_VERSION} distclean
|
|
||||||
ifeq ("@COMPILE_GTK@","yes")
|
|
||||||
-${MAKE} -C ${GTK_DIR}/${GTK_VERSION} distclean
|
|
||||||
endif
|
|
||||||
ifeq ("@COMPILE_GTKMM@","yes")
|
|
||||||
-${MAKE} -C ${GTKMM_DIR}/${GTKMM_VERSION} distclean
|
|
||||||
endif
|
|
||||||
-${MAKE} -C ${GSTREAMER_DIR}/${GSTREAMER_VERSION} distclean
|
-${MAKE} -C ${GSTREAMER_DIR}/${GSTREAMER_VERSION} distclean
|
||||||
ifeq ("@COMPILE_LIBXMLPP@","yes")
|
|
||||||
-${MAKE} -C ${LIBXMLXX_DIR}/${LIBXMLXX_VERSION} distclean
|
|
||||||
endif
|
|
||||||
ifeq ("@COMPILE_ICU@","yes")
|
|
||||||
-${MAKE} -C ${ICU_DIR}/${ICU_VERSION} distclean
|
|
||||||
endif
|
|
||||||
-${MAKE} -C ${CURL_DIR}/${CURL_VERSION} distclean
|
|
||||||
-${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} distclean
|
-${MAKE} -C ${TAGLIB_DIR}/${TAGLIB_VERSION} distclean
|
||||||
${RM} ${TMP_DIR}/tools_setup.stamp
|
${RM} ${TMP_DIR}/tools_setup.stamp
|
||||||
|
|
||||||
|
|
|
@ -1,503 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Macro to check for available modules using pkg-conf
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl PKG_CHECK_MODULES(GSTUFF,[gtk+-2.0 >= 1.3], action-if, action-not)
|
|
||||||
dnl
|
|
||||||
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
|
||||||
dnl also defines GSTUFF_PKG_ERRORS on error
|
|
||||||
dnl
|
|
||||||
dnl This function was taken from the glade-- project
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([PKG_CHECK_MODULES], [
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
if test -z "$PKG_CONFIG"; then
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$PKG_CONFIG" = "no" ; then
|
|
||||||
echo "*** The pkg-config script could not be found. Make sure it is"
|
|
||||||
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
|
||||||
echo "*** to the full path to pkg-config."
|
|
||||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
|
||||||
else
|
|
||||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
|
||||||
AC_MSG_CHECKING(for $2)
|
|
||||||
|
|
||||||
if $PKG_CONFIG --exists "$2" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_CFLAGS)
|
|
||||||
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
|
||||||
AC_MSG_RESULT($$1_CFLAGS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_LIBS)
|
|
||||||
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
|
||||||
AC_MSG_RESULT($$1_LIBS)
|
|
||||||
else
|
|
||||||
$1_CFLAGS=""
|
|
||||||
$1_LIBS=""
|
|
||||||
## If we have a custom action on failure, don't print errors, but
|
|
||||||
## do set a variable so people can do so.
|
|
||||||
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
|
||||||
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST($1_CFLAGS)
|
|
||||||
AC_SUBST($1_LIBS)
|
|
||||||
else
|
|
||||||
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
|
||||||
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $succeeded = yes; then
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
else
|
|
||||||
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Macro to check for a specific version of the ICU library
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl AC_CHECK_ICU(3.0, action-if-found, action-if-not-found)
|
|
||||||
dnl
|
|
||||||
dnl defines ICU_CFLAGS, ICU_CXXFLAGS and ICU_LIBS, see icu-config man page
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AC_CHECK_ICU],
|
|
||||||
[
|
|
||||||
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for ICU library >= $1)
|
|
||||||
|
|
||||||
if test "$ICU_CONFIG" = "no" ; then
|
|
||||||
FAILED="true"
|
|
||||||
else
|
|
||||||
ICU_VERSION=`$ICU_CONFIG --version`
|
|
||||||
VERSION_CHECK=`expr $ICU_VERSION \\>\\= $1`
|
|
||||||
|
|
||||||
if test "$VERSION_CHECK" = "1" ; then
|
|
||||||
AC_MSG_RESULT([ICU version ICU_VERSION >= $1 found])
|
|
||||||
ICU_CFLAGS=`$ICU_CONFIG --cflags`
|
|
||||||
ICU_CXXFLAGS=`$ICU_CONFIG --cxxflags`
|
|
||||||
ICU_LDFLAGS=`$ICU_CONFIG --ldflags`
|
|
||||||
|
|
||||||
AC_SUBST(ICU_CFLAGS)
|
|
||||||
AC_SUBST(ICU_CXXFLAGS)
|
|
||||||
AC_SUBST(ICU_LDFLAGS)
|
|
||||||
|
|
||||||
dnl execute action-if-found
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
else
|
|
||||||
FAILED="true"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$FAILED" = "true" ; then
|
|
||||||
dnl execute action-if-not-found
|
|
||||||
ifelse([$3], , AC_MSG_ERROR([only insufficient version $ICU_VERSION < $1 of ICU library found]), [$3])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Macro to check for C++ namespaces
|
|
||||||
dnl for more information on this macro, see
|
|
||||||
dnl http://autoconf-archive.cryp.to/ac_cxx_namespaces.html
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl If the compiler can prevent names clashes using namespaces,
|
|
||||||
dnl define HAVE_NAMESPACES.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AC_CXX_NAMESPACES],
|
|
||||||
[AC_CACHE_CHECK(whether the compiler implements namespaces,
|
|
||||||
ac_cv_cxx_namespaces,
|
|
||||||
[AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
|
|
||||||
[using namespace Outer::Inner; return i;],
|
|
||||||
ac_cv_cxx_namespaces=yes, ac_cv_cxx_namespaces=no)
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
])
|
|
||||||
if test "$ac_cv_cxx_namespaces" = yes; then
|
|
||||||
AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Test for the Boost C++ libraries of a particular version (or newer).
|
|
||||||
dnl for more information on boost, see http://www.boost.org/
|
|
||||||
dnl for more information on this macro, see
|
|
||||||
dnl http://autoconf-archive.cryp.to/ax_boost_base.html
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl If no path to the installed boost library is given the macro searches
|
|
||||||
dnl under ${prefix}, /usr, /usr/local, and /opt, and evaluates the $BOOST_ROOT
|
|
||||||
dnl environment variable. Further documentation is available at
|
|
||||||
dnl http://randspringer.de/boost/index.html
|
|
||||||
dnl
|
|
||||||
dnl This macro calls: AC_SUBST(BOOST_CPPFLAGS) and AC_SUBST(BOOST_LDFLAGS)
|
|
||||||
dnl and sets: HAVE_BOOST
|
|
||||||
dnl
|
|
||||||
dnl Modified for Campcaster:
|
|
||||||
dnl * --with-boost default changed to Yes;
|
|
||||||
dnl * if the library is not found, it does not die, just prints "no", leaves
|
|
||||||
dnl HAVE_BOOST undefined, and sets the BOOST_CPPFLAGS and BOOST_LDFLAGS
|
|
||||||
dnl variables to "";
|
|
||||||
dnl * ${prefix} is prepended to the search path.
|
|
||||||
dnl
|
|
||||||
dnl Author: Thomas Porschberg <thomas@randspringer.de>
|
|
||||||
dnl
|
|
||||||
dnl License:
|
|
||||||
dnl Copyright © 2006 Thomas Porschberg <thomas@randspringer.de>
|
|
||||||
dnl Copying and distribution of this file, with or without modification,
|
|
||||||
dnl are permitted in any medium without royalty provided the copyright notice
|
|
||||||
dnl and this notice are preserved.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AX_BOOST_BASE],
|
|
||||||
[
|
|
||||||
AC_ARG_WITH([boost],
|
|
||||||
AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is Yes) - it is possible to specify the root directory for boost (optional)]),
|
|
||||||
[
|
|
||||||
if test "$withval" = "no"; then
|
|
||||||
want_boost="no"
|
|
||||||
elif test "$withval" = "yes"; then
|
|
||||||
want_boost="yes"
|
|
||||||
ac_boost_path=""
|
|
||||||
else
|
|
||||||
want_boost="yes"
|
|
||||||
ac_boost_path="$withval"
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[want_boost="yes"])
|
|
||||||
|
|
||||||
if test "x$want_boost" = "xyes"; then
|
|
||||||
boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
|
|
||||||
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'`
|
|
||||||
boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
|
|
||||||
if test "x$boost_lib_version_req_sub_minor" = "x" ; then
|
|
||||||
boost_lib_version_req_sub_minor="0"
|
|
||||||
fi
|
|
||||||
WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
|
|
||||||
AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
dnl first we check the system location for boost libraries
|
|
||||||
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
|
||||||
dnl or if you install boost with RPM
|
|
||||||
if test "$ac_boost_path" != ""; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_path/lib"
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path/include"
|
|
||||||
else
|
|
||||||
for ac_boost_path_tmp in ${prefix} /usr /usr/local /opt ; do
|
|
||||||
if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
|
|
||||||
break;
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS_SAVED="$CPPFLAGS"
|
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
||||||
export CPPFLAGS
|
|
||||||
|
|
||||||
LDFLAGS_SAVED="$LDFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
|
||||||
export LDFLAGS
|
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
@%:@include <boost/version.hpp>
|
|
||||||
]], [[
|
|
||||||
#if BOOST_VERSION >= $WANT_BOOST_VERSION
|
|
||||||
// Everything is okay
|
|
||||||
#else
|
|
||||||
# error Boost version is too old
|
|
||||||
#endif
|
|
||||||
]])],[
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
found_system=yes
|
|
||||||
],[
|
|
||||||
])
|
|
||||||
AC_LANG_POP([C++])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dnl if we found no boost with system layout we search for boost libraries
|
|
||||||
dnl built and installed without the --layout=system option or for a staged(not installed) version
|
|
||||||
if test "x$succeeded" != "xyes"; then
|
|
||||||
_version=0
|
|
||||||
if test "$ac_boost_path" != ""; then
|
|
||||||
BOOST_LDFLAGS="-L$ac_boost_path/lib"
|
|
||||||
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
|
|
||||||
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
|
|
||||||
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
|
||||||
V_CHECK=`expr $_version_tmp \> $_version`
|
|
||||||
if test "$V_CHECK" = "1" ; then
|
|
||||||
_version=$_version_tmp
|
|
||||||
fi
|
|
||||||
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
|
||||||
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
for ac_boost_path in /usr /usr/local /opt ; do
|
|
||||||
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
|
|
||||||
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
|
|
||||||
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
|
||||||
V_CHECK=`expr $_version_tmp \> $_version`
|
|
||||||
if test "$V_CHECK" = "1" ; then
|
|
||||||
_version=$_version_tmp
|
|
||||||
best_path=$ac_boost_path
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
|
||||||
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
|
|
||||||
BOOST_LDFLAGS="-L$best_path/lib"
|
|
||||||
|
|
||||||
if test "x$BOOST_ROOT" != "x"; then
|
|
||||||
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
|
|
||||||
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
|
|
||||||
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
|
|
||||||
stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
|
|
||||||
V_CHECK=`expr $stage_version_shorten \>\= $_version`
|
|
||||||
if test "$V_CHECK" = "1" ; then
|
|
||||||
AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT)
|
|
||||||
BOOST_CPPFLAGS="-I$BOOST_ROOT"
|
|
||||||
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
||||||
export CPPFLAGS
|
|
||||||
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
|
||||||
export LDFLAGS
|
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
@%:@include <boost/version.hpp>
|
|
||||||
]], [[
|
|
||||||
#if BOOST_VERSION >= $WANT_BOOST_VERSION
|
|
||||||
// Everything is okay
|
|
||||||
#else
|
|
||||||
# error Boost version is too old
|
|
||||||
#endif
|
|
||||||
]])],[
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
found_system=yes
|
|
||||||
],[
|
|
||||||
])
|
|
||||||
AC_LANG_POP([C++])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$succeeded" != "yes" ; then
|
|
||||||
BOOST_CPPFLAGS=""
|
|
||||||
BOOST_LDFLAGS=""
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
else
|
|
||||||
AC_SUBST(BOOST_CPPFLAGS)
|
|
||||||
AC_SUBST(BOOST_LDFLAGS)
|
|
||||||
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS_SAVED"
|
|
||||||
LDFLAGS="$LDFLAGS_SAVED"
|
|
||||||
fi
|
|
||||||
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Test for Date_Time library from the Boost C++ libraries.
|
|
||||||
dnl for more information on boost, see http://www.boost.org/
|
|
||||||
dnl for more information on this macro, see
|
|
||||||
dnl http://autoconf-archive.cryp.to/ax_boost_date_time.html
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl The macro requires a preceding call to AX_BOOST_BASE.
|
|
||||||
dnl Further documentation is available at
|
|
||||||
dnl <http://randspringer.de/boost/index.html>.
|
|
||||||
dnl
|
|
||||||
dnl This macro calls: AC_SUBST(BOOST_DATE_TIME_LIB)
|
|
||||||
dnl and sets: HAVE_BOOST_DATE_TIME
|
|
||||||
dnl
|
|
||||||
dnl Modified for Campcaster:
|
|
||||||
dnl * --with-boost-date-time default changed to Yes.
|
|
||||||
dnl
|
|
||||||
dnl Authors:
|
|
||||||
dnl Thomas Porschberg <thomas@randspringer.de>
|
|
||||||
dnl Michael Tindal <mtindal@paradoxpoint.com>
|
|
||||||
dnl
|
|
||||||
dnl License:
|
|
||||||
dnl Copyright © 2006 Thomas Porschberg <thomas@randspringer.de>
|
|
||||||
dnl Copying and distribution of this file, with or without modification,
|
|
||||||
dnl are permitted in any medium without royalty provided the copyright notice
|
|
||||||
dnl and this notice are preserved.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AX_BOOST_DATE_TIME],
|
|
||||||
[
|
|
||||||
AC_ARG_WITH([boost-date-time],
|
|
||||||
AS_HELP_STRING([--with-boost-date-time@<:@=special-lib@:>@],
|
|
||||||
[use the Date_Time library from boost - it is possible to specify a certain library for the linker
|
|
||||||
e.g. --with-boost-date-time=boost_date_time-gcc-mt-d-1_33_1 ]),
|
|
||||||
[
|
|
||||||
if test "$withval" = "no"; then
|
|
||||||
want_boost="no"
|
|
||||||
elif test "$withval" = "yes"; then
|
|
||||||
want_boost="yes"
|
|
||||||
ax_boost_user_date_time_lib=""
|
|
||||||
else
|
|
||||||
want_boost="yes"
|
|
||||||
ax_boost_user_date_time_lib="$withval"
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[want_boost="yes"]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "x$want_boost" = "xyes"; then
|
|
||||||
AC_REQUIRE([AC_PROG_CC])
|
|
||||||
CPPFLAGS_SAVED="$CPPFLAGS"
|
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
||||||
export CPPFLAGS
|
|
||||||
|
|
||||||
LDFLAGS_SAVED="$LDFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
|
||||||
export LDFLAGS
|
|
||||||
|
|
||||||
AC_CACHE_CHECK(whether the Boost::Date_Time library is available,
|
|
||||||
ax_cv_boost_date_time,
|
|
||||||
[AC_LANG_PUSH([C++])
|
|
||||||
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/date_time/gregorian/gregorian_types.hpp>]],
|
|
||||||
[[using namespace boost::gregorian; date d(2002,Jan,10);
|
|
||||||
return 0;
|
|
||||||
]]),
|
|
||||||
ax_cv_boost_date_time=yes, ax_cv_boost_date_time=no)
|
|
||||||
AC_LANG_POP([C++])
|
|
||||||
])
|
|
||||||
if test "x$ax_cv_boost_date_time" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_BOOST_DATE_TIME,,[define if the Boost::Date_Time library is available])
|
|
||||||
BN=boost_date_time
|
|
||||||
if test "x$ax_boost_user_date_time_lib" = "x"; then
|
|
||||||
for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \
|
|
||||||
lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \
|
|
||||||
$BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do
|
|
||||||
AC_CHECK_LIB($ax_lib, main, [BOOST_DATE_TIME_LIB="-l$ax_lib" AC_SUBST(BOOST_DATE_TIME_LIB) link_date_time="yes" break],
|
|
||||||
[link_date_time="no"])
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for ax_lib in $ax_boost_user_date_time_lib $BN-$ax_boost_user_date_time_lib; do
|
|
||||||
AC_CHECK_LIB($ax_lib, main,
|
|
||||||
[BOOST_DATE_TIME_LIB="-l$ax_lib" AC_SUBST(BOOST_DATE_TIME_LIB) link_date_time="yes" break],
|
|
||||||
[link_date_time="no"])
|
|
||||||
done
|
|
||||||
|
|
||||||
fi
|
|
||||||
if test "x$link_date_time" = "xno"; then
|
|
||||||
AC_MSG_ERROR(Could not link against $ax_lib !)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS_SAVED"
|
|
||||||
LDFLAGS="$LDFLAGS_SAVED"
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Macro to check for curl of sufficient version by looking at curl-config
|
|
||||||
dnl
|
|
||||||
dnl usage:
|
|
||||||
dnl AC_CHECK_CURL(version, action-if, action-not)
|
|
||||||
dnl
|
|
||||||
dnl defines CURL_LIBS, CURL_CFLAGS, see curl-config man page
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([AC_CHECK_CURL], [
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
if test -z "$CURL_CONFIG"; then
|
|
||||||
AC_PATH_PROG(CURL_CONFIG, curl-config, no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$CURL_CONFIG" = "no" ; then
|
|
||||||
echo "*** The curl-config script could not be found. Make sure it is"
|
|
||||||
echo "*** in your path, and that curl is properly installed."
|
|
||||||
echo "*** Or see http://curl.haxx.se/"
|
|
||||||
else
|
|
||||||
dnl curl-config --version returns "libcurl <version>", thus cut the number
|
|
||||||
CURL_VERSION=`$CURL_CONFIG --version | cut -d" " -f2`
|
|
||||||
AC_MSG_CHECKING(for curl >= $1)
|
|
||||||
VERSION_CHECK=`expr $CURL_VERSION \>\= $1`
|
|
||||||
if test "$VERSION_CHECK" = "1" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(CURL_CFLAGS)
|
|
||||||
CURL_CFLAGS=`$CURL_CONFIG --cflags`
|
|
||||||
AC_MSG_RESULT($CURL_CFLAGS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(CURL_LIBS)
|
|
||||||
CURL_LIBS=`$CURL_CONFIG --libs`
|
|
||||||
AC_MSG_RESULT($CURL_LIBS)
|
|
||||||
else
|
|
||||||
CURL_CFLAGS=""
|
|
||||||
CURL_LIBS=""
|
|
||||||
## If we have a custom action on failure, don't print errors, but
|
|
||||||
## do set a variable so people can do so.
|
|
||||||
ifelse([$3], ,echo "can't find curl >= $1",)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(CURL_CFLAGS)
|
|
||||||
AC_SUBST(CURL_LIBS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $succeeded = yes; then
|
|
||||||
ifelse([$2], , :, [$2])
|
|
||||||
else
|
|
||||||
ifelse([$3], , AC_MSG_ERROR([Library requirements (curl) not met.]), [$3])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Campcaster, 1.0, bugs@campware.org)
|
AC_INIT(Campcaster, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
@ -275,170 +275,13 @@ AC_ARG_WITH([studio-audio-cue],
|
||||||
AC_MSG_RESULT([using audio cue device for studio: ${STUDIO_AUDIO_CUE}])
|
AC_MSG_RESULT([using audio cue device for studio: ${STUDIO_AUDIO_CUE}])
|
||||||
|
|
||||||
|
|
||||||
|
dnl-----------------------------------------------------------------------------
|
||||||
|
dnl set up the individual components
|
||||||
|
dnl
|
||||||
dnl unfortunately for both AC_CONFIG_COMMANDS and AC_CONFIG_SUBDIRS, the
|
dnl unfortunately for both AC_CONFIG_COMMANDS and AC_CONFIG_SUBDIRS, the
|
||||||
dnl directories have to be literally included, so we can't use any
|
dnl directories have to be literally included, so we can't use any
|
||||||
dnl fancy variables to avoid duplication of hard-coded values :(
|
dnl fancy variables to avoid duplication of hard-coded values :(
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
dnl specify if boost library should be looked for on the system
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_ARG_WITH([check-boost],
|
|
||||||
AC_HELP_STRING([--with-check-boost],
|
|
||||||
[check for the availability of the boost library on the
|
|
||||||
system, and use it if available (yes)]),
|
|
||||||
[CHECK_BOOST_LIB=${withval}], [CHECK_BOOST_LIB=yes])
|
|
||||||
|
|
||||||
AC_MSG_RESULT([checking for boost library on system: ${CHECK_BOOST_LIB}])
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl specify if gtk+ library should be looked for on the system
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_ARG_WITH([check-gtk],
|
|
||||||
AC_HELP_STRING([--with-check-gtk],
|
|
||||||
[check for the availability of the gtk+ library on the
|
|
||||||
system, and use it if available (yes)]),
|
|
||||||
[CHECK_GTK_LIB=${withval}], [CHECK_GTK_LIB=yes])
|
|
||||||
|
|
||||||
AC_MSG_RESULT([checking for gtk+ library on system: ${CHECK_GTK_LIB}])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl specify if gtk-- library should be looked for on the system
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_ARG_WITH([check-gtkmm],
|
|
||||||
AC_HELP_STRING([--with-check-gtkmm],
|
|
||||||
[check for the availability of the gtk-- library on the
|
|
||||||
system, and use it if available (yes)]),
|
|
||||||
[CHECK_GTKMM_LIB=${withval}], [CHECK_GTKMM_LIB=yes])
|
|
||||||
|
|
||||||
AC_MSG_RESULT([checking for gtk-- library on system: ${CHECK_GTKMM_LIB}])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl specify if icu library should be looked for on the system
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_ARG_WITH([check-icu],
|
|
||||||
AC_HELP_STRING([--with-check-icu],
|
|
||||||
[check for the availability of the icu library on the
|
|
||||||
system, and use it if available (yes)]),
|
|
||||||
[CHECK_ICU_LIB=${withval}], [CHECK_ICU_LIB=yes])
|
|
||||||
|
|
||||||
AC_MSG_RESULT([checking for icu library on system: ${CHECK_ICU_LIB}])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl specify if libxml++ library should be looked for on the system
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_ARG_WITH([check-libxmlpp],
|
|
||||||
AC_HELP_STRING([--with-check-libxmlpp],
|
|
||||||
[check for the availability of the xml++ library on the
|
|
||||||
system, and use it if available (yes)]),
|
|
||||||
[CHECK_XMLPP_LIB=${withval}], [CHECK_XMLPP_LIB=yes])
|
|
||||||
|
|
||||||
AC_MSG_RESULT([checking for xml++ library on system: ${CHECK_XMLPP_LIB}])
|
|
||||||
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl determine which optional packages will be compiled
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_SUBST(COMPILE_BOOST)
|
|
||||||
|
|
||||||
if test "${CHECK_BOOST_LIB}" = "yes" ; then
|
|
||||||
found_boost_date_time="no"
|
|
||||||
AX_BOOST_BASE([1.33.1])
|
|
||||||
if test "x${BOOST_CPPFLAGS}" != "x"; then
|
|
||||||
AX_BOOST_DATE_TIME
|
|
||||||
if test "x${BOOST_DATE_TIME_LIB}" != "x"; then
|
|
||||||
found_boost_date_time="yes"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test "${found_boost_date_time}" = "yes"; then
|
|
||||||
AC_MSG_RESULT([using boost date-time library found on the system])
|
|
||||||
COMPILE_BOOST="no"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([not found boost date-time library of sufficient version, will compile from our own])
|
|
||||||
COMPILE_BOOST="yes"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
COMPILE_BOOST="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_SUBST(COMPILE_GTK)
|
|
||||||
|
|
||||||
if test "$CHECK_GTK_LIB" = "yes" ; then
|
|
||||||
dnl check for gtk+ 2.6.10 or more recent
|
|
||||||
PKG_CHECK_MODULES(GTK,[gtk+-2.0 >= 2.6.10],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([using gtk+ found on the system])
|
|
||||||
COMPILE_GTK="no"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([not found gtk+ of sufficient version, will compile from our own])
|
|
||||||
COMPILE_GTK="yes"
|
|
||||||
])
|
|
||||||
else
|
|
||||||
COMPILE_GTK="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_SUBST(COMPILE_GTKMM)
|
|
||||||
|
|
||||||
if test "$CHECK_GTKMM_LIB" = "yes" ; then
|
|
||||||
dnl check for gtk-- 2.6.5 or more recent
|
|
||||||
PKG_CHECK_MODULES(GTKMM,[gtkmm-2.4 >= 2.6.5],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([using gtk-- found on the system])
|
|
||||||
COMPILE_GTKMM="no"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([not found gtk-- of sufficient version, will compile from our own])
|
|
||||||
COMPILE_GTKMM="yes"
|
|
||||||
])
|
|
||||||
else
|
|
||||||
COMPILE_GTKMM="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_SUBST(COMPILE_ICU)
|
|
||||||
|
|
||||||
if test "$CHECK_ICU_LIB" = "yes" ; then
|
|
||||||
dnl check for ICU 3.0 or more recent
|
|
||||||
AC_CHECK_ICU(3.0,
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([using ICU found on the system])
|
|
||||||
COMPILE_ICU="no"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([not found ICU of sufficient version, will compile from our own])
|
|
||||||
COMPILE_ICU="yes"
|
|
||||||
])
|
|
||||||
else
|
|
||||||
COMPILE_ICU="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_SUBST(COMPILE_LIBXMLPP)
|
|
||||||
|
|
||||||
if test "$CHECK_XMLPP_LIB" = "yes" ; then
|
|
||||||
dnl check for libxml++ 2.8.1 or more recent
|
|
||||||
PKG_CHECK_MODULES(LIBXMLPP,[libxml++-2.6 >= 2.8.1],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([using libxml++ found on the system])
|
|
||||||
COMPILE_LIBXMLPP="no"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_RESULT([not found libxml++ of sufficient version, will compile from our own])
|
|
||||||
COMPILE_LIBXMLPP="yes"
|
|
||||||
])
|
|
||||||
else
|
|
||||||
COMPILE_LIBXMLPP="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl set up the alib module
|
dnl set up the alib module
|
||||||
AC_CONFIG_COMMANDS([../src/modules/alib/tmp/configure],
|
AC_CONFIG_COMMANDS([../src/modules/alib/tmp/configure],
|
||||||
|
@ -516,19 +359,11 @@ AC_MSG_NOTICE(
|
||||||
[compiling the following external libraries that are needed
|
[compiling the following external libraries that are needed
|
||||||
by Campcaster:
|
by Campcaster:
|
||||||
|
|
||||||
boost 1.33.1 ${COMPILE_BOOST}
|
cppunit 1.10.2
|
||||||
cppunit 1.10.2 yes
|
gstreamer 0.8.12
|
||||||
curl 7.12.3 yes
|
libodbc++ 0.2.3
|
||||||
gstreamer 0.8.12 yes
|
taglib 1.4
|
||||||
gtk+ 2.6.10 ${COMPILE_GTK}
|
xmlrpc++ 2004-07-13
|
||||||
gtk-- 2.6.5 ${COMPILE_GTKMM}
|
|
||||||
icu 3.0 ${COMPILE_ICU}
|
|
||||||
lcov 1.3 yes
|
|
||||||
libodbc++ 0.2.3 yes
|
|
||||||
libxml++ 2.8.1 ${COMPILE_LIBXMLPP}
|
|
||||||
taglib 1.4 yes
|
|
||||||
xmlrpc++ 2004-07-13 yes
|
|
||||||
|
|
||||||
|
|
||||||
using the following configuration settings:
|
using the following configuration settings:
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Alib, 1.0, bugs@campware.org)
|
AC_INIT(Alib, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(ArchiveServer, 1.0, bugs@campware.org)
|
AC_INIT(ArchiveServer, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Authentication, 1.0, bugs@campware.org)
|
AC_INIT(Authentication, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Core, 1.0, bugs@campware.org)
|
AC_INIT(Core, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Db, 1.0, bugs@campware.org)
|
AC_INIT(Db, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(EventScheduler, 1.0, bugs@campware.org)
|
AC_INIT(EventScheduler, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(GetId3, 1.0, bugs@campware.org)
|
AC_INIT(GetId3, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(GstreamerElements, 1.0, bugs@campware.org)
|
AC_INIT(GstreamerElements, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(HtmlUI, 1.0, bugs@campware.org)
|
AC_INIT(HtmlUI, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(PlaylistExecutor, 1.0, bugs@campware.org)
|
AC_INIT(PlaylistExecutor, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(StorageClient, 1.0, bugs@campware.org)
|
AC_INIT(StorageClient, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(StorageAdmin, 1.0, bugs@campware.org)
|
AC_INIT(StorageAdmin, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(StorageClient, 1.0, bugs@campware.org)
|
AC_INIT(StorageClient, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(StorageServer, 1.0, bugs@campware.org)
|
AC_INIT(StorageServer, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Widgets, 1.0, bugs@campware.org)
|
AC_INIT(Widgets, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Campcaster-Studio, 1.1, bugs@campware.org)
|
AC_INIT(Campcaster-Studio, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -32,7 +32,7 @@ dnl This is due to the fact that configure spreads a lot of trash around,
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
dnl it is being run from. We clearly don't want these in our base directory.
|
||||||
dnl-----------------------------------------------------------------------------
|
dnl-----------------------------------------------------------------------------
|
||||||
AC_INIT(Scheduler, 1.1, bugs@campware.org)
|
AC_INIT(Scheduler, 1.1.0, bugs@campware.org)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
||||||
AC_REVISION($Revision$)
|
AC_REVISION($Revision$)
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="boost"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,56 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare C++ Boost to be configured and compiled
|
|
||||||
# For more information on Boost, see http://www.boost.org/
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=boost_1_33_1
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
tar=$basedir/src/$product.tar.bz2
|
|
||||||
|
|
||||||
echo "installing $product from $basedir to $installdir"
|
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $tmpdir
|
|
||||||
cd $tmpdir
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
# untar and patch the sources
|
|
||||||
if [ ! -d $product ]; then
|
|
||||||
tar xfj $tar
|
|
||||||
cd $product
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
BOOST_VERSION = boost_1_33_1
|
|
||||||
BOOST_DIR = ${TMP_DIR}/${BOOST_VERSION}
|
|
||||||
|
|
||||||
INSTALL_DIR = @prefix@
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all:
|
|
||||||
# build BoostJam, their make enviornment
|
|
||||||
cd ${BOOST_DIR} && \
|
|
||||||
cd tools/build/jam_src/ && \
|
|
||||||
sh build.sh gcc
|
|
||||||
# now build and install the who thing
|
|
||||||
cd ${BOOST_DIR} && \
|
|
||||||
./tools/build/jam_src/bin.linuxx86/bjam "-sTOOLS=gcc" \
|
|
||||||
--prefix=${INSTALL_DIR}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
cd ${BOOST_DIR} && \
|
|
||||||
./tools/build/jam_src/bin.linuxx86/bjam "-sTOOLS=gcc" \
|
|
||||||
--prefix=${INSTALL_DIR} install
|
|
||||||
# this is a hack to make the autoconf script work
|
|
||||||
cd ${INSTALL_DIR}/include && ln -s boost-1_33_1/boost boost
|
|
||||||
|
|
||||||
clean:
|
|
||||||
cd ${BOOST_DIR} && \
|
|
||||||
./tools/build/jam_src/bin.linuxx86/bjam "-sTOOLS=gcc" \
|
|
||||||
--prefix=${installdir} clean
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RMDIR} ${BOOST_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(boost, 1.33.1, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/boost_1_33_1.tar.bz2)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="curl"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,54 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare curl to be configured and compiled.
|
|
||||||
# For more information on curl, see http://curl.haxx.se/
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=curl-7.12.3
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
tar=$basedir/src/$product.tar.bz2
|
|
||||||
|
|
||||||
mkdir -p $tmpdir
|
|
||||||
cd $tmpdir
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
# untar and patch the sources
|
|
||||||
if [ ! -d $product ]; then
|
|
||||||
tar xfj $tar
|
|
||||||
cd $product
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
52
campcaster/src/tools/curl/curl-7.12.3/configure
vendored
52
campcaster/src/tools/curl/curl-7.12.3/configure
vendored
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,72 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
CURL_VERSION = curl-7.12.3
|
|
||||||
CURL_DIR = ${TMP_DIR}/${CURL_VERSION}
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all:
|
|
||||||
${MAKE} -C ${CURL_DIR}
|
|
||||||
|
|
||||||
install:
|
|
||||||
${MAKE} -C ${CURL_DIR} install
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${CURL_DIR} clean
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RMDIR} ${CURL_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(curl, 7.12.3, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/curl-7.12.3.tar.bz2)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
dnl configure with the same parameters as we have
|
|
||||||
AC_CONFIG_SUBDIRS(../tmp/curl-7.12.3)
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="gtk+"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,90 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare GTK+ 2.6 to be configured and compiled.
|
|
||||||
# For more information on GTK+, see http://www.gtk.org/
|
|
||||||
# This script will install GTK+, and its intermediate dependencies as well
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
glib_product=glib-2.6.6
|
|
||||||
tiff_product=tiff-3.7.1
|
|
||||||
pango_product=pango-1.8.2
|
|
||||||
atk_product=atk-1.9.0
|
|
||||||
gtk_product=gtk+-2.6.10
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd ${reldir}; pwd;`
|
|
||||||
bindir=${basedir}/bin
|
|
||||||
etcdir=${basedir}/etc
|
|
||||||
tmpdir=${basedir}/tmp
|
|
||||||
|
|
||||||
glib_tar=$basedir/src/$glib_product.tar.bz2
|
|
||||||
tiff_tar=$basedir/src/$tiff_product.tar.gz
|
|
||||||
pango_tar=$basedir/src/$pango_product.tar.bz2
|
|
||||||
atk_tar=$basedir/src/$atk_product.tar.bz2
|
|
||||||
gtk_tar=$basedir/src/$gtk_product.tar.bz2
|
|
||||||
|
|
||||||
mkdir -p ${tmpdir}
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $tiff_product ]; then
|
|
||||||
tar xfz ${tiff_tar}
|
|
||||||
cd ${tiff_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $glib_product ]; then
|
|
||||||
tar xfj ${glib_tar}
|
|
||||||
cd ${glib_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $pango_product ]; then
|
|
||||||
tar xfj ${pango_tar}
|
|
||||||
cd ${pango_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $atk_product ]; then
|
|
||||||
tar xfj ${atk_tar}
|
|
||||||
cd ${atk_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $gtk_product ]; then
|
|
||||||
tar xfj ${gtk_tar}
|
|
||||||
cd ${gtk_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
52
campcaster/src/tools/gtk+/gtk+-2.6.10/configure
vendored
52
campcaster/src/tools/gtk+/gtk+-2.6.10/configure
vendored
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,121 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
TIFF_VERSION = tiff-3.7.1
|
|
||||||
TIFF_DIR = ${TMP_DIR}/${TIFF_VERSION}
|
|
||||||
|
|
||||||
GLIB_VERSION = glib-2.6.6
|
|
||||||
GLIB_DIR = ${TMP_DIR}/${GLIB_VERSION}
|
|
||||||
|
|
||||||
PANGO_VERSION = pango-1.8.2
|
|
||||||
PANGO_DIR = ${TMP_DIR}/${PANGO_VERSION}
|
|
||||||
|
|
||||||
ATK_VERSION = atk-1.9.0
|
|
||||||
ATK_DIR = ${TMP_DIR}/${ATK_VERSION}
|
|
||||||
|
|
||||||
GTK_VERSION = gtk+-2.6.10
|
|
||||||
GTK_DIR = ${TMP_DIR}/${GTK_VERSION}
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
|
|
||||||
USR_DIR=${prefix}
|
|
||||||
USR_BIN_DIR=${USR_DIR}/bin
|
|
||||||
USR_LIB_DIR=${USR_DIR}/lib
|
|
||||||
|
|
||||||
export PATH:=${USR_BIN_DIR}:${PATH}
|
|
||||||
export CPPFLAGS=-I${USR_DIR}/include
|
|
||||||
export LDFLAGS=-L${USR_LIB_DIR}
|
|
||||||
export LD_LIBRARY_PATH:=${USR_LIB_DIR}:${LD_LIBRARY_PATH}
|
|
||||||
export PKG_CONFIG_PATH=${USR_LIB_DIR}/pkgconfig
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all: ${TMP_DIR}/all.stamp
|
|
||||||
${TMP_DIR}/all.stamp:
|
|
||||||
cd ${TIFF_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${TIFF_DIR}
|
|
||||||
${MAKE} -C ${TIFF_DIR} install
|
|
||||||
cd ${GLIB_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${GLIB_DIR}
|
|
||||||
${MAKE} -C ${GLIB_DIR} install
|
|
||||||
cd ${PANGO_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${PANGO_DIR}
|
|
||||||
${MAKE} -C ${PANGO_DIR} install
|
|
||||||
cd ${ATK_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${ATK_DIR}
|
|
||||||
${MAKE} -C ${ATK_DIR} install
|
|
||||||
cd ${GTK_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${GTK_DIR}
|
|
||||||
${MAKE} -C ${GTK_DIR} install
|
|
||||||
touch ${TMP_DIR}/all.stamp
|
|
||||||
|
|
||||||
install: all
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${TIFF_DIR} clean
|
|
||||||
${MAKE} -C ${GLIB_DIR} clean
|
|
||||||
${MAKE} -C ${PANGO_DIR} clean
|
|
||||||
${MAKE} -C ${ATK_DIR} clean
|
|
||||||
${MAKE} -C ${GTK_DIR} clean
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
${RMDIR} ${TIFF_DIR}
|
|
||||||
${RMDIR} ${GLIB_DIR}
|
|
||||||
${RMDIR} ${PANGO_DIR}
|
|
||||||
${RMDIR} ${ATK_DIR}
|
|
||||||
${RMDIR} ${GTK_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(gtk+, 2.6.10, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/gtk+-2.6.10.tar.bz2)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="gtkmm"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,73 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare GTK-- 2.6 to be configured and compiled.
|
|
||||||
# For more information on GTK--, see http://gtkmm.sourceforge.net/
|
|
||||||
# This script will install GTK--, and its intermediate dependencies as well
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
sigc_product=libsigc++-2.0.16
|
|
||||||
glibmm_product=glibmm-2.6.1
|
|
||||||
gtkmm_product=gtkmm-2.6.5
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd ${reldir}; pwd;`
|
|
||||||
bindir=${basedir}/bin
|
|
||||||
etcdir=${basedir}/etc
|
|
||||||
tmpdir=${basedir}/tmp
|
|
||||||
|
|
||||||
sigc_tar=$basedir/src/$sigc_product.tar.bz2
|
|
||||||
glibmm_tar=$basedir/src/$glibmm_product.tar.bz2
|
|
||||||
gtkmm_tar=$basedir/src/$gtkmm_product.tar.bz2
|
|
||||||
|
|
||||||
mkdir -p ${tmpdir}
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $sigc_product ]; then
|
|
||||||
tar xfj ${sigc_tar}
|
|
||||||
cd ${sigc_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $glibmm_product ]; then
|
|
||||||
tar xfj ${glibmm_tar}
|
|
||||||
cd ${glibmm_product}
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $gtkmm_product ]; then
|
|
||||||
tar xfj ${gtkmm_tar}
|
|
||||||
cd ${gtkmm_product}
|
|
||||||
# not submitted; already fixed in version 2.8.1
|
|
||||||
patch -p1 < ${etcdir}/remove-extra-semicolon.patch
|
|
||||||
fi
|
|
||||||
|
|
52
campcaster/src/tools/gtkmm/gtkmm-2.6.5/configure
vendored
52
campcaster/src/tools/gtkmm/gtkmm-2.6.5/configure
vendored
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,97 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
SIGC_VERSION = libsigc++-2.0.16
|
|
||||||
SIGC_DIR = ${TMP_DIR}/${SIGC_VERSION}
|
|
||||||
|
|
||||||
GLIBMM_VERSION = glibmm-2.6.1
|
|
||||||
GLIBMM_DIR = ${TMP_DIR}/${GLIBMM_VERSION}
|
|
||||||
|
|
||||||
GTKMM_VERSION = gtkmm-2.6.5
|
|
||||||
GTKMM_DIR = ${TMP_DIR}/${GTKMM_VERSION}
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
|
|
||||||
export PKG_CONFIG_PATH:=${prefix}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all: ${TMP_DIR}/all.stamp
|
|
||||||
${TMP_DIR}/all.stamp:
|
|
||||||
cd ${SIGC_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${SIGC_DIR}
|
|
||||||
${MAKE} -C ${SIGC_DIR} install
|
|
||||||
cd ${GLIBMM_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${GLIBMM_DIR}
|
|
||||||
${MAKE} -C ${GLIBMM_DIR} install
|
|
||||||
cd ${GTKMM_DIR} && ./configure --prefix=${prefix} --disable-examples
|
|
||||||
${MAKE} -C ${GTKMM_DIR}
|
|
||||||
${MAKE} -C ${GTKMM_DIR} install
|
|
||||||
touch ${TMP_DIR}/all.stamp
|
|
||||||
|
|
||||||
install: all
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${SIGC_DIR} clean
|
|
||||||
${MAKE} -C ${GLIBMM_DIR} clean
|
|
||||||
${MAKE} -C ${GTKMM_DIR} clean
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
${RMDIR} ${SIGC_DIR}
|
|
||||||
${RMDIR} ${GLIBMM_DIR}
|
|
||||||
${RMDIR} ${GTKMM_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(gtkmm, 2.6.5, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/gtkmm-2.6.5.tar.bz2)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff -u gtkmm-2.6.5/gtk/gtkmm/settings.h gtkmm-2.6.5-remove-extra-semicolon/gtk/gtkmm/settings.h
|
|
||||||
--- gtkmm-2.6.5/gtk/gtkmm/settings.h 2005-10-18 09:12:13.000000000 +0200
|
|
||||||
+++ gtkmm-2.6.5-remove-extra-semicolon/gtk/gtkmm/settings.h 2005-11-29 16:25:02.000000000 +0100
|
|
||||||
@@ -98,7 +98,7 @@
|
|
||||||
* @return A Gtk::Settings object. If there is no default
|
|
||||||
* screen, then returns <tt>0</tt>.
|
|
||||||
*/
|
|
||||||
- static Glib::RefPtr<Settings> get_default();;
|
|
||||||
+ static Glib::RefPtr<Settings> get_default();
|
|
||||||
|
|
||||||
|
|
||||||
/** Gets the Gtk::Settings object for @a screen , creating it if necessary.
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="icu"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,53 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare ICU 3.0 to be configured and compiled.
|
|
||||||
# For more information on ICU, see http://ibm.com/software/globalization/icu
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=icu-3.0
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd ${reldir}; pwd;`
|
|
||||||
bindir=${basedir}/bin
|
|
||||||
etcdir=${basedir}/etc
|
|
||||||
tmpdir=${basedir}/tmp
|
|
||||||
|
|
||||||
tar=$basedir/src/$product.tgz
|
|
||||||
|
|
||||||
mkdir -p ${tmpdir}
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d icu ]; then
|
|
||||||
tar xfz ${tar}
|
|
||||||
cd icu
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
52
campcaster/src/tools/icu/icu-3.0/configure
vendored
52
campcaster/src/tools/icu/icu-3.0/configure
vendored
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,86 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
UNZIP = unzip -o
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
ICU_VERSION = icu-3.0
|
|
||||||
ICU_DIR = ${TMP_DIR}/icu/source
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
|
|
||||||
DOC_ZIP = ${BASE_DIR}/src/${ICU_VERSION}-docs.zip
|
|
||||||
DOC_INSTALL_DIR = ${prefix}/share/doc/icu/3.0
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all: ${TMP_DIR}/all.stamp
|
|
||||||
${TMP_DIR}/all.stamp:
|
|
||||||
${MAKE} -C ${ICU_DIR}
|
|
||||||
${MAKE} -C ${ICU_DIR} install
|
|
||||||
touch ${TMP_DIR}/all.stamp
|
|
||||||
|
|
||||||
install: all install_docs
|
|
||||||
|
|
||||||
install_docs:
|
|
||||||
${MKDIR} ${DOC_INSTALL_DIR}
|
|
||||||
${UNZIP} ${DOC_ZIP} -d ${DOC_INSTALL_DIR}
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${ICU_DIR} clean
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
${RMDIR} ${ICU_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/icu
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
|
@ -1,54 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(icu, 3.0, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/icu-3.0.tgz)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
cd ../tmp/icu/source
|
|
||||||
./runConfigureICU LinuxRedHat --prefix=$prefix
|
|
||||||
cd -
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="lcov"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,56 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare lcov 1.3 to be configured and compiled.
|
|
||||||
# For more information on lcov, see http://ltp.sourceforge.net/coverage/lcov.php
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=lcov-1.3
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd ${reldir}; pwd;`
|
|
||||||
bindir=${basedir}/bin
|
|
||||||
etcdir=${basedir}/etc
|
|
||||||
tmpdir=${basedir}/tmp
|
|
||||||
|
|
||||||
tar=$basedir/src/$product.tar.gz
|
|
||||||
|
|
||||||
mkdir -p ${tmpdir}
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $product ]; then
|
|
||||||
tar xfz ${tar}
|
|
||||||
cd $product
|
|
||||||
# see https://sourceforge.net/tracker/index.php?func=detail&aid=1292850&group_id=3382&atid=303382
|
|
||||||
patch -p1 < $etcdir/lcov-1.3-geninfo-regexp.patch
|
|
||||||
# see https://sourceforge.net/tracker/index.php?func=detail&aid=1292854&group_id=3382&atid=303382
|
|
||||||
patch -p1 < $etcdir/lcov-1.3-install-to-prefix.patch
|
|
||||||
fi
|
|
||||||
|
|
52
campcaster/src/tools/lcov/lcov-1.3/configure
vendored
52
campcaster/src/tools/lcov/lcov-1.3/configure
vendored
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
LCOV_VERSION = lcov-1.3
|
|
||||||
LCOV_DIR = ${TMP_DIR}/${LCOV_VERSION}
|
|
||||||
|
|
||||||
# this environment variable is used by the lcov Makefile to determine
|
|
||||||
# the installation directory
|
|
||||||
PREFIX=@prefix@
|
|
||||||
export PREFIX
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all: ${TMP_DIR}/all.stamp
|
|
||||||
${TMP_DIR}/all.stamp:
|
|
||||||
${MAKE} -C ${LCOV_DIR}
|
|
||||||
${MAKE} -C ${LCOV_DIR} install
|
|
||||||
touch ${TMP_DIR}/all.stamp
|
|
||||||
|
|
||||||
install: all
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${LCOV_DIR} clean
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
${RMDIR} ${LCOV_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(lcov, 1.3, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/lcov-1.3.tar.gz)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff -Naur lcov-1.3/bin/geninfo lcov-1.3-regexp-fix/bin/geninfo
|
|
||||||
--- lcov-1.3/bin/geninfo 2004-04-29 00:57:11.000000000 +0700
|
|
||||||
+++ lcov-1.3-regexp-fix/bin/geninfo 2004-08-02 12:51:48.996719688 +0700
|
|
||||||
@@ -707,7 +707,7 @@
|
|
||||||
|
|
||||||
foreach (@list)
|
|
||||||
{
|
|
||||||
- if (/\/$filename$/)
|
|
||||||
+ if (m,/\Q$filename\E$,)
|
|
||||||
{
|
|
||||||
@result = (@result, $_);
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- lcov-1.3/Makefile 2004-04-28 19:57:09.000000000 +0200
|
|
||||||
+++ lcov-1.3-livesupport/Makefile 2005-07-22 12:12:18.000000000 +0200
|
|
||||||
@@ -15,8 +15,8 @@
|
|
||||||
RELEASE := 1
|
|
||||||
DATE := $(shell date +%Y-%m-%d)
|
|
||||||
|
|
||||||
-BIN_DIR := $(PREFIX)/usr/bin
|
|
||||||
-MAN_DIR := $(PREFIX)/usr/share/man
|
|
||||||
+BIN_DIR := $(PREFIX)/bin
|
|
||||||
+MAN_DIR := $(PREFIX)/share/man
|
|
||||||
TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$)
|
|
||||||
FILES := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \
|
|
||||||
$(wildcard rpm/*)
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -56,7 +56,8 @@ if [ ! -d $product ]; then
|
||||||
patch -p1 < $etcdir/libodbc++-dont-install-some-docs.patch
|
patch -p1 < $etcdir/libodbc++-dont-install-some-docs.patch
|
||||||
# patch to fix bug #1545 (not submitted; already fixed in 0.2.4)
|
# patch to fix bug #1545 (not submitted; already fixed in 0.2.4)
|
||||||
patch -p1 < $etcdir/libodbc++-gcc-4.0-fix.patch
|
patch -p1 < $etcdir/libodbc++-gcc-4.0-fix.patch
|
||||||
# patch not submitted yet
|
# a similar patch submitted by somebody else:
|
||||||
|
# http://sourceforge.net/tracker/index.php?func=detail&aid=1595055&group_id=19075&atid=319075
|
||||||
patch -p1 < $etcdir/libodbc++-x64-fix.patch
|
patch -p1 < $etcdir/libodbc++-x64-fix.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="libtar"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,54 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare libtar to be configured and compiled.
|
|
||||||
# For more information on libtar, see http://www.feep.net/libtar/
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=libtar-1.2.11
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
tar=$basedir/src/$product.tar.gz
|
|
||||||
|
|
||||||
mkdir -p $tmpdir
|
|
||||||
cd $tmpdir
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
# untar and patch the sources
|
|
||||||
if [ ! -d $product ]; then
|
|
||||||
tar xfz $tar
|
|
||||||
cd $product
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,72 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
LIBTAR_VERSION = libtar-1.2.11
|
|
||||||
LIBTAR_DIR = ${TMP_DIR}/${LIBTAR_VERSION}
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all:
|
|
||||||
${MAKE} -C ${LIBTAR_DIR}
|
|
||||||
|
|
||||||
install:
|
|
||||||
${MAKE} -C ${LIBTAR_DIR} install
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${LIBTAR_DIR} clean
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RMDIR} ${LIBTAR_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(libtar, 1.2.11, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/libtar-1.2.11.tar.gz)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
dnl configure with the same parameters as we have
|
|
||||||
AC_CONFIG_SUBDIRS(../tmp/libtar-1.2.11)
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
# (based on the version in enlightenment's cvs)
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
package="libxml++"
|
|
||||||
|
|
||||||
# assume we're in $basedir/bin
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
usrdir=`cd $basedir/../../../../usr; pwd;`
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
etcdir=$basedir/etc
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
cd "$tmpdir"
|
|
||||||
DIE=0
|
|
||||||
|
|
||||||
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
|
||||||
echo
|
|
||||||
echo "You must have autoconf installed to compile $package."
|
|
||||||
echo "Download the appropriate package for your distribution,"
|
|
||||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
|
||||||
DIE=1
|
|
||||||
}
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
|
||||||
|
|
||||||
configure_ac=${etcdir}/configure.ac
|
|
||||||
configure=${tmpdir}/configure
|
|
||||||
aclocal_m4=${tmpdir}/aclocal.m4
|
|
||||||
|
|
||||||
# copy over configure.ac and acinlclude.m4 from etc to tmp,
|
|
||||||
# as aclocal >= 1.8 is sooo unbelivably stupid that it will simply try to
|
|
||||||
# look for configure.ac in the current directory, and include acinclude.m4
|
|
||||||
# in aclocal.m4 it without a directory path in front
|
|
||||||
#ACLOCAL_FLAGS="-I ${tmpdir} --acdir=${tmpdir} --output=${aclocal_m4}"
|
|
||||||
#echo " aclocal $ACLOCAL_FLAGS"
|
|
||||||
#cp -f ${configure_ac} ${tmpdir}
|
|
||||||
#cp -f ${etcdir}/acinclude.m4 ${tmpdir}
|
|
||||||
#aclocal $ACLOCAL_FLAGS
|
|
||||||
|
|
||||||
#echo " autoheader ${configure_ac}"
|
|
||||||
#autoheader ${configure_ac}
|
|
||||||
|
|
||||||
echo " autoconf -I ${tmpdir} -o ${configure} ${configure_ac}"
|
|
||||||
autoconf -I ${tmpdir} -o ${configure} ${configure_ac}
|
|
||||||
|
|
|
@ -1,323 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
|
|
||||||
scriptversion=2005-02-02.21
|
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
|
||||||
# following copyright and license.
|
|
||||||
#
|
|
||||||
# Copyright (C) 1994 X Consortium
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to
|
|
||||||
# deal in the Software without restriction, including without limitation the
|
|
||||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
# sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
||||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
||||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
# Except as contained in this notice, the name of the X Consortium shall not
|
|
||||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
# ings in this Software without prior written authorization from the X Consor-
|
|
||||||
# tium.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# FSF changes to this file are in the public domain.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=
|
|
||||||
chgrpcmd=
|
|
||||||
stripcmd=
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=
|
|
||||||
dst=
|
|
||||||
dir_arg=
|
|
||||||
dstarg=
|
|
||||||
no_target_directory=
|
|
||||||
|
|
||||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
||||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
||||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
||||||
or: $0 [OPTION]... -d DIRECTORIES...
|
|
||||||
|
|
||||||
In the 1st form, copy SRCFILE to DSTFILE.
|
|
||||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
||||||
In the 4th, create DIRECTORIES.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
-c (ignored)
|
|
||||||
-d create directories instead of installing files.
|
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
|
||||||
-m MODE $chmodprog installed files to MODE.
|
|
||||||
-o USER $chownprog installed files to USER.
|
|
||||||
-s $stripprog installed files.
|
|
||||||
-t DIRECTORY install into DIRECTORY.
|
|
||||||
-T report an error if DSTFILE is a directory.
|
|
||||||
--help display this help and exit.
|
|
||||||
--version display version info and exit.
|
|
||||||
|
|
||||||
Environment variables override the default commands:
|
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
|
||||||
"
|
|
||||||
|
|
||||||
while test -n "$1"; do
|
|
||||||
case $1 in
|
|
||||||
-c) shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--help) echo "$usage"; exit $?;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd=$stripprog
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t) dstarg=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-T) no_target_directory=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
--version) echo "$0 $scriptversion"; exit $?;;
|
|
||||||
|
|
||||||
*) # When -d is used, all remaining arguments are directories to create.
|
|
||||||
# When -t is used, the destination is already specified.
|
|
||||||
test -n "$dir_arg$dstarg" && break
|
|
||||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
if test -n "$dstarg"; then
|
|
||||||
# $@ is not empty: it contains at least $arg.
|
|
||||||
set fnord "$@" "$dstarg"
|
|
||||||
shift # fnord
|
|
||||||
fi
|
|
||||||
shift # arg
|
|
||||||
dstarg=$arg
|
|
||||||
done
|
|
||||||
break;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
if test -z "$dir_arg"; then
|
|
||||||
echo "$0: no input file specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
# It's OK to call `install-sh -d' without argument.
|
|
||||||
# This can happen when creating conditional directories.
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for src
|
|
||||||
do
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $src in
|
|
||||||
-*) src=./$src ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
dst=$src
|
|
||||||
src=
|
|
||||||
|
|
||||||
if test -d "$dst"; then
|
|
||||||
mkdircmd=:
|
|
||||||
chmodcmd=
|
|
||||||
else
|
|
||||||
mkdircmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
if test ! -f "$src" && test ! -d "$src"; then
|
|
||||||
echo "$0: $src does not exist." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$dstarg"; then
|
|
||||||
echo "$0: no destination specified." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dst=$dstarg
|
|
||||||
# Protect names starting with `-'.
|
|
||||||
case $dst in
|
|
||||||
-*) dst=./$dst ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; won't work
|
|
||||||
# if double slashes aren't ignored.
|
|
||||||
if test -d "$dst"; then
|
|
||||||
if test -n "$no_target_directory"; then
|
|
||||||
echo "$0: $dstarg: Is a directory" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
dst=$dst/`basename "$src"`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This sed command emulates the dirname command.
|
|
||||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if test ! -d "$dstdir"; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-$defaultIFS}"
|
|
||||||
|
|
||||||
oIFS=$IFS
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
shift
|
|
||||||
IFS=$oIFS
|
|
||||||
|
|
||||||
pathcomp=
|
|
||||||
|
|
||||||
while test $# -ne 0 ; do
|
|
||||||
pathcomp=$pathcomp$1
|
|
||||||
shift
|
|
||||||
if test ! -d "$pathcomp"; then
|
|
||||||
$mkdirprog "$pathcomp"
|
|
||||||
# mkdir can fail with a `File exist' error in case several
|
|
||||||
# install-sh are creating the directory concurrently. This
|
|
||||||
# is OK.
|
|
||||||
test -d "$pathcomp" || exit
|
|
||||||
fi
|
|
||||||
pathcomp=$pathcomp/
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$dir_arg"; then
|
|
||||||
$doit $mkdircmd "$dst" \
|
|
||||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
|
||||||
|
|
||||||
else
|
|
||||||
dstfile=`basename "$dst"`
|
|
||||||
|
|
||||||
# Make a couple of temp file names in the proper directory.
|
|
||||||
dsttmp=$dstdir/_inst.$$_
|
|
||||||
rmtmp=$dstdir/_rm.$$_
|
|
||||||
|
|
||||||
# Trap to clean up those temp files at exit.
|
|
||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
||||||
trap '(exit $?); exit' 1 2 13 15
|
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
|
||||||
$doit $cpprog "$src" "$dsttmp" &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
|
||||||
#
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
||||||
#
|
|
||||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
|
||||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
# The rename failed, perhaps because mv can't rename something else
|
|
||||||
# to itself, or perhaps because mv is so ancient that it does not
|
|
||||||
# support -f.
|
|
||||||
|
|
||||||
# Now remove or move aside any old file at destination location.
|
|
||||||
# We try this two ways since rm can't unlink itself on some
|
|
||||||
# systems and the destination file might be busy for other
|
|
||||||
# reasons. In this case, the final cleanup might fail but the new
|
|
||||||
# file should still install successfully.
|
|
||||||
{
|
|
||||||
if test -f "$dstdir/$dstfile"; then
|
|
||||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
|
||||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
|
||||||
|| {
|
|
||||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
|
||||||
(exit 1); exit 1
|
|
||||||
}
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
} &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fi || { (exit 1); exit 1; }
|
|
||||||
done
|
|
||||||
|
|
||||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
|
||||||
{
|
|
||||||
(exit 0); exit 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local variables:
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
|
@ -1,57 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to prepare libxml++ 2.8.1 to be configured and compiled.
|
|
||||||
# For more information on libxml++, see http://libxmlplusplus.sourceforge.net/
|
|
||||||
#
|
|
||||||
# WARNING: This install script does NOT install related dependencies, like Glib.
|
|
||||||
# To have these dependencies installed, please install GTK-- first, which
|
|
||||||
# in fact installs all needed dependencies
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
product=libxml++-2.8.1
|
|
||||||
|
|
||||||
reldir=`dirname $0`/..
|
|
||||||
basedir=`cd ${reldir}; pwd;`
|
|
||||||
bindir=${basedir}/bin
|
|
||||||
etcdir=${basedir}/etc
|
|
||||||
tmpdir=${basedir}/tmp
|
|
||||||
|
|
||||||
tar=$basedir/src/$product.tar.bz2
|
|
||||||
|
|
||||||
mkdir -p ${tmpdir}
|
|
||||||
|
|
||||||
# copy over install-sh, as AC_CONFIG_SUBDIRS will be looking for it
|
|
||||||
cp -r $bindir/install-sh $tmpdir
|
|
||||||
|
|
||||||
cd ${tmpdir}
|
|
||||||
if [ ! -d $product ]; then
|
|
||||||
tar xfj ${tar}
|
|
||||||
cd $product
|
|
||||||
# patch here
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Run this script to configure the environment.
|
|
||||||
#
|
|
||||||
# This script in effect calls the real automake / autoconf configure script
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# assume we're in $basedir
|
|
||||||
reldir=`dirname $0`
|
|
||||||
basedir=`cd $reldir; pwd;`
|
|
||||||
test -z "$basedir" && basedir=.
|
|
||||||
|
|
||||||
bindir=$basedir/bin
|
|
||||||
tmpdir=$basedir/tmp
|
|
||||||
|
|
||||||
|
|
||||||
autogen=$bindir/autogen.sh
|
|
||||||
configure=$tmpdir/configure
|
|
||||||
|
|
||||||
if [ ! -x $configure ]; then
|
|
||||||
(cd $basedir && $autogen $*)
|
|
||||||
fi
|
|
||||||
|
|
||||||
(cd $tmpdir && $configure $*)
|
|
||||||
|
|
|
@ -1,102 +0,0 @@
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
#
|
|
||||||
# This file is part of the Campcaster project.
|
|
||||||
# http://campcaster.campware.org/
|
|
||||||
# To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
#
|
|
||||||
# Campcaster 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.
|
|
||||||
#
|
|
||||||
# Campcaster 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 Campcaster; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Author : $Author$
|
|
||||||
# Version : $Revision$
|
|
||||||
# Location : $URL$
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# General command definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
MKDIR = mkdir -p
|
|
||||||
RM = rm -f
|
|
||||||
RMDIR = rm -rf
|
|
||||||
DOXYGEN = doxygen
|
|
||||||
DOXYTAG = doxytag
|
|
||||||
XSLTPROC = xsltproc
|
|
||||||
ECHO = @echo
|
|
||||||
FLAWFINDER = flawfinder
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Basic directory and file definitions
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
BASE_DIR = .
|
|
||||||
BIN_DIR = ${BASE_DIR}/bin
|
|
||||||
DOC_DIR = ${BASE_DIR}/doc
|
|
||||||
DOXYGEN_DIR = ${DOC_DIR}/doxygen
|
|
||||||
COVERAGE_DIR = ${DOC_DIR}/coverage
|
|
||||||
ETC_DIR = ${BASE_DIR}/etc
|
|
||||||
TMP_DIR = ${BASE_DIR}/tmp
|
|
||||||
|
|
||||||
LIBXMLXX_VERSION = libxml++-2.8.1
|
|
||||||
LIBXMLXX_DIR = ${TMP_DIR}/${LIBXMLXX_VERSION}
|
|
||||||
|
|
||||||
prefix = @prefix@
|
|
||||||
# datadir will be defiend as ${prefix}/share, so we need to define ${prefix}
|
|
||||||
# above
|
|
||||||
docdir = @datadir@/doc/${LIBXMLXX_VERSION}
|
|
||||||
|
|
||||||
USR_DIR=${prefix}
|
|
||||||
USR_BIN_DIR=${USR_DIR}/bin
|
|
||||||
USR_LIB_DIR=${USR_DIR}/lib
|
|
||||||
|
|
||||||
export PATH:=${USR_BIN_DIR}:${PATH}
|
|
||||||
export CPPFLAGS=-I${USR_DIR}/include
|
|
||||||
export LDFLAGS=-L${USR_LIB_DIR}
|
|
||||||
export LD_LIBRARY_PATH:=${USR_LIB_DIR}:${LD_LIBRARY_PATH}
|
|
||||||
export PKG_CONFIG_PATH=${USR_LIB_DIR}/pkgconfig
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# Targets
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
all: ${TMP_DIR}/all.stamp
|
|
||||||
${TMP_DIR}/all.stamp:
|
|
||||||
cd ${LIBXMLXX_DIR} && ./configure --prefix=${prefix}
|
|
||||||
${MAKE} -C ${LIBXMLXX_DIR}
|
|
||||||
# make the reference documentation and install that as well, as the
|
|
||||||
# autoconf thing doesn't :(
|
|
||||||
${MAKE} -C ${LIBXMLXX_DIR}/docs/reference
|
|
||||||
touch ${TMP_DIR}/all.stamp
|
|
||||||
|
|
||||||
install: all ${TMP_DIR}/install.stamp
|
|
||||||
${TMP_DIR}/install.stamp:
|
|
||||||
${MAKE} -C ${LIBXMLXX_DIR} install
|
|
||||||
# make the reference documentation and install that as well, as the
|
|
||||||
# autoconf thing doesn't :(
|
|
||||||
${MKDIR} ${docdir}
|
|
||||||
cp -pPR ${LIBXMLXX_DIR}/docs/reference/2.8 ${docdir}
|
|
||||||
touch ${TMP_DIR}/install.stamp
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${MAKE} -C ${LIBXMLXX_DIR} clean
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
${RM} ${TMP_DIR}/*.stamp
|
|
||||||
${RMDIR} ${LIBXMLXX_DIR}
|
|
||||||
${RMDIR} ${TMP_DIR}/auto* ${TMP_DIR}/config* ${TMP_DIR}/install-sh
|
|
||||||
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
||||||
dnl
|
|
||||||
dnl This file is part of the Campcaster project.
|
|
||||||
dnl http://campcaster.campware.org/
|
|
||||||
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl Campcaster is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with Campcaster; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
dnl
|
|
||||||
dnl
|
|
||||||
dnl Author : $Author$
|
|
||||||
dnl Version : $Revision$
|
|
||||||
dnl Location : $URL$
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
||||||
dnl project.
|
|
||||||
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
||||||
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
||||||
dnl it is being run from. We clearly don't want these in our base directory.
|
|
||||||
dnl-----------------------------------------------------------------------------
|
|
||||||
AC_INIT(libxml++, 2.8.1, bugs@campware.org)
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
||||||
AC_REVISION($Revision$)
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(../src/libxml++-2.8.1.tar.bz2)
|
|
||||||
|
|
||||||
|
|
||||||
dnl untar the sources before anything happens
|
|
||||||
../bin/prepare.sh
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
||||||
|
|
||||||
AC_OUTPUT()
|
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
keep me
|
|
Loading…
Add table
Add a link
Reference in a new issue