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


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

The following commit has been merged in the master branch:
commit f0c53685e715a37c663e80924d03d2fd74f7cf9d
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Aug 26 22:00:00 2014 +0000

    jenkins testing
---
 jenkins_build.sh | 81 +++++++++++++++++++++++++++-----------------------------
 1 file changed, 39 insertions(+), 42 deletions(-)

diff --git a/jenkins_build.sh b/jenkins_build.sh
index 938623a..a290a18 100755
--- a/jenkins_build.sh
+++ b/jenkins_build.sh
@@ -31,68 +31,65 @@ if [ -e config/config.mk ]; then
     make distclean
 fi
 
-make config
-
-build=0
-if [ $PLATFORM == "linux"  -a "$linux"  == "true" ]; then build=1; fi
-if [ $PLATFORM == "macosx" -a "$macosx" == "true" ]; then build=1; fi
+make config # 2>/dev/null >/dev/null
 
+##
+# decide what to do about libcurl and libssh
+export withcurl=''
+export withssh=''
+if grep -q curl ./configure ; then
+    if [ "$curl" == "true" ]; then withcurl=--with-curl ; else withcurl=--without-curl; fi
+fi
+if grep -q ssh  ./configure ; then
+    if [ "$ssh"  == "true" ]; then withssh=--with-ssh   ; else withssh=--without-ssh  ; fi
+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
-    
     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 
+        if [ "$msvc" == "true" ]; then
+		    ##
+		    # Invoke MSVC build
 
-	 	rm -rf $PWD/bin
-	 	mkdir $PWD/bind	
+	 	    rm -rf $PWD/bin
+	 	    mkdir $PWD/bin
 
-	 	PATH=$PATH:/cygdrive/c/Windows/System32
-	 	cmd.exe /c "cd $(cygpath -aw .) && call jenkins_build.bat"
+	 	    PATH=$PATH:/cygdrive/c/Windows/System32
+	 	    cmd.exe /c "cd $(cygpath -aw .) && call jenkins_build.bat"
+	 	else
+	 		echo "*** msvc build not requested ***"
+	 	fi
 	 	exit $?
     else
-		./configure --disable-nls
+		# 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  $withcurl $withssh
 		make
 		make install
 		make samples
-		make tests
+		if [ "$tests" == true ]; then
+			make tests
+		fi
 	fi
 fi
 
-if [ "$build" == "1" ]; then
-	./configure --prefix=$PWD/usr
+build=0
+if [ $PLATFORM == "linux"  -a "$linux"  == "true" ]; then build=1; fi
+if [ $PLATFORM == "macosx" -a "$macosx" == "true" ]; then build=1; fi
+
+if [ $build == 1 ]; then
+    echo -------------
+	echo ./configure --prefix=$PWD/usr  $withcurl $withssh
+    echo -------------
+	./configure --prefix=$PWD/usr  $withcurl $withssh
 	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"
+    make samples "CXXFLAGS=-I${PWD}/usr/include -I${PWD}/src" "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs -lexiv2"
 	if [ "$tests" == true ]; then
 		make tests
 	fi
 fi
 
-
 # That's all Folks!
 ##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list