[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:46:01 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=bb032fb

The following commit has been merged in the master branch:
commit bb032fb6c782c2570cfab55bc36b8d38b9492964
Author: Robin Mills <robin at clanmills.com>
Date:   Thu Dec 10 03:08:18 2015 +0000

    #1041  Still struggling with the test suite
---
 CMakeLists.txt                    | 26 --------------------------
 contrib/cmake/msvc/cmakeBuild.cmd |  2 --
 jenkins_daily.sh                  |  8 ++++++--
 samples/CMakeLists.txt            |  2 +-
 4 files changed, 7 insertions(+), 31 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91b387d..7376414 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -104,26 +104,6 @@ if( MSVC )
 
     ADD_DEFINITIONS(-DPSAPI_VERSION=1) # to be compatible with <= WinVista (#905)
 
-    ##
-    # Set the output directory
-    # x64/Win32
-    #if( CMAKE_SIZEOF_VOID_P MATCHES 8 )
-    #    SET( P_DIR x64)
-    #else()
-    #    set( P_DIR Win32 )
-    #endif()
-
-    # DLL/static build
-    #if( EXIV2_ENABLE_SHARED )
-    #    set( T_DIR Dynamic )
-    #else()
-    #    set( T_DIR Static)
-    #endif()
-
-    #set(B_DIR ${PROJECT_BINARY_DIR}/bin/${P_DIR}/${T_DIR})
-    #set(CMAKE_CURRENT_BINARY_DIR ${B_DIR})
-    #set(EXECUTABLE_OUTPUT_PATH   ${B_DIR})
-    #set(LIBRARY_OUTPUT_PATH      ${B_DIR})
 endif( MSVC )
 
 IF( EXIV2_ENABLE_XMP )
@@ -225,11 +205,5 @@ IF( MINGW OR UNIX OR APPLE)
   )
 ENDIF()
 
-##
-# support for test suite TODO: fixup for MSVC and think a bit more before deploying this
-# ENABLE_TESTING()
-# INCLUDE(Dart)
-# ADD_TEST(tests bash -c "cd ${CMAKE_SOURCE_DIR}/test/ ; make EXIV2_BINDIR=${CMAKE_BINARY_DIR}/bin" )
-
 # That's all Folks!
 ##
diff --git a/contrib/cmake/msvc/cmakeBuild.cmd b/contrib/cmake/msvc/cmakeBuild.cmd
index 4396fc9..667925d 100755
--- a/contrib/cmake/msvc/cmakeBuild.cmd
+++ b/contrib/cmake/msvc/cmakeBuild.cmd
@@ -302,8 +302,6 @@ pushd        "%EXIV_B%"
         popd
         goto error_end
     )
-    if     defined _SILENT_ copy "samples\%_CONFIG_%\"*.exe "%_INSTALL_%in" >nul
-    if NOT defined _SILENT_ copy "samples\%_CONFIG_%\"*.exe "%_INSTALL_%in"
 popd
 
 if defined _TEST_ (
diff --git a/jenkins_daily.sh b/jenkins_daily.sh
index 20d4a59..8bddcd6 100755
--- a/jenkins_daily.sh
+++ b/jenkins_daily.sh
@@ -20,8 +20,9 @@ vs=2013
 ##
 # determine location of the build and source directories
 exiv2=$(cygpath -aw .)
-build=$(cygpath -aw ..\build)
- dist=$(cygpath -au ..\build\dist\$vs\$arch\$mode\$config\bin)
+build=$(cygpath -aw .\build)
+ dist=$(cygpath -au .\build\dist\$vs\$arch\$mode\$config\bin)
+ di32=$(cygpath -au .\build\dist\$vs\Win32\$mode\$config\bin)
  msvc=$(cygpath -aw ./contrib/cmake/msvc)
 
 ##
@@ -42,6 +43,9 @@ mkdir -p  $dist
 ##
 # test the build
 export EXIV2_BINDIR=$dist
+if [ ! -e $dist/exiv2.exe -a -e $di32/exiv2.exe ]; then
+    export EXIV2_BINDIR=$di32
+fi 
 pushd  test
     for test in addmoddel.sh \
         bugfixes-test.sh     \
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt
index edd5172..24a9d35 100644
--- a/samples/CMakeLists.txt
+++ b/samples/CMakeLists.txt
@@ -49,7 +49,7 @@ FOREACH(entry ${SAMPLES})
     ADD_EXECUTABLE( ${target} ${target}.cpp )
     ADD_TEST( ${target}_test ${target} )
     TARGET_LINK_LIBRARIES( ${target} ${PRIVATE_VAR} exiv2lib ${EXPAT_LIBRARIES})
-    #INSTALL( TARGETS ${target} ${INSTALL_TARGET_STANDARD_ARGS} )
+    INSTALL( TARGETS ${target} ${INSTALL_TARGET_STANDARD_ARGS} )
 ENDFOREACH(entry ${SAMPLES})
 
 ###################################

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list