221 Commits (aefd901befd375da7fdedfe031e818fcbc63dd67)

Author SHA1 Message Date
Robin Mills 759d8ba022 enhanced_release_docs1_v0.27 5 years ago
clanmills f9b83fc7c6 put test log into the build log. 5 years ago
clanmills 66d1bd7476 Fixing Solaris packaging. 5 years ago
clanmills f6edeaea63 Add packaging support for Solaris 5 years ago
clanmills 13565be3d2 Change for solaris. 5 years ago
clanmills e62bd8b94e fix_1158_0.27 5 years ago
Robin Mills f0b15d40ef fix_packaging_0.27 5 years ago
clanmills 7658d8aefd fix_macOS_0.27 5 years ago
Robin Mills d3444d4547 fix_GCC48 5 years ago
Andreas Sturmlechner 0890d66a6e EXIV2_ENABLE_SSH: Fix compatibility with >=libssh-0.9.2
0.9.1 remains broken regardless and is beyond fixing in this place.

Build-tested with both libssh 0.9.0 and 0.9.2.

Solution copied from KDE's kio-extras commit 24506c2af8d1904a99538543804306c6c2b81ca2
6 years ago
Luis Diaz a62e35edb6 Remove compiler flag which is causing issues in Fedora_MinGW 6 years ago
Luis Diaz 907a5aef3b clang guard for -fstack-protector-strong 6 years ago
Luis Díaz Más 9a0889c744 FORTIFY not used on OSX 6 years ago
Luis Díaz Más 006dcde403 Better usage of --coverage flags 6 years ago
Luis Díaz Más 9c7c3c6d22 Allow to use new compiler flags in clang 6 years ago
Luis Díaz Más 1fa5839c8e cmake: use add_compile_option & add new security flags
- Replacement of CMAKE_CXX_FLAGS by add_compile_option where it was
  possible
- Addition of new compiler flags which are interesting in terms of
  software security
- Do not mix coverage flags with -O0 and -g
6 years ago
Robin Mills de9ce41a14 Add README-SAMPLES.md to packages 6 years ago
Robin Mills 73c592cdc9 Change EXIV2_ENABLE_NLS default to Off, removed EXIV2_BUILD_PO. Documentation Update. Restored find_package(Intl REQUIRED) 6 years ago
Robin Mills 3ad2c8a525 fix_966_macosx_libintl_mono_framework 6 years ago
Andreas Sturmlechner 89d8160a41
Drop now obsolete FindSSH.cmake 6 years ago
Andreas Sturmlechner e85ce17fc9
Switch to libssh's own libssh-config.cmake
This is provided by libssh since 2013.
6 years ago
Robin Mills f4a37c63f2 version.cpp Pragma removed. Platform includes simplified.
cmake/packaging.cmake        Changed comment about VS version numbers
6 years ago
Robin Mills 955962eaa8 Code revisions after review by @piponazo 6 years ago
Robin Mills b0a9cb5624 NetBSD/FreeBSD Support 6 years ago
Robin Mills 514ae0fa89 Fix #780 6 years ago
Luis Díaz Más 00f31f2d35 Replace check_function_exists by check_cxx_symbol_exist 6 years ago
Dan Čermák d58ad1d056 [Doxygen] define PARSED_BY_DOXYGEN when building the documentation
This allows us to hide internal namespaces and some template magic which serves
little purpose to have in the API documentation
6 years ago
Luis Diaz Mas aea51f5d41 [doxygen] disable generation of TODO list 6 years ago
Luis Diaz Mas 84baf3cec0 Update doxygen template to doxygen 1.8.13 6 years ago
Luis Diaz Mas 3b2e2cc442 Generate doxygen.hpp page 6 years ago
Michał Walenciak 6887822243 removing unused header generation 6 years ago
Luis Diaz Mas eca3eb711a Do not tread deprecation warnings as errors 7 years ago
Luis Diaz Mas 25bfeb4245 Print deprecation warning in CMake report 7 years ago
Luis Diaz Mas 0e02d46aa8 CMake: add mechanism to deprecate code 7 years ago
Luis Díaz Más 04c9b181cc Fix #644. Export specializations of BasicError
- Only export BasicError::setMsg which is the only implementation present in the .cpp
- Only export BasicError specialization on __APPLE__

