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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:44:15 UTC 2017


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

The following commit has been merged in the master branch:
commit 732fd4965ba7c1cf22de1dbeb6c5d48dd82ed285
Author: Robin Mills <robin at clanmills.com>
Date:   Mon Aug 25 12:49:23 2014 +0000

    jenkins testing
---
 jenkins_build.sh | 85 +++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 51 insertions(+), 34 deletions(-)

diff --git a/jenkins_build.sh b/jenkins_build.sh
index 7a22d9c..a2ce2d4 100755
--- a/jenkins_build.sh
+++ b/jenkins_build.sh
@@ -9,6 +9,7 @@ if [ -e /Users/rmills/bin/.profile ]; then
 	source /Users/rmills/bin/.profile
 fi
 cd "$DIR"
+
 echo ----------------------
 export
 echo ----------------------
@@ -17,9 +18,13 @@ if [ -z "$tests" ]; then tests=true; fi
 
 export PATH=$PATH:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/lib/pkgconfig:/opt/local/bin:$PWD/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/pkgconfig:bin
 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PWD/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
+
 ##
 # cleanup from last time (if there was a last time)
 if [ -e config/config.mk ]; then
+    if [   -e bin ]; then
+        rm -rf bin
+    fi
     if [ ! -e bin ]; then
        mkdir bin
     fi
@@ -28,53 +33,65 @@ fi
 
 make config
 
+build=0
+if [ $PLATFORM == "linux" -a "$linux" == "true" ]; then build=1; fi
+if [ $PLATFORM == "macos" -a "$macos" == "true" ]; then build=1; fi
+
+
 if [ "$PLATFORM" == "cygwin" ]; then 
 #	export LIBS=-lintl
     # I've given up:
     # 1 trying to get Cygwin to build with gettext and friends
     # 2 trying to get Cygwin to install into a local directory
-	./configure --disable-nls
-	make
-	make install
-	make samples
+    
+    if [ "$label" == "MSVC" ] ; then
+		##
+		# Invoke MSVC build
+	 	export ACTION=/rebuild
+	 	export BuildEnv=native
+	 	export Builder=2005
+	 	export COMPILER=G++
+	 	export debug=false
+	 	export dll=true
+	 	export expat=true
+	 	export libssh=false
+	 	export Linux=true
+	 	export MSVC=true
+	 	export openssl=false
+	 	export release=true
+	 	export static=false
+	 	export teste=false
+	 	export testr=false
+	 	export tests=true
+	 	export testv=false
+	 	export Win32=false
+	 	export x64=true
+	 	export zlib=true 
+
+	 	rm -rf $PWD/bin
+	 	mkdir $PWD/bind	
 
-	##
-	# Daisy chain to msvc Build
-#	export ACTION=/rebuild
-#	export BuildEnv=native
-#	export Builder=2005
-#	export COMPILER=G++
-#	export debug=false
-#	export dll=true
-#	export expat=true
-#	export libssh=false
-#	export Linux=true
-#	export MSVC=true
-#	export openssl=false
-#	export release=true
-#	export static=false
-#	export teste=false
-#	export testr=false
-#	export tests=true
-#	export testv=false
-#	export Win32=false
-#	export x64=true
-#	export zlib=true#
-#	rm -rf $PWD/bin
-#	mkdir $PWD/bind	
+	 	PATH=$PATH:/cygdrive/c/Windows/System32
+	 	cmd.exe /c "cd $(cygpath -aw .) && call jenkins_build.bat"
+	 	exit $?
+    else
+		./configure --disable-nls
+		make
+		make install
+		make samples
+	fi
+fi
 
-#	PATH=$PATH:/cygdrive/c/Windows/System32
-#	cmd.exe /c "cd $(cygpath -aw .) && call jenkins_build.bat"
-else
+if [ $build == 1 ]; then
 	./configure --prefix=$PWD/usr
 	make "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs"
 	make install
     make samples CXXFLAGS=-I${PWD}/usr/include "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs -lexiv2"
+	if [ "$tests" == true ]; then
+		make tests
+	fi
 fi
 
-if [ "$tests" == true ]; then
-	make tests
-fi
 
 # That's all Folks!
 ##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list