[vlc-devel] commit: vlckit: Make sure it compiles, by switching to autotools. This will allow the framework to be a bit more stable, as autotools is still our main buildsystem, and modifications to it break cmake often. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat May 31 15:26:49 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat May 31 15:26:53 2008 +0200| [71d7c0d462dc16ec4eb806209020a04f046e85ef]
vlckit: Make sure it compiles, by switching to autotools. This will allow the framework to be a bit more stable, as autotools is still our main buildsystem, and modifications to it break cmake often.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71d7c0d462dc16ec4eb806209020a04f046e85ef
---
projects/macosx/framework/Pre-Compile.sh | 12 ++++--------
.../framework/VLCKit.xcodeproj/project.pbxproj | 10 ++++------
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/projects/macosx/framework/Pre-Compile.sh b/projects/macosx/framework/Pre-Compile.sh
index 4065f4a..6a9d223 100644
--- a/projects/macosx/framework/Pre-Compile.sh
+++ b/projects/macosx/framework/Pre-Compile.sh
@@ -53,7 +53,7 @@ if test "${ACTION}" = "build"; then
else
local lib_install_prefix="@loader_path/../lib"
fi
-
+
if test -e ${1} && ((! test -e ${lib_dest}) || test ${1} -nt ${lib_dest} ); then
mkdir -p ${2}
@@ -87,17 +87,15 @@ if test "${ACTION}" = "build"; then
# @function install_library
##########################
+ prefix=".libs/"
+ suffix="dylib"
+
##########################
# Hack for VLC-release.app
if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
- prefix=".libs/"
install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
mv ${target}/vlc ${target}/VLC
chmod +x ${target}/VLC
- suffix="dylib"
- else
- prefix=""
- suffix="so"
fi
##########################
@@ -141,8 +139,6 @@ if test "${ACTION}" = "build"; then
esac
done
-
- install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc-control.dylib" ${target_lib} "library"
install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc.dylib" ${target_lib} "library"
##########################
diff --git a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
index e3baf5c..9dc281e 100644
--- a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
+++ b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
@@ -431,14 +431,14 @@
files = (
);
inputPaths = (
- "$(SRCROOT)/../../../extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh",
+ "$(SRCROOT)/../../../bootstrap",
);
outputPaths = (
- "$(SRCROOT)/../../../CMakeLists.txt",
+ "$(SRCROOT)/../../../configure",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "top_srcdir=`pwd`/../../..\n\nif test $ACTION = \"clean\"\nthen\n rm -f $SYMROOT/vlc_build_dir/CMakeLists.txt\n exit 0\nfi\n\ncd $top_srcdir && ./extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh\n";
+ shellScript = "top_srcdir=`pwd`/../../..\n\nif test $ACTION = \"clean\"\nthen\n exit 0\nfi\n\ncd $top_srcdir && ./bootstrap\n";
showEnvVarsInLog = 0;
};
633BD6E30D2ADF030012A314 /* ShellScript */ = {
@@ -482,7 +482,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if test $ACTION = \"clean\"\nthen\n\trm -Rf $SYMROOT/vlc_build_dir\n exit 0\nfi\n\ntop_srcdir=`pwd`/../../..\n\n#if ! test -e $SYMROOT/vlc_build_dir/CMakeCache.txt\n#then\n\tmkdir -p $SYMROOT/vlc_build_dir\n\trm -Rf $top_srcdir/CMakeCache.txt\n\tcd $SYMROOT/vlc_build_dir && $top_srcdir/extras/contrib/bin/cmake $top_srcdir -DENABLE_NO_SYMBOL_CHECK=ON\n#fi";
+ shellScript = "if test $ACTION = \"clean\"\nthen\n\trm -Rf $SYMROOT/vlc_build_dir\n exit 0\nfi\n\ntop_srcdir=`pwd`/../../..\n\nmkdir -p $SYMROOT/vlc_build_dir\ncd $SYMROOT/vlc_build_dir && $top_srcdir/configure --disable-nls --enable-debug -C\n";
showEnvVarsInLog = 0;
};
EF78BD2E0CAEEF9500354E6E /* ShellScript */ = {
@@ -579,7 +579,6 @@
"-read_only_relocs",
suppress,
"-lvlc",
- "-lvlc-control",
"$(LD_FLAGS_LIBINTL)",
"$(LD_FLAGS_LIBVLC)",
"$(LD_FLAGS_LIBVLC_CONTROL)",
@@ -622,7 +621,6 @@
"-read_only_relocs",
suppress,
"-lvlc",
- "-lvlc-control",
"$(LD_FLAGS_LIBINTL)",
"$(LD_FLAGS_LIBVLC)",
"$(LD_FLAGS_LIBVLC_CONTROL)",
More information about the vlc-devel
mailing list