It seems that gcc automatically adds the attribute when the visibility
settings are set to hidden. See this link for more information:
https://reviews.llvm.org/D35388
7 years ago
Luis Diaz Mas e706cca190 Fixes in .pc file for being compatible with more distributions 7 years ago
Luis Diaz Mas acc9fa012d Reliable detection of strerror_r variants 7 years ago
Andreas Schneider ad95969a08 cmake: Use correct installation dir for generated docs
Fixes #623

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit f8f63a8b4033549d47384c6e2b1972ae1a2775fc)
7 years ago
Robin Mills 38e2fb7ca7 Fix video/webready package name. 7 years ago
Robin Mills 6e14f4a3ba Fixing another typo! 7 years ago
Robin Mills e7c9fc2d83 Fix typos is cmake/packaging.cmake 7 years ago
Robin Mills 97292aef66 Update packaging to respect Video, Webready and Edition of MSVC 7 years ago
Robin Mills c32b413f74 Fix: https://github.com/Exiv2/exiv2/issues/575 7 years ago
Robin Mills d8a15e1d13 Do not put "Clang" in the Darwin build bundle name. 7 years ago
Robin Mills 2ba7866f22 Restore cpack_source_generator 7 years ago
Robin Mills cb5f0f29db Change how packaging detects Clang. 7 years ago
Robin Mills 5e75f51fde Correction to previous commit. 7 years ago
Robin Mills 985d0492e2 Updating packaging for clang: Platform[{64|32}][Clang][Static][Debug] 7 years ago
Robin Mills b944b2ace7 packaging cleanup 7 years ago
Robin Mills f97c38d44a Change package names Platform{64|32}[Static][Debug] 7 years ago
Robin Mills 045af8ea36 add logs to the build bundle 7 years ago
Robin Mills a18c24249a Add packaging changes for CYGWIN64/CYGWIN32 and Linux32 7 years ago
Robin Mills 6f437bcc0a Add cmake/msvc_conan_profiles 7 years ago
Luis Díaz Más f92030d650 CMake: remove XMPSRC variable. 7 years ago
Luis Diaz Mas 3f2e0de0db Print CMAKE_BUILD_TYPE after configuring the project 7 years ago
Luis Díaz Más 186352e295 conan: copy 3rd party dlls only if the conanDlls folder exists
Note that this folder will only exists if at least one of the conan packages managed with the shared option = True.
7 years ago
Luis Díaz Más 91a6e79d5c CMake: Use cmake_dependent_option for EXIV2_ENABLE_NLS 7 years ago
Robin Mills e66c832008 Exiv2 v0.27.0.2 Documentation updates for localisation. 7 years ago
Robin Mills 9255fc2b4e Doxyfile.in and website/doxygen/Doxyfile have been rationalised/simplified.
website/doxgen/Doxyfile is copied from cmake/Doxyfile.in and patched to deliver website look'n'feel.
website is stored in svn://dev.exiv2.org/svn/team/website
7 years ago
Robin Mills 906870e514 Do not store test/tmp in package_source. 7 years ago
Robin Mills 5486106ed5 Change MinGW package name from MinGW-64 to MinGW64 (and MinGW-32 to MinGW32) 7 years ago
Robin Mills 99ca43aa11 Ignore packages when generating a source package. 7 years ago
Robin Mills 4bb18a32ff Use cmake option -DEXIV2_TEAM_PACKAGING 7 years ago
Robin Mills dd030fc639 Fix FreeBSD to copy releasenotes/Linux/ReadMe.txt (#497) 7 years ago
Luis Diaz Mas d6c6d469a9 CMake: Use add_definitions instead of add_compile_definitions 7 years ago
Luis Díaz Más 9980107586 Only include zlib directory when building the exiv2lib 7 years ago
Luis Díaz Más 4d47b08a16 CMake: Move gtest finding to unitTests folder 7 years ago
Luis Díaz Más 38b60a3e8e CMake: Simplify Intl finding 7 years ago
Luis Díaz Más b91c0a8898 resolve #536 7 years ago
Luis Díaz Más 38ed6de05d MSVC: Move compile definitions from config.h to CMake.
+ Also remove inclusion of <Windows.h> from config.h
7 years ago
Luis Díaz Más 3009cc4c0c Fix definition of EXV_ENABLE_NLS 7 years ago
Luis Díaz Más 307cb27d31 Move find_package(MSGFMT) to po/CMakeLists.txt.
We do not want to find the package unless the PO option is enabled.
7 years ago
Luis Díaz Más 274ef04f7e CMake: Proper way to require c++98 standard 7 years ago
Luis Díaz Más 244f00bf3a CMake: Do not add conan global compiler flags
+ Add conan-gtest compile definitions for the unit_tests target
7 years ago
Luis Díaz Más 09ad415f1f CMake: Define PROJECT_DESCRIPTION 7 years ago
Luis Díaz Más 46e6ced607 pkg-config file - paths depending on + Fix version 7 years ago
Luis Diaz Mas f9389c4f1c Rename exiv2.pc.cmake to exiv2.pc.in 7 years ago
Robin Mills b608ad9fdd Restore exiv2.pc in the mix (#497) 7 years ago
Luis Diaz Mas 611d6c7bbc CMake: Move uninstall code to mainSetup 7 years ago
Robin Mills 33032bed8c Changes in build.sh
Fixes while debugging build.sh and the CPack targets
7 years ago
Robin Mills b953af18ea Only copy samples/exifprint to package + Create source package from build.sh 7 years ago
Robin Mills cbb42b25e3 Restore copying samples directory. 7 years ago
Robin Mills 5963b9517f Only copy samples/exifprint.cpp to package 7 years ago
Robin Mills 40ff9b8423 Remove exiv2.pc from mix 7 years ago
Robin Mills 79ef0f0102 Fix error in packaging.cmake relating to file ReadMe.txt 7 years ago
Robin Mills 4a7a4fdb3e Change package name for MinGW/32 7 years ago
Robin Mills 87278e6be3 MSYS2/MinGW: Disable Regex 7 years ago
Robin Mills 42084f2563 Add support for MinGW/msys2 in 32 bits + Updates in buildserver 7 years ago
Robin Mills 2b0ebd12ca Release documentation and Documentation updates. 7 years ago
Robin Mills 5f6ef65695 Update PROJECT_VERSION & add install() commands for CPack
- Version updated to 0.27.0.1.
- Release notes for MacOS-X Package, Linux, CYGWIN, win64 and msvc
- Redmine Release Notes Updated.
7 years ago
Luis Díaz Más dc086d2ebb Default to /MD(d) even for STATIC builds.
We had issues to compile exiv2 due to a undefined symbol referenced in expat.lib (Explained in #487).
Static builds in Windows need to use msvcrt.lib where the missing symbol ("__imp__mbspbrk") was
defined. We can still decide to use the STATIC CRT  library by using:

cmake -DBUILD_SHARED_LIBS=OFF -DEXIV2_ENABLE_DYNAMIC_RUNTIME=OFF
7 years ago
Luis Díaz Más 155b1a5a6b CMake: Remove magic configuration about WEBREADY. Users will need to specify what to use. 7 years ago
Gilles Caulier af44cec65f Detect Regex lib with cmake instead of pkg_config 7 years ago
Luis Díaz Más 6ba4081f95 Use CMake-GenerateExportHeader to generate a macro to export symbols
- Delete the hardcoded macros in config.h taking care of that.
7 years ago
Luis Díaz Más b78d85c9bb Set default visibility to hidden 7 years ago
Luis Díaz Más d46f7a8746 Remove deprecated stuff from config.h.cmake 7 years ago
Luis Díaz Más 808de65c37 Use CMake PROJECT_VERSION components in version files 7 years ago
Luis Díaz Más 5eb692d536 CPack: Add tweak number. Now packages include the tweak number in the name 7 years ago
Luis Díaz Más f06b69fa56 CPack: ignore files for generating the sources tarball 7 years ago
Luis Díaz Más 085d8a309a Remove COMMERCIAL Cmake variable 7 years ago
Luis Díaz Más 48e0b1d0c1 Remove obsolete lsm file 7 years ago
Luis Díaz Más a6d82633c3 Enable WARNINGS_AS_ERRORS in CI jobs.
- Move the settings to other cmake file. This will not be used for XMP code
- Disable WARNINGS_AS_ERRORS for VS2008 and VS2010
7 years ago
Luis Díaz Más 18ded9ccf3 Use static version of libcurl.
Note that this will simplify the packaging/deployment
7 years ago
Luis Díaz Más f47b0546ac Make clear separation between linker and compiler flags 7 years ago
Luis Díaz Más 0bfa0168df Cleanup some of the PACKAGE_XXX variables and rely in the ones given by the project() command 7 years ago
Luis Díaz Más 14ab688b7f Provide more CPack variables 7 years ago
Luis Díaz Más b2b04fe2d6 Use project() command to provide project version
- Note that we cannot find libiconv without saying that Exiv2 is also a C project
7 years ago
Luis Díaz Más 68f7c5e047 Use Cpack for generating the tarballs (TODO: document) 7 years ago
Luis Díaz Más dce05ac488 Remove occurrences of EXIV2_BUILDDIR and rely in EXIV2_BINDIR 7 years ago
Luis Díaz Más 24be5a514e [Appveyor] Build exiv2 with Visual Studio 2012 and 2013
- Integration tests had to be disabled with 2012 and 2013. There were
few (4) tests failing for these cases.
- Only bring libiconv with conan when a windows subsystem is detected.
- libiconv can be enabled now with a conan option.
- Use infinity instead of INFINITY
- Use conan_basic_setup(). Fixes a problem with gtest is VS2012
- call vcvarsall.bat for each compiler version so that nmake can be
found.
7 years ago
clanmills 3c42fdddeb Fix include <exiv2/exiv2.hpp> to include exiv2/config.h (and consequential changes)
Fix cltest.cpp and version.cpp to report MSVC 2017 in which _MSC_VER == 1910
7 years ago
Hombre a226d6a650 Fixing typo in cmakefiles and removing REGEX dependencie for Cygwin 7 years ago
Hombre 28da26f174 Adding MINGW32 toolchain support 7 years ago
Dan Čermák 10929cec7a [CMake] Add EXIV2_TEAM_USE_SANITIZERS option
Setting this option enables address sanitizer and undefined behavior
sanitizer, when available for the given compiler & platform.
It does not currently check whether the architecture is supported,
as CMake does not offer an easy way how to check it. Since we are
mostly developing for x86 & amd64 this is not a huge problem and it's
also a developer only setting.
7 years ago
Luis Diaz Mas a9c9451588 Remove localtime.c and any other trick to handle timegm 7 years ago
Luis Diaz Mas 17ad919ec2 CMake: Add RPATH configuration for Linux/Solaris
Note that this RPATH setup is following a recommendation from the CMake
documentation:
https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling#recommendations
7 years ago
Luis Diaz Mas 6521f7c4f9 cmake: new option to enable compilations with coverage flags
Note that this will only work with gcc and clang.
7 years ago
Luis Díaz Más 5eee072089 Enable clcache usage and use it in appveyor
* [appveyor] Install clcache with nuget
* [appveyor] Keep clcache in the appveyor jobs
* [appveyor] Print clcache stats after compiling the project
* Use CLCACHE_PATH env variable to find clcache
7 years ago
Luis Díaz Más bb9ce23e76 Set EXV_HAVE_XMP_TOOLKIT correctly. set() does not accept logical operators 7 years ago
Luis Diaz Mas 0d6abb5b51 Remove leftovers from autotools and .gitignore 7 years ago
Luis Diaz Mas a3444f055e Rename config folder to cmake 7 years ago