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


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

The following commit has been merged in the master branch:
commit bb58ad57853b32287058a0c08302c8fdb32e1f1a
Author: Robin Mills <robin at clanmills.com>
Date:   Fri Aug 15 15:48:36 2014 +0000

    add jenkins support to trunk
---
 jenkins_build.bat | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 jenkins_build.sh  |  28 +++++++++++++
 2 files changed, 149 insertions(+)

diff --git a/jenkins_build.bat b/jenkins_build.bat
new file mode 100644
index 0000000..2fcbb72
--- /dev/null
+++ b/jenkins_build.bat
@@ -0,0 +1,121 @@
+ at echo off
+rem --
+rem build exiv2 library from Jenkins (or the command-line)
+
+if NOT %label%==MSVC exit/b 0
+
+if NOT DEFINED ACTION        set ACTION=/build
+if NOT DEFINED COMPILER      set COMPILER=G++
+if NOT DEFINED BuildEnv      set BuildEnv=native
+if NOT DEFINED Builder       set Builder=2005
+
+if NOT DEFINED release       set release=false
+if NOT DEFINED debug         set debug=false
+if NOT DEFINED static        set static=false
+if NOT DEFINED dll           set dll=false
+if NOT DEFINED x64           set x64=false
+if NOT DEFINED Win32         set Win32=false
+
+if NOT DEFINED tests         set tests=false
+if NOT DEFINED teste         set teste=false
+if NOT DEFINED testv         set testv=false
+if NOT DEFINED testr         set testr=false
+
+if NOT DEFINED expat         set expat=true
+if NOT DEFINED zlib          set zlib=true
+if NOT DEFINED curl          set curl=false
+if NOT DEFINED libssh        set libssh=false
+if NOT DEFINED openssl       set openssl=false
+
+if %ACTION%==/clean          set tests=false
+if %ACTION%==/upgrade        set tests=false
+
+if NOT DEFINED INCLUDE       set "INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include;c:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK
1.1\include\;c:\home
mills\dev\win32oost\includeoost-1_42
+if NOT DEFINED LIB           set "LIB=C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\lib;C:\Program Files (x86)\Microsoft Visual Studio 8\SDK
2.0\lib;c:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK
1.1\Lib\"
+if NOT DEFINED LIBPATH       set "LIBPATH=C:\Windows\Microsoft.NET\Framework
2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB"
+if NOT DEFINED VS80COMNTOOLS set "VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\"
+
+rem  --
+rem  set the build environment
+call "%VS80COMNTOOLS%\..\..\Vcin
cvars32.bat"
+
+rem --
+rem Pull in support libraries
+if NOT EXIST ..\expat-2.1.0 xcopy/yesihq  c:\exiv2libs\expat-2.1.0 ..\expat-2.1.0
+if NOT EXIST ..\zlib-1.2.7  xcopy/yesihq  c:\exiv2libs\zlib-1.2.7  ..\zlib-1.2.7
+
+rem --
+rem build and test
+
+pushd msvc2005
+
+for /f "tokens=*" %%a in ('cygpath -au ..') do set FOO=%%a
+
+if %Win32%==true (
+  if %debug%==true (
+    if %static%==true (
+      devenv exiv2.sln %ACTION% "Debug|Win32"     
+      if %tests%==true (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/Win32/Debug'
+) ) ) )
+
+if %Win32%==true (
+  if %release%==true (
+    if %static%==true  (
+      devenv exiv2.sln %ACTION% "Release|Win32"    
+      if %tests%==true   (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/Win32/Release'
+) ) ) )
+
+if %Win32%==true (
+  if %debug%==true (
+    if %dll%==true   (
+      devenv exiv2.sln %ACTION% "DebugDLL|Win32"   
+      if %tests%==true (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/Win32/DebugDLL'
+) ) ) )
+
+if %Win32%==true (
+  if %release%==true (
+    if %dll%==true     (
+      devenv exiv2.sln %ACTION% "ReleaseDLL|Win32" 
+      if %tests%==true   (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/Win32/ReleaseDLL'
+) ) ) )
+
+if %x64%==true (
+  if %debug%==true (
+    if %static%==true (
+      devenv exiv2.sln %ACTION% "Debug|x64"        
+      if %tests%==true (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/x64/Debug'
+) ) ) )
+
+if %x64%==true (
+  if %release%==true (
+    if %static%==true  (
+      devenv exiv2.sln %ACTION% "Release|x64"      
+      if %tests%==true   (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/x64/Release'
+) ) ) )
+
+if %x64%==true (
+  if %debug%==true (
+    if %dll%==true   (
+      devenv exiv2.sln %ACTION% "DebugDLL|x64"     
+      if %tests%==true (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/x64/DebugDLL'
+) ) ) )
+
+if %x64%==true   (
+  if %release%==true (
+    if %dll%==true     (
+      devenv exiv2.sln %ACTION% "ReleaseDLL|x64"   
+      if %tests%==true   (
+        call bash -c 'cd %FOO%;cd test;./testMSVC.sh ../msvc2005/bin/x64/ReleaseDLL'
+) ) ) )
+
+popd
+
+rem That's all Folks!
+rem -----------------
diff --git a/jenkins_build.sh b/jenkins_build.sh
new file mode 100755
index 0000000..31adc42
--- /dev/null
+++ b/jenkins_build.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+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
+
+if [ "$ACTION" == /rebuild ]; then
+	if [ -e configure ]; then
+		make distclean;
+	fi
+fi
+
+if [ ! -e configure ]; then 
+	make config
+	./configure --prefix=$PWD/usr
+fi
+
+touch src/version.cpp
+
+make
+make install
+make samples
+
+if [ "$tests" == true ]; then
+	make tests
+fi
+
+# That's all Folks!
+##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list