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


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

The following commit has been merged in the master branch:
commit cc9adb5f27ebf45821fa403c3acd32f73e6e09f4
Author: Robin Mills <robin at clanmills.com>
Date:   Sun Dec 28 14:35:09 2014 +0000

    trunk: webready integration.  Fix mingw link error to use -lwldap32 and -lws2_32 when --without-ssh and --without-curl are used.
---
 config/configure.ac |  2 +-
 jenkins_build.sh    | 25 +++++++++----------------
 2 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/config/configure.ac b/config/configure.ac
index d4132b1..ee8b6f9 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -291,7 +291,7 @@ AC_SUBST(EXV_LIB_STATIC)
 # version.cpp requires link to psapi/Windows and dl/Unix builds
 case "$host_os" in
 *mingw* | *cygwin*)
-    LDFLAGS="$LDFLAGS -no-undefined -lpsapi" ;;
+    LDFLAGS="$LDFLAGS -no-undefined -lpsapi -lwldap32 -lws2_32" ;;
 *)
     LDFLAGS="$LDFLAGS -ldl" ;;
 esac
diff --git a/jenkins_build.sh b/jenkins_build.sh
index dc65dee..3cef41b 100755
--- a/jenkins_build.sh
+++ b/jenkins_build.sh
@@ -82,9 +82,9 @@ fi
 echo "1 target = $target platform = $PLATFORM WORKSPACE = $WORKSPACE"
 if [ $PLATFORM == "macosx" -a -z "$macosx"   ]; then export macosx=true ; export target=macosx    ; fi
 if [ $PLATFORM == "linux"  -a -z "$linux"    ]; then export linux=true  ; export target=linux     ; fi
-if [ -z "$cygwin"    -a ! -z "$CYGWIN" ]; then export cygwin=$CYGWIN              ; fi       
-if [ -z "$tests"     ]; then export tests=true                         ; fi
-if [ -z "$WORKSPACE" ]; then export WORKSPACE="$0/$PLATFORM"                  ; fi
+if [ -z "$cygwin"    -a ! -z "$CYGWIN"       ]; then export cygwin=$CYGWIN                        ; fi       
+if [ -z "$tests"                             ]; then export tests=true                            ; fi
+if [ -z "$WORKSPACE"                         ]; then export WORKSPACE="$0/$PLATFORM"              ; fi
 
 if [ -z "$target" ]; then export target=$(basename $(echo $WORKSPACE | sed -E -e 's#\#/#g'))     ; fi
 echo "2 target = $target platform = $PLATFORM WORKSPACE = $WORKSPACE"
@@ -115,18 +115,10 @@ make config &>/dev/null
 
 ##
 # decide what to do about curl and ssh
-# 3 possibilities:
-# 1 withcurl is empty          (for 0.24 builds without WebReady support)
-# 2 withcurl == --with-curl    (build supports curl and not requested)
-# 3 withcurl == --without-curl (build supports curl and requested)
-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
+export withcurl='--without-curl'
+export withssh='--without-ssh'
+if [ "$curl" == "true" ]; then withcurl=--with-curl ; fi
+if [ "$ssh"  == "true" ]; then withssh=--with-ssh   ; fi
 
 ##
 # what kind of build is this?
@@ -160,7 +152,7 @@ case "$build" in
         # 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
+        ./configure --disable-nls $withcurl $withssh
         make -j4
         # result=$?
         make install
@@ -289,6 +281,7 @@ case "$build" in
   NONE) 
         echo "**************************************"
         echo "*** no build requested for $target ***"
+        if [ "$target" == "cygwin" ]; then echo try export CYGWIN=true and run $(basename $0) again ; fi
         echo "**************************************"
   ;; 
 esac

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list