[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=a63b315
The following commit has been merged in the master branch:
commit a63b315420bc3c765a0d2635d07499ca60647407
Author: Robin Mills <robin at clanmills.com>
Date: Tue Sep 13 07:16:33 2016 +0000
#1041 Work in progress. More corrections to r4486. Updated dist/ReadMe.txt to deal with MinGW
---
contrib/buildserver/cmake_daily.sh | 24 ++++++++++++------------
contrib/buildserver/dailyReadMe.txt | 30 +++++++++++++++++++++++++++++-
2 files changed, 41 insertions(+), 13 deletions(-)
diff --git a/contrib/buildserver/cmake_daily.sh b/contrib/buildserver/cmake_daily.sh
index f79ec49..b9beb6a 100755
--- a/contrib/buildserver/cmake_daily.sh
+++ b/contrib/buildserver/cmake_daily.sh
@@ -113,28 +113,28 @@ testBuild()
# run exiv2 to check the build is sane
bin/.libs/exiv2 --verbose --version
- # install and copy the build in the dist
+ # install and copy the build to the dist
make install
- # run exiv2 to check the build is sane
+ # copy bin lib include to dist
for d in bin lib include; do
- mkdir -p "$dist/$d"
+ 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/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"
+ rm -rf "$dist/lib/libexiv2-13.dll"
+ mkdir -p "$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
+ make samples
+ cp bin/*.exe "$dist/bin/"
+ make tests
else
# recursively invoke MinGW/bash with appropriate tool chain
export RECURSIVE=1
diff --git a/contrib/buildserver/dailyReadMe.txt b/contrib/buildserver/dailyReadMe.txt
index 1f7dc03..416d85f 100644
--- a/contrib/buildserver/dailyReadMe.txt
+++ b/contrib/buildserver/dailyReadMe.txt
@@ -87,6 +87,34 @@ exiv2=0.25.0
xmlns=xmpidq:http://ns.adobe.com/xmp/Identifier/qual/1.0/
$
+platform = mingw
+-----------------
+
+dist/mingw/bin/exiv2.exe exiv2.exe and sample applications
+ .../bin/libexiv2-14.dll shared library
+ /lib/exiv2.dll.a libraries for exiv2/expat/zlib
+ /include/exiv2/ include files
+ /share/ man pages
+dist/samples/exifprint.cpp sample code
+dist/logs/ log files
+
+To run exiv2.exe:
+$ cd dist
+$ PATH="$PWD/mingw/bin:$PATH"
+$ mingw/bin/exiv2
+
+To compile and link your own code:
+ Caution: This is a 32 bit build intended for use with MinGW32/Qt 5.6
+ An error such as "incorrect architecture" is a symptom of using mingw64
+$ cd dist
+$ cp -R mingw/* /usr/local
+$ g++ --std=c++98 -L/usr/local/lib -lexiv2.dll samples/exifprint.cpp -o exifprint
+$ ./exifprint --version
+exiv2=0.25.0
+...
+xmlns=xmpidq:http://ns.adobe.com/xmp/Identifier/qual/1.0/
+$
+
platform = msvc
---------------
@@ -119,4 +147,4 @@ c: emp\dist>
Robin Mills
robin at clanmills.com
-2015-12-13
+2016-09-13
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list