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


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

The following commit has been merged in the master branch:
commit 07ba4ed25002169290cbd9d17af714b50ccedc9a
Author: Robin Mills <robin at clanmills.com>
Date:   Mon Sep 12 20:59:49 2016 +0000

    #1041 Work in progress.  Corrections to r4486 to copy the sample from bin/*.exe and other fixes
---
 contrib/buildserver/cmake_daily.sh | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/contrib/buildserver/cmake_daily.sh b/contrib/buildserver/cmake_daily.sh
index aa58ce4..f79ec49 100755
--- a/contrib/buildserver/cmake_daily.sh
+++ b/contrib/buildserver/cmake_daily.sh
@@ -110,21 +110,31 @@ testBuild()
                 make config
                 ./configure --prefix=/usr/local
                 make
-                make   install
+                # run exiv2 to check the build is sane
                 bin/.libs/exiv2 --verbose --version
-                export "PATH=/usr/local/bin:$PATH"
-                export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
-                make samples
-                make tests
+
+                # install and copy the build in the dist
+                make   install
+                # run exiv2 to check the build is sane
                 for d in bin lib include; do
                 	mkdir -p                               "$dist/$d"
                 	cp    -R /usr/local/$d/*expat* /usr/local/$d/*exiv* /usr/local/$d/z* /usr/local/$d/libz* /usr/local/$d/libdl*  "$dist/$d"
                 done
+
+                # fix up minor stuff
+                rm     -rf                                 "$dist/lib/libexiv2-13.dll"
+                cp     bin/*.exe                           "$dist/bin/"
                 mkdir -p                                   "$dist/lib/pkgconfig"
-                cp    -R /usr/local/$d/pkgconfig/*         "$dist/lib/pkgconfig"
+                cp    -R /usr/local/lib/pkgconfig/*        "$dist/lib/pkgconfig"
                 mkdir -p                                   "$dist/share/man/man1/"
                 cp    -R /usr/local/share/man/man1/*exiv2* "$dist/share/man/man1/"
                 mkdir -p                                   "$dist/samples"
+                export "PATH=$dist/bin/:$PATH"
+
+                # run the test suite
+                export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
+                make samples
+                make tests
             else
                 # recursively invoke MinGW/bash with appropriate tool chain
                 export RECURSIVE=1

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list