[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:52 UTC 2017


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

The following commit has been merged in the master branch:
commit e50e7cddcc555c328a142325d2de6fede1f1222f
Author: Robin Mills <robin at clanmills.com>
Date:   Thu Sep 8 18:52:43 2016 +0000

    #1041 Adding support for MinGW daily 32-bit build using autotools.  CMake/MinGW isn't working.
---
 contrib/buildserver/cmake_daily.sh | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/contrib/buildserver/cmake_daily.sh b/contrib/buildserver/cmake_daily.sh
index 3a603d2..dde9a00 100755
--- a/contrib/buildserver/cmake_daily.sh
+++ b/contrib/buildserver/cmake_daily.sh
@@ -105,23 +105,39 @@ testBuild()
         mingw)
             if [ ! -z "$RECURSIVE" ]; then
                 # we are already in MinGW/bash, so build
-                /usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=$dist -DEXIV2_ENABLE_NLS=OFF $exiv2
+                # cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$dist -DEXIV2_ENABLE_NLS=OFF -DCMAKE_C_COMPILER=$(which gcc) -DCMAKE_CXX_COMPILER=$(which g++) $exiv2
+                make distclean 
+                make config
+                ./configure
+                make
+                make install
+                make samples
             else
                 # recursively invoke MinGW/bash with appropriate tool chain
                 export RECURSIVE=1
-                export CFLAGS=-m64
-                export CXXFLAGS=-m64
-                export LDFLAGS=-m64
 
                 export TMP=/tmp
                 export TEMP=$TMP
                 if [ "$x64" == true ]; then
+                    export CFLAGS=-m64
+                    export CXXFLAGS=-m64
+                    export LDFLAGS=-m64
                     /cygdrive/c/MinGW64/msys/1.0/bin/bash.exe -c "export PATH=/c/TDM-GCC-64/bin:/c/MinGW64/bin:/c/MinGW64/msys/1.0/bin:/c/MinGW64/msys/1.0/local/bin; $0"
                     result=$?
                     if [ "$result" == "0" ]; then
                         testBuild
                     fi
                 fi
+                if [ "$win32" == true ]; then
+                    export CFLAGS=-m32
+                    export CXXFLAGS=-m32
+                    export LDFLAGS=-m32
+                    /cygdrive/c/MinGW/msys/1.0/bin/bash.exe -c "/c/Qt/Qt5.6.0/5.6/mingw49_32/bin:/c/Qt/Qt5.6.0/Tools/mingw492_32/bin:/c/MinGW/bin:/usr/bin:/usr/local/bin:/c/cygwin64/bin:/c/Users/rmills/com:.; $0"
+                    result=$?
+                    if [ "$result" == "0" ]; then
+                        testBuild
+                    fi
+                fi
             fi
         ;;
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list