[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:45:53 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=3c2d718
The following commit has been merged in the master branch:
commit 3c2d718b653f388f49953c8642a089f6c6326c39
Author: Robin Mills <robin at clanmills.com>
Date: Mon Nov 16 19:21:29 2015 +0000
#1041. Work in progress. Derivative of Daniel's scripts for my personal use. See contrib/cmake/msvc/ReadMe.txt for details.
---
contrib/build/msvc/build.cmd | 108 ++++++++-----
contrib/build/msvc/setenv.cmd | 43 ++++--
contrib/cmake/msvc/ReadMe.txt | 16 ++
contrib/cmake/msvc/build.cmd | 343 ++++++++++++++++++++++++++++++++++++++++++
contrib/cmake/msvc/setenv.cmd | 84 +++++++++++
5 files changed, 539 insertions(+), 55 deletions(-)
diff --git a/contrib/build/msvc/build.cmd b/contrib/build/msvc/build.cmd
index 7285a8f..5b0a7cf 100644
--- a/contrib/build/msvc/build.cmd
+++ b/contrib/build/msvc/build.cmd
@@ -2,10 +2,9 @@
SETLOCAL
REM ---------------------------------------------------
-REM -- Created by danielkaneider for the exiv2 project
+REM -- Created by danielkaneider
REM ---------------------------------------------------
-
rem https://github.com/madler/zlib/commits
SET ZLIB_COMMIT_LONG=50893291621658f355bc5b4d450a8d06a563053d
@@ -18,7 +17,6 @@ SET CURL_COMMIT_LONG=dd39a671019d713bd077be9eed511c2dc6013598
rem http://www.npcglib.org/~stathis/blog/precompiled-openssl/
SET OPENSSL_VERSION=openssl-1.0.2d
-
IF EXIST ..\msvc (
echo.
echo.ERROR: This file should NOT be executed within the exiv2 source directory,
@@ -27,31 +25,62 @@ IF EXIST ..\msvc (
goto error_end
)
-ml64.exe > NUL
+echo testing compiler
+cl > NUL
IF ERRORLEVEL 1 (
- set Platform=Win32
- set RawPlatform=x86
- set CpuPlatform=ia32
-) ELSE (
+ echo "*** ensure cl is not on path. Run vcvars32.bat or vcvarsall.bat ***"
+ GOTO error_end
+)
+
+echo testing VSINSTALLDIR
+IF NOT EXIST "%VSINSTALLDIR%" (
+ echo "VSINSTALLDIR %VSINSTALLDIR% does not exist. Ruv vcvars32.bat or vcvarsall.bat ***"
+ GOTO error_end
+)
+
+echo testing architecture
+if "%PROCESSOR_ARCHITECTURE%" EQU "AMD64" (
set Platform=x64
set RawPlatform=x64
set CpuPlatform=intel64
+) ELSE (
+ set Platform=Win32
+ set RawPlatform=x86
+ set CpuPlatform=ia32
+)
+
+echo testing svn is on path
+svn --version > NUL
+IF ERRORLEVEL 1 (
+ echo "*** please ensure SVN.exe is on the PATH ***"
+ GOTO error_end
)
+echo testing cmake is on path
+cmake --version > NUL
+IF ERRORLEVEL 1 (
+ echo "*** please ensure cmake.exe is on the PATH ***"
+ GOTO error_end
+)
+
+echo calling setenv
call setenv.cmd
+IF ERRORLEVEL 1 (
+ echo "*** setenv.cmd has failed ***"
+ GOTO error_end
+)
+echo testing the cygwin_dir exists
+if NOT EXIST %CYGWIN_DIR% (
+ echo "*** CYGWIN_DIR %CYGWIN_DIR% does not exist ***"
+ GOTO error_end
+)
IF %Platform% EQU x64 (
set VS_CMAKE=%VS_CMAKE% Win64
)
-IF NOT EXIST %CMAKE_EXE% (
- echo.
- echo.ERROR: CMake not found: %CMAKE_EXE%
- echo.
- goto error_end
-)
-
+echo testing cygwin tools are available
SET 7Z_PATH=%CYGWIN_DIR%\lib\p7zipz.exe
IF NOT EXIST %CYGWIN_DIR%\lib\p7zipz.exe GOTO cygwin_error
IF NOT EXIST %CYGWIN_DIR%in
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list