mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-07 00:39:58 +01:00
Compare commits
50 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e717e93a8d | ||
|
|
37583d898d | ||
|
|
ad638f3dcf | ||
|
|
115776fa22 | ||
|
|
7b654d23d3 | ||
|
|
c73d6bd981 | ||
|
|
587eebec5f | ||
|
|
bde5197d86 | ||
|
|
13ffe4c7d4 | ||
|
|
1aac0dddde | ||
|
|
ebe57e242b | ||
|
|
0aef4b07ad | ||
|
|
125a2c24db | ||
|
|
273238b3d6 | ||
|
|
df2462bfd5 | ||
|
|
c7238cd90d | ||
|
|
1ef32151fe | ||
|
|
54b94bea8c | ||
|
|
8c8c9fb2f6 | ||
|
|
e86f8a11dd | ||
|
|
ba32caebaa | ||
|
|
d1dcb4d5d3 | ||
|
|
b9d41073e4 | ||
|
|
ff5c863e54 | ||
|
|
bf0b34f835 | ||
|
|
f525e4cdea | ||
|
|
94fbec2323 | ||
|
|
6364f46bae | ||
|
|
c3bbdf3d8a | ||
|
|
2f25dfbf78 | ||
|
|
e54345f26f | ||
|
|
327a751f1f | ||
|
|
3ca57c2732 | ||
|
|
a0c475da53 | ||
|
|
472bee433e | ||
|
|
3c7f82584b | ||
|
|
ae2702af5d | ||
|
|
1f45248761 | ||
|
|
d626ab35c5 | ||
|
|
307a4da39a | ||
|
|
fd8040b6c6 | ||
|
|
c12b2cf872 | ||
|
|
8910998860 | ||
|
|
f0fc9962c5 | ||
|
|
979267f483 | ||
|
|
fbff4ec25d | ||
|
|
7695f07687 | ||
|
|
181ca00a2d | ||
|
|
1c4996cc9b | ||
|
|
27f2c72fe3 |
13
INSTALL
13
INSTALL
@@ -52,9 +52,18 @@ Then type:
|
||||
|
||||
cvs -z3 -d:pserver:anonymous@cvs.kdenlive.sourceforge.net:/cvsroot/kdenlive co kdenlive
|
||||
|
||||
Once the sourcecode has been downloaded, create a link called admin to the directory
|
||||
that matches the version of automake you are using.
|
||||
|
||||
Once the sourcecode has been downloaded, type the following commands to compile
|
||||
and install kdenlive.
|
||||
For 2.13 or similar :
|
||||
|
||||
ln -s admin2_13 admin
|
||||
|
||||
For 2.5x :
|
||||
|
||||
ln -s admin2_5 admin
|
||||
|
||||
Then, type the following commands to compile and install kdenlive.
|
||||
|
||||
cd kdenlive
|
||||
make -f admin/Makefile.common
|
||||
|
||||
14
README
14
README
@@ -1,14 +1,19 @@
|
||||
Kdenlive V 0.2.0 by Jason Wood <jasonwood@blueyonder.co.uk>
|
||||
Kdenlive V 0.2.2 by Jason Wood <jasonwood@blueyonder.co.uk>
|
||||
|
||||
Kdenlive is a video editing application for KDE. It will eventually run on
|
||||
any machine that KDE can run on.
|
||||
|
||||
This is a development release, and has at least some known bugs. Please check the
|
||||
project page for more information, and to report new bugs.
|
||||
|
||||
http://www.sourceforge.net/projects/kdenlive
|
||||
|
||||
To use Kdenlive, you will need to download and install Piave, available from
|
||||
the following webpage :
|
||||
|
||||
http://modesto.sourceforge.net/piave/
|
||||
|
||||
This version of Kdenlive requires Piave version 0.2.0. It may work with higher
|
||||
This version of Kdenlive requires Piave version 0.2.2. It may work with different
|
||||
versions, but this is not guaranteed, or (at this stage of development) likely.
|
||||
|
||||
Then, go to the Settings->configure Kdenlive menu, and type in or browse to
|
||||
@@ -16,9 +21,8 @@ the location where PIave is installed. Restart Kdenlive for the changes to take
|
||||
effect.
|
||||
|
||||
This is a BETA release of Kdenlive. All known major bugs have been removed, but
|
||||
that doesn't mean that there aren't any. Do not try to use kdenlive to
|
||||
edit any mission critical projects, and keep it away from any important
|
||||
files unless you've backed them up first.
|
||||
that doesn't mean that there aren't any. In particular, it is advised that you use
|
||||
something more feature-complete if you have a tight deadline to reach ;-)
|
||||
|
||||
We welcome all bug reports, feedback and offers for help! so please contact me
|
||||
if you have any queries or interest in Kdenlive's future.
|
||||
|
||||
8
TODO
8
TODO
@@ -1,7 +1,9 @@
|
||||
TODO list
|
||||
TODO List
|
||||
|
||||
* Add support for transitions
|
||||
* Add support for handling various file formats
|
||||
* Support for file formats.
|
||||
* Export file dialog box
|
||||
* KDockWidget layouts need to be saved on exit/opened on loading.
|
||||
* Dragging a clip to the timeline with undefined length should become full-length once it's duration is known.
|
||||
|
||||
|
||||
This is not a comprehensive list :-) If you are interested in helping
|
||||
|
||||
6935
acinclude.m4
6935
acinclude.m4
File diff suppressed because it is too large
Load Diff
868
admin/libtool.m4.in
vendored
868
admin/libtool.m4.in
vendored
@@ -1,868 +0,0 @@
|
||||
## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
|
||||
## Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
||||
## Free Software Foundation, Inc.
|
||||
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
## the Free Software Foundation; either version 2 of the License, or
|
||||
## (at your option) any later version.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful, but
|
||||
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
## General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
##
|
||||
## As a special exception to the GNU General Public License, if you
|
||||
## distribute this file as part of a program that contains a
|
||||
## configuration script generated by Autoconf, you may include it under
|
||||
## the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# serial 46 AC_PROG_LIBTOOL
|
||||
AC_DEFUN([AC_PROG_LIBTOOL],
|
||||
[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
|
||||
dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
|
||||
dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[AC_LIBTOOL_CXX],
|
||||
[define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
|
||||
])])
|
||||
|
||||
dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
|
||||
dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
|
||||
dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
|
||||
AC_PROVIDE_IFELSE([AC_PROG_GCJ],
|
||||
[AC_LIBTOOL_GCJ],
|
||||
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
|
||||
[AC_LIBTOOL_GCJ],
|
||||
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
|
||||
[AC_LIBTOOL_GCJ],
|
||||
[ifdef([AC_PROG_GCJ],
|
||||
[define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ
|
||||
])])
|
||||
ifdef([A][M_PROG_GCJ],
|
||||
[define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ
|
||||
])])
|
||||
ifdef([LT_AC_PROG_GCJ],
|
||||
[define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ
|
||||
])])])])])])
|
||||
|
||||
AC_DEFUN([_AC_PROG_LIBTOOL],
|
||||
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
|
||||
AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
|
||||
AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
|
||||
|
||||
# Save cache, so that ltconfig can load it
|
||||
AC_CACHE_SAVE
|
||||
|
||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
|
||||
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
|
||||
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
|
||||
deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||
$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
|
||||
|| AC_MSG_ERROR([libtool configure failed])
|
||||
|
||||
# Reload cache, that may have been modified by ltconfig
|
||||
AC_CACHE_LOAD
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
AC_SUBST(LIBTOOL)dnl
|
||||
|
||||
# Redirect the config.log output again, so that the ltconfig log is not
|
||||
# clobbered by the next message.
|
||||
exec 5>>./config.log
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_LIBTOOL_SETUP],
|
||||
[AC_PREREQ(2.13)dnl
|
||||
AC_REQUIRE([AC_ENABLE_SHARED])dnl
|
||||
AC_REQUIRE([AC_ENABLE_STATIC])dnl
|
||||
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_LD])dnl
|
||||
AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
|
||||
AC_REQUIRE([AC_PROG_NM])dnl
|
||||
AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||
AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
|
||||
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
|
||||
AC_REQUIRE([AC_OBJEXT])dnl
|
||||
AC_REQUIRE([AC_EXEEXT])dnl
|
||||
dnl
|
||||
|
||||
# Only perform the check for file, if the check method requires it
|
||||
case $deplibs_check_method in
|
||||
file_magic*)
|
||||
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
||||
AC_PATH_MAGIC
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||
AC_CHECK_TOOL(STRIP, strip, :)
|
||||
|
||||
# Check for any special flags to pass to ltconfig.
|
||||
libtool_flags="--cache-file=$cache_file"
|
||||
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
||||
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
||||
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
|
||||
test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
|
||||
test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
|
||||
[libtool_flags="$libtool_flags --enable-dlopen"])
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
||||
[libtool_flags="$libtool_flags --enable-win32-dll"])
|
||||
AC_ARG_ENABLE(libtool-lock,
|
||||
[ --disable-libtool-lock avoid locking (might break parallel builds)])
|
||||
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
|
||||
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||
|
||||
AC_ARG_WITH(pic,
|
||||
[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
|
||||
pic_mode="$withval", pic_mode=default)
|
||||
test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
|
||||
test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
|
||||
|
||||
# Some flags need to be propagated to the compiler or linker for good
|
||||
# libtool support.
|
||||
case $host in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
if AC_TRY_EVAL(ac_compile); then
|
||||
case `/usr/bin/file conftest.$ac_objext` in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
;;
|
||||
*N32*)
|
||||
LD="${LD-ld} -n32"
|
||||
;;
|
||||
*64-bit*)
|
||||
LD="${LD-ld} -64"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
rm -rf conftest*
|
||||
;;
|
||||
|
||||
*-*-sco3.2v5*)
|
||||
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
|
||||
AC_LANG_RESTORE])
|
||||
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
||||
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
||||
CFLAGS="$SAVE_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
|
||||
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
||||
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
|
||||
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||
AC_CHECK_TOOL(AS, as, false)
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
|
||||
# recent cygwin and mingw systems supply a stub DllMain which the user
|
||||
# can override, but on older systems we have to supply one
|
||||
AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
|
||||
[AC_TRY_LINK([],
|
||||
[extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
|
||||
DllMain (0, 0, 0);],
|
||||
[lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
|
||||
|
||||
case $host/$CC in
|
||||
*-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
|
||||
# old mingw systems require "-dll" to link a DLL, while more recent ones
|
||||
# require "-mdll"
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -mdll"
|
||||
AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
|
||||
[AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
|
||||
CFLAGS="$SAVE_CFLAGS" ;;
|
||||
*-*-cygwin* | *-*-pw32*)
|
||||
# cygwin systems need to pass --dll to the linker, and not link
|
||||
# crt.o which will require a WinMain@16 definition.
|
||||
lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
|
||||
esac
|
||||
;;
|
||||
])
|
||||
esac
|
||||
])
|
||||
|
||||
# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
|
||||
AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
|
||||
|
||||
# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
|
||||
AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
|
||||
|
||||
# AC_ENABLE_SHARED - implement the --enable-shared flag
|
||||
# Usage: AC_ENABLE_SHARED[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN([AC_ENABLE_SHARED],
|
||||
[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(shared,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_shared=yes ;;
|
||||
no) enable_shared=no ;;
|
||||
*)
|
||||
enable_shared=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_shared=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
|
||||
AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_SHARED(no)])
|
||||
|
||||
# AC_ENABLE_STATIC - implement the --enable-static flag
|
||||
# Usage: AC_ENABLE_STATIC[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN([AC_ENABLE_STATIC],
|
||||
[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(static,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_static=yes ;;
|
||||
no) enable_static=no ;;
|
||||
*)
|
||||
enable_static=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_static=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_DISABLE_STATIC - set the default static flag to --disable-static
|
||||
AC_DEFUN([AC_DISABLE_STATIC],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_STATIC(no)])
|
||||
|
||||
|
||||
# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
|
||||
# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
|
||||
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
||||
# `yes'.
|
||||
AC_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||
[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||
AC_ARG_ENABLE(fast-install,
|
||||
changequote(<<, >>)dnl
|
||||
<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
|
||||
changequote([, ])dnl
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_fast_install=yes ;;
|
||||
no) enable_fast_install=no ;;
|
||||
*)
|
||||
enable_fast_install=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
||||
for pkg in $enableval; do
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_fast_install=yes
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
|
||||
])
|
||||
|
||||
# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
|
||||
AC_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_ENABLE_FAST_INSTALL(no)])
|
||||
|
||||
# AC_LIBTOOL_PICMODE - implement the --with-pic flag
|
||||
# Usage: AC_LIBTOOL_PICMODE[(MODE)]
|
||||
# Where MODE is either `yes' or `no'. If omitted, it defaults to
|
||||
# `both'.
|
||||
AC_DEFUN([AC_LIBTOOL_PICMODE],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
pic_mode=ifelse($#,1,$1,default)])
|
||||
|
||||
|
||||
# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
|
||||
AC_DEFUN([AC_PATH_TOOL_PREFIX],
|
||||
[AC_MSG_CHECKING([for $1])
|
||||
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
|
||||
[case $MAGIC_CMD in
|
||||
/*)
|
||||
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
||||
;;
|
||||
?:/*)
|
||||
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
|
||||
;;
|
||||
*)
|
||||
ac_save_MAGIC_CMD="$MAGIC_CMD"
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
dnl $ac_dummy forces splitting on constant user-supplied paths.
|
||||
dnl POSIX.2 word splitting is done only on the output of word expansions,
|
||||
dnl not every word. This closes a longstanding sh security hole.
|
||||
ac_dummy="ifelse([$2], , $PATH, [$2])"
|
||||
for ac_dir in $ac_dummy; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$1; then
|
||||
lt_cv_path_MAGIC_CMD="$ac_dir/$1"
|
||||
if test -n "$file_magic_test_file"; then
|
||||
case $deplibs_check_method in
|
||||
"file_magic "*)
|
||||
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
|
||||
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
||||
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
||||
egrep "$file_magic_regex" > /dev/null; then
|
||||
:
|
||||
else
|
||||
cat <<EOF 1>&2
|
||||
|
||||
*** Warning: the command libtool uses to detect shared libraries,
|
||||
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
||||
*** The result is that libtool may fail to recognize shared libraries
|
||||
*** as such. This will affect the creation of libtool libraries that
|
||||
*** depend on shared libraries, but programs linked with such libtool
|
||||
*** libraries will work regardless of this problem. Nevertheless, you
|
||||
*** may want to report the problem to your system manager and/or to
|
||||
*** bug-libtool@gnu.org
|
||||
|
||||
EOF
|
||||
fi ;;
|
||||
esac
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
MAGIC_CMD="$ac_save_MAGIC_CMD"
|
||||
;;
|
||||
esac])
|
||||
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
||||
if test -n "$MAGIC_CMD"; then
|
||||
AC_MSG_RESULT($MAGIC_CMD)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
# AC_PATH_MAGIC - find a file program which can recognise a shared library
|
||||
AC_DEFUN([AC_PATH_MAGIC],
|
||||
[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
|
||||
AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
|
||||
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
|
||||
else
|
||||
MAGIC_CMD=:
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
# AC_PROG_LD - find the path to the GNU or non-GNU linker
|
||||
AC_DEFUN([AC_PROG_LD],
|
||||
[AC_ARG_WITH(gnu-ld,
|
||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||
ac_prog=ld
|
||||
if test "$GCC" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by GCC])
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
# gcc leaves a trailing carriage return which upsets mingw
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
||||
*)
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
||||
esac
|
||||
case $ac_prog in
|
||||
# Accept absolute paths.
|
||||
[[\\/]* | [A-Za-z]:[\\/]*)]
|
||||
re_direlt=['/[^/][^/]*/\.\./']
|
||||
# Canonicalize the path of ld
|
||||
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
||||
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
||||
done
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL(lt_cv_path_LD,
|
||||
[if test -z "$LD"; then
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
||||
lt_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some GNU ld's only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
||||
test "$with_gnu_ld" != no && break
|
||||
else
|
||||
test "$with_gnu_ld" != yes && break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
else
|
||||
lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$lt_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT($LD)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_PROG_LD_GNU
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_PROG_LD_GNU],
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
|
||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
||||
lt_cv_prog_gnu_ld=yes
|
||||
else
|
||||
lt_cv_prog_gnu_ld=no
|
||||
fi])
|
||||
with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||
])
|
||||
|
||||
# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
|
||||
# -- PORTME Some linkers may need a different reload flag.
|
||||
AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
|
||||
[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
|
||||
[lt_cv_ld_reload_flag='-r'])
|
||||
reload_flag=$lt_cv_ld_reload_flag
|
||||
test -n "$reload_flag" && reload_flag=" $reload_flag"
|
||||
])
|
||||
|
||||
# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
|
||||
# -- PORTME fill in with the dynamic library characteristics
|
||||
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
|
||||
[AC_CACHE_CHECK([how to recognise dependant libraries],
|
||||
lt_cv_deplibs_check_method,
|
||||
[lt_cv_file_magic_cmd='$MAGIC_CMD'
|
||||
lt_cv_file_magic_test_file=
|
||||
lt_cv_deplibs_check_method='unknown'
|
||||
# Need to set the preceding variable on all platforms that support
|
||||
# interlibrary dependencies.
|
||||
# 'none' -- dependencies not supported.
|
||||
# `unknown' -- same as none, but documents that we really don't know.
|
||||
# 'pass_all' -- all dependencies passed with no checks.
|
||||
# 'test_compile' -- check by making test program.
|
||||
# 'file_magic [regex]' -- check by looking for files in library path
|
||||
# which responds to the $file_magic_cmd with a given egrep regex.
|
||||
# If you have `file' or equivalent on your system and you're not sure
|
||||
# whether `pass_all' will *always* work, you probably want this one.
|
||||
|
||||
case $host_os in
|
||||
aix*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
beos*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
bsdi4*)
|
||||
lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
|
||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||
;;
|
||||
|
||||
cygwin* | mingw* |pw32*)
|
||||
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
||||
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
||||
;;
|
||||
|
||||
darwin* | rhapsody*)
|
||||
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
|
||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
||||
case "$host_os" in
|
||||
rhapsody* | darwin1.[012])
|
||||
lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
|
||||
;;
|
||||
*) # Darwin 1.3 on
|
||||
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
freebsd* )
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
case $host_cpu in
|
||||
i*86 )
|
||||
# Not sure whether the presence of OpenBSD here was a mistake.
|
||||
# Let's accept both of them until this is cleared up.
|
||||
lt_cv_deplibs_check_method=['file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||
;;
|
||||
esac
|
||||
else
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
fi
|
||||
;;
|
||||
|
||||
gnu*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
hpux10.20*|hpux11*)
|
||||
lt_cv_deplibs_check_method=['file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
||||
;;
|
||||
|
||||
irix5* | irix6*)
|
||||
case $host_os in
|
||||
irix5*)
|
||||
# this will be overridden with pass_all, but let us keep it just in case
|
||||
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 ") libmagic=32-bit;;
|
||||
*-n32|*"-n32 ") libmagic=N32;;
|
||||
*-64|*"-64 ") libmagic=64-bit;;
|
||||
*) libmagic=never-match;;
|
||||
esac
|
||||
# this will be overridden with pass_all, but let us keep it just in case
|
||||
lt_cv_deplibs_check_method=["file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
|
||||
;;
|
||||
esac
|
||||
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux*)
|
||||
case $host_cpu in
|
||||
alpha* | i*86 | powerpc* | sparc* | ia64* | s390* | m68k* | arm* | mips* | hppa* | sh* )
|
||||
lt_cv_deplibs_check_method=pass_all ;;
|
||||
*)
|
||||
# glibc up to 2.1.1 does not perform some relocations on ARM
|
||||
lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'] ;;
|
||||
esac
|
||||
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
[lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library']
|
||||
else
|
||||
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object']
|
||||
fi
|
||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
||||
;;
|
||||
|
||||
openbsd* )
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
case "$host_cpu" in
|
||||
i*86 )
|
||||
changequote(,)dnl
|
||||
lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
|
||||
changequote([, ])dnl
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||
;;
|
||||
esac
|
||||
else
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
fi
|
||||
;;
|
||||
|
||||
newsos6)
|
||||
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||
;;
|
||||
|
||||
osf3* | osf4* | osf5*)
|
||||
# this will be overridden with pass_all, but let us keep it just in case
|
||||
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
sco3.2v5*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
solaris*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
lt_cv_file_magic_test_file=/lib/libc.so
|
||||
;;
|
||||
|
||||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||
case $host_vendor in
|
||||
ncr)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
motorola)
|
||||
lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
|
||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
])
|
||||
file_magic_cmd=$lt_cv_file_magic_cmd
|
||||
deplibs_check_method=$lt_cv_deplibs_check_method
|
||||
])
|
||||
|
||||
|
||||
# AC_PROG_NM - find the path to a BSD-compatible name lister
|
||||
AC_DEFUN([AC_PROG_NM],
|
||||
[AC_MSG_CHECKING([for BSD-compatible nm])
|
||||
AC_CACHE_VAL(lt_cv_path_NM,
|
||||
[if test -n "$NM"; then
|
||||
# Let the user override the test.
|
||||
lt_cv_path_NM="$NM"
|
||||
else
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
tmp_nm=$ac_dir/${ac_tool_prefix}nm
|
||||
if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
|
||||
# Check to see if the nm accepts a BSD-compat flag.
|
||||
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
||||
# nm: unknown option "B" ignored
|
||||
# Tru64's nm complains that /dev/null is an invalid object file
|
||||
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
|
||||
lt_cv_path_NM="$tmp_nm -B"
|
||||
break
|
||||
elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
||||
lt_cv_path_NM="$tmp_nm -p"
|
||||
break
|
||||
else
|
||||
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
||||
continue # so that we can try to find one that supports BSD flags
|
||||
fi
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
|
||||
fi])
|
||||
NM="$lt_cv_path_NM"
|
||||
AC_MSG_RESULT([$NM])
|
||||
])
|
||||
|
||||
# AC_CHECK_LIBM - check for math library
|
||||
AC_DEFUN([AC_CHECK_LIBM],
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case $host in
|
||||
*-*-beos* | *-*-cygwin* | *-*-pw32*)
|
||||
# These system don't have libm
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
|
||||
AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB(m, main, LIBM="-lm")
|
||||
;;
|
||||
esac
|
||||
])
|
||||
|
||||
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
|
||||
# the libltdl convenience library and INCLTDL to the include flags for
|
||||
# the libltdl header and adds --enable-ltdl-convenience to the
|
||||
# configure arguments. Note that LIBLTDL and INCLTDL are not
|
||||
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
|
||||
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
|
||||
# with '${top_builddir}/' and INCLTDL will be prefixed with
|
||||
# '${top_srcdir}/' (note the single quotes!). If your package is not
|
||||
# flat and you're not using automake, define top_builddir and
|
||||
# top_srcdir appropriately in the Makefiles.
|
||||
AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
case $enable_ltdl_convenience in
|
||||
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
|
||||
"") enable_ltdl_convenience=yes
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
||||
esac
|
||||
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
|
||||
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
|
||||
])
|
||||
|
||||
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
|
||||
# the libltdl installable library and INCLTDL to the include flags for
|
||||
# the libltdl header and adds --enable-ltdl-install to the configure
|
||||
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
|
||||
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
|
||||
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
|
||||
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
|
||||
# with '${top_srcdir}/' (note the single quotes!). If your package is
|
||||
# not flat and you're not using automake, define top_builddir and
|
||||
# top_srcdir appropriately in the Makefiles.
|
||||
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
||||
AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_CHECK_LIB(ltdl, main,
|
||||
[test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
|
||||
[if test x"$enable_ltdl_install" = xno; then
|
||||
AC_MSG_WARN([libltdl not installed, but installation disabled])
|
||||
else
|
||||
enable_ltdl_install=yes
|
||||
fi
|
||||
])
|
||||
if test x"$enable_ltdl_install" = x"yes"; then
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-install"
|
||||
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
|
||||
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
|
||||
else
|
||||
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
|
||||
LIBLTDL="-lltdl"
|
||||
INCLTDL=
|
||||
fi
|
||||
])
|
||||
|
||||
# If this macro is not defined by Autoconf, define it here.
|
||||
ifdef([AC_PROVIDE_IFELSE],
|
||||
[],
|
||||
[define([AC_PROVIDE_IFELSE],
|
||||
[ifdef([AC_PROVIDE_$1],
|
||||
[$2], [$3])])])
|
||||
|
||||
# AC_LIBTOOL_CXX - enable support for C++ libraries
|
||||
AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_AC_LIBTOOL_CXX])])
|
||||
|
||||
AC_DEFUN([_AC_LIBTOOL_CXX],
|
||||
[AC_REQUIRE([AC_PROG_CXX])
|
||||
AC_REQUIRE([AC_PROG_CXXCPP])
|
||||
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
|
||||
lt_save_CC="$CC"
|
||||
lt_save_CFLAGS="$CFLAGS"
|
||||
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
|
||||
dnl is set to the C++ compiler.
|
||||
AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
|
||||
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
|
||||
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
|
||||
deplibs_check_method="$deplibs_check_method" \
|
||||
file_magic_cmd="$file_magic_cmd" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
|
||||
--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
|
||||
|| AC_MSG_ERROR([libtool tag configuration failed])
|
||||
CC="$lt_save_CC"
|
||||
CFLAGS="$lt_save_CFLAGS"
|
||||
|
||||
# Redirect the config.log output again, so that the ltconfig log is not
|
||||
# clobbered by the next message.
|
||||
exec 5>>./config.log
|
||||
])
|
||||
|
||||
# AC_LIBTOOL_GCJ - enable support for GCJ libraries
|
||||
AC_DEFUN([AC_LIBTOOL_GCJ],[AC_REQUIRE([_AC_LIBTOOL_GCJ])])
|
||||
|
||||
AC_DEFUN([_AC_LIBTOOL_GCJ],
|
||||
[AC_REQUIRE([AC_PROG_LIBTOOL])
|
||||
AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
|
||||
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
|
||||
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
|
||||
[ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
|
||||
[ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
|
||||
[AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
|
||||
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
|
||||
lt_save_CC="$CC"
|
||||
lt_save_CFLAGS="$CFLAGS"
|
||||
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
|
||||
dnl is set to the C++ compiler.
|
||||
AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
|
||||
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
|
||||
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
|
||||
deplibs_check_method="$deplibs_check_method" \
|
||||
file_magic_cmd="$file_magic_cmd" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
|
||||
--build="$build" --add-tag=GCJ $ac_aux_dir/ltcf-gcj.sh $host \
|
||||
|| AC_MSG_ERROR([libtool tag configuration failed])
|
||||
CC="$lt_save_CC"
|
||||
CFLAGS="$lt_save_CFLAGS"
|
||||
|
||||
# Redirect the config.log output again, so that the ltconfig log is not
|
||||
# clobbered by the next message.
|
||||
exec 5>>./config.log
|
||||
])
|
||||
|
||||
dnl old names
|
||||
AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
|
||||
AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
||||
AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
||||
AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
||||
AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
||||
AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
|
||||
AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
|
||||
|
||||
dnl This is just to silence aclocal about the macro not being used
|
||||
ifelse([AC_DISABLE_FAST_INSTALL])dnl
|
||||
|
||||
AC_DEFUN([LT_AC_PROG_GCJ],
|
||||
[AC_CHECK_TOOL(GCJ, gcj, no)
|
||||
test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
|
||||
AC_SUBST(GCJFLAGS)
|
||||
])
|
||||
815
admin/ltcf-c.sh
815
admin/ltcf-c.sh
@@ -1,815 +0,0 @@
|
||||
#### This script is meant to be sourced by ltconfig.
|
||||
|
||||
# ltcf-c.sh - Create a C compiler specific configuration
|
||||
#
|
||||
# Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
|
||||
# Source file extension for C test sources.
|
||||
ac_ext=c
|
||||
|
||||
# Object file extension for compiled C test sources.
|
||||
objext=o
|
||||
|
||||
# Code to be used in simple compile tests
|
||||
lt_simple_compile_test_code="int some_variable = 0;"
|
||||
|
||||
# Code to be used in simple link tests
|
||||
lt_simple_link_test_code='main(){return(0);}'
|
||||
|
||||
## Linker Characteristics
|
||||
case $host_os in
|
||||
cygwin* | mingw*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$with_gcc" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# If archive_cmds runs LD, not CC, wlarc should be empty
|
||||
wlarc='${wl}'
|
||||
|
||||
# See if GNU ld supports shared libraries.
|
||||
case $host_os in
|
||||
aix3* | aix4* | aix5*)
|
||||
# On AIX, the GNU linker is very broken
|
||||
ld_shlibs=no
|
||||
cat <<EOF 1>&2
|
||||
|
||||
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
|
||||
*** to be unable to reliably create shared libraries on AIX.
|
||||
*** Therefore, libtool is disabling shared libraries support. If you
|
||||
*** really care for shared libraries, you may want to modify your PATH
|
||||
*** so that a non-GNU linker is found, and then restart.
|
||||
|
||||
EOF
|
||||
;;
|
||||
|
||||
amigaos*)
|
||||
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
|
||||
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we can use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
beos*)
|
||||
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
allow_undefined_flag=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
# support --undefined. This deserves some investigation. FIXME
|
||||
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
|
||||
cygwin* | mingw*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
allow_undefined_flag=unsupported
|
||||
always_export_symbols=yes
|
||||
|
||||
extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
|
||||
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/impgen.c~
|
||||
test -f $output_objdir/impgen.exe || (cd $output_objdir && \
|
||||
if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
|
||||
else $CC -o impgen impgen.c ; fi)~
|
||||
$output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
|
||||
|
||||
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
|
||||
|
||||
# cygwin and mingw dlls have different entry points and sets of symbols
|
||||
# to exclude.
|
||||
# FIXME: what about values for MSVC?
|
||||
dll_entry=__cygwin_dll_entry@12
|
||||
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
|
||||
case $host_os in
|
||||
mingw*)
|
||||
# mingw values
|
||||
dll_entry=_DllMainCRTStartup@12
|
||||
dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
|
||||
;;
|
||||
esac
|
||||
|
||||
# mingw and cygwin differ, and it's simplest to just exclude the union
|
||||
# of the two symbol sets.
|
||||
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
|
||||
|
||||
# recent cygwin and mingw systems supply a stub DllMain which the user
|
||||
# can override, but on older systems we have to supply one (in ltdll.c)
|
||||
if test "x$lt_cv_need_dllmain" = "xyes"; then
|
||||
ltdll_obj='$output_objdir/$soname-ltdll.'"$objext "
|
||||
ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/$soname-ltdll.c~
|
||||
test -f $output_objdir/$soname-ltdll.$objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
|
||||
else
|
||||
ltdll_obj=
|
||||
ltdll_cmds=
|
||||
fi
|
||||
|
||||
# Extract the symbol export list from an `--export-all' def file,
|
||||
# then regenerate the def file from the symbol export list, so that
|
||||
# the compiled dll only exports the symbol export list.
|
||||
# Be careful not to strip the DATA tag left be newer dlltools.
|
||||
export_symbols_cmds="$ltdll_cmds"'
|
||||
$DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
|
||||
sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
|
||||
|
||||
# If the export-symbols file already is a .def file (1st line
|
||||
# is EXPORTS), use it as is.
|
||||
# If DATA tags from a recent dlltool are present, honour them!
|
||||
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
||||
cp $export_symbols $output_objdir/$soname-def;
|
||||
else
|
||||
echo EXPORTS > $output_objdir/$soname-def;
|
||||
_lt_hint=1;
|
||||
cat $export_symbols | while read symbol; do
|
||||
set dummy \$symbol;
|
||||
case \[$]# in
|
||||
2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
|
||||
*) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
|
||||
esac;
|
||||
_lt_hint=`expr 1 + \$_lt_hint`;
|
||||
done;
|
||||
fi~
|
||||
'"$ltdll_cmds"'
|
||||
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
||||
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
|
||||
$CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
||||
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
|
||||
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
|
||||
darwin* | rhapsody*)
|
||||
allow_undefined_flag='-undefined suppress'
|
||||
archive_cmds='$CC `test .$module = .yes && echo -bundle || echo -dynamiclib` $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts -install_name $rpath/$soname `test -n "$verstring" -a x$verstring != x0.0 && echo $verstring`'
|
||||
# We need to add '_' to the symbols in $export_symbols first
|
||||
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
whole_archive_flag_spec='-all_load $convenience'
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||
wlarc=
|
||||
else
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
fi
|
||||
;;
|
||||
|
||||
solaris* | sysv5*)
|
||||
if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
cat <<EOF 1>&2
|
||||
|
||||
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
||||
*** create shared libraries on Solaris systems. Therefore, libtool
|
||||
*** is disabling shared libraries support. We urge you to upgrade GNU
|
||||
*** binutils to release 2.9.1 or newer. Another option is to modify
|
||||
*** your PATH or compiler configuration so that the native linker is
|
||||
*** used, and then restart.
|
||||
|
||||
EOF
|
||||
elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
|
||||
sunos4*)
|
||||
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
wlarc=
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
*)
|
||||
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$host_os" in
|
||||
freebsd*)
|
||||
skip_need_lc_check=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$ld_shlibs" = yes; then
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
|
||||
export_dynamic_flag_spec='${wl}--export-dynamic'
|
||||
case $host_os in
|
||||
cygwin* | mingw*)
|
||||
# dlltool doesn't understand --whole-archive et. al.
|
||||
whole_archive_flag_spec=
|
||||
;;
|
||||
*)
|
||||
# ancient GNU ld didn't support --whole-archive et. al.
|
||||
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
|
||||
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||
else
|
||||
whole_archive_flag_spec=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
# PORTME fill in a description of your system's linker (not GNU ld)
|
||||
case $host_os in
|
||||
aix3*)
|
||||
allow_undefined_flag=unsupported
|
||||
always_export_symbols=yes
|
||||
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$with_gcc" = yes && test -z "$link_static_flag"; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
|
||||
aix4* | aix5*)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
link_all_deplibs=yes
|
||||
# When large executables or shared objects are built, AIX ld can
|
||||
# have problems creating the table of contents. If linking a library
|
||||
# or program results in "error TOC overflow" add -mminimal-toc to
|
||||
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
||||
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
||||
if test "$with_gcc" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
# We only want to do this on AIX 4.2 and lower, the check
|
||||
# below for broken collect2 doesn't work under 4.3+
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
hardcode_direct=yes
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
# It fails to find uninstalled libraries when the uninstalled
|
||||
# path is not listed in the libpath. Setting hardcode_minus_L
|
||||
# to unsupported forces relinking
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
esac
|
||||
shared_flag='-shared'
|
||||
else
|
||||
# not using gcc
|
||||
if test "$host_cpu" = ia64; then
|
||||
shared_flag='${wl}-G'
|
||||
else
|
||||
shared_flag='${wl}-bM:SRE'
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
exp_sym_flag='-Bexport'
|
||||
no_entry_flag=""
|
||||
else
|
||||
# KDE requires run time linking. Make it the default.
|
||||
aix_use_runtimelinking=yes
|
||||
exp_sym_flag='-bexport'
|
||||
no_entry_flag='-bnoentry'
|
||||
fi
|
||||
# Let the compiler handle the export list.
|
||||
always_export_symbols=no
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
# Warning - without using the other run time loading flags (-brtl), -berok will
|
||||
# link without error, but may produce a broken library.
|
||||
allow_undefined_flag=' ${wl}-berok'
|
||||
# The following three lines along with hardcode_into_libs=yes put the correct path into libraries.
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir${libdir:+:}/usr/lib:/lib'
|
||||
archive_cmds='$CC '"$shared_flag"' $libobjs $deplibs $compiler_flags ${wl}-G '"$hardcode_libdir_flag_spec"' -o $lib'
|
||||
archive_expsym_cmds='$CC '"$shared_flag"' $libobjs $deplibs $compiler_flags ${wl}-G '"$hardcode_libdir_flag_spec"' ${wl}'"$exp_sym_flag"':$export_symbols -o $lib'
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir${libdir:+:}/usr/lib:/lib'
|
||||
allow_undefined_flag="-z nodefs"
|
||||
archive_cmds='$CC '"$shared_flag"' $libobjs $deplibs $compiler_flags '"$hardcode_libdir_flag_spec"' -o $lib'
|
||||
archive_expsym_cmds='$CC '"$shared_flag"' $libobjs $deplibs $compiler_flags '"$hardcode_libdir_flag_spec"' ${wl}'"$exp_sym_flag"':$export_symbols -o $lib'
|
||||
else
|
||||
allow_undefined_flag=' ${wl}-berok'
|
||||
# -bexpall does not export symbols beginning with underscore (_)
|
||||
always_export_symbols=yes
|
||||
# Exported symbols can be pulled into shared objects from archives
|
||||
whole_archive_flag_spec=' '
|
||||
build_libtool_need_lc=yes
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
|
||||
# This is similar to how AIX traditionally builds it's shared libraries.
|
||||
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
amigaos*)
|
||||
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
cygwin* | mingw*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
allow_undefined_flag=unsupported
|
||||
# Tell ltmain to make .lib files, not .a files.
|
||||
libext=lib
|
||||
# FIXME: Setting linknames here is a bad hack.
|
||||
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
|
||||
# The linker will automatically build a .lib file if we build a DLL.
|
||||
old_archive_from_new_cmds='true'
|
||||
# FIXME: Should let the user specify the lib program.
|
||||
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
||||
fix_srcfile_path='`cygpath -w "$srcfile"`'
|
||||
;;
|
||||
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
||||
# support. Future versions do this automatically, but an explicit c++rt0.o
|
||||
# does not break anything, and helps significantly (at the cost of a little
|
||||
# extra space).
|
||||
freebsd2.2*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
||||
freebsd2*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||
freebsd*)
|
||||
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
skip_need_lc_check=yes
|
||||
;;
|
||||
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_os in
|
||||
hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
||||
*) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
|
||||
esac
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes # Not in the search PATH, but as the default
|
||||
# location of the library.
|
||||
export_dynamic_flag_spec='${wl}-E'
|
||||
;;
|
||||
|
||||
irix5* | irix6*)
|
||||
if test "$with_gcc" = yes; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
link_all_deplibs=yes
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||
else
|
||||
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
||||
fi
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
newsos6)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
allow_undefined_flag=unsupported
|
||||
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
||||
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
||||
;;
|
||||
|
||||
osf3*)
|
||||
if test "$with_gcc" = yes; then
|
||||
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
||||
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
allow_undefined_flag=' -expect_unresolved \*'
|
||||
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
|
||||
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
||||
if test "$with_gcc" = yes; then
|
||||
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
||||
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
allow_undefined_flag=' -expect_unresolved \*'
|
||||
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
|
||||
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
|
||||
sco3.2v5*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_runpath_var=yes
|
||||
;;
|
||||
|
||||
solaris*)
|
||||
no_undefined_flag=' -z text'
|
||||
# $CC -shared without GNU ld will not create a library from C++
|
||||
# object files and a static libstdc++, better avoid it by now
|
||||
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
||||
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
case $host_os in
|
||||
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
||||
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
|
||||
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
|
||||
esac
|
||||
link_all_deplibs=yes
|
||||
;;
|
||||
|
||||
sunos4*)
|
||||
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
sysv4)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
runpath_var='LD_RUN_PATH'
|
||||
hardcode_shlibpath_var=no
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
|
||||
sysv4.3*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
export_dynamic_flag_spec='-Bexport'
|
||||
;;
|
||||
|
||||
sysv5*)
|
||||
no_undefined_flag=' -z text'
|
||||
# $CC -shared without GNU ld will not create a library from C++
|
||||
# object files and a static libstdc++, better avoid it by now
|
||||
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
||||
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var='LD_RUN_PATH'
|
||||
;;
|
||||
|
||||
uts4*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
dgux*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_runpath_var=yes
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
|
||||
sysv4.2uw2*)
|
||||
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=no
|
||||
hardcode_shlibpath_var=no
|
||||
hardcode_runpath_var=yes
|
||||
runpath_var=LD_RUN_PATH
|
||||
;;
|
||||
|
||||
unixware7*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
runpath_var='LD_RUN_PATH'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
## Compiler Characteristics: PIC flags, static flags, etc
|
||||
if test "X${ac_cv_prog_cc_pic+set}" = Xset; then
|
||||
:
|
||||
else
|
||||
ac_cv_prog_cc_pic=
|
||||
ac_cv_prog_cc_shlib=
|
||||
ac_cv_prog_cc_wl=
|
||||
ac_cv_prog_cc_static=
|
||||
ac_cv_prog_cc_no_builtin=
|
||||
ac_cv_prog_cc_can_build_shared=$can_build_shared
|
||||
|
||||
if test "$with_gcc" = yes; then
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
ac_cv_prog_cc_static='-static'
|
||||
|
||||
case $host_os in
|
||||
aix*)
|
||||
# All AIX code is PIC.
|
||||
if test "$host_cpu" = ia64; then
|
||||
# AIX 5 now supports IA64 processor
|
||||
lt_cv_prog_cc_static='-Bstatic'
|
||||
else
|
||||
lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
# FIXME: we need at least 68020 code to build shared libraries, but
|
||||
# adding the `-m68020' flag to GCC prevents building anything better,
|
||||
# like `-m68040'.
|
||||
ac_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
cygwin* | mingw* | os2*)
|
||||
# This hack is so that the source file can tell whether it is being
|
||||
# built for inclusion in a dll (and should export symbols for example).
|
||||
ac_cv_prog_cc_pic='-DDLL_EXPORT'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
# PIC is the default on this platform
|
||||
# Common symbols not allowed in MH_DYLIB files
|
||||
lt_cv_prog_cc_pic='-fno-common'
|
||||
;;
|
||||
*djgpp*)
|
||||
# DJGPP does not support shared libraries at all
|
||||
ac_cv_prog_cc_pic=
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ac_cv_prog_cc_pic=-Kconform_pic
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_cc_pic='-fPIC'
|
||||
;;
|
||||
esac
|
||||
else
|
||||
# PORTME Check for PIC flags for the system compiler.
|
||||
case $host_os in
|
||||
aix*)
|
||||
# All AIX code is PIC.
|
||||
ac_cv_prog_cc_static="$ac_cv_prog_cc_static ${ac_cv_prog_cc_wl}-lC"
|
||||
;;
|
||||
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
# Is there a better ac_cv_prog_cc_static that works with the bundled CC?
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
ac_cv_prog_cc_static="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
|
||||
ac_cv_prog_cc_pic='+Z'
|
||||
;;
|
||||
|
||||
irix5* | irix6*)
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
ac_cv_prog_cc_static='-non_shared'
|
||||
# PIC (with -KPIC) is the default.
|
||||
;;
|
||||
|
||||
cygwin* | mingw* | os2*)
|
||||
# This hack is so that the source file can tell whether it is being
|
||||
# built for inclusion in a dll (and should export symbols for example).
|
||||
ac_cv_prog_cc_pic='-DDLL_EXPORT'
|
||||
;;
|
||||
|
||||
linux*)
|
||||
case "$CC" in
|
||||
ccc*)
|
||||
# Compaq C
|
||||
# It appears that all Alpha
|
||||
# Linux and Compaq Tru64 Unix objects are PIC.
|
||||
ac_cv_prog_cc_static='-non_shared'
|
||||
;;
|
||||
KCC*)
|
||||
# KAI C++
|
||||
ac_cv_prog_cc_pic='-fPIC'
|
||||
ac_cv_prog_cc_wl='--backend -Wl,'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
newsos6)
|
||||
ac_cv_prog_cc_pic='-KPIC'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
;;
|
||||
|
||||
osf3* | osf4* | osf5*)
|
||||
# All OSF/1 code is PIC.
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
ac_cv_prog_cc_static='-non_shared'
|
||||
;;
|
||||
|
||||
sco3.2v5*)
|
||||
ac_cv_prog_cc_pic='-Kpic'
|
||||
ac_cv_prog_cc_static='-dn'
|
||||
ac_cv_prog_cc_shlib='-belf'
|
||||
;;
|
||||
|
||||
solaris*)
|
||||
ac_cv_prog_cc_pic='-KPIC'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
;;
|
||||
|
||||
sunos4*)
|
||||
ac_cv_prog_cc_pic='-PIC'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
ac_cv_prog_cc_wl='-Qoption ld '
|
||||
;;
|
||||
|
||||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||
ac_cv_prog_cc_pic='-KPIC'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
;;
|
||||
|
||||
uts4*)
|
||||
ac_cv_prog_cc_pic='-pic'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
;;
|
||||
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec ;then
|
||||
ac_cv_prog_cc_pic='-Kconform_pic'
|
||||
ac_cv_prog_cc_static='-Bstatic'
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
ac_cv_prog_cc_can_build_shared=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "$host_os" in
|
||||
# Platforms which do not suport PIC and -DPIC is meaningless
|
||||
# on them:
|
||||
*djgpp*)
|
||||
ac_cv_prog_cc_pic=
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_cc_pic="$ac_cv_prog_cc_pic -DPIC"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
need_lc=yes
|
||||
if test "$enable_shared" = yes && test "$with_gcc" = yes; then
|
||||
case $archive_cmds in
|
||||
*'~'*)
|
||||
# FIXME: we may have to deal with multi-command sequences.
|
||||
;;
|
||||
'$CC '*)
|
||||
# Test whether the compiler implicitly links with -lc since on some
|
||||
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
||||
# to ld, don't add -lc before -lgcc.
|
||||
echo $ac_n "checking whether -lc should be explicitly linked in... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_archive_cmds_needs_lc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
need_lc=$ac_cv_archive_cmds_needs_lc
|
||||
elif test "x$skip_need_lc_check" = "xyes" ; then
|
||||
echo $ac_n "(skipping, using no) $ac_c" 1>&6
|
||||
need_lc=no
|
||||
else
|
||||
$rm conftest*
|
||||
echo "static int dummy;" > conftest.$ac_ext
|
||||
if { (eval echo ltcf-c.sh:need_lc: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; }; then
|
||||
# Append any warnings to the config.log.
|
||||
cat conftest.err 1>&5
|
||||
soname=conftest
|
||||
lib=conftest
|
||||
libobjs=conftest.$ac_objext
|
||||
deplibs=
|
||||
wl=$ac_cv_prog_cc_wl
|
||||
compiler_flags=-v
|
||||
linker_flags=-v
|
||||
verstring=
|
||||
output_objdir=.
|
||||
libname=conftest
|
||||
save_allow_undefined_flag=$allow_undefined_flag
|
||||
allow_undefined_flag=
|
||||
if { (eval echo ltcf-c.sh:need_lc: \"$archive_cmds\") 1>&5; (eval $archive_cmds) 2>&1 | grep " -lc " 1>&5 ; }; then
|
||||
need_lc=no
|
||||
fi
|
||||
allow_undefined_flag=$save_allow_undefined_flag
|
||||
else
|
||||
cat conftest.err 1>&5
|
||||
fi
|
||||
fi
|
||||
$rm conftest*
|
||||
echo "$ac_t$need_lc" 1>&6
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
ac_cv_archive_cmds_needs_lc=$need_lc
|
||||
1045
admin/ltcf-cxx.sh
1045
admin/ltcf-cxx.sh
File diff suppressed because it is too large
Load Diff
@@ -1,636 +0,0 @@
|
||||
#### This script is meant to be sourced by ltconfig.
|
||||
|
||||
# ltcf-gcj.sh - Create a GCJ compiler specific configuration
|
||||
#
|
||||
# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# Original GCJ support by:
|
||||
# Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
|
||||
# Source file extension for Java test sources.
|
||||
ac_ext=java
|
||||
|
||||
# Object file extension for compiled Java test sources.
|
||||
objext=o
|
||||
|
||||
# Code to be used in simple compile tests
|
||||
lt_simple_compile_test_code="class foo {}"
|
||||
|
||||
# Code to be used in simple link tests
|
||||
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
|
||||
|
||||
## Linker Characteristics
|
||||
case $host_os in
|
||||
cygwin* | mingw*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$with_gcc" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# If archive_cmds runs LD, not CC, wlarc should be empty
|
||||
wlarc='${wl}'
|
||||
|
||||
# See if GNU ld supports shared libraries.
|
||||
case $host_os in
|
||||
aix3* | aix4*)
|
||||
# On AIX, the GNU linker is very broken
|
||||
ld_shlibs=no
|
||||
cat <<EOF 1>&2
|
||||
|
||||
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
|
||||
*** to be unable to reliably create shared libraries on AIX.
|
||||
*** Therefore, libtool is disabling shared libraries support. If you
|
||||
*** really care for shared libraries, you may want to modify your PATH
|
||||
*** so that a non-GNU linker is found, and then restart.
|
||||
|
||||
EOF
|
||||
;;
|
||||
|
||||
amigaos*)
|
||||
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
|
||||
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we can use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
beos*)
|
||||
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
allow_undefined_flag=unsupported
|
||||
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
||||
# support --undefined. This deserves some investigation. FIXME
|
||||
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
|
||||
cygwin* | mingw*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
allow_undefined_flag=unsupported
|
||||
always_export_symbols=yes
|
||||
|
||||
extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
|
||||
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/impgen.c~
|
||||
test -f $output_objdir/impgen.exe || (cd $output_objdir && \
|
||||
if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
|
||||
else $CC -o impgen impgen.c ; fi)~
|
||||
$output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
|
||||
|
||||
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
|
||||
|
||||
# cygwin and mingw dlls have different entry points and sets of symbols
|
||||
# to exclude.
|
||||
# FIXME: what about values for MSVC?
|
||||
dll_entry=__cygwin_dll_entry@12
|
||||
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
|
||||
case $host_os in
|
||||
mingw*)
|
||||
# mingw values
|
||||
dll_entry=_DllMainCRTStartup@12
|
||||
dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
|
||||
;;
|
||||
esac
|
||||
|
||||
# mingw and cygwin differ, and it's simplest to just exclude the union
|
||||
# of the two symbol sets.
|
||||
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
|
||||
|
||||
# recent cygwin and mingw systems supply a stub DllMain which the user
|
||||
# can override, but on older systems we have to supply one (in ltdll.c)
|
||||
if test "x$lt_cv_need_dllmain" = "xyes"; then
|
||||
ltdll_obj='$output_objdir/$soname-ltdll.'"$objext "
|
||||
ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $0 > $output_objdir/$soname-ltdll.c~
|
||||
test -f $output_objdir/$soname-ltdll.$objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
|
||||
else
|
||||
ltdll_obj=
|
||||
ltdll_cmds=
|
||||
fi
|
||||
|
||||
# Extract the symbol export list from an `--export-all' def file,
|
||||
# then regenerate the def file from the symbol export list, so that
|
||||
# the compiled dll only exports the symbol export list.
|
||||
# Be careful not to strip the DATA tag left be newer dlltools.
|
||||
export_symbols_cmds="$ltdll_cmds"'
|
||||
$DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
|
||||
sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
|
||||
|
||||
# If the export-symbols file already is a .def file (1st line
|
||||
# is EXPORTS), use it as is.
|
||||
# If DATA tags from a recent dlltool are present, honour them!
|
||||
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
||||
cp $export_symbols $output_objdir/$soname-def;
|
||||
else
|
||||
echo EXPORTS > $output_objdir/$soname-def;
|
||||
_lt_hint=1;
|
||||
cat $export_symbols | while read symbol; do
|
||||
set dummy \$symbol;
|
||||
case \[$]# in
|
||||
2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
|
||||
*) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
|
||||
esac;
|
||||
_lt_hint=`expr 1 + \$_lt_hint`;
|
||||
done;
|
||||
fi~
|
||||
'"$ltdll_cmds"'
|
||||
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
||||
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
|
||||
$CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
||||
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
|
||||
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||
wlarc=
|
||||
else
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
fi
|
||||
;;
|
||||
|
||||
solaris* | sysv5*)
|
||||
if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
cat <<EOF 1>&2
|
||||
|
||||
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
||||
*** create shared libraries on Solaris systems. Therefore, libtool
|
||||
*** is disabling shared libraries support. We urge you to upgrade GNU
|
||||
*** binutils to release 2.9.1 or newer. Another option is to modify
|
||||
*** your PATH or compiler configuration so that the native linker is
|
||||
*** used, and then restart.
|
||||
|
||||
EOF
|
||||
elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
|
||||
sunos4*)
|
||||
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
wlarc=
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
*)
|
||||
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$ld_shlibs" = yes; then
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
|
||||
export_dynamic_flag_spec='${wl}--export-dynamic'
|
||||
case $host_os in
|
||||
cygwin* | mingw*)
|
||||
# dlltool doesn't understand --whole-archive et. al.
|
||||
whole_archive_flag_spec=
|
||||
;;
|
||||
*)
|
||||
# ancient GNU ld didn't support --whole-archive et. al.
|
||||
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
|
||||
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||
else
|
||||
whole_archive_flag_spec=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
# PORTME fill in a description of your system's linker (not GNU ld)
|
||||
case $host_os in
|
||||
aix3*)
|
||||
allow_undefined_flag=unsupported
|
||||
always_export_symbols=yes
|
||||
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$with_gcc" = yes && test -z "$link_static_flag"; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
|
||||
aix4* | aix5*)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
link_all_deplibs=yes
|
||||
# When large executables or shared objects are built, AIX ld can
|
||||
# have problems creating the table of contents. If linking a library
|
||||
# or program results in "error TOC overflow" add -mminimal-toc to
|
||||
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
||||
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
||||
if test "$with_gcc" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
# We only want to do this on AIX 4.2 and lower, the check
|
||||
# below for broken collect2 doesn't work under 4.3+
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
hardcode_direct=yes
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
# It fails to find uninstalled libraries when the uninstalled
|
||||
# path is not listed in the libpath. Setting hardcode_minus_L
|
||||
# to unsupported forces relinking
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
esac
|
||||
shared_flag='-shared'
|
||||
else
|
||||
# not using gcc
|
||||
if test "$host_cpu" = ia64; then
|
||||
shared_flag='${wl}-G'
|
||||
else
|
||||
shared_flag='${wl}-bM:SRE'
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
exp_sym_flag='-Bexport'
|
||||
no_entry_flag=""
|
||||
else
|
||||
# Test if we are trying to use run time linking, or normal AIX style linking.
|
||||
# If -brtl is somewhere in LDFLAGS, we need to do run time linking.
|
||||
aix_use_runtimelinking=no
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
exp_sym_flag='-bexport'
|
||||
no_entry_flag='-bnoentry'
|
||||
fi
|
||||
# -bexpall does not export symbols beginning with underscore (_)
|
||||
always_export_symbols=yes
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
# Warning - without using the other run time loading flags (-brtl), -berok will
|
||||
# link without error, but may produce a broken library.
|
||||
allow_undefined_flag=' ${wl}-berok'
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
|
||||
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
allow_undefined_flag="-z nodefs"
|
||||
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
|
||||
else
|
||||
allow_undefined_flag=' ${wl}-berok'
|
||||
# -bexpall does not export symbols beginning with underscore (_)
|
||||
always_export_symbols=yes
|
||||
# Exported symbols can be pulled into shared objects from archives
|
||||
whole_archive_flag_spec=' '
|
||||
build_libtool_need_lc=yes
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
|
||||
# This is similar to how AIX traditionally builds it's shared libraries.
|
||||
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
amigaos*)
|
||||
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
cygwin* | mingw*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
allow_undefined_flag=unsupported
|
||||
# Tell ltmain to make .lib files, not .a files.
|
||||
libext=lib
|
||||
# FIXME: Setting linknames here is a bad hack.
|
||||
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
|
||||
# The linker will automatically build a .lib file if we build a DLL.
|
||||
old_archive_from_new_cmds='true'
|
||||
# FIXME: Should let the user specify the lib program.
|
||||
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
||||
fix_srcfile_path='`cygpath -w "$srcfile"`'
|
||||
;;
|
||||
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
|
||||
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
||||
# support. Future versions do this automatically, but an explicit c++rt0.o
|
||||
# does not break anything, and helps significantly (at the cost of a little
|
||||
# extra space).
|
||||
freebsd2.2*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
||||
freebsd2*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||
freebsd*)
|
||||
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_os in
|
||||
hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
||||
*) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
|
||||
esac
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes # Not in the search PATH, but as the default
|
||||
# location of the library.
|
||||
export_dynamic_flag_spec='${wl}-E'
|
||||
;;
|
||||
|
||||
irix5* | irix6*)
|
||||
if test "$with_gcc" = yes; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
link_all_deplibs=yes
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||
else
|
||||
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
allow_undefined_flag=unsupported
|
||||
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
||||
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
||||
;;
|
||||
|
||||
osf3*)
|
||||
if test "$with_gcc" = yes; then
|
||||
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
||||
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
allow_undefined_flag=' -expect_unresolved \*'
|
||||
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
|
||||
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
||||
if test "$with_gcc" = yes; then
|
||||
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
||||
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
||||
else
|
||||
allow_undefined_flag=' -expect_unresolved \*'
|
||||
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
||||
fi
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
|
||||
sco3.2v5*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_runpath_var=yes
|
||||
;;
|
||||
|
||||
solaris*)
|
||||
no_undefined_flag=' -z text'
|
||||
# $CC -shared without GNU ld will not create a library from C++
|
||||
# object files and a static libstdc++, better avoid it by now
|
||||
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
||||
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
case $host_os in
|
||||
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
||||
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
|
||||
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
|
||||
esac
|
||||
link_all_deplibs=yes
|
||||
;;
|
||||
|
||||
sunos4*)
|
||||
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
sysv4)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
runpath_var='LD_RUN_PATH'
|
||||
hardcode_shlibpath_var=no
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
|
||||
sysv4.3*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
export_dynamic_flag_spec='-Bexport'
|
||||
;;
|
||||
|
||||
sysv5*)
|
||||
no_undefined_flag=' -z text'
|
||||
# $CC -shared without GNU ld will not create a library from C++
|
||||
# object files and a static libstdc++, better avoid it by now
|
||||
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
||||
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var='LD_RUN_PATH'
|
||||
;;
|
||||
|
||||
uts4*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
dgux*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_shlibpath_var=no
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_runpath_var=yes
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
|
||||
sysv4.2uw2*)
|
||||
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=no
|
||||
hardcode_shlibpath_var=no
|
||||
hardcode_runpath_var=yes
|
||||
runpath_var=LD_RUN_PATH
|
||||
;;
|
||||
|
||||
unixware7*)
|
||||
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||
runpath_var='LD_RUN_PATH'
|
||||
hardcode_shlibpath_var=no
|
||||
;;
|
||||
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
## Compiler Characteristics: PIC flags, static flags, etc
|
||||
|
||||
# We don't use cached values here since only the C compiler
|
||||
# characteristics should be cached.
|
||||
ac_cv_prog_cc_pic=
|
||||
ac_cv_prog_cc_shlib=
|
||||
ac_cv_prog_cc_wl=
|
||||
ac_cv_prog_cc_static=
|
||||
ac_cv_prog_cc_no_builtin=
|
||||
ac_cv_prog_cc_can_build_shared=$can_build_shared
|
||||
|
||||
ac_cv_prog_cc_wl='-Wl,'
|
||||
ac_cv_prog_cc_static='-static'
|
||||
|
||||
case $host_os in
|
||||
beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
|
||||
# PIC is the default for these OSes.
|
||||
;;
|
||||
aix*)
|
||||
# Below there is a dirty hack to force normal static linking with -ldl
|
||||
# The problem is because libdl dynamically linked with both libc and
|
||||
# libC (AIX C++ library), which obviously doesn't included in libraries
|
||||
# list by gcc. This cause undefined symbols with -static flags.
|
||||
# This hack allows C programs to be linked with "-static -ldl", but
|
||||
# we not sure about C++ programs.
|
||||
ac_cv_prog_cc_static="$ac_cv_prog_cc_static ${ac_cv_prog_cc_wl}-lC"
|
||||
;;
|
||||
*djgpp*)
|
||||
# DJGPP does not suppot shared libraries at all
|
||||
ac_cv_prog_cc_pic=
|
||||
;;
|
||||
cygwin* | mingw* | os2*)
|
||||
# This hack is so that the source file can tell whether it is being
|
||||
# built for inclusion in a dll (and should export symbols for example).
|
||||
ac_cv_prog_cc_pic='-DDLL_EXPORT'
|
||||
;;
|
||||
amigaos*)
|
||||
# FIXME: we need at least 68020 code to build shared libraries, but
|
||||
# adding the `-m68020' flag to GCC prevents building anything better,
|
||||
# like `-m68040'.
|
||||
ac_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ac_cv_prog_cc_pic=-Kconform_pic
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_cc_pic='-fPIC'
|
||||
;;
|
||||
esac
|
||||
|
||||
# GCJ did not exist at the time GCC didn't implicitly link libc in.
|
||||
need_lc=no
|
||||
|
||||
# All existing releases of GCJ support `-c -o'.
|
||||
lt_cv_compiler_c_o=yes
|
||||
2796
admin/ltconfig
2796
admin/ltconfig
File diff suppressed because it is too large
Load Diff
@@ -230,7 +230,7 @@ configure.in: configure.files $(shell test -f configure.files && cat configure.f
|
||||
modulename=`pwd`; modulename=`basename $$modulename`; \
|
||||
fi ;\
|
||||
if test -z "$$VERSION" || test "$$VERSION" = "@VERSION@"; then \
|
||||
VERSION="\"3.0\""; \
|
||||
VERSION="\"3.0.3\""; \
|
||||
fi ;\
|
||||
if test -n "$$kde_use_qt_param"; then \
|
||||
sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($$kde_use_qt_param)#" configure.in.new > configure.in \
|
||||
@@ -463,16 +463,16 @@ if test "$1" = "default"; then
|
||||
fi
|
||||
if test -z "$kde_moduledir"; then
|
||||
if test "$kde_qtver" = "2"; then
|
||||
kde_moduledir='\${exec_prefix}/lib/kde2'
|
||||
kde_moduledir='\${libdir}/kde2'
|
||||
else
|
||||
kde_moduledir='\${exec_prefix}/lib/kde3'
|
||||
kde_moduledir='\${libdir}/kde3'
|
||||
fi
|
||||
fi
|
||||
if test -z "$kde_styledir"; then
|
||||
kde_styledir='\${exec_prefix}/lib/kde3/plugins/styles'
|
||||
kde_styledir='\${libdir}/kde3/plugins/styles'
|
||||
fi
|
||||
if test -z "$kde_widgetdir"; then
|
||||
kde_widgetdir='\${exec_prefix}/lib/kde3/plugins/designer'
|
||||
kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
||||
fi
|
||||
|
||||
KDE_SET_PATHS(defaults)
|
||||
@@ -1079,7 +1079,7 @@ if test -z "$2"; then
|
||||
fi
|
||||
fi
|
||||
if test "$kde_qtver" = "3"; then
|
||||
kde_qt_minversion=">= Qt 3.0.2"
|
||||
kde_qt_minversion=">= Qt 3.0.3"
|
||||
fi
|
||||
if test "$kde_qtver" = "1"; then
|
||||
kde_qt_minversion=">= 1.42 and < 2.0"
|
||||
@@ -1090,7 +1090,7 @@ fi
|
||||
|
||||
if test -z "$3"; then
|
||||
if test $kde_qtver = 3; then
|
||||
kde_qt_verstring="QT_VERSION >= 302"
|
||||
kde_qt_verstring="QT_VERSION >= 303"
|
||||
fi
|
||||
if test $kde_qtver = 2; then
|
||||
if test $kde_qtsubver -gt 0; then
|
||||
@@ -1527,11 +1527,11 @@ if test "${prefix}" != NONE; then
|
||||
ac_kde_includes=$prefix/include
|
||||
|
||||
if test "${exec_prefix}" != NONE; then
|
||||
kde_libraries=${exec_prefix}/lib
|
||||
ac_kde_libraries=$exec_prefix/lib
|
||||
kde_libraries=${libdir}
|
||||
ac_kde_libraries=$libdir
|
||||
else
|
||||
kde_libraries=${prefix}/lib
|
||||
ac_kde_libraries=$prefix/lib
|
||||
kde_libraries=${prefix}/lib
|
||||
ac_kde_libraries=$prefix/lib
|
||||
fi
|
||||
else
|
||||
ac_kde_includes=
|
||||
@@ -1553,7 +1553,7 @@ fi
|
||||
|
||||
if test -z "$1"; then
|
||||
|
||||
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
||||
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes $includedir"
|
||||
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
||||
kde_incdirs="$ac_kde_includes $kde_incdirs"
|
||||
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
|
||||
@@ -1567,7 +1567,7 @@ fi
|
||||
|
||||
kde_libdirs="/usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/lib /usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib"
|
||||
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib $KDEDIR $kde_libdirs"
|
||||
kde_libdirs="$ac_kde_libraries $kde_libdirs"
|
||||
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
|
||||
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
|
||||
ac_kde_libraries="$kde_libdir"
|
||||
|
||||
@@ -1608,7 +1608,7 @@ if test "$have_kde" != "yes"; then
|
||||
AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix])
|
||||
fi
|
||||
|
||||
kde_libraries="${ac_kde_exec_prefix}/lib"
|
||||
kde_libraries="${libdir}"
|
||||
kde_includes=${ac_kde_prefix}/include
|
||||
|
||||
else
|
||||
@@ -1512,7 +1512,8 @@ sub tag_DIST () {
|
||||
}
|
||||
}
|
||||
my @files = ("Makefile", "config.cache", "config.log", "stamp-h",
|
||||
"stamp-h1", "stamp-h1", "config.h", "Makefile", "config.status", "config.h", "libtool");
|
||||
"stamp-h1", "stamp-h1", "config.h", "Makefile",
|
||||
"config.status", "config.h", "libtool", "core" );
|
||||
foreach $file (@files) {
|
||||
$foundfiles{$file} = 0 if (defined $foundfiles{$file});
|
||||
}
|
||||
0
admin/config.sub → admin2_13/config.sub
vendored
0
admin/config.sub → admin2_13/config.sub
vendored
@@ -7,35 +7,36 @@ use Cwd;
|
||||
$origPwd = `pwd`;
|
||||
chomp $origPwd;
|
||||
|
||||
$kde_confdir = "/etc/kde3";
|
||||
$kde_prefix = "/usr";
|
||||
$kde_bindir = "$kde_prefix/bin";
|
||||
$kde_includedir = "$kde_prefix/include/kde";
|
||||
$kde_libdir = "$kde_prefix/lib";
|
||||
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
|
||||
$kde_moduledir = "$kde_prefix/lib/kde3";
|
||||
$kde_appsdir = "$kde_prefix/share/applnk";
|
||||
$kde_datadir = "$kde_prefix/share/apps";
|
||||
$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
|
||||
$kde_icondir = "$kde_prefix/share/icons";
|
||||
$kde_locale = "$kde_prefix/share/locale";
|
||||
$kde_mimedir = "$kde_prefix/share/mimelnk";
|
||||
$kde_servicesdir = "$kde_prefix/share/services";
|
||||
$kde_servicetypesdir = "$kde_prefix/share/servicetypes";
|
||||
$kde_sounddir = "$kde_prefix/share/sounds";
|
||||
$kde_templatesdir = "$kde_prefix/share/templates";
|
||||
$kde_wallpaperdir = "$kde_prefix/share/wallpapers";
|
||||
|
||||
$QTDIR="/usr/share/qt";
|
||||
$kde_prefix="/usr";
|
||||
$kde_htmldir="$kde_prefix/share/doc/kde/HTML";
|
||||
$kde_icondir="$kde_prefix/share/icons";
|
||||
$kde_sounddir="$kde_prefix/share/sounds";
|
||||
$kde_datadir="$kde_prefix/share/apps";
|
||||
$kde_locale="$kde_prefix/share/locale";
|
||||
$kde_confdir="/etc/kde3";
|
||||
$kde_cgidir="$kde_prefix/lib/cgi-bin";
|
||||
$kde_appsdir="$kde_prefix/share/applnk";
|
||||
$kde_mimedir="$kde_prefix/share/mimelnk";
|
||||
$kde_wallpaperdir="$kde_prefix/share/wallpapers";
|
||||
$kde_bindir="$kde_prefix/bin";
|
||||
$kde_servicesdir="$kde_prefix/share/services";
|
||||
$kde_servicetypesdir="$kde_prefix/share/servicetypes";
|
||||
$kde_templatesdir="$kde_prefix/share/templates";
|
||||
$kde_includedir="$kde_prefix/include/kde";
|
||||
$kde_libdir="$kde_prefix/lib";
|
||||
$kde_moduledir="$kde_prefix/lib/kde3";
|
||||
$mandir="$kde_prefix/share/man";
|
||||
$infodir="$kde_prefix/share/info";
|
||||
$sysconfdir="/etc";
|
||||
$IDL="$kde_bindir/cuteidl";
|
||||
$DCOPIDL="$kde_bindir/dcopidl";
|
||||
$DCOPIDL2CPP="$kde_bindir/dcopidl2cpp";
|
||||
$KDB2HTML="$kde_bindir/kdb2html";
|
||||
$MCOPIDL="$kde_bindir/mcopidl";
|
||||
$ARTSCCONFIG="$kde_bindir/artsc-config";
|
||||
$mandir = "$kde_prefix/share/man";
|
||||
$infodir = "$kde_prefix/share/info";
|
||||
$sysconfdir = "/etc";
|
||||
|
||||
$QTDIR = "/usr/share/qt";
|
||||
$IDL = "$kde_bindir/cuteidl";
|
||||
$DCOPIDL = "$kde_bindir/dcopidl";
|
||||
$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp";
|
||||
$KDB2HTML = "$kde_bindir/kdb2html";
|
||||
$MCOPIDL = "$kde_bindir/mcopidl";
|
||||
$ARTSCCONFIG = "$kde_bindir/artsc-config";
|
||||
|
||||
if (defined $ENV{DEB_BUILD_OPTIONS} &&
|
||||
$ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
|
||||
@@ -48,38 +49,42 @@ else {
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echodirs') {
|
||||
print STDOUT "export kde_htmldir=$kde_htmldir\n";
|
||||
print STDOUT "export kde_appsdir=$kde_appsdir\n";
|
||||
print STDOUT "export kde_icondir=$kde_icondir\n";
|
||||
print STDOUT "export kde_sounddir=$kde_sounddir\n";
|
||||
print STDOUT "export kde_datadir=$kde_datadir\n";
|
||||
print STDOUT "export kde_cgidir=$kde_cgidir\n";
|
||||
print STDOUT "export kde_locale=$kde_locale\n";
|
||||
print STDOUT "export kde_confdir=$kde_confdir\n";
|
||||
print STDOUT "export kde_mimedir=$kde_mimedir\n";
|
||||
print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
|
||||
print STDOUT "export kde_prefix=$kde_prefix\n";
|
||||
print STDOUT "export kde_bindir=$kde_bindir\n";
|
||||
print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
|
||||
print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
|
||||
print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
|
||||
print STDOUT "export kde_includedir=$kde_includedir\n";
|
||||
print STDOUT "export kde_libdir=$kde_libdir\n";
|
||||
print STDOUT "export kde_cgidir=$kde_cgidir\n";
|
||||
print STDOUT "export kde_moduledir=$kde_moduledir\n";
|
||||
print STDOUT "export kde_appsdir=$kde_appsdir\n";
|
||||
print STDOUT "export kde_datadir=$kde_datadir\n";
|
||||
print STDOUT "export kde_htmldir=$kde_htmldir\n";
|
||||
print STDOUT "export kde_icondir=$kde_icondir\n";
|
||||
print STDOUT "export kde_locale=$kde_locale\n";
|
||||
print STDOUT "export kde_mimedir=$kde_mimedir\n";
|
||||
print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
|
||||
print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
|
||||
print STDOUT "export kde_sounddir=$kde_sounddir\n";
|
||||
print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
|
||||
print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
|
||||
|
||||
print STDOUT "export mandir=$mandir\n";
|
||||
print STDOUT "export infodir=$infodir\n";
|
||||
print STDOUT "export sysconfdir=$sysconfdir\n";
|
||||
|
||||
print STDOUT "export QTDIR=$QTDIR\n";
|
||||
print STDOUT "export kde_prefix=$kde_prefix\n";
|
||||
print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
|
||||
print STDOUT "export IDL=$IDL\n";
|
||||
print STDOUT "export DCOPIDL=$DCOPIDL\n";
|
||||
print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
|
||||
print STDOUT "export KDB2HTML=$KDB2HTML\n";
|
||||
print STDOUT "export MCOPIDL=$MCOPIDL\n";
|
||||
print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
|
||||
print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
|
||||
|
||||
print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n";
|
||||
print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
@@ -50,10 +55,12 @@ fi
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay!
|
||||
if "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP; then :
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
stat=$?
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
@@ -73,9 +80,10 @@ gcc)
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
if "$@" -Wp,"$gccflag$tmpdepfile"; then :
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
stat=$?
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
@@ -126,19 +134,24 @@ sgi)
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5).
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
@@ -150,8 +163,12 @@ sgi)
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file.
|
||||
tmpdepfile=`echo "$object" | sed 's/\(.*\)\..*$/\1.u/'`
|
||||
# in a .u file. This file always lives in the current directory.
|
||||
# Also, the AIX compiler puts `$object:' at the start of each line;
|
||||
# $object doesn't have directory information.
|
||||
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
||||
tmpdepfile="$stripped.u"
|
||||
outname="$stripped.o"
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
@@ -166,21 +183,11 @@ aix)
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile"; then
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5).
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
|
||||
' ' ' >> $depfile
|
||||
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
@@ -190,6 +197,43 @@ aix)
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
|
||||
tmpdepfile1="$object.d"
|
||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile1"; then
|
||||
tmpdepfile="$tmpdepfile1"
|
||||
else
|
||||
tmpdepfile="$tmpdepfile2"
|
||||
fi
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a space and a tab in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
5374
admin2_13/libtool.m4.in
vendored
Normal file
5374
admin2_13/libtool.m4.in
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
admin2_13/ltconfig
Executable file
4
admin2_13/ltconfig
Executable file
@@ -0,0 +1,4 @@
|
||||
#! /bin/sh
|
||||
# Written by <matz@kde.org> and placed into the public domain ;-)
|
||||
echo "This file shouldn't be called. It exists solely for the purpose"
|
||||
echo "to make automake 1.4 cope with newer libtools."
|
||||
File diff suppressed because it is too large
Load Diff
761
admin2_5/ChangeLog
Normal file
761
admin2_5/ChangeLog
Normal file
@@ -0,0 +1,761 @@
|
||||
2002-10-03 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* made config.h.bot obsolete
|
||||
|
||||
2002-04-26 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in removed bogus message
|
||||
|
||||
2001-11-07 Walter Tasin <tasin@kdevelop.org>
|
||||
|
||||
* now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too.
|
||||
e.g. #MIN_CONFIG(2.2) for qt 2.2 usage
|
||||
|
||||
2000-11-30 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/
|
||||
|
||||
2000-07-24 Alex Zepeda <jazepeda@pacbell.net>
|
||||
|
||||
* acinclude.m4.in: Remove the test for malloc.h
|
||||
|
||||
2000-04-05 Michael Matz <matz@ifh.de>
|
||||
|
||||
* config.pl : added kludge for compiling regexp's even if
|
||||
perl < 5.005 is installed
|
||||
* conf.change.pl : added support for autoconf 2.14.1
|
||||
|
||||
2000-03-27 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in, Makefile.common: changed inst-apps semantics
|
||||
If present, only the subdirs it lists will be configured and compiled.
|
||||
If absent, then subdirs is used (and inst-apps isn't generated anymore)
|
||||
|
||||
2000-03-22 David Faure <faure@kde.org>
|
||||
|
||||
* am_edit: Added support for KDE_ICON = AUTO
|
||||
|
||||
2000-03-18 David Faure <faure@kde.org>
|
||||
|
||||
* Makefile.common: Rewrote the list-of-Makefiles generation to make it
|
||||
simpler and nicer, using create_makefiles' way of doing it.
|
||||
Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am
|
||||
|
||||
2000-01-05 David Faure <faure@kde.org>
|
||||
|
||||
* Makefile.common: hacked around autoconf bug (setting INSTALL to ".."
|
||||
when calling a subconfigure and INSTALL is already set).
|
||||
|
||||
1999-12-15 Waldo Bastian <bastian@kde.org>
|
||||
|
||||
* acinclude.m4.in: Test whether Qt compiles AND LINKS without flags.
|
||||
|
||||
1999-06-24 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: generate correct Makefile entries for kde-i18n toplevel directories
|
||||
* am_edit:
|
||||
|
||||
1999-06-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: remove idl generated files on make clean
|
||||
|
||||
1999-06-09 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: skipping programs with variables in sources for final
|
||||
|
||||
1999-06-07 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: added support for idl files
|
||||
|
||||
1999-06-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.common: preserve comments in .pot files to make it
|
||||
possible for programmers and translators to comment them
|
||||
|
||||
1999-06-02 Simon Hausmann <hausmann@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_servicetypesdir
|
||||
|
||||
1999-06-02 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases
|
||||
|
||||
1999-05-28 Simon Hausmann <hausmann@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_servicesdir
|
||||
|
||||
1999-05-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: lots of changes for better support of --enable-final
|
||||
|
||||
1999-05-22 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added support for --with-dmalloc
|
||||
|
||||
1999-05-19 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added support for --enable-final
|
||||
|
||||
* am_edit: added support for --enable-final
|
||||
|
||||
1999-05-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: change the meaning of --disable-debug
|
||||
|
||||
1999-05-04 Helge Deller <deller@gmx.de>
|
||||
|
||||
* acinclude.m4.in: the test for the X-includes/directories failed,
|
||||
when compile & link work without special directories (as on HP-UX).
|
||||
|
||||
1999-04-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: adding DESTDIR replacement for rm and uninstall-local
|
||||
too. Seems very useless, but makes testing for uninstall easier
|
||||
|
||||
1999-04-01 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added -lkfile to $(LIB_KIO)
|
||||
|
||||
1999-03-30 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN.
|
||||
|
||||
1999-03-29 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because
|
||||
on SCO, they need it _after_ themselves.
|
||||
|
||||
1999-03-28 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added LIB_KFM to LIB_KAB alias
|
||||
|
||||
1999-03-26 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM
|
||||
added LIB_KFORMULA
|
||||
|
||||
1999-03-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: check for libXext - for Russel :)
|
||||
|
||||
1999-03-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclud3.m4.in: extend the MICO test with a list of possible
|
||||
places where to find CORBA.h
|
||||
|
||||
1999-03-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: move $QTINC and $QTLIB in search path
|
||||
|
||||
1999-03-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: install-root is obsolute. Use DESTDIR always
|
||||
|
||||
1999-03-03 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt*
|
||||
* acinclude.m4.in: added KDE_USE_QT, that you can choose if to
|
||||
use QT 2.0 or KDE 1.0
|
||||
|
||||
* Makefile.common: added target package-merge
|
||||
|
||||
* am_edit: many fixes to the POFILES handeling of am_edit
|
||||
|
||||
1999-03-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: first look at libjpeg6b (from kdesupport) then
|
||||
for libjpeg
|
||||
|
||||
* config.*, libtool.*: update to the latest FSF tools
|
||||
|
||||
1999-02-23 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: error when Sparc CC is used. Better use it in
|
||||
configure and tell him the story then letting him find it while
|
||||
compiling
|
||||
|
||||
* acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests,
|
||||
so that --with-extra-includes is used when needed.
|
||||
|
||||
* acinclude.m4.in: configure looks for giflib30, so it should say so
|
||||
|
||||
* acinclude.m4.in: don't overwrite x include parameters. Patch by
|
||||
Ari Lemmke <ari.lemmke@regex.fi> (bug report 741)
|
||||
|
||||
1999-02-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case
|
||||
of defaults (kdelibs) configure didn't cache the results
|
||||
|
||||
1999-02-18 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706.
|
||||
|
||||
1999-02-17 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_RANDOM, just like
|
||||
AC_CHECK_USLEEP, to enable the fake if necessary.
|
||||
|
||||
1999-02-13 Kurt Granroth <granroth@kde.org>
|
||||
|
||||
* acinclude.m4.in: look for QT-2.0
|
||||
|
||||
1999-02-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs
|
||||
and $PATH dirs the same. Added seperate test for to find binary
|
||||
($5) to replace findperl
|
||||
|
||||
1999-01-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added patch by jbb to be a little bit more precise about
|
||||
the number of sourcefiles that include the moc file if it's != 1.
|
||||
Besides that automoc will fail with exit code, so the Makefile.cvs
|
||||
process does stop in case a problem accoured.
|
||||
|
||||
* automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H
|
||||
|
||||
1999-01-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: try qobjcoll.h and qapplication.h before saying
|
||||
OK to qt headers. (I could kill SuSE for splitting into qt-dev
|
||||
and qt-compat)
|
||||
|
||||
1991-01-23 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added fixes by JB <jb.nz@writeme.com>
|
||||
|
||||
1999-01-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added --help and --path (for use in dist-hook)
|
||||
|
||||
1999-01-20 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* ltconfig: added entries for FreeBSD 4.x
|
||||
|
||||
1999-01-19 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added a distclean-metasources target which deletes all
|
||||
moc files and let distclean depend on it
|
||||
|
||||
1999-01-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: several fixes (ignore comment lines + join lines
|
||||
with \ )
|
||||
|
||||
* automoc: support META_INCLUDES in case the header files are
|
||||
not in the same dir as the sources.
|
||||
|
||||
1999-01-17 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: several fixes.
|
||||
|
||||
1999-01-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added support for included MOC files.
|
||||
|
||||
* acinclude.m4.in: use srcdir for the subdirs stuff as well
|
||||
|
||||
* automoc: added better command line parsing and some preparation
|
||||
for handling "normal" moc files
|
||||
|
||||
* acinclude.m4.in: added aliases for libkio and libkdeutil
|
||||
|
||||
1999-01-15 Harri Porten <porten@kde.org>
|
||||
|
||||
* automoc: Carved in stone syntax for Makefile.in:
|
||||
{program}_METASOURCES = USE_AUTOMOC [{suffix}]
|
||||
|
||||
1999-01-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.common: set top_srcdir to .
|
||||
|
||||
1999-01-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use config.h.bot any longer
|
||||
|
||||
1999-01-08 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added KDE_CHECK_NEWLIBS
|
||||
|
||||
* acinclude.m4.in: test for Qt even if both --with-qt-headers and
|
||||
--with-qt-libraries are given. They may be wrong.
|
||||
|
||||
1999-01-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: change the MOC test so it can be used for other
|
||||
tools as well
|
||||
|
||||
1998-12-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: look for QT-1.42 since kpanel needs it
|
||||
|
||||
1998-12-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added /usr/lib for libpython test
|
||||
|
||||
* acinclude.m4.in: take my email address out of it and added a
|
||||
reference to www.kde.org/faq
|
||||
|
||||
* acinclude.m4.in: use Qt >= 1.4
|
||||
|
||||
* acinclude.m4.in: added KDE_CHECK_NAMESPACES
|
||||
|
||||
1998-12-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: test for directories to exist before saying yes
|
||||
to compilation :)
|
||||
|
||||
1998-12-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's
|
||||
only important for shaman right now, but at least there it is :)
|
||||
|
||||
1998-12-12 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.cvs: added common Makefile.cvs
|
||||
|
||||
* acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly
|
||||
bug in AC_PROG_CXXCPP, so I added my own version
|
||||
|
||||
* acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify
|
||||
most toplevel configures
|
||||
|
||||
1998-12-11 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why
|
||||
it never caused problems
|
||||
|
||||
* acinclude.m4.in: moved LIBTIFF alias
|
||||
|
||||
* acinclude.m4.in: only test for the existance of libkimgio if the
|
||||
user wants to. For 99% of the applications it doesn't matter if
|
||||
configure can find libkimgio :)
|
||||
|
||||
1998-12-10 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: some changes to the python check to handle $LIBDL
|
||||
|
||||
1998-12-09 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: make Alex's tiff test a real one
|
||||
|
||||
* acinclude.m4.in: fix the LIB_TIFF alias to really expand
|
||||
|
||||
1998-12-08 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* acinclude.m4.in: Fix tiff test to use libtiff34 if it exists.
|
||||
This is what the FreeBSD port installs to for whatever reason.
|
||||
|
||||
* acinclude.m4.in: s/kde/KDE/ (at least in some of the
|
||||
descriptions, obviously no variable names were touched.
|
||||
|
||||
1998-12-08 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: moved the LIB_QT alias to the Qt check
|
||||
|
||||
* acinclude.m4.in: unset KDEDIR before running conftest
|
||||
|
||||
* acinclude.m4.in: fixed mean typo
|
||||
|
||||
* acinclude.m4.in: added the copyright header for the gettext
|
||||
tests, so that people know we're legal ;)
|
||||
|
||||
* acinclude.m4.in: set language to C++ before testing QIMGIO
|
||||
|
||||
1998-12-07 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* acinclude.m4.in: Fix PNG test to use correct ANSI C code, and
|
||||
not trip up gcc.
|
||||
|
||||
1998-12-07 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't hardcode -ldl
|
||||
|
||||
* acinclude.m4.in: move the LIB_X11 alias to the X test to make it
|
||||
useful for kdesupport as well
|
||||
|
||||
* acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really
|
||||
checking for it
|
||||
|
||||
* acinclude.m4.in: simple fix to prevent kimgio test from compiling
|
||||
KDE application in kdelibs
|
||||
|
||||
1998-12-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE,
|
||||
otherwise most tests fail. It didn't mean anything to 90% of the
|
||||
packages since they test for KDE before kimgio, but for shaman
|
||||
it does
|
||||
|
||||
* ltconfig: the real fix for the Solaris && gcc problem.
|
||||
Thanks Kurt for reporting it and Alexandre for fixing it :)
|
||||
|
||||
1998-12-04 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.*: update again
|
||||
|
||||
* acinclude.m4.in: changed the function to test for libnsl to
|
||||
inet_ntoa since UnixWare 7's version did not have gethostbyname,
|
||||
but needs libnsl
|
||||
|
||||
1998-12-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed the MOC test (again) to use the PATH variable
|
||||
correctly (with the correct seperator)
|
||||
|
||||
* config.guess: update from the soon to be released autoconf-2.13
|
||||
|
||||
1998-12-01 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixes for the MOC test. Use PATH now when found
|
||||
|
||||
1998-11-30 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: extended the MOC test. It checks now for the
|
||||
first line of the output of "moc --help" and looks for Qt in it.
|
||||
|
||||
1998-11-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig: another libtool update. Fixes an ugly bug on Solaris,
|
||||
when GNU ld is in path before Solaris ld, but gcc uses the later
|
||||
|
||||
1998-11-26 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: made the Qt test more advance to check for qt
|
||||
1.41 - I still need to make it better, but there shouldn't be too
|
||||
many qt releases in a row, would there? ;)
|
||||
|
||||
* ltconfig: libtool update with better BSD/OS support
|
||||
|
||||
1998-11-22 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig: cool - libtool uses g++ now to link libraries on Solaris.
|
||||
This means, static objects become usuable on that plattforms (some
|
||||
others as well).
|
||||
|
||||
1998-11-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltmain.sh: updated libtool from their CVS - fixes bugs we haven't
|
||||
found and adds some more features, that we do not need ;-)
|
||||
|
||||
1998-11-19 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase
|
||||
|
||||
1998-11-16 Harri Porten <porten@kde.org>
|
||||
|
||||
* automoc: take care of "ar" object files, too.
|
||||
|
||||
1998-11-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.m4.in: revised my --silent patch. The solution
|
||||
Alexandre suggested is much better.
|
||||
|
||||
1998-11-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig.in: done some tweakings to support -export-dynamic
|
||||
with egcs
|
||||
|
||||
* config.sub: wow - BeOS support :)
|
||||
|
||||
1998-11-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use rpath for test program, if rpath is
|
||||
disabled for applications
|
||||
|
||||
* ltconfig: patched libtool to make it silent without making
|
||||
ltconfig silent
|
||||
|
||||
* acinclude.m4.in: make libtool silent again
|
||||
|
||||
* libtool.m4.in: update to libtool-981114 (untested stuff, but
|
||||
we have to test it to make it tested - sounds that logical? :-)
|
||||
|
||||
* libtool.m4.in: moved the self stricked libtool tests to "our"
|
||||
file.
|
||||
|
||||
* acinclude.m4.in: moved ChangeLog of kdebase which I used to
|
||||
maintain acinclude.m4.in logs to kde-common/admin. Hopefully I
|
||||
will maintain it more often from now on :)
|
||||
|
||||
1998-07-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed some things in the MOC test
|
||||
|
||||
* acinclude.m4.in: fixed this damn msgfmt test
|
||||
|
||||
1998-06-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: ignore msgfmt, if not GNU gettext
|
||||
|
||||
1998-05-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type
|
||||
|
||||
* acinclude.m4.in: embraced every variable with "" to make
|
||||
it consistent
|
||||
|
||||
* acinclude.m4.in: various fixes for the koffice checks
|
||||
(mico, ministl and python)
|
||||
|
||||
1998-05-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when
|
||||
--with-qt-libs are given
|
||||
|
||||
1998-04-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: cool, I found the trick to suppress the ls
|
||||
errors
|
||||
|
||||
1998-04-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: rewrote the qt checking test, since it
|
||||
didn't work under FreeBSD, since it relied on the .so link.
|
||||
The new version is a little bit buggy, but I need some testing
|
||||
to make it perfect
|
||||
|
||||
* acinclude.m4.in: fixed the side effects of the PAM test
|
||||
|
||||
1998-04-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: hopefully fixed the PAM test (I rewrote it)
|
||||
|
||||
1998-04-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: extended the getsockname test inspired
|
||||
by a patch by Martin Baulig
|
||||
|
||||
* configure.in: added test for utmp file
|
||||
|
||||
* acinclude.m4.in: made --without-pam default
|
||||
|
||||
|
||||
1998-04-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't test compiling, linking, running in
|
||||
one step. This proved to be too dangerous for my mail box.
|
||||
|
||||
1998-03-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.m4.in: created some new macros to work around this
|
||||
ugly (because long) help of configure --enable-shared/static
|
||||
|
||||
1998-03-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: set language to C++ before trying the ksize_t
|
||||
test
|
||||
|
||||
* configure.in: sorted the Makefile entries alphabeticly (and all
|
||||
together: we love xemacs! we love xemacs! ;)
|
||||
|
||||
* configure.in: added sk
|
||||
|
||||
* acinclude.m4.in: substitute x_libraries to fix the empty -rpath
|
||||
|
||||
1998-03-03 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: add a rpath for every shared library, that is
|
||||
linked too (especially X11 libraries)
|
||||
|
||||
Tue Feb 24 22:04:59 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_sounddir and set kde_minidir to
|
||||
kde_icondir/mini to break not too much
|
||||
|
||||
Sun Feb 15 18:25:50 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added bugfix by Bob Miller <kbob@engr.sgi.com>
|
||||
(correct reset of IFS)
|
||||
|
||||
Wed Feb 11 00:53:11 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: made shadow under Linux default, since the
|
||||
binaries will work also under non-shadow systems. The only problem
|
||||
left is PAM, so I disabled shadow in case, PAM is present
|
||||
|
||||
Tue Feb 10 16:46:32 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added test for nice to find out, if the option
|
||||
-nice works for the screensavers
|
||||
|
||||
* acinclude.m4.in: port to LynxOS. For this I moved all library
|
||||
search routines in KDE_MISC_TESTS, so I don't need to write this
|
||||
in every package
|
||||
|
||||
* README: some grammar fixes
|
||||
|
||||
* acinclude.m4.in: search for the libs in the exec_prefix, when
|
||||
it's present
|
||||
|
||||
Sun Feb 8 14:07:23 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: updated all packages
|
||||
|
||||
* libtool.m4.in: applied patch for libtool.m4.in to show the
|
||||
correct default for shared and static
|
||||
|
||||
|
||||
Sat Feb 7 10:56:00 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: good news - KDE is relocatable again.
|
||||
|
||||
* libtool.m4.in: updated to latest libtool 1.0i
|
||||
|
||||
Fri Feb 6 21:26:51 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and
|
||||
AC_PROG_CPP to KDE_CHECK_COMPILERS
|
||||
|
||||
Thu Feb 5 16:27:47 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to
|
||||
look for moc. I don't know why, but I got a report, that configure
|
||||
found /usr/bin/moc under Solaris
|
||||
|
||||
Fri Jan 30 15:47:50 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: export LIBRARY_PATH after reset to the saved
|
||||
value
|
||||
|
||||
* acinclude.m4.in: unset the LIBRARY_PATH to get a relieable
|
||||
result when trying to find, if Qt compiles without -L
|
||||
|
||||
Sat Jan 24 00:45:52 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed another bug in AC_PATH_KDE
|
||||
|
||||
Thu Jan 22 14:46:15 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: fixed an ugly bug in AC_BASE_PATH_KDE
|
||||
|
||||
* kappfinder/kappfinder.in: let kappfinder create by configure to
|
||||
allow the use of the kde_ paths
|
||||
|
||||
Wed Jan 21 22:19:35 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: - added a install_root prefix to all paths, if
|
||||
set, to enable package managers to move the whole installation at once
|
||||
- added --with-install-root to set the install_root prefix
|
||||
|
||||
Tue Jan 20 22:41:04 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added NOOPT_CXXFLAGS to allow kioslave to be
|
||||
compiled without -O2
|
||||
|
||||
Mon Jan 19 21:55:21 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: some little fixes for the Makefiles
|
||||
|
||||
* acinclude.m4.in: --prefix will no longer override the search for
|
||||
libraries. If they are present somewhere, they are used (through
|
||||
the methodes in KApplication)
|
||||
|
||||
Mon Jan 12 00:30:36 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in fixed an ugly bug, that accoured, when
|
||||
qt_libraries is not set (empty/equals X11/not necessary)
|
||||
|
||||
* acinclude.m4.in moved the remove of the files after the error
|
||||
detection
|
||||
|
||||
|
||||
Sun Jan 11 17:27:53 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset
|
||||
the Qt library path, if a Qt program compiles without them
|
||||
|
||||
* acinclude.m4.in added a return value in the CREATE_KFSSTND
|
||||
macro. Perhaps this has caused the problems
|
||||
|
||||
Sat Jan 10 17:40:44 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ChangeLog started to maintain a ChangeLog file again
|
||||
* acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output
|
||||
to find the problem
|
||||
|
||||
|
||||
Old logs, Stephan Kulow made:
|
||||
|
||||
0.1 : first steps with libkde
|
||||
0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel
|
||||
0.3 : added kfm and bugfixes
|
||||
0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs
|
||||
0.5 : support libtool (chooseable shared libs)
|
||||
0.6 : split libkde in kdecore and kdeui
|
||||
0.6.1 : Bugfixes
|
||||
0.7 : added code from Janos Farkas (configure)
|
||||
: added @{kde,qt}_{includes,libraries}@
|
||||
0.7.1: Bugfixes
|
||||
0.7.2: Bugfixes
|
||||
0.7.3: added @all_includes@ and @all_libraries@
|
||||
replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H
|
||||
0.7.4: changed support for libkde (back in it's own)
|
||||
added kpat
|
||||
updated kpanel, kwm, kghostview
|
||||
0.8: removed a bug in kghostview
|
||||
lifted installation process of several apps
|
||||
splitt kdebase into kdelibs and kdeapps
|
||||
updated khtmlw, kfm and kdehelp
|
||||
added kcalc and kpaint
|
||||
updated kdisplay
|
||||
added kscreensaver
|
||||
added --enable-kscreensaver
|
||||
added --enable-debug (and @CXXFLAGS@ to all Makefile.ins)
|
||||
updated kwm to 0.4.7
|
||||
added make uninstall to every app
|
||||
added kvt
|
||||
added khexdit
|
||||
added .kdelnk for kmines, kedit, ktetris
|
||||
put kwm, kfind's .kdelnk in the right directories
|
||||
replaced --enable-kscreensaver by --disable-kscreensaver
|
||||
updated kpanel to 0.15
|
||||
some bugfixes (thanks Marco)
|
||||
some bugfixes (thanks Martin)
|
||||
changed acinclude.m4, because aclocal won't
|
||||
updated kwm to 0.4.8 (patched it again for Qt-1.2)
|
||||
updated kvt to 0.13 (patch from Matthias)
|
||||
patched kvt and kwm
|
||||
updated kwm to 0.5.0
|
||||
updated kvt for 0.14 (again and again :-)
|
||||
updated kview to 0.10
|
||||
updated kfm to 0.6.3
|
||||
patched kscreensaver for FreeBSD (thanks Marc)
|
||||
0.9: updated kdisplay to 0.5.3
|
||||
added klogout
|
||||
patches from Matthias
|
||||
updated kfm to 0.6.4
|
||||
updated kghostview to 0.4
|
||||
added QTINC and QTLIB
|
||||
updated kdehelp to 0.4.11
|
||||
patched kfm to support ktoolbar
|
||||
updated kedit to kedit+
|
||||
added kfontmanager 0.2.1
|
||||
0.9.1: changed kpaint's make style
|
||||
bugfixing
|
||||
updated kmines to 0.6.5
|
||||
updated ktetris to 0.2.4
|
||||
changed to Makefiles to depend on Makefile.in
|
||||
changed the Makefiles to let install depend on all
|
||||
added kjots-0.2.2
|
||||
updated kjots-0.2.3
|
||||
updated kfm to 0.6.6
|
||||
updated kjots-0.2.4
|
||||
updated kpaint-0.2
|
||||
updated kedit to 0.5
|
||||
updated kfontmanager to 0.2.2
|
||||
updated kfm to 0.6.7
|
||||
updated ktetris to 0.2.5
|
||||
updated kjots to 0.2.5
|
||||
0.10: added HAVE_SQRTL
|
||||
added HAVE_CRYPT_H
|
||||
updated kfind
|
||||
updated kfm to kfm-0.8.1
|
||||
re-introduced automake to kdebase
|
||||
bugfixes for the configure.in
|
||||
added XPM, GL and PAM tests to configure
|
||||
added morph3d to kscreensavers
|
||||
updated kfind to 0.3.2
|
||||
added some patches for SGI
|
||||
... lost the time to maintain a Changelog ;)
|
||||
@@ -12,6 +12,7 @@ apidox-am-yes:
|
||||
fi ;\
|
||||
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
|
||||
echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
|
||||
echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \
|
||||
echo "INPUT = $(srcdir)" >> Doxyfile; \
|
||||
echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
|
||||
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
|
||||
@@ -23,7 +23,7 @@ PROJECT_NAME =
|
||||
# This could be handy for archiving the generated documentation or
|
||||
# if some version control system is used.
|
||||
|
||||
PROJECT_NUMBER = "Version 3.0"
|
||||
PROJECT_NUMBER =
|
||||
|
||||
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
||||
# base path where the generated documentation will be put.
|
||||
@@ -228,11 +228,15 @@ GENERATE_BUGLIST = YES
|
||||
# will result in a user defined paragraph with heading "Side Effects:".
|
||||
# You can put \n's in the value part of an alias to insert newlines.
|
||||
|
||||
# @ref in KDE docu are for kdoc, doxygen doesn't need them, so we alias them
|
||||
# to nothing here
|
||||
|
||||
ALIASES = libdoc=@mainpage \
|
||||
sect=<p><b> \
|
||||
reimplemented= \
|
||||
"deprecated=<b>This class or method is obsolete, it is provided for compatibility only.</b>" \
|
||||
obsolete=@deprecated
|
||||
obsolete=@deprecated \
|
||||
ref=
|
||||
|
||||
# The ENABLED_SECTIONS tag can be used to enable conditional
|
||||
# documentation sections, marked by \if sectionname ... \endif.
|
||||
34
admin2_5/Makefile.common
Normal file
34
admin2_5/Makefile.common
Normal file
@@ -0,0 +1,34 @@
|
||||
### Makefile.common
|
||||
###
|
||||
### Copyright (C) 2002 by the KDE developers
|
||||
|
||||
### All the real work is done by the shellscript cvs.sh
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
cvs dist cvs-clean configure configure.in configure.files subdirs package-messages package-merge:
|
||||
@admindir=$(admindir); \
|
||||
if test "x$$admindir" = x; then \
|
||||
admindir=.; until test -f $$admindir/admin/cvs.sh; do \
|
||||
admindir=$$admindir/..; \
|
||||
if test `cd $$admindir && pwd` = / ; then break; fi; \
|
||||
done; \
|
||||
admindir=$$admindir/admin; \
|
||||
if test -f $$admindir/cvs.sh; then :; else \
|
||||
echo "Can't find the admin/ directory in any parent of the"; \
|
||||
echo "current directory. Please set it with admindir=..."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
if test "$@" = "package-merge"; then \
|
||||
MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
|
||||
$(SHELL) $$admindir/cvs.sh package-merge ;\
|
||||
else MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
|
||||
fi
|
||||
|
||||
configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
|
||||
configure.files: subdirs
|
||||
|
||||
.SILENT:
|
||||
|
||||
.PHONY: cvs dist cvs-clean package-merge package-messages
|
||||
5422
admin2_5/acinclude.m4.in
Normal file
5422
admin2_5/acinclude.m4.in
Normal file
File diff suppressed because it is too large
Load Diff
2143
admin2_5/am_edit
Normal file
2143
admin2_5/am_edit
Normal file
File diff suppressed because it is too large
Load Diff
190
admin2_5/conf.change.pl
Normal file
190
admin2_5/conf.change.pl
Normal file
@@ -0,0 +1,190 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# this script patches a config.status file, to use our own perl script
|
||||
# in the main loop
|
||||
# we do it this way to circumvent hacking (and thereby including)
|
||||
# autoconf function (which are GPL) into our LGPL acinclude.m4.in
|
||||
# written by Michael Matz <matz@kde.org>
|
||||
# adapted by Dirk Mueller <mueller@kde.org>
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
|
||||
# This library 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
|
||||
# Library General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Library General Public License
|
||||
# along with this library; see the file COPYING.LIB. If not, write to
|
||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
# we have to change two places
|
||||
# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
|
||||
# later autoconf's
|
||||
# 2. the big main loop which patches all Makefile.in's
|
||||
|
||||
use File::Basename;
|
||||
|
||||
my $ac_aux_dir = dirname($0);
|
||||
my ($flag);
|
||||
local $ac_version = 0;
|
||||
my $vpath_seen = 0;
|
||||
$flag = 0;
|
||||
|
||||
while (<>) {
|
||||
# usage of $flag: 0 -- we have seen nothing yet
|
||||
# 1 -- we are in (1)
|
||||
# 2 -- we have ended (1)
|
||||
# 3 -- we are in (2)
|
||||
# 4 -- we ended (2)
|
||||
|
||||
if ($flag == 4) {
|
||||
print;
|
||||
} elsif ($flag == 0) {
|
||||
# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
|
||||
# ends with (excluding) "CONFIG_FILE=..."
|
||||
# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
|
||||
# but instead the (2) directly follow (1)
|
||||
if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
|
||||
$flag = 1;
|
||||
if ($1 eq 'lines') {
|
||||
# lets hope its different with 2141,
|
||||
# wasn't able to verify that
|
||||
if ($2 eq '48') {
|
||||
$ac_version = 250;
|
||||
}
|
||||
else {
|
||||
$ac_version = 2141;
|
||||
}
|
||||
} elsif ($1 eq 'cmds') {
|
||||
$ac_version = 213;
|
||||
}
|
||||
# hmm, we don't know the autoconf version, but we try anyway
|
||||
} else {
|
||||
print;
|
||||
}
|
||||
} elsif ($flag == 1) {
|
||||
if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
|
||||
print;
|
||||
$flag = 2;
|
||||
} elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
|
||||
$flag = 3;
|
||||
}
|
||||
} elsif ($flag == 2) {
|
||||
# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
|
||||
# end with: "rm -f conftest.s\*"
|
||||
# on autoconf 250, it ends with '# CONFIG_HEADER section'
|
||||
#
|
||||
# gg: if a post-processing commands section is found first,
|
||||
# stop there and insert a new loop to honour the case/esac.
|
||||
# (pattern: /^\s+#\sRun the commands associated with the file./)
|
||||
|
||||
if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
|
||||
$flag = 3;
|
||||
} else {
|
||||
print;
|
||||
}
|
||||
} elsif ($flag == 3) {
|
||||
if (/^\s*rm\s+-f\s+conftest/ ) {
|
||||
$flag = 4;
|
||||
&insert_main_loop();
|
||||
} elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
|
||||
$flag = 4;
|
||||
&insert_main_loop();
|
||||
#die "hhhhhhh";
|
||||
if ($ac_version != 2141) {
|
||||
print STDERR "hmm, don't know autoconf version\n";
|
||||
}
|
||||
} elsif (/^\#\s*CONFIG_HEADER section.*|^\s+#\s(Run) the commands associated/) {
|
||||
$flag = 4;
|
||||
$commands = defined $1;
|
||||
&insert_main_loop();
|
||||
$commands && insert_command_loop();
|
||||
if($ac_version != 250) {
|
||||
print STDERR "hmm, something went wrong :-(\n";
|
||||
}
|
||||
} elsif (/VPATH/ ) {
|
||||
$vpath_seen = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
die "wrong input (flag != 4)" unless $flag == 4;
|
||||
print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
|
||||
|
||||
sub insert_main_loop {
|
||||
|
||||
if ($ac_version == 250) {
|
||||
&insert_main_loop_250();
|
||||
}
|
||||
else {
|
||||
&insert_main_loop_213();
|
||||
}
|
||||
}
|
||||
|
||||
sub insert_main_loop_250 {
|
||||
|
||||
print <<EOF;
|
||||
#echo Doing the fast build of Makefiles -- autoconf $ac_version
|
||||
EOF
|
||||
if ($vpath_seen) {
|
||||
print <<EOF;
|
||||
# VPATH subst was seen in original config.status main loop
|
||||
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
|
||||
EOF
|
||||
}
|
||||
print <<EOF;
|
||||
rm -f \$tmp/subs.files
|
||||
for ac_file in .. \$CONFIG_FILES ; do
|
||||
if test "x\$ac_file" != x..; then
|
||||
echo \$ac_file >> \$tmp/subs.files
|
||||
fi
|
||||
done
|
||||
if test -f \$tmp/subs.files ; then
|
||||
perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
|
||||
fi
|
||||
rm -f \$tmp/subs.files
|
||||
|
||||
fi
|
||||
EOF
|
||||
return;
|
||||
}
|
||||
|
||||
sub insert_main_loop_213 {
|
||||
print <<EOF;
|
||||
#echo Doing the fast build of Makefiles -- autoconf $ac_version
|
||||
if test "x\$ac_cs_root" = "x" ; then
|
||||
ac_cs_root=conftest
|
||||
fi
|
||||
EOF
|
||||
if ($vpath_seen) {
|
||||
print <<EOF;
|
||||
# VPATH subst was seen in original config.status main loop
|
||||
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
|
||||
EOF
|
||||
}
|
||||
print <<EOF;
|
||||
rm -f \$ac_cs_root.sacfiles
|
||||
for ac_file in .. \$CONFIG_FILES ; do
|
||||
if test "x\$ac_file" != x..; then
|
||||
echo \$ac_file >> \$ac_cs_root.sacfiles
|
||||
fi
|
||||
done
|
||||
if test -f \$ac_cs_root.sacfiles ; then
|
||||
perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
|
||||
fi
|
||||
rm -f \$ac_cs_root.s*
|
||||
|
||||
EOF
|
||||
return;
|
||||
}
|
||||
|
||||
sub insert_command_loop {
|
||||
print <<EOF;
|
||||
for ac_file in .. \$CONFIG_FILES ; do
|
||||
EOF
|
||||
}
|
||||
1363
admin2_5/config.guess
vendored
Executable file
1363
admin2_5/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
235
admin2_5/config.pl
Normal file
235
admin2_5/config.pl
Normal file
@@ -0,0 +1,235 @@
|
||||
#!/usr/bin/perl
|
||||
# a script for use by autoconf to make the Makefiles
|
||||
# from the Makefile.in's
|
||||
#
|
||||
# the original autoconf mechanism first splits all substitutions into groups
|
||||
# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
|
||||
# (so around 2-3 times per Makefile.in). So this takes forever, as sed
|
||||
# has to recompile the regexps every time.
|
||||
#
|
||||
# this script does better. It changes all Makefile.ins in one process.
|
||||
# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
|
||||
#
|
||||
# written by Michael Matz <matz@kde.org>
|
||||
# adapted by Dirk Mueller <mueller@kde.org>
|
||||
|
||||
# This file is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
|
||||
# This library 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
|
||||
# Library General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Library General Public License
|
||||
# along with this library; see the file COPYING.LIB. If not, write to
|
||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
my $ac_subs=$ARGV[0];
|
||||
my $ac_sacfiles = $ARGV[1];
|
||||
my $ac_given_srcdir=$ARGV[2];
|
||||
my $ac_given_INSTALL=$ARGV[3];
|
||||
|
||||
#print "ac_subs=$ac_subs\n";
|
||||
#print "ac_sacfiles=$ac_sacfiles\n";
|
||||
#print "ac_given_srcdir=$ac_given_srcdir\n";
|
||||
#print "ac_given_INSTALL=$ac_given_INSTALL\n";
|
||||
|
||||
my ($srcdir, $top_srcdir);
|
||||
my $INSTALL;
|
||||
my $bad_perl = ($] < 5.005);
|
||||
|
||||
open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
|
||||
my @subs = <CF>;
|
||||
close(CF);
|
||||
chomp @subs;
|
||||
@comp_match=();
|
||||
@comp_subs=();
|
||||
|
||||
if ($bad_perl) {
|
||||
print "Using perl older than version 5.005\n";
|
||||
foreach my $pat (@subs) {
|
||||
if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ )
|
||||
|| ($pat =~ m/s%([^%]*)%([^%]*)%;t/ )
|
||||
|| ($pat =~ m/s,([^,]*),(.*),;t/)
|
||||
|| ($pat =~ m%s/([^/]*)/([^/]*)/g% )
|
||||
|| ($pat =~ m%s/([^/]*)/([^/]*)/;t% )
|
||||
) {
|
||||
# form : s%bla%blubb%g
|
||||
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
|
||||
# or s,bla,blubb,;t t (autoconf 2.52)
|
||||
my $srch = $1;
|
||||
my $repl = $2;
|
||||
$repl =~ s/\\(.)/$1/g;
|
||||
push @comp_subs, make_closure($srch, $repl);
|
||||
|
||||
} elsif ( ($pat =~ /%([^%]*)%d/ )
|
||||
|| ($pat =~ m%/([^/]*)/d% )
|
||||
) {
|
||||
push @comp_subs, make_closure($1, "");
|
||||
} else {
|
||||
die "Uhh. Malformed pattern in $ac_subs ($pat)"
|
||||
unless ( $pat =~ /^\s*$/ ); # ignore white lines
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach my $pat (@subs) {
|
||||
if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) ||
|
||||
($pat =~ /s%([^%]*)%([^%]*)%;t/ ) ||
|
||||
($pat =~ /s,([^,]*),(.*),;t/) ) {
|
||||
# form : s%bla%blubb%g
|
||||
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
|
||||
# or s,bla,blubb,;t t (autoconf 2.52)
|
||||
my $srch = $1;
|
||||
my $repl = $2;
|
||||
push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern
|
||||
$repl =~ s/\\(.)/$1/g;
|
||||
push @comp_subs, $repl;
|
||||
} elsif ( ($pat =~ /%([^%]*)%d/ )
|
||||
|| ($pat =~ m%/([^/]*)/d% )
|
||||
) {
|
||||
push @comp_match, eval "qr/\Q$1\E/";
|
||||
push @comp_subs, "";
|
||||
} else {
|
||||
die "Uhh. Malformed pattern in $ac_cs_root.subs ($pat)"
|
||||
unless ( $pat =~ /^\s*$/ ); # ignore white lines
|
||||
}
|
||||
}
|
||||
}
|
||||
undef @subs;
|
||||
|
||||
# read the list of files to be patched, form:
|
||||
# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile
|
||||
|
||||
open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!";
|
||||
my @ac_files = <CF>;
|
||||
close(CF);
|
||||
chomp @ac_files;
|
||||
|
||||
|
||||
my $ac_file;
|
||||
foreach $ac_file (@ac_files) {
|
||||
next if $ac_file =~ /\.\./;
|
||||
next if $ac_file =~ /^\s*$/;
|
||||
my $ac_file_in;
|
||||
my ($ac_dir, $ac_dots, $ac_dir_suffix);
|
||||
|
||||
if ($ac_file =~ /.*:.*/ ) {
|
||||
($ac_file_in = $ac_file) =~ s%[^:]*:%%;
|
||||
$ac_file =~ s%:.*%%;
|
||||
} else {
|
||||
$ac_file_in = $ac_file.".in";
|
||||
}
|
||||
|
||||
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
||||
|
||||
# Remove last slash and all that follows it. Not all systems have dirname.
|
||||
($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%;
|
||||
if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) {
|
||||
# The file is in a subdirectory.
|
||||
if (! -d "$ac_dir") { mkdir "$ac_dir", 0777; }
|
||||
($ac_dir_suffix = $ac_dir) =~ s%^./%%;
|
||||
$ac_dir_suffix="/".$ac_dir_suffix;
|
||||
# A "../" for each directory in $ac_dir_suffix.
|
||||
($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g;
|
||||
} else {
|
||||
$ac_dir_suffix="";
|
||||
$ac_dots="";
|
||||
}
|
||||
|
||||
if ($ac_given_srcdir eq ".") {
|
||||
$srcdir=".";
|
||||
if ($ac_dots) {
|
||||
( $top_srcdir = $ac_dots) =~ s%/$%%;
|
||||
} else { $top_srcdir="."; }
|
||||
} elsif ($ac_given_srcdir =~ m%^/%) {
|
||||
$srcdir=$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_given_srcdir;
|
||||
} else {
|
||||
$srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_dots.$ac_given_srcdir;
|
||||
}
|
||||
|
||||
if ($ac_given_INSTALL) {
|
||||
if ($ac_given_INSTALL =~ m%^/% ) {
|
||||
$INSTALL = $ac_given_INSTALL;
|
||||
} else {
|
||||
$INSTALL = $ac_dots.$ac_given_INSTALL;
|
||||
}
|
||||
}
|
||||
|
||||
print "fast creating $ac_file\n";
|
||||
unlink $ac_file;
|
||||
my $ac_comsub="";
|
||||
my $fname=$ac_file_in;
|
||||
$fname =~ s%.*/%%;
|
||||
my $configure_input="Generated automatically from $fname by config.pl.";
|
||||
if ($ac_file =~ /.*[Mm]akefile.*/) {
|
||||
$ac_comsub="# ".$configure_input."\n"; # for the first line in $ac_file
|
||||
}
|
||||
|
||||
my $ac_file_inputs;
|
||||
($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%;
|
||||
$ac_file_inputs =~ s%:% $ac_given_srcdir/%g;
|
||||
|
||||
patch_file($ac_file, $ac_file_inputs, $ac_comsub);
|
||||
}
|
||||
|
||||
sub patch_file {
|
||||
my ($outf, $infiles, $identline) = @_;
|
||||
my $filedata;
|
||||
my @infiles=split(' ', $infiles);
|
||||
my $i=0;
|
||||
|
||||
foreach my $name (@infiles) {
|
||||
if (open(CF, "< $name")) {
|
||||
while (<CF>) {
|
||||
$filedata .= $_;
|
||||
}
|
||||
close(CF);
|
||||
} else {
|
||||
print STDERR "can't open $name: $!"."\n";
|
||||
}
|
||||
}
|
||||
if ($identline) {
|
||||
# Put the ident in the second line. For shitty automake 1.6x.
|
||||
$filedata =~ s%\n%\n$identline%;
|
||||
}
|
||||
|
||||
$filedata =~ s%\@configure_input\@%$configure_input%g;
|
||||
$filedata =~ s%\@srcdir\@%$srcdir%g;
|
||||
$filedata =~ s%\@top_srcdir\@%$top_srcdir%g;
|
||||
$filedata =~ s%\@INSTALL\@%$INSTALL%g;
|
||||
|
||||
if ($bad_perl) {
|
||||
while ($i <= $#comp_subs) {
|
||||
my $ref = $comp_subs[$i];
|
||||
&$ref(\$filedata);
|
||||
$i++;
|
||||
}
|
||||
} else {
|
||||
while ($i <= $#comp_match) {
|
||||
$filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g;
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
open(CF, "> $outf") || die "can't create $outf: $!";
|
||||
print CF $filedata;
|
||||
close(CF);
|
||||
}
|
||||
|
||||
sub make_closure {
|
||||
my ($pat, $sub) = @_;
|
||||
$pat =~ s/\@/\\@/g; # @bla@ -> \@bla\@
|
||||
$pat =~ s/\$/\\\$/g; # $bla -> \$bla
|
||||
$sub =~ s/\@/\\@/g;
|
||||
$sub =~ s/\$/\\\$/g;
|
||||
my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%$pat%$sub%g; }";
|
||||
if ($@) {
|
||||
print "can't create CODE: $@\n";
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
1470
admin2_5/config.sub
vendored
Executable file
1470
admin2_5/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
57
admin2_5/configure.in.min
Normal file
57
admin2_5/configure.in.min
Normal file
@@ -0,0 +1,57 @@
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library 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 GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
dnl Boston, MA 02111-1307, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
dnl KDE_USE_QT
|
||||
AC_PATH_KDE
|
||||
@@ -27,7 +27,7 @@ strip_makefile()
|
||||
|
||||
check_autotool_versions()
|
||||
{
|
||||
AUTOCONF_VERSION=`$AUTOCONF --version | head -1`
|
||||
AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
|
||||
case $AUTOCONF_VERSION in
|
||||
Autoconf*2.5* | autoconf*2.5* ) : ;;
|
||||
"" )
|
||||
@@ -42,7 +42,7 @@ case $AUTOCONF_VERSION in
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOHEADER_VERSION=`$AUTOHEADER --version | head -1`
|
||||
AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
|
||||
case $AUTOHEADER_VERSION in
|
||||
Autoconf*2.5* | autoheader*2.5* ) : ;;
|
||||
"" )
|
||||
@@ -57,17 +57,17 @@ case $AUTOHEADER_VERSION in
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOMAKE_STRING=`$AUTOMAKE --version | head -1`
|
||||
AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
|
||||
case $AUTOMAKE_STRING in
|
||||
automake*1.5d* | automake*1.5* | automake*1.5-* )
|
||||
echo "*** YOU'RE USING $AUTOMAKE_STRING."
|
||||
echo "*** KDE requires automake 1.6"
|
||||
echo "*** KDE requires automake 1.6.1 or newer"
|
||||
exit 1
|
||||
;;
|
||||
automake*1.6.* | automake*1.7* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOMAKE NOT FOUND!."
|
||||
echo "*** KDE requires automake 1.6"
|
||||
echo "*** KDE requires automake 1.6.1 or newer"
|
||||
exit 1
|
||||
;;
|
||||
unsermake* ) :
|
||||
@@ -209,17 +209,17 @@ mfs=`find . -type d -print | fgrep -v "/." | \
|
||||
sed -e "s#\./##" -e "/^debian/d" | sort`
|
||||
for i in $mfs; do
|
||||
topleveldir=`echo $i| sed -e "s#/.*##"`
|
||||
if test -f inst-apps; then
|
||||
if grep "^$topleveldir" inst-apps > /dev/null 2>&1; then :; else
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
if test -f $topleveldir/configure.in; then
|
||||
continue
|
||||
fi
|
||||
if test -f $i/Makefile.am; then :; else
|
||||
continue
|
||||
fi
|
||||
if test -s inst-apps; then
|
||||
if grep "\"^$topleveldir\"" inst-apps > /dev/null 2>&1; then
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
if test "$i" = "."; then
|
||||
echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new
|
||||
else
|
||||
@@ -250,10 +250,10 @@ test -n "$midfiles" && cat $midfiles >> configure.in.new
|
||||
echo "AC_OUTPUT" >> configure.in.new
|
||||
modulename=
|
||||
if test -f configure.in.in; then
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
|
||||
if head -n 2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
|
||||
kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
|
||||
fi
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
|
||||
if head -n 2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
|
||||
line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
|
||||
if test -n "$line"; then
|
||||
modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
|
||||
@@ -293,11 +293,19 @@ for i in . .. ../.. ../../..; do
|
||||
done
|
||||
rm -f configure.files
|
||||
touch configure.files
|
||||
if test -f configure.in.in && head -2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
|
||||
if test -f configure.in.in && head -n 2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
|
||||
echo $admindir/configure.in.min >> configure.files
|
||||
fi
|
||||
test -f configure.in.in && echo configure.in.in >> configure.files
|
||||
list=`find . -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | sort`
|
||||
if test -f inst-apps; then
|
||||
inst=`cat inst-apps`
|
||||
list=""
|
||||
for i in $inst; do
|
||||
list="$list `find $i/ -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | sort`"
|
||||
done
|
||||
else
|
||||
list=`find . -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | sort`
|
||||
fi
|
||||
for i in $list; do if test -f $i && test `dirname $i` != "." ; then
|
||||
echo $i >> configure.files
|
||||
fi; done
|
||||
@@ -308,9 +316,16 @@ test -f configure.in.bot && echo configure.in.bot >> configure.files
|
||||
subdirs()
|
||||
{
|
||||
dirs=
|
||||
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
for i in `ls -1`; do
|
||||
idirs=
|
||||
if test -f inst-apps; then
|
||||
idirs=`cat inst-apps`
|
||||
else
|
||||
idirs=`ls -1`
|
||||
fi
|
||||
|
||||
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
|
||||
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
|
||||
for i in $idirs; do
|
||||
if test -f $i/Makefile.am; then
|
||||
case " $compilefirst $compilelast " in
|
||||
*" $i "*) ;;
|
||||
@@ -326,11 +341,11 @@ for d in $compilefirst; do
|
||||
done
|
||||
|
||||
(for d in $dirs; do
|
||||
list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
|
||||
list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
|
||||
for s in $list; do
|
||||
echo $s $d
|
||||
done
|
||||
list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
|
||||
list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
|
||||
for s in $list; do
|
||||
echo $d $s
|
||||
done
|
||||
@@ -342,8 +357,8 @@ for d in $compilelast; do
|
||||
done
|
||||
|
||||
if test -f Makefile.am.in; then
|
||||
cp Makefile.am.in Makefile.am
|
||||
if test -n "$UNSERMAKE"; then
|
||||
cp Makefile.am.in Makefile.am
|
||||
topsubdirs=
|
||||
for i in $compilefirst $dirs $compilelast; do
|
||||
vari=`echo $i | sed -e "s,[-+],_,g"`
|
||||
@@ -354,6 +369,9 @@ if test -f Makefile.am.in; then
|
||||
done
|
||||
echo "SUBDIRS=$topsubdirs" >> Makefile.am
|
||||
else
|
||||
cat Makefile.am.in | \
|
||||
sed -e 's,^\s*\(COMPILE_BEFORE.*\),# \1,' | \
|
||||
sed -e 's,^\s*\(COMPILE_AFTER.*\),# \1,' > Makefile.am
|
||||
echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am
|
||||
fi
|
||||
fi
|
||||
@@ -485,6 +503,7 @@ arg=`echo $1 | tr '\-.' __`
|
||||
case $arg in
|
||||
cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
|
||||
cvs_clean | package_merge | package_messages ) $arg ;;
|
||||
configure ) call_and_fix_autoconf ;;
|
||||
* ) echo "Usage: cvs.sh <target>"
|
||||
echo "Target can be one of:"
|
||||
echo " cvs cvs-clean dist"
|
||||
119
admin2_5/debianrules
Executable file
119
admin2_5/debianrules
Executable file
@@ -0,0 +1,119 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use Shell qw(mv cp mkdir rm) ;
|
||||
use File::Find;
|
||||
use Cwd;
|
||||
|
||||
$origPwd = `pwd`;
|
||||
chomp $origPwd;
|
||||
|
||||
$kde_confdir = "/etc/kde3";
|
||||
$kde_prefix = "/usr";
|
||||
$kde_bindir = "$kde_prefix/bin";
|
||||
$kde_includedir = "$kde_prefix/include/kde";
|
||||
$kde_libdir = "$kde_prefix/lib";
|
||||
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
|
||||
$kde_moduledir = "$kde_prefix/lib/kde3";
|
||||
$kde_appsdir = "$kde_prefix/share/applnk";
|
||||
$kde_datadir = "$kde_prefix/share/apps";
|
||||
$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
|
||||
$kde_icondir = "$kde_prefix/share/icons";
|
||||
$kde_locale = "$kde_prefix/share/locale";
|
||||
$kde_mimedir = "$kde_prefix/share/mimelnk";
|
||||
$kde_servicesdir = "$kde_prefix/share/services";
|
||||
$kde_servicetypesdir = "$kde_prefix/share/servicetypes";
|
||||
$kde_sounddir = "$kde_prefix/share/sounds";
|
||||
$kde_templatesdir = "$kde_prefix/share/templates";
|
||||
$kde_wallpaperdir = "$kde_prefix/share/wallpapers";
|
||||
|
||||
$mandir = "$kde_prefix/share/man";
|
||||
$infodir = "$kde_prefix/share/info";
|
||||
$sysconfdir = "/etc";
|
||||
|
||||
$QTDIR = "/usr/share/qt3";
|
||||
$IDL = "$kde_bindir/cuteidl";
|
||||
$DCOPIDL = "$kde_bindir/dcopidl";
|
||||
$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp";
|
||||
$KDB2HTML = "$kde_bindir/kdb2html";
|
||||
$MCOPIDL = "$kde_bindir/mcopidl";
|
||||
$ARTSCCONFIG = "$kde_bindir/artsc-config";
|
||||
|
||||
if (defined $ENV{DEB_BUILD_OPTIONS} &&
|
||||
$ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
|
||||
$enable_debug="--enable-debug";
|
||||
$enable_final="";
|
||||
}
|
||||
else {
|
||||
$enable_debug="--disable-debug";
|
||||
if (defined $ENV{DEB_BUILD_OPTIONS} &&
|
||||
$ENV{DEB_BUILD_OPTIONS} =~ /\bnofinal\b/) {
|
||||
$enable_final="";
|
||||
} else {
|
||||
$enable_final="--enable-final";
|
||||
}
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echodirs') {
|
||||
print STDOUT "export kde_confdir=$kde_confdir\n";
|
||||
print STDOUT "export kde_prefix=$kde_prefix\n";
|
||||
print STDOUT "export kde_bindir=$kde_bindir\n";
|
||||
print STDOUT "export kde_includedir=$kde_includedir\n";
|
||||
print STDOUT "export kde_libdir=$kde_libdir\n";
|
||||
print STDOUT "export kde_cgidir=$kde_cgidir\n";
|
||||
print STDOUT "export kde_moduledir=$kde_moduledir\n";
|
||||
print STDOUT "export kde_appsdir=$kde_appsdir\n";
|
||||
print STDOUT "export kde_datadir=$kde_datadir\n";
|
||||
print STDOUT "export kde_htmldir=$kde_htmldir\n";
|
||||
print STDOUT "export kde_icondir=$kde_icondir\n";
|
||||
print STDOUT "export kde_locale=$kde_locale\n";
|
||||
print STDOUT "export kde_mimedir=$kde_mimedir\n";
|
||||
print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
|
||||
print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
|
||||
print STDOUT "export kde_sounddir=$kde_sounddir\n";
|
||||
print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
|
||||
print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
|
||||
|
||||
print STDOUT "export mandir=$mandir\n";
|
||||
print STDOUT "export infodir=$infodir\n";
|
||||
print STDOUT "export sysconfdir=$sysconfdir\n";
|
||||
|
||||
print STDOUT "export QTDIR=$QTDIR\n";
|
||||
print STDOUT "export IDL=$IDL\n";
|
||||
print STDOUT "export DCOPIDL=$DCOPIDL\n";
|
||||
print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
|
||||
print STDOUT "export KDB2HTML=$KDB2HTML\n";
|
||||
print STDOUT "export MCOPIDL=$MCOPIDL\n";
|
||||
print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
|
||||
print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
|
||||
|
||||
print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n";
|
||||
print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echoglobals') {
|
||||
print STDOUT "[Directories]\n";
|
||||
print STDOUT "dir_config=$kde_confdir\n";
|
||||
print STDOUT "dir_tmp=/tmp\n";
|
||||
print STDOUT "dir_socket=/tmp\n";
|
||||
print STDOUT "dir_exe=$kde_bindir\n";
|
||||
print STDOUT "dir_lib=$kde_libdir\n";
|
||||
print STDOUT "dir_cgi=$kde_cgidir\n";
|
||||
print STDOUT "dir_module=$kde_moduledir\n";
|
||||
print STDOUT "dir_apps=$kde_appsdir\n";
|
||||
print STDOUT "dir_data=$kde_datadir\n";
|
||||
print STDOUT "dir_html=$kde_htmldir\n";
|
||||
print STDOUT "dir_icon=$kde_icondir\n";
|
||||
print STDOUT "dir_locale=$kde_locale\n";
|
||||
print STDOUT "dir_mime=$kde_mimedir\n";
|
||||
print STDOUT "dir_services=$kde_servicesdir\n";
|
||||
print STDOUT "dir_servicetypes=$kde_servicetypesdir\n";
|
||||
print STDOUT "dir_sound=$kde_sounddir\n";
|
||||
print STDOUT "dir_templates=$kde_templatesdir\n";
|
||||
print STDOUT "dir_wallpaper=$kde_wallpaperdir\n";
|
||||
print STDOUT "[General]\n";
|
||||
print STDOUT "TerminalApplication=x-terminal-emulator\n";
|
||||
exit
|
||||
}
|
||||
411
admin2_5/depcomp
Executable file
411
admin2_5/depcomp
Executable file
@@ -0,0 +1,411 @@
|
||||
#! /bin/sh
|
||||
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
# `libtool' can also be set to `yes' or `no'.
|
||||
|
||||
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. This file always lives in the current directory.
|
||||
# Also, the AIX compiler puts `$object:' at the start of each line;
|
||||
# $object doesn't have directory information.
|
||||
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
||||
tmpdepfile="$stripped.u"
|
||||
outname="$stripped.o"
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
"$@" -M
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
|
||||
tmpdepfile1="$object.d"
|
||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile1"; then
|
||||
tmpdepfile="$tmpdepfile1"
|
||||
else
|
||||
tmpdepfile="$tmpdepfile2"
|
||||
fi
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a space and a tab in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*) # this is libtool, let us make it quiet
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case "$arg" in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
# X makedepend
|
||||
(
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in no)
|
||||
set ""; shift
|
||||
cleared=yes
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
-*)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tail +3 "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
251
admin2_5/install-sh
Executable file
251
admin2_5/install-sh
Executable file
@@ -0,0 +1,251 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
||||
#
|
||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
||||
#
|
||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
||||
# documentation for any purpose is hereby granted without fee, provided that
|
||||
# the above copyright notice appear in all copies and that both that
|
||||
# copyright notice and this permission notice appear in supporting
|
||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
||||
# publicity pertaining to distribution of the software without specific,
|
||||
# written prior permission. M.I.T. makes no representations about the
|
||||
# suitability of this software for any purpose. It is provided "as is"
|
||||
# without express or implied warranty.
|
||||
#
|
||||
# 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}"
|
||||
|
||||
transformbasename=""
|
||||
transform_arg=""
|
||||
instcmd="$mvprog"
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
dir_arg=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd="$cpprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd="$stripprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
# this colon is to work around a 386BSD /bin/sh bug
|
||||
:
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "install: no input file specified"
|
||||
exit 1
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]; then
|
||||
dst=$src
|
||||
src=""
|
||||
|
||||
if [ -d $dst ]; then
|
||||
instcmd=:
|
||||
chmodcmd=""
|
||||
else
|
||||
instcmd=$mkdirprog
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
||||
if [ -f "$src" ] || [ -d "$src" ]
|
||||
then
|
||||
:
|
||||
else
|
||||
echo "install: $src does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "install: no destination specified"
|
||||
exit 1
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d $dst ]
|
||||
then
|
||||
dst="$dst"/`basename $src`
|
||||
else
|
||||
:
|
||||
fi
|
||||
fi
|
||||
|
||||
## this sed command emulates the dirname command
|
||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if [ ! -d "$dstdir" ]; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-${defaultIFS}}"
|
||||
|
||||
oIFS="${IFS}"
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS="${oIFS}"
|
||||
|
||||
pathcomp=''
|
||||
|
||||
while [ $# -ne 0 ] ; do
|
||||
pathcomp="${pathcomp}${1}"
|
||||
shift
|
||||
|
||||
if [ ! -d "${pathcomp}" ] ;
|
||||
then
|
||||
$mkdirprog "${pathcomp}"
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
pathcomp="${pathcomp}/"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]
|
||||
then
|
||||
$doit $instcmd $dst &&
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
|
||||
else
|
||||
|
||||
# If we're going to rename the final executable, determine the name now.
|
||||
|
||||
if [ x"$transformarg" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
dstfile=`basename $dst $transformbasename |
|
||||
sed $transformarg`$transformbasename
|
||||
fi
|
||||
|
||||
# don't allow the sed command to completely eliminate the filename
|
||||
|
||||
if [ x"$dstfile" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
# Make a temp file name in the proper directory.
|
||||
|
||||
dsttmp=$dstdir/#inst.$$#
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd $src $dsttmp &&
|
||||
|
||||
trap "rm -f ${dsttmp}" 0 &&
|
||||
|
||||
# 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 $instcmd $src $dsttmp" command.
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
||||
|
||||
fi &&
|
||||
|
||||
|
||||
exit 0
|
||||
5400
admin2_5/libtool.m4.in
vendored
Normal file
5400
admin2_5/libtool.m4.in
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5572
admin2_5/ltmain.sh
Normal file
5572
admin2_5/ltmain.sh
Normal file
File diff suppressed because it is too large
Load Diff
336
admin2_5/missing
Executable file
336
admin2_5/missing
Executable file
@@ -0,0 +1,336 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing 0.4 - GNU automake"
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aclocal*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1Help2man' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||
# We have makeinfo, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequirements for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
111
admin2_5/mkinstalldirs
Executable file
111
admin2_5/mkinstalldirs
Executable file
@@ -0,0 +1,111 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
||||
usage="\
|
||||
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||
|
||||
# process command line arguments
|
||||
while test $# -gt 0 ; do
|
||||
case $1 in
|
||||
-h | --help | --h*) # -h for help
|
||||
echo "$usage" 1>&2
|
||||
exit 0
|
||||
;;
|
||||
-m) # -m PERM arg
|
||||
shift
|
||||
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||
dirmode=$1
|
||||
shift
|
||||
;;
|
||||
--) # stop option processing
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*) # unknown option
|
||||
echo "$usage" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
*) # first non-opt arg
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for file
|
||||
do
|
||||
if test -d "$file"; then
|
||||
shift
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
case $# in
|
||||
0) exit 0 ;;
|
||||
esac
|
||||
|
||||
case $dirmode in
|
||||
'')
|
||||
if mkdir -p -- . 2>/dev/null; then
|
||||
echo "mkdir -p -- $*"
|
||||
exec mkdir -p -- "$@"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||
echo "mkdir -m $dirmode -p -- $*"
|
||||
exec mkdir -m "$dirmode" -p -- "$@"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case $pathcomp in
|
||||
-*) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
else
|
||||
if test ! -z "$dirmode"; then
|
||||
echo "chmod $dirmode $pathcomp"
|
||||
lasterr=""
|
||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -z "$lasterr"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# End:
|
||||
# mkinstalldirs ends here
|
||||
371
admin2_5/nmcheck
Executable file
371
admin2_5/nmcheck
Executable file
@@ -0,0 +1,371 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# Check namespace cleanness of a library.
|
||||
# Allowed symbols are passed as arguments.
|
||||
# They may have trailing * = wildcard.
|
||||
# Wildcards may be also specified as *::* (e.g. K*::* for all KDE classes)
|
||||
# Symbols are listed as full function unmangled names without arguments,
|
||||
# e.g. 'foo bar* nspace::*' allows foo(), foo(int), bar(), barbar()
|
||||
# and all symbols in namespace/class nspace.
|
||||
# If an argument has comma in it, it's a filename of a file containing
|
||||
# allowed symbols, one per line.
|
||||
|
||||
|
||||
$thisProg = "$0"; # This programs name
|
||||
|
||||
$library = "";
|
||||
$allowed_symbols = "";
|
||||
$debug = 0;
|
||||
$allowed_weak = "";
|
||||
$weak_specified = 0;
|
||||
|
||||
while( defined( $ARGV[ 0 ] ))
|
||||
{
|
||||
$_ = shift;
|
||||
if( /^--verbose$|^-v$/ )
|
||||
{
|
||||
$debug = 1;
|
||||
}
|
||||
elsif( /^--help$|^-h$/ )
|
||||
{
|
||||
print STDOUT "Usage $thisProg [OPTION] ... library [allowed symbols] ...\n",
|
||||
"\n",
|
||||
"Check if the given library has only allowed public symbols.\n",
|
||||
"\n",
|
||||
" --allowweak=[symbol] allow only these weak symbols\n",
|
||||
" -v, --verbose verbosely list files processed\n",
|
||||
" -h, --help print this help, then exit\n";
|
||||
exit 0;
|
||||
}
|
||||
elsif( /^--allowweak=(.*)$/ )
|
||||
{
|
||||
$allowed_weak .= " " . $1;
|
||||
$weak_specified = 1;
|
||||
}
|
||||
elsif( /^--allowweak$/ ) # simply list all weak
|
||||
{
|
||||
$allowed_weak .= " ";
|
||||
$weak_specified = 1;
|
||||
}
|
||||
elsif( /^--*/ )
|
||||
{
|
||||
die "Invalid argument!\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
if( ! $library )
|
||||
{
|
||||
$library = $_;
|
||||
}
|
||||
else
|
||||
{
|
||||
$allowed_symbols .= " " . $_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( ! $weak_specified )
|
||||
{
|
||||
$allowed_weak = "*";
|
||||
# allow all weak symbols by default
|
||||
# instances of templates and similar stuff - unfortunately includes also things from other libraries,
|
||||
# so it cannot be on by default
|
||||
}
|
||||
|
||||
print STDERR "library:" . $library . "\n" if $debug;
|
||||
print STDERR "allowed_symbols:" . $allowed_symbols . "\n" if $debug;
|
||||
print STDERR "allowed_weak:" . $allowed_weak . "\n" if $debug;
|
||||
|
||||
$default_symbols = "_fini _init"; # system symbols
|
||||
# on my system, every .so has :
|
||||
# A _DYNAMIC
|
||||
# A _GLOBAL_OFFSET_TABLE_
|
||||
# A __bss_start
|
||||
# A _edata
|
||||
# A _end
|
||||
# T _fini
|
||||
# T _init
|
||||
# no need to list A symbols in $default_symbols
|
||||
|
||||
print STDERR "default_symbols: " . $default_symbols . "\n" if $debug;
|
||||
|
||||
print STDOUT "Namespace cleanness check for " . $library . " :\n";
|
||||
|
||||
$lib_file = "";
|
||||
if( $library =~ /\.la$/ )
|
||||
{
|
||||
# get the real library file from .la
|
||||
open( FILEIN, $library ) || die "Couldn't open $! !\n";
|
||||
while( $line = <FILEIN> )
|
||||
{
|
||||
if( $line =~ /library_names=\'([^ ]*).*/o )
|
||||
{
|
||||
$lib_file = $1;
|
||||
}
|
||||
}
|
||||
close( FILEIN );
|
||||
if( ! $lib_file )
|
||||
{
|
||||
print STDERR "Library file not found in .la file!\n";
|
||||
exit 1;
|
||||
}
|
||||
my $libpath = $library;
|
||||
$libpath =~ s%[^/]*$%%;
|
||||
if( -e $libpath . ".libs/" . $lib_file )
|
||||
{
|
||||
$lib_file = $libpath . ".libs/" . $lib_file;
|
||||
}
|
||||
else
|
||||
{
|
||||
$lib_file = $libpath . $lib_file;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$lib_file = $library;
|
||||
}
|
||||
|
||||
print STDERR "libfile: ". $lib_file . "\n" if $debug;
|
||||
|
||||
$allowed_symbols .= " " . $default_symbols;
|
||||
|
||||
sub process_symbols($\@\%\@);
|
||||
|
||||
@wildcards = ();
|
||||
%exacts = ();
|
||||
@regwildcards = ();
|
||||
process_symbols( $allowed_symbols, @wildcards, %exacts, @regwildcards );
|
||||
@weak_wildcards = ();
|
||||
%weak_exacts = ();
|
||||
@weak_regwildcards = ();
|
||||
process_symbols( $allowed_weak, @weak_wildcards, %weak_exacts, @weak_regwildcards );
|
||||
|
||||
# grep is for stripping not exported symbols, which don't have address (=first column)
|
||||
$nm_command = "nm -BDCg " . $lib_file . " | grep -v '^ ' |";
|
||||
|
||||
# TODO how portable is this nmcheck stuff?
|
||||
|
||||
print STDERR "nm command:" . $nm_command . "\n" if $debug;
|
||||
|
||||
open( FILEIN, $nm_command ) || die "nm command failed\n";
|
||||
|
||||
my $exit_code = 0;
|
||||
|
||||
while( $line = <FILEIN> )
|
||||
{
|
||||
my $type;
|
||||
my $symbol;
|
||||
if( $line =~ /^[^ ]* (.) (.*)$/o )
|
||||
{
|
||||
$type = $1;
|
||||
$symbol = $2;
|
||||
}
|
||||
else
|
||||
{
|
||||
die "Invalid line: " . $line . "\n";
|
||||
}
|
||||
|
||||
print STDERR "Type: " . $type . " , symbol: " . $symbol . "\n" if $debug;
|
||||
if( $type eq "A" )
|
||||
{ # these should be system symbols, so ignore them
|
||||
next;
|
||||
}
|
||||
|
||||
my $orig_symbol = $symbol;
|
||||
|
||||
if( $symbol =~ /\(anonymous namespace\)/o )
|
||||
{ # TODO tell to prefer named namespaces? (shorter symbols)
|
||||
next;
|
||||
}
|
||||
|
||||
# strip prefixes
|
||||
# the :: appending is to make "CLASS::*" work also for "vtable for CLASS"
|
||||
$symbol =~ s/^typeinfo for (.*)$/$1::/o;
|
||||
$symbol =~ s/^typeinfo fn for (.*)$/$1::/o;
|
||||
$symbol =~ s/^typeinfo name for (.*)$/$1::/o;
|
||||
$symbol =~ s/^vtable for (.*)$/$1::/o;
|
||||
$symbol =~ s/^guard variable for (.*)$/$1::/o;
|
||||
$symbol =~ s/^reference temporary for (.*)$/$1::/o;
|
||||
$symbol =~ s/^VTT for (.*)$/$1::/o;
|
||||
$symbol =~ s/^virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
|
||||
$symbol =~ s/^non-virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
|
||||
$symbol =~ s/^covariant return thunk \[[^\]]*\] to (.*)$/$1::/o;
|
||||
$symbol =~ s/^construction vtable thunk for (.*)$/$1::/o;
|
||||
$symbol =~ s/^construction vtable for .*-in-(.*) [0-9]*$/$1::/o;
|
||||
|
||||
# templates seem to have also return types mangled in their name, and nm prints it too
|
||||
# they have also template arguments in the symbol
|
||||
# get rid of both of those
|
||||
while( $symbol =~ /<.*>/o )
|
||||
{
|
||||
$symbol =~ s/<[^<>]*>//o; # strip innermost <>
|
||||
}
|
||||
if( $symbol !~ /operator\(\)/o )
|
||||
{
|
||||
$symbol =~ s/ ?\(.*\).*$//o; # strip () and all after it
|
||||
}
|
||||
else
|
||||
{
|
||||
$symbol =~ s/(^|:| )operator\(\) ?\(.*\).*$//o; # strip () and all after it
|
||||
}
|
||||
$symbol =~ s/\[.*\] *$//o; # strip [in-charge] etc.
|
||||
if( $symbol =~ /(^|:| )operator /o )
|
||||
{
|
||||
$symbol =~ s/.* ([^\s]*)operator /$1/o; # strip everything before 'X::operator blah'
|
||||
}
|
||||
else
|
||||
{
|
||||
$symbol =~ s/.* ([^\s]+) *$/$1/o; # get last word (strip return type)
|
||||
}
|
||||
|
||||
# print STDERR "Processed symbol: " . $symbol . "\n" if $debug;
|
||||
|
||||
my $found = 0;
|
||||
if( $exacts{ $symbol } )
|
||||
{
|
||||
$found = 1;
|
||||
}
|
||||
if( ! $found )
|
||||
{
|
||||
for my $wild ( @wildcards )
|
||||
{
|
||||
if( index( $symbol, $wild ) == 0 )
|
||||
{
|
||||
$found = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
if( ! $found )
|
||||
{
|
||||
for my $wild ( @regwildcards )
|
||||
{
|
||||
if( $symbol =~ /^$wild$/ )
|
||||
{
|
||||
$found = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
if( ( ! $found ) && ( $type eq "W" || $type eq "V" ))
|
||||
{
|
||||
if( $weak_exacts{ $symbol } )
|
||||
{
|
||||
$found = 1;
|
||||
}
|
||||
if( ! $found )
|
||||
{
|
||||
for my $wild ( @weak_wildcards )
|
||||
{
|
||||
if( index( $symbol, $wild ) == 0 )
|
||||
{
|
||||
$found = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
if( ! $found )
|
||||
{
|
||||
for my $wild ( @weak_regwildcards )
|
||||
{
|
||||
if( $symbol =~ /^$wild$/ )
|
||||
{
|
||||
$found = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( ! $found )
|
||||
{
|
||||
print STDERR "Public symbol " . $orig_symbol . " is not allowed!\n";
|
||||
$exit_code = 1;
|
||||
}
|
||||
}
|
||||
|
||||
close( FILEIN );
|
||||
|
||||
print STDOUT $exit_code == 0 ? "OK\n" : "FAILED\n";
|
||||
|
||||
exit $exit_code;
|
||||
|
||||
sub process_symbols($\@\%\@)
|
||||
{
|
||||
my $allowed_symbols = $_[ 0 ];
|
||||
my $wildcards_ref = $_[ 1 ];
|
||||
my $exacts_ref = $_[ 2 ];
|
||||
my $regwildcards_ref = $_[ 3 ];
|
||||
|
||||
$allowed_symbols =~ s/^ *//o; # strip whitespace
|
||||
$allowed_symbols =~ s/ *$//o;
|
||||
|
||||
if( $allowed_symbols eq "NONE" )
|
||||
{
|
||||
$allowed_symbols = "";
|
||||
}
|
||||
|
||||
my @symbols1 = split( ' ', $allowed_symbols );
|
||||
my $i = 0;
|
||||
my @symbols2 = ();
|
||||
while( defined( $symbols1[ $i ] ))
|
||||
{
|
||||
my $symbol = $symbols1[ $i ];
|
||||
if( $symbol =~ /\./ ) # dot in name -> file
|
||||
{
|
||||
open( SYMIN, $symbol ) || die ( "Cannot open file " . $symbol . "!" );
|
||||
while( $line = <SYMIN> )
|
||||
{
|
||||
$line =~ s/^\s*//o; # strip whitespace
|
||||
$line =~ s/\s*$//o;
|
||||
if( $line !~ /^$/o # empty line
|
||||
&& $line !~ /^\s*#/ ) # comment line starting with #
|
||||
{
|
||||
$symbols2[ $#symbols2 + 1 ] = $line;
|
||||
}
|
||||
}
|
||||
close( SYMIN );
|
||||
}
|
||||
else
|
||||
{
|
||||
$symbols2[ $#symbols2 + 1 ] = $symbol;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
$i = 0;
|
||||
while( defined( $symbols2[ $i ] ))
|
||||
{
|
||||
my $symbol = $symbols2[ $i ];
|
||||
if( $symbol =~ /__/
|
||||
|| $symbol =~ /^_[A-Z]/ )
|
||||
{ # ISO C++ 2.10.2
|
||||
die "Symbols containing a double underscore or beginning with an underscore and an upper-case letter are reserved!\n";
|
||||
}
|
||||
elsif( $symbol eq "main"
|
||||
|| $symbol eq "main*" )
|
||||
{
|
||||
die "Symbol main is not allowed!\n";
|
||||
}
|
||||
if( $symbol =~ /^([^\*]*)\*$/o # trailing * without any * before it
|
||||
&& $symbol !~ /operator\*$/o )
|
||||
{
|
||||
print STDERR "wildcard:" . $symbol . "\n" if $debug;
|
||||
$wildcards_ref->[ $#{$wildcards_ref} + 1 ] = $1;
|
||||
}
|
||||
elsif( $symbol =~ /\*$/o
|
||||
&& ( $symbol =~ /\*::/o || $symbol =~ /::\*/o )
|
||||
&& $symbol !~ /^\*/o
|
||||
&& $symbol !~ /operator\*$/o )
|
||||
{
|
||||
print STDERR "regwildcard:" . $symbol . "\n" if $debug;
|
||||
$symbol =~ s/\*/\.\*/go; # change * to .* (regexp)
|
||||
$regwildcards_ref->[ $#{$regwildcards_ref} + 1 ] = $symbol;
|
||||
}
|
||||
else
|
||||
{
|
||||
print STDERR "exact:" . $symbol . "\n" if $debug;
|
||||
$exacts_ref->{ $symbol } = 1;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
143
admin2_5/ylwrap
Executable file
143
admin2_5/ylwrap
Executable file
@@ -0,0 +1,143 @@
|
||||
#! /bin/sh
|
||||
# ylwrap - wrapper for lex/yacc invocations.
|
||||
# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Usage:
|
||||
# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
|
||||
# * INPUT is the input file
|
||||
# * OUTPUT is file PROG generates
|
||||
# * DESIRED is file we actually want
|
||||
# * PROGRAM is program to run
|
||||
# * ARGS are passed to PROG
|
||||
# Any number of OUTPUT,DESIRED pairs may be used.
|
||||
|
||||
# The input.
|
||||
input="$1"
|
||||
shift
|
||||
case "$input" in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
# Absolute path; do nothing.
|
||||
;;
|
||||
*)
|
||||
# Relative path. Make it absolute.
|
||||
input="`pwd`/$input"
|
||||
;;
|
||||
esac
|
||||
|
||||
# The directory holding the input.
|
||||
input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
|
||||
# Quote $INPUT_DIR so we can use it in a regexp.
|
||||
# FIXME: really we should care about more than `.' and `\'.
|
||||
input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
|
||||
|
||||
echo "got $input_rx"
|
||||
|
||||
pairlist=
|
||||
while test "$#" -ne 0; do
|
||||
if test "$1" = "--"; then
|
||||
shift
|
||||
break
|
||||
fi
|
||||
pairlist="$pairlist $1"
|
||||
shift
|
||||
done
|
||||
|
||||
# The program to run.
|
||||
prog="$1"
|
||||
shift
|
||||
# Make any relative path in $prog absolute.
|
||||
case "$prog" in
|
||||
[\\/]* | ?:[\\/]*) ;;
|
||||
*[\\/]*) prog="`pwd`/$prog" ;;
|
||||
esac
|
||||
|
||||
# FIXME: add hostname here for parallel makes that run commands on
|
||||
# other machines. But that might take us over the 14-char limit.
|
||||
dirname=ylwrap$$
|
||||
trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
|
||||
mkdir $dirname || exit 1
|
||||
|
||||
cd $dirname
|
||||
|
||||
$prog ${1+"$@"} "$input"
|
||||
status=$?
|
||||
|
||||
if test $status -eq 0; then
|
||||
set X $pairlist
|
||||
shift
|
||||
first=yes
|
||||
# Since DOS filename conventions don't allow two dots,
|
||||
# the DOS version of Bison writes out y_tab.c instead of y.tab.c
|
||||
# and y_tab.h instead of y.tab.h. Test to see if this is the case.
|
||||
y_tab_nodot="no"
|
||||
if test -f y_tab.c || test -f y_tab.h; then
|
||||
y_tab_nodot="yes"
|
||||
fi
|
||||
|
||||
while test "$#" -ne 0; do
|
||||
from="$1"
|
||||
# Handle y_tab.c and y_tab.h output by DOS
|
||||
if test $y_tab_nodot = "yes"; then
|
||||
if test $from = "y.tab.c"; then
|
||||
from="y_tab.c"
|
||||
else
|
||||
if test $from = "y.tab.h"; then
|
||||
from="y_tab.h"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test -f "$from"; then
|
||||
# If $2 is an absolute path name, then just use that,
|
||||
# otherwise prepend `../'.
|
||||
case "$2" in
|
||||
[\\/]* | ?:[\\/]*) target="$2";;
|
||||
*) target="../$2";;
|
||||
esac
|
||||
|
||||
# Edit out `#line' or `#' directives. We don't want the
|
||||
# resulting debug information to point at an absolute srcdir;
|
||||
# it is better for it to just mention the .y file with no
|
||||
# path.
|
||||
sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
|
||||
else
|
||||
# A missing file is only an error for the first file. This
|
||||
# is a blatant hack to let us support using "yacc -d". If -d
|
||||
# is not specified, we don't want an error when the header
|
||||
# file is "missing".
|
||||
if test $first = yes; then
|
||||
status=1
|
||||
fi
|
||||
fi
|
||||
shift
|
||||
shift
|
||||
first=no
|
||||
done
|
||||
else
|
||||
status=$?
|
||||
fi
|
||||
|
||||
# Remove the directory.
|
||||
cd ..
|
||||
rm -rf $dirname
|
||||
|
||||
exit $status
|
||||
37
configure.in
37
configure.in
@@ -36,7 +36,7 @@ dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(kdenlive, 0.2.0) dnl searches for some needed programs
|
||||
AM_INIT_AUTOMAKE(kdenlive, 0.2.2) dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
@@ -67,15 +67,26 @@ dnl KDE_NEED_FLEX dnl __kdevelop__
|
||||
dnl AC_PROG_YACC dnl __kdevelop__
|
||||
|
||||
KDE_CREATE_SUBDIRSLIST
|
||||
AC_OUTPUT( \
|
||||
./Makefile \
|
||||
doc/Makefile \
|
||||
doc/en/Makefile \
|
||||
graphics/Makefile \
|
||||
icons/Makefile \
|
||||
icons/hicolor/Makefile \
|
||||
icons/hicolor/32x32/Makefile \
|
||||
icons/hicolor/32x32/actions/Makefile \
|
||||
kdenlive/Makefile \
|
||||
po/Makefile \
|
||||
)
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_CONFIG_FILES([ doc/Makefile ])
|
||||
AC_CONFIG_FILES([ doc/en/Makefile ])
|
||||
AC_CONFIG_FILES([ graphics/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/hicolor/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/hicolor/32x32/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/hicolor/32x32/actions/Makefile ])
|
||||
AC_CONFIG_FILES([ kdenlive/Makefile ])
|
||||
AC_CONFIG_FILES([ po/Makefile ])
|
||||
AC_OUTPUT
|
||||
if test "$all_tests" = "bad"; then
|
||||
if test ! "$cache_file" = "/dev/null"; then
|
||||
echo ""
|
||||
echo "Please remove the file $cache_file after changing your setup"
|
||||
echo "so that configure will find the changes next time."
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Good - your configure finished. Start make now"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
|
||||
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.0//EN" "dtd/kdex.dtd" [
|
||||
<!ENTITY kdenlive '<application>Kdenlive</application>'>
|
||||
<!ENTITY kapp "&kdenlive;"><!-- replace kdenlive here -->
|
||||
<!ENTITY % addindex "IGNORE">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
####### kdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = moveresize.png razor.png snaptoborder.png snaptoframe.png spacer.png
|
||||
EXTRA_DIST = moveresize.png razor.png snaptoborder.png snaptoframe.png spacer.png loadlayout1.png loadlayout2.png loadlayout3.png loadlayout4.png exportvideo.png
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
@@ -14,6 +14,16 @@ install-data-local:
|
||||
$(INSTALL_DATA) $(srcdir)/snaptoframe.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/snaptoframe.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/spacer.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/spacer.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/loadlayout1.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout1.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/loadlayout2.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout2.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/loadlayout3.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout3.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/loadlayout4.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout4.png
|
||||
$(mkinstalldirs) $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/
|
||||
$(INSTALL_DATA) $(srcdir)/exportvideo.png $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/exportvideo.png
|
||||
|
||||
uninstall-local:
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/moveresize.png
|
||||
@@ -21,5 +31,10 @@ uninstall-local:
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/snaptoborder.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/snaptoframe.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/spacer.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout1.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout2.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout3.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/loadlayout4.png
|
||||
-rm -f $(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/exportvideo.png
|
||||
|
||||
####### kdevelop will overwrite this part!!! (end)############
|
||||
|
||||
BIN
icons/hicolor/32x32/actions/exportvideo.png
Normal file
BIN
icons/hicolor/32x32/actions/exportvideo.png
Normal file
Binary file not shown.
BIN
icons/hicolor/32x32/actions/loadlayout1.png
Normal file
BIN
icons/hicolor/32x32/actions/loadlayout1.png
Normal file
Binary file not shown.
BIN
icons/hicolor/32x32/actions/loadlayout2.png
Normal file
BIN
icons/hicolor/32x32/actions/loadlayout2.png
Normal file
Binary file not shown.
BIN
icons/hicolor/32x32/actions/loadlayout3.png
Normal file
BIN
icons/hicolor/32x32/actions/loadlayout3.png
Normal file
Binary file not shown.
BIN
icons/hicolor/32x32/actions/loadlayout4.png
Normal file
BIN
icons/hicolor/32x32/actions/loadlayout4.png
Normal file
Binary file not shown.
812
kdenlive.kdevprj
812
kdenlive.kdevprj
@@ -1,812 +0,0 @@
|
||||
[AUTHORS]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[COPYING]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[ChangeLog]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[Config for BinMakefileAm]
|
||||
addcxxflags=
|
||||
bin_program=kdenlive
|
||||
cflags=
|
||||
cppflags=
|
||||
cxxflags=\s-O0 -g3 -Wall
|
||||
ldadd=\s$(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
|
||||
ldflags=\s \s
|
||||
|
||||
[General]
|
||||
AMChanged=false
|
||||
author=Jason Wood
|
||||
configure_args=--prefix=/usr --enable-debug\s
|
||||
email=jasonwood@blueyonder.co.uk
|
||||
kdevprj_version=1.3
|
||||
lfv_open_groups=
|
||||
make_options=\s-j1
|
||||
makefiles=Makefile.am,kdenlive/Makefile.am,doc/Makefile.am,doc/en/Makefile.am,po/Makefile.am,icons/Makefile.am,icons/hicolor/32x32/Makefile.am,icons/hicolor/Makefile.am,icons/hicolor/32x32/actions/Makefile.am,graphics/Makefile.am
|
||||
modifyMakefiles=true
|
||||
project_name=Kdenlive
|
||||
project_type=normal_kde2
|
||||
sgml_file=/home/uchian/kdenlive/doc/en/index.docbook
|
||||
short_info=
|
||||
sub_dir=kdenlive/
|
||||
version=0.2.0
|
||||
version_control=None
|
||||
workspace=1
|
||||
|
||||
[INSTALL]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[KPP]
|
||||
kpp_appgrp=Video
|
||||
kpp_bldroot=/var/tmp/kdenlive-build
|
||||
kpp_icon=0
|
||||
kpp_license=5
|
||||
kpp_summary=A non-linear Video Editor for KDE
|
||||
kpp_url=http://www.uchian.pwp.blueyonder.co.uk/kdenlive.html
|
||||
kpp_version=0.1
|
||||
|
||||
[LFV Groups]
|
||||
GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS
|
||||
Headers=*.h,*.hh,*.hxx,*.hpp,*.H
|
||||
Others=*
|
||||
Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l
|
||||
Translations=*.po
|
||||
User Interface=*.kdevdlg,*.ui,*.rc,*.dlg
|
||||
groups=Headers,Sources,User Interface,Translations,GNU,Others
|
||||
|
||||
[Makefile.am]
|
||||
files=kdenlive.kdevprj,admin,AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,kdenlive.lsm,kdenlive.spec
|
||||
sub_dirs=kdenlive,po,doc,icons,graphics
|
||||
type=normal
|
||||
|
||||
[README]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[TODO]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[admin]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[doc/Makefile.am]
|
||||
sub_dirs=en
|
||||
type=normal
|
||||
|
||||
[doc/en/Makefile.am]
|
||||
files=doc/en/index.docbook
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[doc/en/index.docbook]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=$$(kde_icondir)/locolor/16x16/apps/kdenlive.png
|
||||
type=DATA
|
||||
|
||||
[graphics/Makefile.am]
|
||||
files=graphics/norenderer.png
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[graphics/norenderer.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/graphics/norenderer.png
|
||||
type=DATA
|
||||
|
||||
[icons/Makefile.am]
|
||||
files=
|
||||
sub_dirs=hicolor
|
||||
type=normal
|
||||
|
||||
[icons/hicolor/32x32/Makefile.am]
|
||||
files=
|
||||
sub_dirs=actions
|
||||
type=normal
|
||||
|
||||
[icons/hicolor/32x32/actions/Makefile.am]
|
||||
files=icons/hicolor/32x32/actions/moveresize.png,icons/hicolor/32x32/actions/razor.png,icons/hicolor/32x32/actions/snaptoborder.png,icons/hicolor/32x32/actions/snaptoframe.png,icons/hicolor/32x32/actions/spacer.png
|
||||
sub_dirs=
|
||||
type=normal
|
||||
|
||||
[icons/hicolor/32x32/actions/moveresize.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/moveresize.png
|
||||
type=DATA
|
||||
|
||||
[icons/hicolor/32x32/actions/razor.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/razor.png
|
||||
type=DATA
|
||||
|
||||
[icons/hicolor/32x32/actions/snaptoborder.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/snaptoborder.png
|
||||
type=DATA
|
||||
|
||||
[icons/hicolor/32x32/actions/snaptoframe.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/snaptoframe.png
|
||||
type=DATA
|
||||
|
||||
[icons/hicolor/32x32/actions/spacer.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_datadir)/kdenlive/icons/hicolor/32x32/actions/spacer.png
|
||||
type=DATA
|
||||
|
||||
[icons/hicolor/Makefile.am]
|
||||
sub_dirs=32x32
|
||||
type=normal
|
||||
|
||||
[kdenlive.kdevprj]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[kdenlive.lsm]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[kdenlive.spec]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[kdenlive/Makefile.am]
|
||||
files=kdenlive/main.cpp,kdenlive/kdenlive.cpp,kdenlive/kdenlive.h,kdenlive/kdenlivedoc.cpp,kdenlive/kdenlivedoc.h,kdenlive/kdenliveview.cpp,kdenlive/kdenliveview.h,kdenlive/kdenliveui.rc,kdenlive/kdenlive.desktop,kdenlive/lo32-app-kdenlive.png,kdenlive/lo16-app-kdenlive.png,kdenlive/avlistviewitem.cpp,kdenlive/doctrackbase.cpp,kdenlive/doctracksound.cpp,kdenlive/doctrackvideo.cpp,kdenlive/kmmmonitor.cpp,kdenlive/kmmscreen.cpp,kdenlive/kmmtimeline.cpp,kdenlive/projectlist.cpp,kdenlive/addtrackdialog_ui.ui,kdenlive/avlistviewitem.h,kdenlive/doctrackbase.h,kdenlive/doctracksound.h,kdenlive/doctrackvideo.h,kdenlive/kmmmonitor.h,kdenlive/kmmscreen.h,kdenlive/kmmtimeline.h,kdenlive/projectlist.h,kdenlive/projectlist_ui.ui,kdenlive/clipdrag.cpp,kdenlive/clipdrag.h,kdenlive/kmmtrackvideopanel.cpp,kdenlive/kmmtrackvideopanel.h,kdenlive/kmmtracksoundpanel.cpp,kdenlive/kmmtracksoundpanel.h,kdenlive/docclipavfile.cpp,kdenlive/docclipavfile.h,kdenlive/docclipbase.cpp,kdenlive/docclipbase.h,kdenlive/docclipproject.cpp,kdenlive/docclipproject.h,kdenlive/projectlistview.cpp,kdenlive/projectlistview.h,kdenlive/kruler.cpp,kdenlive/kruler.h,kdenlive/kfixedruler.cpp,kdenlive/kfixedruler.h,kdenlive/krulermodel.cpp,kdenlive/krulermodel.h,kdenlive/kscalableruler.cpp,kdenlive/kscalableruler.h,kdenlive/krulersliderbase.cpp,kdenlive/krulersliderbase.h,kdenlive/krulertimemodel.cpp,kdenlive/krulertimemodel.h,kdenlive/avfile.cpp,kdenlive/avfile.h,kdenlive/kmmtrackpanel.cpp,kdenlive/kmmtrackpanel.h,kdenlive/kmmtimelinetrackview.cpp,kdenlive/kmmtimelinetrackview.h,kdenlive/docclipbaselist.cpp,kdenlive/docclipbaselist.h,kdenlive/kmmeditpanel_ui.ui,kdenlive/kmmeditpanel.cpp,kdenlive/kmmeditpanel.h,kdenlive/kmmrulerpanel.cpp,kdenlive/kmmrulerpanel.h,kdenlive/kmmrulerpanel_ui.ui,kdenlive/gentime.cpp,kdenlive/gentime.h,kdenlive/avfilelist.cpp,kdenlive/avfilelist.h,kdenlive/doctrackbaselist.cpp,kdenlive/doctrackbaselist.h,kdenlive/krender.cpp,kdenlive/krender.h,kdenlive/doctrackclipiterator.cpp,kdenlive/doctrackclipiterator.h,kdenlive/kmmtrackkeyframepanel.cpp,kdenlive/kmmtrackkeyframepanel.h,kdenlive/rangelist.cpp,kdenlive/rangelist.h,kdenlive/kmoveclipscommand.cpp,kdenlive/kmoveclipscommand.h,kdenlive/kselectclipcommand.cpp,kdenlive/kselectclipcommand.h,kdenlive/kaddclipcommand.cpp,kdenlive/kaddclipcommand.h,kdenlive/kresizecommand.cpp,kdenlive/kresizecommand.h,kdenlive/kdenlivesetupdlg.cpp,kdenlive/kdenlivesetupdlg.h,kdenlive/rendersetupdlg_ui.ui,kdenlive/rendersetupdlg.cpp,kdenlive/rendersetupdlg.h,kdenlive/renderdebugpanel.cpp,kdenlive/renderdebugpanel.h,kdenlive/aveffect.cpp,kdenlive/aveffect.h,kdenlive/aveffectparam.cpp,kdenlive/aveffectparam.h
|
||||
type=prog_main
|
||||
|
||||
[kdenlive/addtrackdialog_ui.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/aveffect.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/aveffect.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/aveffectparam.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/aveffectparam.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/avfile.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/avfile.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/avfilelist.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/avfilelist.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/avlistviewitem.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/avlistviewitem.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/clipdrag.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/clipdrag.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/docclipavfile.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/docclipavfile.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/docclipbase.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/docclipbase.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/docclipbaselist.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/docclipbaselist.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/docclipproject.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/docclipproject.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/doctrackbase.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/doctrackbase.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/doctrackbaselist.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/doctrackbaselist.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/doctrackclipiterator.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/doctrackclipiterator.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/doctracksound.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/doctracksound.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/doctrackvideo.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/doctrackvideo.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/gentime.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/gentime.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kaddclipcommand.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kaddclipcommand.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kdenlive.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kdenlive.desktop]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_appsdir)/Multimedia/kdenlive.desktop
|
||||
type=DATA
|
||||
|
||||
[kdenlive/kdenlive.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kdenlivedoc.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kdenlivedoc.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kdenlivesetupdlg.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kdenlivesetupdlg.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kdenliveui.rc]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=DATA
|
||||
|
||||
[kdenlive/kdenliveview.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kdenliveview.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kfixedruler.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kfixedruler.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmeditpanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmeditpanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmeditpanel_ui.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmmonitor.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmmonitor.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmrulerpanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmrulerpanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmrulerpanel_ui.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmscreen.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmscreen.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtimeline.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtimeline.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtimelinetrackview.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtimelinetrackview.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtrackkeyframepanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtrackkeyframepanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtrackpanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtrackpanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtracksoundpanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtracksoundpanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmmtrackvideopanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmmtrackvideopanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kmoveclipscommand.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kmoveclipscommand.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/krender.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/krender.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kresizecommand.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kresizecommand.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kruler.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kruler.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/krulermodel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/krulermodel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/krulersliderbase.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/krulersliderbase.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/krulertimemodel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/krulertimemodel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kscalableruler.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kscalableruler.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/kselectclipcommand.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/kselectclipcommand.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/lo16-app-kdenlive.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_icondir)/locolor/16x16/apps/kdenlive.png
|
||||
type=DATA
|
||||
|
||||
[kdenlive/lo32-app-kdenlive.png]
|
||||
dist=true
|
||||
install=true
|
||||
install_location=$$(kde_icondir)/locolor/32x32/apps/kdenlive.png
|
||||
type=DATA
|
||||
|
||||
[kdenlive/main.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/projectlist.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/projectlist.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/projectlist_ui.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/projectlistview.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/projectlistview.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/rangelist.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/rangelist.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/renderdebugpanel.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/renderdebugpanel.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/rendersetupdlg.cpp]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[kdenlive/rendersetupdlg.h]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=HEADER
|
||||
|
||||
[kdenlive/rendersetupdlg_ui.ui]
|
||||
dist=true
|
||||
install=false
|
||||
install_location=
|
||||
type=SOURCE
|
||||
|
||||
[po/Makefile.am]
|
||||
files=po/en_GB.po
|
||||
sub_dirs=
|
||||
type=po
|
||||
|
||||
[po/en_GB.po]
|
||||
dist=false
|
||||
install=false
|
||||
install_location=
|
||||
type=PO
|
||||
@@ -1,6 +1,6 @@
|
||||
Begin3
|
||||
Title: Kdenlive
|
||||
Version: 0.1
|
||||
Version: 0.3
|
||||
Entered-date:
|
||||
Description:
|
||||
Keywords:
|
||||
|
||||
45
kdenlive.spec
Normal file
45
kdenlive.spec
Normal file
@@ -0,0 +1,45 @@
|
||||
# This spec file was generated by Gideon
|
||||
# Please report any problem to KDevelop Team <kdevelop-devel@kdevelop.org>
|
||||
# Thanks to Matthias Saou for his explanations on http://freshrpms.net/docs/fight.html
|
||||
|
||||
Name: kdenlive
|
||||
Version: 0.2.2
|
||||
Release: 26/4/2003
|
||||
Vendor:
|
||||
Copyright: GPL
|
||||
Summary: A non-linear video editor
|
||||
Group:
|
||||
Packager: Jason Wood <jasonwood@blueyonder.co.uk>
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Source: kdenlive-0.2.2.tar.gz
|
||||
|
||||
%description
|
||||
Kdenlive is a non-linear vdeo editor for KDE. It relies on a seperate renderer, piave, to handle it's rendering. Kdenlive supports multitrack editing.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||
--target=i386
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/%{name}
|
||||
%{_mandir}/man8/*
|
||||
%changelog
|
||||
|
||||
@@ -3,11 +3,11 @@ bin_PROGRAMS = kdenlive
|
||||
|
||||
## INCLUDES were found outside kdevelop specific part
|
||||
|
||||
kdenlive_SOURCES = aveffectparam.cpp aveffect.cpp renderdebugpanel.cpp rendersetupdlg.cpp rendersetupdlg_ui.ui kdenlivesetupdlg.cpp kresizecommand.cpp kaddclipcommand.cpp kselectclipcommand.cpp kmoveclipscommand.cpp rangelist.cpp kmmtrackkeyframepanel.cpp doctrackclipiterator.cpp krender.cpp doctrackbaselist.cpp avfilelist.cpp gentime.cpp kmmrulerpanel_ui.ui kmmrulerpanel.cpp kmmeditpanel.cpp kmmeditpanel_ui.ui docclipbaselist.cpp kmmtimelinetrackview.cpp kmmtrackpanel.cpp avfile.cpp krulertimemodel.cpp krulersliderbase.cpp kscalableruler.cpp krulermodel.cpp kfixedruler.cpp kruler.cpp projectlistview.cpp docclipproject.cpp docclipbase.cpp docclipavfile.cpp kmmtracksoundpanel.cpp kmmtrackvideopanel.cpp clipdrag.cpp projectlist_ui.ui addtrackdialog_ui.ui projectlist.cpp kmmtimeline.cpp kmmscreen.cpp kmmmonitor.cpp doctrackvideo.cpp doctracksound.cpp doctrackbase.cpp avlistviewitem.cpp kdenliveview.cpp kdenlivedoc.cpp kdenlive.cpp main.cpp
|
||||
kdenlive_SOURCES = clippropertiesdialog.cpp effect.cpp displayaudiodesc.cpp displayvideodesc.cpp effectdesc.cpp effectparamdialog.cpp effectlistdialog.cpp avformatwidgetcodec.cpp avformatdesccodec.cpp avformatwidgetcodeclist.cpp avformatdesccodeclist.cpp avfileformatwidget.cpp avformatwidgetcontainer.cpp avformatdesccontainer.cpp avformatwidgetlist.cpp avformatwidgetbool.cpp avformatwidgetbase.cpp avformatdesclist.cpp avformatdescbool.cpp avformatdescbase.cpp avfileformatdesc.cpp exportdialog.cpp krendermanager.cpp renderdebugpanel.cpp rendersetupdlg.cpp rendersetupdlg_ui.ui kdenlivesetupdlg.cpp kresizecommand.cpp kaddclipcommand.cpp kselectclipcommand.cpp kmoveclipscommand.cpp rangelist.cpp kmmtrackkeyframepanel.cpp doctrackclipiterator.cpp krender.cpp doctrackbaselist.cpp avfilelist.cpp gentime.cpp kmmrulerpanel_ui.ui kmmrulerpanel.cpp kmmeditpanel.cpp kmmeditpanel_ui.ui docclipbaselist.cpp kmmtimelinetrackview.cpp kmmtrackpanel.cpp avfile.cpp krulertimemodel.cpp krulersliderbase.cpp kscalableruler.cpp krulermodel.cpp kfixedruler.cpp kruler.cpp projectlistview.cpp docclipproject.cpp docclipbase.cpp docclipavfile.cpp kmmtracksoundpanel.cpp kmmtrackvideopanel.cpp clipdrag.cpp projectlist_ui.ui addtrackdialog_ui.ui projectlist.cpp kmmtimeline.cpp kmmscreen.cpp kmmmonitor.cpp doctrackvideo.cpp doctracksound.cpp doctrackbase.cpp avlistviewitem.cpp kdenliveview.cpp kdenlivedoc.cpp kdenlive.cpp main.cpp monitormanager.h monitormanager.cpp
|
||||
kdenlive_LDADD = $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
|
||||
|
||||
|
||||
EXTRA_DIST = main.cpp kdenlive.cpp kdenlive.h kdenlivedoc.cpp kdenlivedoc.h kdenliveview.cpp kdenliveview.h kdenliveui.rc kdenlive.desktop lo32-app-kdenlive.png lo16-app-kdenlive.png avlistviewitem.cpp doctrackbase.cpp doctracksound.cpp doctrackvideo.cpp kmmmonitor.cpp kmmscreen.cpp kmmtimeline.cpp projectlist.cpp addtrackdialog_ui.ui avlistviewitem.h doctrackbase.h doctracksound.h doctrackvideo.h kmmmonitor.h kmmscreen.h kmmtimeline.h projectlist.h projectlist_ui.ui clipdrag.cpp clipdrag.h kmmtrackvideopanel.cpp kmmtrackvideopanel.h kmmtracksoundpanel.cpp kmmtracksoundpanel.h docclipavfile.cpp docclipavfile.h docclipbase.cpp docclipbase.h docclipproject.cpp docclipproject.h projectlistview.cpp projectlistview.h kruler.cpp kruler.h kfixedruler.cpp kfixedruler.h krulermodel.cpp krulermodel.h kscalableruler.cpp kscalableruler.h krulersliderbase.cpp krulersliderbase.h krulertimemodel.cpp krulertimemodel.h avfile.cpp avfile.h kmmtrackpanel.cpp kmmtrackpanel.h kmmtimelinetrackview.cpp kmmtimelinetrackview.h docclipbaselist.cpp docclipbaselist.h kmmeditpanel_ui.ui kmmeditpanel.cpp kmmeditpanel.h kmmrulerpanel.cpp kmmrulerpanel.h kmmrulerpanel_ui.ui gentime.cpp gentime.h avfilelist.cpp avfilelist.h doctrackbaselist.cpp doctrackbaselist.h krender.cpp krender.h doctrackclipiterator.cpp doctrackclipiterator.h kmmtrackkeyframepanel.cpp kmmtrackkeyframepanel.h rangelist.cpp rangelist.h kmoveclipscommand.cpp kmoveclipscommand.h kselectclipcommand.cpp kselectclipcommand.h kaddclipcommand.cpp kaddclipcommand.h kresizecommand.cpp kresizecommand.h kdenlivesetupdlg.cpp kdenlivesetupdlg.h rendersetupdlg_ui.ui rendersetupdlg.cpp rendersetupdlg.h renderdebugpanel.cpp renderdebugpanel.h aveffect.cpp aveffect.h aveffectparam.cpp aveffectparam.h
|
||||
EXTRA_DIST = main.cpp kdenlive.cpp kdenlive.h kdenlivedoc.cpp kdenlivedoc.h kdenliveview.cpp kdenliveview.h kdenliveui.rc kdenlive.desktop lo32-app-kdenlive.png lo16-app-kdenlive.png avlistviewitem.cpp doctrackbase.cpp doctracksound.cpp doctrackvideo.cpp kmmmonitor.cpp kmmscreen.cpp kmmtimeline.cpp projectlist.cpp addtrackdialog_ui.ui avlistviewitem.h doctrackbase.h doctracksound.h doctrackvideo.h kmmmonitor.h kmmscreen.h kmmtimeline.h projectlist.h projectlist_ui.ui clipdrag.cpp clipdrag.h kmmtrackvideopanel.cpp kmmtrackvideopanel.h kmmtracksoundpanel.cpp kmmtracksoundpanel.h docclipavfile.cpp docclipavfile.h docclipbase.cpp docclipbase.h docclipproject.cpp docclipproject.h projectlistview.cpp projectlistview.h kruler.cpp kruler.h kfixedruler.cpp kfixedruler.h krulermodel.cpp krulermodel.h kscalableruler.cpp kscalableruler.h krulersliderbase.cpp krulersliderbase.h krulertimemodel.cpp krulertimemodel.h avfile.cpp avfile.h kmmtrackpanel.cpp kmmtrackpanel.h kmmtimelinetrackview.cpp kmmtimelinetrackview.h docclipbaselist.cpp docclipbaselist.h kmmeditpanel_ui.ui kmmeditpanel.cpp kmmeditpanel.h kmmrulerpanel.cpp kmmrulerpanel.h kmmrulerpanel_ui.ui gentime.cpp gentime.h avfilelist.cpp avfilelist.h doctrackbaselist.cpp doctrackbaselist.h krender.cpp krender.h doctrackclipiterator.cpp doctrackclipiterator.h kmmtrackkeyframepanel.cpp kmmtrackkeyframepanel.h rangelist.cpp rangelist.h kmoveclipscommand.cpp kmoveclipscommand.h kselectclipcommand.cpp kselectclipcommand.h kaddclipcommand.cpp kaddclipcommand.h kresizecommand.cpp kresizecommand.h kdenlivesetupdlg.cpp kdenlivesetupdlg.h rendersetupdlg_ui.ui rendersetupdlg.cpp rendersetupdlg.h renderdebugpanel.cpp renderdebugpanel.h krendermanager.cpp krendermanager.h exportdialog.cpp exportdialog.h avfileformatdesc.cpp avfileformatdesc.h avformatdescbase.cpp avformatdescbase.h avformatdescbool.cpp avformatdescbool.h avformatdesclist.cpp avformatdesclist.h avformatwidgetbase.cpp avformatwidgetbase.h avformatwidgetbool.cpp avformatwidgetbool.h avformatwidgetlist.cpp avformatwidgetlist.h avformatdesccontainer.cpp avformatdesccontainer.h avformatwidgetcontainer.cpp avformatwidgetcontainer.h avfileformatwidget.cpp avfileformatwidget.h avformatdesccodeclist.cpp avformatdesccodeclist.h avformatwidgetcodeclist.cpp avformatwidgetcodeclist.h avformatdesccodec.cpp avformatdesccodec.h avformatwidgetcodec.cpp avformatwidgetcodec.h effectlistdialog.cpp effectlistdialog.h effectparamdialog.cpp effectparamdialog.h effectdesc.cpp effectdesc.h displayvideodesc.cpp displayvideodesc.h displayaudiodesc.cpp displayaudiodesc.h effect.cpp effect.h clippropertiesdialog.cpp clippropertiesdialog.h
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(kde_appsdir)/Multimedia/
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "avfile.h"
|
||||
|
||||
AVFile::AVFile(const QString name, const KURL url) :
|
||||
AVFile::AVFile(const QString &name, const KURL &url) :
|
||||
m_duration(0.0)
|
||||
{
|
||||
if(name.isNull()) {
|
||||
@@ -43,7 +43,7 @@ AVFile::~AVFile()
|
||||
}
|
||||
|
||||
/** Calculates properties for this file that will be useful for the rest of the program. */
|
||||
void AVFile::calculateFileProperties(QMap<QString, QString> attributes)
|
||||
void AVFile::calculateFileProperties(const QMap<QString, QString> &attributes)
|
||||
{
|
||||
if(m_url.isLocalFile()) {
|
||||
QFileInfo fileInfo(m_url.path());
|
||||
@@ -69,22 +69,23 @@ void AVFile::calculateFileProperties(QMap<QString, QString> attributes)
|
||||
}
|
||||
|
||||
/** Read property of QString m_name. */
|
||||
const QString& AVFile::name()
|
||||
const QString& AVFile::name() const
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
|
||||
/** Write property of QString m_name. */
|
||||
void AVFile::setName( const QString& _newVal){
|
||||
void AVFile::setName( const QString& _newVal)
|
||||
{
|
||||
m_name = _newVal;
|
||||
}
|
||||
|
||||
const QString AVFile::fileName()
|
||||
QString AVFile::fileName() const
|
||||
{
|
||||
return m_url.fileName();
|
||||
}
|
||||
|
||||
const KURL AVFile::fileURL()
|
||||
const KURL &AVFile::fileURL() const
|
||||
{
|
||||
return m_url;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#ifndef AVFILE_H
|
||||
#define AVFILE_H
|
||||
|
||||
#include <qptrlist.h>
|
||||
#include <qmap.h>
|
||||
#include <qstring.h>
|
||||
|
||||
@@ -37,18 +36,18 @@
|
||||
|
||||
class AVFile {
|
||||
public:
|
||||
AVFile(const QString name, const KURL url);
|
||||
AVFile(const QString &name, const KURL &url);
|
||||
~AVFile();
|
||||
/** Calculates properties for the file, including the size of the file, the duration of the file,
|
||||
* the file format, etc.
|
||||
**/
|
||||
void calculateFileProperties(QMap<QString, QString> attributes);
|
||||
void calculateFileProperties(const QMap<QString, QString> &attributes);
|
||||
/** Write property of QString m_name. */
|
||||
void setName( const QString& _newVal);
|
||||
/** Read property of QString m_name. */
|
||||
const QString& name();
|
||||
const QString fileName();
|
||||
const KURL fileURL();
|
||||
const QString& name() const;
|
||||
QString fileName() const;
|
||||
const KURL &fileURL() const;
|
||||
/** returns the size of the file */
|
||||
const signed int fileSize();
|
||||
int numReferences();
|
||||
|
||||
50
kdenlive/avfileformatdesc.cpp
Normal file
50
kdenlive/avfileformatdesc.cpp
Normal file
@@ -0,0 +1,50 @@
|
||||
/***************************************************************************
|
||||
avfileformatdesc.cpp - description
|
||||
-------------------
|
||||
begin : Tue Jan 21 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <qwidget.h>
|
||||
|
||||
#include "avfileformatdesc.h"
|
||||
#include "avfileformatwidget.h"
|
||||
|
||||
AVFileFormatDesc::AVFileFormatDesc(const QString &description, const QString &name) :
|
||||
AVFormatDescContainer(description, name),
|
||||
m_fileExtension(QString::null)
|
||||
{
|
||||
}
|
||||
|
||||
AVFileFormatDesc::~AVFileFormatDesc()
|
||||
{
|
||||
}
|
||||
|
||||
/** Create and return a widget that embodies this file format description. */
|
||||
AVFormatWidgetBase * AVFileFormatDesc::createWidget(QWidget *parent)
|
||||
{
|
||||
AVFileFormatWidget *widget = new AVFileFormatWidget(this, parent, m_name);
|
||||
return widget;
|
||||
}
|
||||
|
||||
/** Sets the file extenstion for this description. */
|
||||
void AVFileFormatDesc::setFileExtension(const QString &extension)
|
||||
{
|
||||
m_fileExtension = extension;
|
||||
}
|
||||
|
||||
/** Returns the file extension for this file format. */
|
||||
const QString &AVFileFormatDesc::fileExtension()
|
||||
{
|
||||
return m_fileExtension;
|
||||
}
|
||||
46
kdenlive/avfileformatdesc.h
Normal file
46
kdenlive/avfileformatdesc.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/***************************************************************************
|
||||
avfileformatdesc.h - description
|
||||
-------------------
|
||||
begin : Tue Jan 21 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFILEFORMATDESC_H
|
||||
#define AVFILEFORMATDESC_H
|
||||
|
||||
#include <qstring.h>
|
||||
#include "avformatdesccontainer.h"
|
||||
|
||||
/** Describes a file format. That is to say, it says what can and cannot exist within a
|
||||
file format, what parameters exist and can be set, etc.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class QWidget;
|
||||
|
||||
class AVFileFormatDesc : public AVFormatDescContainer {
|
||||
public:
|
||||
AVFileFormatDesc(const QString &description, const QString &name);
|
||||
~AVFileFormatDesc();
|
||||
/** Create and return a widget that embodies this file format description. */
|
||||
AVFormatWidgetBase * createWidget(QWidget *parent);
|
||||
/** Sets the file extenstion for this description. */
|
||||
void setFileExtension(const QString &extension);
|
||||
/** Returns the file extension for this file format. */
|
||||
const QString &fileExtension();
|
||||
private: // Private attributes
|
||||
/** Specifies the file extension used by this file format. */
|
||||
QString m_fileExtension;
|
||||
};
|
||||
|
||||
#endif
|
||||
61
kdenlive/avfileformatwidget.cpp
Normal file
61
kdenlive/avfileformatwidget.cpp
Normal file
@@ -0,0 +1,61 @@
|
||||
/***************************************************************************
|
||||
avfileformatwidget.cpp - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <qptrlist.h>
|
||||
|
||||
#include <kdebug.h>
|
||||
#include <klocale.h>
|
||||
#include <kurlrequester.h>
|
||||
#include <qlabel.h>
|
||||
#include <qhbox.h>
|
||||
|
||||
#include "avfileformatdesc.h"
|
||||
#include "avfileformatwidget.h"
|
||||
|
||||
AVFileFormatWidget::AVFileFormatWidget(AVFileFormatDesc *desc, QWidget *parent, const char *name ) :
|
||||
QVBox(parent,name),
|
||||
m_fileHBox(new QHBox(this, "file_hbox")),
|
||||
m_fileLabel(new QLabel(i18n("Filename"), m_fileHBox, "file_label")),
|
||||
m_filename(new KURLRequester(m_fileHBox, "browser")),
|
||||
m_desc(desc)
|
||||
{
|
||||
QPtrListIterator<AVFormatDescBase> itt(desc->list());
|
||||
|
||||
while(itt.current()) {
|
||||
itt.current()->createWidget(this);
|
||||
++itt;
|
||||
}
|
||||
}
|
||||
|
||||
AVFileFormatWidget::~AVFileFormatWidget()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFileFormatWidget::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
KURL AVFileFormatWidget::fileUrl() const
|
||||
{
|
||||
return m_filename->url();
|
||||
}
|
||||
|
||||
AVFileFormatWidget * AVFileFormatWidget::fileFormatWidget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
50
kdenlive/avfileformatwidget.h
Normal file
50
kdenlive/avfileformatwidget.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/***************************************************************************
|
||||
avfileformatwidget.h - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFILEFORMATWIDGET_H
|
||||
#define AVFILEFORMATWIDGET_H
|
||||
|
||||
#include <qvbox.h>
|
||||
#include <kurl.h>
|
||||
|
||||
#include "avformatwidgetbase.h"
|
||||
/**This widget contains an entire file format description.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFileFormatDesc;
|
||||
class KURLRequester;
|
||||
class QHBox;
|
||||
class QLabel;
|
||||
|
||||
class AVFileFormatWidget : public QVBox, public AVFormatWidgetBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AVFileFormatWidget(AVFileFormatDesc *desc, QWidget *parent=0, const char *name=0);
|
||||
~AVFileFormatWidget();
|
||||
QWidget *widget();
|
||||
/** Returns the url of this file widget. */
|
||||
KURL fileUrl() const;
|
||||
AVFileFormatWidget * fileFormatWidget();
|
||||
private:
|
||||
QHBox *m_fileHBox;
|
||||
QLabel *m_fileLabel;
|
||||
KURLRequester *m_filename;
|
||||
AVFileFormatDesc *m_desc;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -44,6 +44,9 @@ QDomDocument AVFileList::toXML() const
|
||||
while(itt.current()) {
|
||||
QDomElement elem = doc.createElement("AVFile");
|
||||
elem.setAttribute("url", itt.current()->fileURL().path());
|
||||
if(itt.current()->durationKnown()) {
|
||||
elem.setAttribute("duration", QString(current()->duration().seconds()));
|
||||
}
|
||||
doc.documentElement().appendChild(elem);
|
||||
++itt;
|
||||
}
|
||||
|
||||
52
kdenlive/avformatdescbase.cpp
Normal file
52
kdenlive/avformatdescbase.cpp
Normal file
@@ -0,0 +1,52 @@
|
||||
/***************************************************************************
|
||||
avformatdescbase.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdescbase.h"
|
||||
|
||||
AVFormatDescBase::AVFormatDescBase(const QString &description, const QString &name)
|
||||
{
|
||||
m_description = description;
|
||||
m_name = name;
|
||||
}
|
||||
|
||||
AVFormatDescBase::~AVFormatDescBase()
|
||||
{
|
||||
}
|
||||
|
||||
/** Returns the name of this description element. */
|
||||
const QString & AVFormatDescBase::name()
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
|
||||
/** Sets the name of this Desc element to the one specified */
|
||||
void AVFormatDescBase::setName(const QString &name)
|
||||
{
|
||||
m_name = name;
|
||||
}
|
||||
|
||||
/** Sets the description of this desc element. */
|
||||
void AVFormatDescBase::setDescription(const QString &description)
|
||||
{
|
||||
m_description = description;
|
||||
}
|
||||
|
||||
/** Returns the description of this desc element. */
|
||||
const QString & AVFormatDescBase::description()
|
||||
{
|
||||
return m_description;
|
||||
}
|
||||
52
kdenlive/avformatdescbase.h
Normal file
52
kdenlive/avformatdescbase.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/***************************************************************************
|
||||
avformatdescbase.h - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATDESCBASE_H
|
||||
#define AVFORMATDESCBASE_H
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
class AVFormatWidgetBase;
|
||||
class QWidget;
|
||||
|
||||
/**The base class for a file format parameter. A parameter specifies, amongst other things, what values the parameter can take, and how the widget that contains it should be created.
|
||||
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescBase(const QString &description, const QString &name);
|
||||
virtual ~AVFormatDescBase();
|
||||
/** Generates a widget that holds the specified value(s). */
|
||||
virtual AVFormatWidgetBase * createWidget(QWidget *parent) = 0;
|
||||
/** Returns the name of this description element. */
|
||||
const QString & name();
|
||||
/** Sets the name of this Desc element to the one specified */
|
||||
void setName(const QString &name);
|
||||
/** Sets the description of this desc element. */
|
||||
void setDescription(const QString &description);
|
||||
/** Returns the description of this desc element. */
|
||||
const QString & description();
|
||||
protected: // Protected attributes
|
||||
/** The text description for the widget created - displayed in tooltips. */
|
||||
QString m_description;
|
||||
/** The name (text label) to be used by the widget created. */
|
||||
QString m_name;
|
||||
};
|
||||
|
||||
#endif
|
||||
34
kdenlive/avformatdescbool.cpp
Normal file
34
kdenlive/avformatdescbool.cpp
Normal file
@@ -0,0 +1,34 @@
|
||||
/***************************************************************************
|
||||
avformatdescbool.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdescbool.h"
|
||||
#include <avformatwidgetbool.h>
|
||||
|
||||
AVFormatDescBool::AVFormatDescBool(const QString &description, const QString &name) :
|
||||
AVFormatDescBase(description, name)
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatDescBool::~AVFormatDescBool()
|
||||
{
|
||||
}
|
||||
|
||||
/** Create a widget to handle a boolean value. Most likely, this will be a check box. */
|
||||
AVFormatWidgetBase * AVFormatDescBool::createWidget(QWidget *parent)
|
||||
{
|
||||
return new AVFormatWidgetBool(this, parent, m_name);
|
||||
}
|
||||
35
kdenlive/avformatdescbool.h
Normal file
35
kdenlive/avformatdescbool.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/***************************************************************************
|
||||
avformatdescbool.h - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATDESCBOOL_H
|
||||
#define AVFORMATDESCBOOL_H
|
||||
|
||||
#include <avformatdescbase.h>
|
||||
|
||||
/**Holds a boolean value in an AVFormat description.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescBool : public AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescBool(const QString &description, const QString &name);
|
||||
~AVFormatDescBool();
|
||||
/** Create a widget to handle a boolean value. Most likely, this will be a check box. */
|
||||
AVFormatWidgetBase * createWidget(QWidget *parent);
|
||||
};
|
||||
|
||||
#endif
|
||||
33
kdenlive/avformatdesccodec.cpp
Normal file
33
kdenlive/avformatdesccodec.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/***************************************************************************
|
||||
avformatdesccodec.cpp - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdesccodec.h"
|
||||
#include "avformatwidgetcodec.h"
|
||||
|
||||
AVFormatDescCodec::AVFormatDescCodec(const QString &description, const QString &name) :
|
||||
AVFormatDescBase(description, name)
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatDescCodec::~AVFormatDescCodec()
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatWidgetBase * AVFormatDescCodec::createWidget(QWidget * parent)
|
||||
{
|
||||
return new AVFormatWidgetCodec(this, parent, m_name);
|
||||
}
|
||||
37
kdenlive/avformatdesccodec.h
Normal file
37
kdenlive/avformatdesccodec.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/***************************************************************************
|
||||
avformatdesccodec.h - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATDESCCODEC_H
|
||||
#define AVFORMATDESCCODEC_H
|
||||
|
||||
#include <avformatdescbase.h>
|
||||
|
||||
class QString;
|
||||
|
||||
/**Holds the description of a particular file codec, including parameters for that codec.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescCodec : public AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescCodec(const QString &description, const QString &name);
|
||||
~AVFormatDescCodec();
|
||||
/** Generates a widget that holds the specified value(s). */
|
||||
AVFormatWidgetBase * createWidget(QWidget * parent);
|
||||
};
|
||||
|
||||
#endif
|
||||
54
kdenlive/avformatdesccodeclist.cpp
Normal file
54
kdenlive/avformatdesccodeclist.cpp
Normal file
@@ -0,0 +1,54 @@
|
||||
/***************************************************************************
|
||||
AVFormatDescCodecList.cpp - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdesccodeclist.h"
|
||||
#include "avformatwidgetcodeclist.h"
|
||||
#include "krender.h"
|
||||
|
||||
AVFormatDescCodecList::AVFormatDescCodecList(KRender *renderer, const QString &description, const QString &name) :
|
||||
AVFormatDescBase(description, name),
|
||||
m_renderer(renderer)
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatDescCodecList::~AVFormatDescCodecList()
|
||||
{
|
||||
}
|
||||
|
||||
/** Constructs a widget to display this container. Most likely, a qgroupbox with a combo list box + widget stack. */
|
||||
AVFormatWidgetBase * AVFormatDescCodecList::createWidget(QWidget * parent)
|
||||
{
|
||||
return new AVFormatWidgetCodecList(this, parent, m_name);
|
||||
}
|
||||
|
||||
/** Returns the codec name list */
|
||||
const QStringList & AVFormatDescCodecList::codecList()
|
||||
{
|
||||
return m_codecList;
|
||||
}
|
||||
|
||||
/** Adds a codec by name to this codec list. */
|
||||
void AVFormatDescCodecList::addCodec(const QString &codec)
|
||||
{
|
||||
m_codecList.append(codec);
|
||||
}
|
||||
|
||||
/** Returns the renderer that generated this desc codec list */
|
||||
KRender * AVFormatDescCodecList::renderer()
|
||||
{
|
||||
return m_renderer;
|
||||
}
|
||||
50
kdenlive/avformatdesccodeclist.h
Normal file
50
kdenlive/avformatdesccodeclist.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/***************************************************************************
|
||||
AVFormatDescCodecList.h - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFormatDescCodecList_H
|
||||
#define AVFormatDescCodecList_H
|
||||
|
||||
#include <avformatdescbase.h>
|
||||
|
||||
#include <qstringlist.h>
|
||||
|
||||
class KRender;
|
||||
|
||||
/**The Codec description lists all codecs that this class can accept, and allows differing codecs to be chosen and inputted.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescCodecList : public AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescCodecList(KRender *renderer, const QString &description, const QString &name);
|
||||
~AVFormatDescCodecList();
|
||||
/** Constructs a widget to display this container. Most likely, a qgroupbox with a combo list box + widget stack. */
|
||||
AVFormatWidgetBase * createWidget(QWidget * parent);
|
||||
/** Returns the codec name list */
|
||||
const QStringList & codecList();
|
||||
/** Returns the renderer that generated this desc codec list */
|
||||
KRender * renderer();
|
||||
/** Adds a codec by name to this codec list. */
|
||||
void addCodec(const QString &codec);
|
||||
private: // Private attributes
|
||||
/** A list of codec names in this codec list. */
|
||||
QStringList m_codecList;
|
||||
/** Holds a pointer to the renderer that generated this desc codec list. */
|
||||
KRender * m_renderer;
|
||||
};
|
||||
|
||||
#endif
|
||||
49
kdenlive/avformatdesccontainer.cpp
Normal file
49
kdenlive/avformatdesccontainer.cpp
Normal file
@@ -0,0 +1,49 @@
|
||||
/***************************************************************************
|
||||
avformatdesccontainer.cpp - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdesccontainer.h"
|
||||
#include "avformatwidgetcontainer.h"
|
||||
|
||||
#include <kdebug.h>
|
||||
|
||||
AVFormatDescContainer::AVFormatDescContainer(const QString &description, const QString &name) :
|
||||
AVFormatDescBase(description, name)
|
||||
{
|
||||
m_descList.setAutoDelete(true);
|
||||
}
|
||||
|
||||
AVFormatDescContainer::~AVFormatDescContainer()
|
||||
{
|
||||
}
|
||||
|
||||
/** Constructs a widget to display this container. Most likely, a qgroupbox. */
|
||||
AVFormatWidgetBase * AVFormatDescContainer::createWidget(QWidget *parent)
|
||||
{
|
||||
return new AVFormatWidgetContainer(this, parent, m_name);
|
||||
}
|
||||
|
||||
/** Appends a new description element into this container. */
|
||||
void AVFormatDescContainer::append(AVFormatDescBase *elem)
|
||||
{
|
||||
m_descList.append(elem);
|
||||
}
|
||||
|
||||
/** Returns the format list. */
|
||||
const QPtrList<AVFormatDescBase> &AVFormatDescContainer::list()
|
||||
{
|
||||
return m_descList;
|
||||
}
|
||||
44
kdenlive/avformatdesccontainer.h
Normal file
44
kdenlive/avformatdesccontainer.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
avformatdesccontainer.h - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATDESCCONTAINER_H
|
||||
#define AVFORMATDESCCONTAINER_H
|
||||
|
||||
#include "avformatdescbase.h"
|
||||
|
||||
#include <qptrlist.h>
|
||||
|
||||
/**A container description. A container groups and contains other descriptive elements.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescContainer : public AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescContainer(const QString &description, const QString &name);
|
||||
~AVFormatDescContainer();
|
||||
/** Constructs a widget to display this container. Most likely, a qgroupbox. */
|
||||
virtual AVFormatWidgetBase * createWidget(QWidget *parent);
|
||||
/** Appends a new description element into this container. */
|
||||
void append(AVFormatDescBase *elem);
|
||||
/** Returns the format list. */
|
||||
const QPtrList<AVFormatDescBase> &list();
|
||||
protected:
|
||||
/** A list of all dsecription elements contained within this description. */
|
||||
QPtrList<AVFormatDescBase> m_descList;
|
||||
};
|
||||
|
||||
#endif
|
||||
45
kdenlive/avformatdesclist.cpp
Normal file
45
kdenlive/avformatdesclist.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
/***************************************************************************
|
||||
avformatdesclist.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatdesclist.h"
|
||||
#include "avformatwidgetlist.h"
|
||||
|
||||
AVFormatDescList::AVFormatDescList(const QString &description, const QString &name) :
|
||||
AVFormatDescBase(description, name)
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatDescList::~AVFormatDescList()
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatWidgetBase *AVFormatDescList::createWidget(QWidget *parent)
|
||||
{
|
||||
return new AVFormatWidgetList(this, parent, m_name);
|
||||
}
|
||||
|
||||
/** Adds the specified string to the item list. */
|
||||
void AVFormatDescList::addItem(const QString &item)
|
||||
{
|
||||
m_itemList.push_back(item);
|
||||
}
|
||||
|
||||
/** Returns the item list. */
|
||||
QValueVector<QString> AVFormatDescList::itemList()
|
||||
{
|
||||
return m_itemList;
|
||||
}
|
||||
44
kdenlive/avformatdesclist.h
Normal file
44
kdenlive/avformatdesclist.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
avformatdesclist.h - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATDESCLIST_H
|
||||
#define AVFORMATDESCLIST_H
|
||||
|
||||
#include <avformatdescbase.h>
|
||||
|
||||
#include <qvaluevector.h>
|
||||
#include <qstring.h>
|
||||
|
||||
/**Holds a list of possible values in an AVFormat Description.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatDescList : public AVFormatDescBase {
|
||||
public:
|
||||
AVFormatDescList(const QString &description, const QString &name);
|
||||
~AVFormatDescList();
|
||||
/** Create a widget to handle a list value. Most likely, this will be a listbox. */
|
||||
AVFormatWidgetBase * createWidget(QWidget *parent);
|
||||
/** Adds the specified string to the item list. */
|
||||
void addItem(const QString &item);
|
||||
/** Returns the item list. */
|
||||
QValueVector<QString> itemList();
|
||||
private:
|
||||
QValueVector<QString> m_itemList;
|
||||
};
|
||||
|
||||
#endif
|
||||
32
kdenlive/avformatwidgetbase.cpp
Normal file
32
kdenlive/avformatwidgetbase.cpp
Normal file
@@ -0,0 +1,32 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetbase.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatwidgetbase.h"
|
||||
|
||||
AVFormatWidgetBase::AVFormatWidgetBase()
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatWidgetBase::~AVFormatWidgetBase()
|
||||
{
|
||||
}
|
||||
|
||||
/** Returns a pointer to this widget cast as an AVFileFormatWidget if that is what this widget it, otherwise it returns 0. */
|
||||
AVFileFormatWidget * AVFormatWidgetBase::fileFormatWidget()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
43
kdenlive/avformatwidgetbase.h
Normal file
43
kdenlive/avformatwidgetbase.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetbase.h - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATWIDGETBASE_H
|
||||
#define AVFORMATWIDGETBASE_H
|
||||
|
||||
|
||||
class QWidget;
|
||||
class KURL;
|
||||
class AVFileFormatWidget;
|
||||
|
||||
/**A base class for all AVFormat related widgets.
|
||||
|
||||
This class provides a standard set of functions for building and reading an AVFileFormat from them.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatWidgetBase {
|
||||
public:
|
||||
AVFormatWidgetBase();
|
||||
virtual ~AVFormatWidgetBase();
|
||||
|
||||
/** Returns a pointer to this widget, as a QWidget. */
|
||||
virtual QWidget *widget() = 0;
|
||||
/** Returns a pointer to this widget cast as an AVFileFormatWidget if that is what this widget it, otherwise it returns 0. */
|
||||
virtual AVFileFormatWidget * fileFormatWidget();
|
||||
};
|
||||
|
||||
#endif
|
||||
34
kdenlive/avformatwidgetbool.cpp
Normal file
34
kdenlive/avformatwidgetbool.cpp
Normal file
@@ -0,0 +1,34 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetbool.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatwidgetbool.h"
|
||||
#include "avformatdescbool.h"
|
||||
|
||||
AVFormatWidgetBool::AVFormatWidgetBool(AVFormatDescBool *desc, QWidget *parent, const char *name ) :
|
||||
QCheckBox(desc->name(), parent,name),
|
||||
AVFormatWidgetBase()
|
||||
{
|
||||
}
|
||||
|
||||
AVFormatWidgetBool::~AVFormatWidgetBool()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFormatWidgetBool::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
40
kdenlive/avformatwidgetbool.h
Normal file
40
kdenlive/avformatwidgetbool.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetbool.h - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATWIDGETBOOL_H
|
||||
#define AVFORMATWIDGETBOOL_H
|
||||
|
||||
#include <qcheckbox.h>
|
||||
|
||||
#include "avformatwidgetbase.h"
|
||||
|
||||
class AVFormatDescBool;
|
||||
|
||||
/**This widget displays a boolean value, in alignment with what the AVFormatDescBool class describes.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatWidgetBool : public QCheckBox, public AVFormatWidgetBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AVFormatWidgetBool(AVFormatDescBool *desc, QWidget *parent=0, const char *name=0);
|
||||
~AVFormatWidgetBool();
|
||||
virtual QWidget *widget();
|
||||
const KURL & fileUrl() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
39
kdenlive/avformatwidgetcodec.cpp
Normal file
39
kdenlive/avformatwidgetcodec.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetcodec.cpp - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <qtextedit.h>
|
||||
|
||||
#include "avformatwidgetcodec.h"
|
||||
#include "avformatdesccodec.h"
|
||||
|
||||
AVFormatWidgetCodec::AVFormatWidgetCodec(AVFormatDescCodec *desc, QWidget *parent, const char *name ) :
|
||||
QVBox(parent,name),
|
||||
AVFormatWidgetBase()
|
||||
{
|
||||
QTextEdit *edit = new QTextEdit(desc->description(), QString::null, this, "label");
|
||||
edit->setReadOnly(true);
|
||||
|
||||
}
|
||||
|
||||
AVFormatWidgetCodec::~AVFormatWidgetCodec()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFormatWidgetCodec::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
39
kdenlive/avformatwidgetcodec.h
Normal file
39
kdenlive/avformatwidgetcodec.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetcodec.h - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATWIDGETCODEC_H
|
||||
#define AVFORMATWIDGETCODEC_H
|
||||
|
||||
#include <qvbox.h>
|
||||
|
||||
#include <avformatwidgetbase.h>
|
||||
|
||||
class AVFormatDescCodec;
|
||||
|
||||
/**A widget that encapsulates the information in an avformatdesccodec object.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatWidgetCodec : public QVBox, public AVFormatWidgetBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AVFormatWidgetCodec(AVFormatDescCodec *desc, QWidget *parent=0, const char *name=0);
|
||||
~AVFormatWidgetCodec();
|
||||
virtual QWidget *widget();
|
||||
};
|
||||
|
||||
#endif
|
||||
60
kdenlive/avformatwidgetcodeclist.cpp
Normal file
60
kdenlive/avformatwidgetcodeclist.cpp
Normal file
@@ -0,0 +1,60 @@
|
||||
/***************************************************************************
|
||||
AVFormatWidgetCodecList.cpp - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "qhbox.h"
|
||||
#include "qlabel.h"
|
||||
#include "qcombobox.h"
|
||||
#include "qwidgetstack.h"
|
||||
|
||||
#include <klocale.h>
|
||||
#include <kdebug.h>
|
||||
|
||||
#include "avformatwidgetcodeclist.h"
|
||||
#include "avformatdesccodeclist.h"
|
||||
#include "avformatdesccodec.h"
|
||||
#include "krender.h"
|
||||
|
||||
AVFormatWidgetCodecList::AVFormatWidgetCodecList(AVFormatDescCodecList *desc, QWidget *parent, const char *name ) :
|
||||
QGroupBox(1, Horizontal, desc->name(), parent, name),
|
||||
AVFormatWidgetBase(),
|
||||
m_codecLayout(new QHBox(this, "codec_layout")),
|
||||
m_codecLabel(new QLabel(i18n("Codec"), m_codecLayout, "codec_label")),
|
||||
m_codecSelect(new QComboBox(m_codecLayout, "codec_select")),
|
||||
m_widgetStack(new QWidgetStack(this, "widget_stack"))
|
||||
{
|
||||
QValueListConstIterator<QString> itt = desc->codecList().begin();
|
||||
int count = 0;
|
||||
|
||||
while(itt != desc->codecList().end()) {
|
||||
AVFormatDescCodec *codecDesc = desc->renderer()->findCodec(*itt);
|
||||
if(codecDesc != 0) {
|
||||
m_codecSelect->insertItem(codecDesc->name(), count);
|
||||
m_widgetStack->addWidget(codecDesc->createWidget(m_widgetStack)->widget(), count);
|
||||
++count;
|
||||
}
|
||||
++itt;
|
||||
}
|
||||
}
|
||||
|
||||
AVFormatWidgetCodecList::~AVFormatWidgetCodecList()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFormatWidgetCodecList::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
55
kdenlive/avformatwidgetcodeclist.h
Normal file
55
kdenlive/avformatwidgetcodeclist.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/***************************************************************************
|
||||
AVFormatWidgetCodecList.h - description
|
||||
-------------------
|
||||
begin : Tue Feb 4 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFormatWidgetCodecList_H
|
||||
#define AVFormatWidgetCodecList_H
|
||||
|
||||
#include <qgroupbox.h>
|
||||
|
||||
#include "avformatwidgetbase.h"
|
||||
|
||||
class QHBox;
|
||||
class QLabel;
|
||||
class QComboBox;
|
||||
class QWidgetStack;
|
||||
|
||||
class AVFormatDescCodecList;
|
||||
|
||||
/**Displays all information described in AVFormatDescCodec
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatWidgetCodecList : public QGroupBox, public AVFormatWidgetBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AVFormatWidgetCodecList(AVFormatDescCodecList *desc, QWidget *parent=0, const char *name=0);
|
||||
~AVFormatWidgetCodecList();
|
||||
virtual QWidget *widget();
|
||||
private: // Private attributes
|
||||
/** This bnox lays out the codec and label side by side */
|
||||
QHBox *m_codecLayout;
|
||||
/** This label names the codec select box */
|
||||
QLabel *m_codecLabel;
|
||||
/** This combo box contains all known combo names. Choosing an entry changes the topmost widget in
|
||||
m_widgetStack. */
|
||||
QComboBox *m_codecSelect;
|
||||
/** The widgetStack contains the various dialogs for different codecs. The top-most is specified by
|
||||
QComboBox. */
|
||||
QWidgetStack *m_widgetStack;
|
||||
};
|
||||
|
||||
#endif
|
||||
42
kdenlive/avformatwidgetcontainer.cpp
Normal file
42
kdenlive/avformatwidgetcontainer.cpp
Normal file
@@ -0,0 +1,42 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetcontainer.cpp - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatwidgetcontainer.h"
|
||||
#include "avformatdesccontainer.h"
|
||||
|
||||
#include <kdebug.h>
|
||||
|
||||
AVFormatWidgetContainer::AVFormatWidgetContainer(AVFormatDescContainer *desc, QWidget *parent, const char *name) :
|
||||
QGroupBox(1, Horizontal, desc->name(), parent,name),
|
||||
AVFormatWidgetBase()
|
||||
{
|
||||
QPtrListIterator<AVFormatDescBase> itt(desc->list());
|
||||
|
||||
while(itt.current()) {
|
||||
itt.current()->createWidget(this);
|
||||
++itt;
|
||||
}
|
||||
}
|
||||
|
||||
AVFormatWidgetContainer::~AVFormatWidgetContainer()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFormatWidgetContainer::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
39
kdenlive/avformatwidgetcontainer.h
Normal file
39
kdenlive/avformatwidgetcontainer.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetcontainer.h - description
|
||||
-------------------
|
||||
begin : Fri Jan 24 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef AVFORMATWIDGETCONTAINER_H
|
||||
#define AVFORMATWIDGETCONTAINER_H
|
||||
|
||||
#include <qgroupbox.h>
|
||||
|
||||
#include "avformatwidgetbase.h"
|
||||
|
||||
class AVFormatDescContainer;
|
||||
|
||||
/**A widget that will contain and display the information required by an AVFormatDescContainer.
|
||||
*@author Jason Wood
|
||||
*/
|
||||
|
||||
class AVFormatWidgetContainer : public QGroupBox, public AVFormatWidgetBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AVFormatWidgetContainer(AVFormatDescContainer *desc, QWidget *parent=0, const char *name=0);
|
||||
~AVFormatWidgetContainer();
|
||||
virtual QWidget *widget();
|
||||
};
|
||||
|
||||
#endif
|
||||
45
kdenlive/avformatwidgetlist.cpp
Normal file
45
kdenlive/avformatwidgetlist.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
/***************************************************************************
|
||||
avformatwidgetlist.cpp - description
|
||||
-------------------
|
||||
begin : Thu Jan 23 2003
|
||||
copyright : (C) 2003 by Jason Wood
|
||||
email : jasonwood@blueyonder.co.uk
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "avformatwidgetlist.h"
|
||||
#include "avformatdesclist.h"
|
||||
|
||||
#include <qlabel.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qvaluevector.h>
|
||||
|
||||
AVFormatWidgetList::AVFormatWidgetList(AVFormatDescList *desc, QWidget *parent, const char *name ) :
|
||||
QHBox(parent, name),
|
||||
AVFormatWidgetBase(),
|
||||
m_label(new QLabel(desc->name(), this, name)),
|
||||
m_comboBox(new QComboBox(this,name))
|
||||
{
|
||||
const QValueVector<QString> &list = desc->itemList();
|
||||
|
||||
for(unsigned int count=0; count<list.size(); ++count) {
|
||||
m_comboBox->insertItem(list[count]);
|
||||
}
|
||||
}
|
||||
|
||||
AVFormatWidgetList::~AVFormatWidgetList()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget *AVFormatWidgetList::widget()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user