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


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

The following commit has been merged in the master branch:
commit 3ccac0575abdd945931700fb0743d61b9d38e97f
Author: Robin Mills <robin at clanmills.com>
Date:   Sat Dec 12 09:17:41 2015 +0000

    #1041 Fixed msvc to run from ssh
---
 contrib/cmake/msvc/vcvars.bat |  2 ++
 jenkins_daily.sh              | 30 +++++++++++++++++-------------
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/contrib/cmake/msvc/vcvars.bat b/contrib/cmake/msvc/vcvars.bat
index 6747fa6..ed0b969 100755
--- a/contrib/cmake/msvc/vcvars.bat
+++ b/contrib/cmake/msvc/vcvars.bat
@@ -12,6 +12,8 @@ if "%_ARG_%" EQU "" (
 	goto eof
 )
 
+if NOT DEFINED ProgramFiles(x86) set ProgramFiles(x86)=C:\Program Files (x86)
+
 set "_OPT_=%2"
 if NOT DEFINED _OPT_ set _OPT_=64
 if "%_OPT_%" EQU "x64" set "_OPT_=64"
diff --git a/jenkins_daily.sh b/jenkins_daily.sh
index ae6d5ba..5136108 100755
--- a/jenkins_daily.sh
+++ b/jenkins_daily.sh
@@ -33,9 +33,9 @@ fi
 # determine location of the build and source directories
 if [ "$PLATFORM" == "msvc" ]; then
     exiv2=$(cygpath -aw .)
-    build=$(cygpath -aw .\build)
-     dist=$(cygpath -au .\build\dist\$vs\$arch\$mode\$config\bin)
-     msvc=$(cygpath -aw ./contrib/cmake/msvc)
+    build=$(cygpath -aw ./build)
+     dist=$(cygpath -au ./build/dist/$vs/$arch/$mode/$config/bin)
+     msvc=$(cygpath -au ./contrib/cmake/msvc)
      exe=.exe
      bin=''
 else
@@ -56,29 +56,33 @@ mkdir -p  $dist
 echo "---- dist = $dist ------"
 echo "---- build = $build ------"
 
+echo ++++++++++++++++++++++++++++++++++
+export | sort
+echo ++++++++++++++++++++++++++++++++++
+
 ##
 # perform the build
 if [ "$PLATFORM" == "msvc" ]; then
     ##
     # get windows cmd.exe to perform the build
-    # use a sub-shell to temporarily set path for svn/7z/cmake/cmd
+    # use a subshell to restore the path
     (
-        PATH="$msvc:c:\Program Files\csvn\bin:c:\Program Files (x86)\WANdisco\Subversion:\csvn\bin:c:\Program Files\7-zip:c:\Program Files (x86)\cmake\bin:$PATH:/cygdrive/c/Windows/System32"
+        PATH="$msvc:/cygdrive/c/Program Files/csvn/bin:/cygdrive/c/Program Files (x86)/WANdisco/Subversion/csvn/bin:/cygdrive/c/Program Files/7-zip:/cygdrive/c/Program Files (x86)/cmake/bin:$PATH:/cygdrive/c/Windows/System32"
         cmd.exe /c "cd $build && vcvars $vs $arch && cmakeBuild --rebuild --exiv2=$exiv2 $*"
         result=$?
     )
 else
-    pushd $build
+    pushd $build > /dev/null
     cmake -DCMAKE_INSTALL_PREFIX=$dist -DEXIV2_ENABLE_NLS=OFF $exiv2
     make
     cmake --build . --target install 
-    popd
+    popd > /dev/null
 fi
 
 ##
 # test the build
 if [ -e $dist/$bin/exiv2$exe ]; then
-    pushd  test
+    pushd  test > /dev/null
     export EXIV2_BINDIR=$dist/$bin
     for test in addmoddel.sh \
         bugfixes-test.sh     \
@@ -99,7 +103,7 @@ if [ -e $dist/$bin/exiv2$exe ]; then
     do
         echo '++' $test '++' ; ./$test
     done
-    popd
+    popd > /dev/null
 
     $EXIV2_BINDIR/exiv2 -vV
     ls -alt $EXIV2_BINDIR
@@ -144,7 +148,7 @@ if [ -e $dist/$bin/exiv2$exe ]; then
         popd
 
         # clean userContent/build directories
-        # daily > 50 days; weekly more than 1 year;   monthly more than 5 years
+        # daily > 50 days; weekly > 1 year;   monthly > 5 years
         if [ -e $daily ]; then find $daily -type f -ctime +50          -exec rm -rf {} \; ; fi
         if [ -e $weely ]; then find $weely -type f -ctime +365         -exec rm -rf {} \; ; fi
         if [ -e $monly ]; then find $monly -type f -ctime $((366 * 5)) -exec rm -rf {} \; ; fi
@@ -160,10 +164,10 @@ if [ -e $dist/$bin/exiv2$exe ]; then
     	result=2
     fi
 else
-    echo ""
-    echo "**** no build created ****"
+    echo ''
+    echo '**** no build created ****'
+    echo ''
     result=1
-    echo ""
 fi
 
 exit $result

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list