Commit Graph

2951 Commits

Author SHA1 Message Date
Andreas Schneider
ed3a0f1341 cmake: Install header files without globbing
Fixes #627

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 0b34ccb9a3b26cd1c5267c6a5c15e9fa1a665adb)
2019-01-05 13:08:49 +01:00
Andreas Schneider
6062b1b803 cmake: Rename xmp to exiv2-xmp to avoid name conflicts
There is already a libxmp file by the xmp project on https://xmp.sf.net.
To avoid issues prefix with exiv2.

Fixes #624

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 89509d7a3915ba474cbc3f8c85ab9bec4954ceda)
2019-01-05 13:08:49 +01:00
Alexander Steffen
8453ef0466 Add Tamron SP 24-70mm f/2.8 Di VC USD G2 for Canon
Fixes #330.
2019-01-04 09:41:14 +01:00
Alexander Steffen
f586d57bb1 Add various Sigma and Canon lenses 2019-01-04 09:41:06 +01:00
Alexander Steffen
cf4f14c67b Add new IDs for Sigma lenses with firmware 2.00
The firmware update changed the IDs, so that the same lens may now be known
under different IDs.
2019-01-04 09:40:58 +01:00
Natanael Copa
63f1fde85b Fix path for errno.h
Fix warnings when built with musl libc by using the correct path for
errno.h as defined in POSIX.

Fixes the following warning:
In file included from /home/ncopa/src/exiv2/src/http.cpp:74:
/usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
  ^~~~~~~
2018-12-25 16:09:00 +01:00
Natanael Copa
480430d397 Fix usage of strerror_r
Only GNU libc has implementation of the GNU variant of strerror_r, so
also for __GLIBC__ to determine which strerror_r implemenation to use.

This fixes build with musl libc, which makes some, but not all, GNU
extensions available with _GNU_SOURCE.
2018-12-25 16:08:51 +01:00
Luis Díaz Más
17fecb358f Merge branch 'master' of https://github.com/FreddieWitherden/exiv2 into FreddieWitherden-master 2018-12-21 14:46:01 +01:00
Robin Mills
a9404154bc Fix: https://github.com/Exiv2/exiv2/issues/585 2018-12-09 18:54:40 +01:00
Robin Mills
88ec8b88ea Fix #562 for 32 bit builds (don't throw arithmetic exception). 2018-12-09 18:54:40 +01:00
Robin Mills
a33041a8b7 Fix: https://github.com/Exiv2/exiv2/issues/562 for stringFormat() crashes. 2018-12-09 18:54:40 +01:00
Robin Mills
03b4f1deae Fix: https://github.com/Exiv2/exiv2/issues/580 2018-12-09 18:54:40 +01:00
Robin Mills
56ba273a90 Fix: https://github.com/Exiv2/exiv2/issues/577 2018-12-09 18:54:40 +01:00
Robin Mills
43683f1eff Fix #531 2018-12-09 18:54:40 +01:00
Robin Mills
23483dff86 #571 Restore the original windows getProcessCode() because Microsoft's GetModuleFileName isn't effective! 2018-11-30 14:18:17 +01:00
Robin Mills
108509a089 Correction to Microsoft sample code! https://docs.microsoft.com/en-gb/windows/desktop/Services/installing-a-service 2018-11-30 14:18:17 +01:00
Robin Mills
9cb6c1e4c9 Correction in futils.cpp 2018-11-30 14:18:17 +01:00
Robin Mills
22e49cc78b Try to fix https://github.com/Exiv2/exiv2/issues/572 2018-11-30 14:18:17 +01:00
Robin Mills
3af6f43ff0 Fix: https://github.com/Exiv2/exiv2/issues/571 2018-11-30 14:18:17 +01:00
Robin Mills
eab816fd32 src/version.cpp report enable_nls 2018-11-30 14:18:17 +01:00
clanmills
c22a38cfb4 Fix for https://github.com/Exiv2/exiv2/issues/560 (eraseFamily() crashes in MSVC/Debug). 2018-11-30 14:18:17 +01:00
Robin Mills
062bad7535 Adding output for have_regex to version.cpp 2018-11-30 14:18:17 +01:00
Robin Mills
1b136f0657 Revision to PR#557. Restored XmpData::erase() and added XmpData::eraseFamily(). Restored and augumented conversions.sh 2018-11-30 14:18:17 +01:00
Robin Mills
ccd708df24 Fix: https://github.com/Exiv2/exiv2/issues/521
conversions.sh reveals a (harmless) order change runTest exiv2 -M'set Xmp.xmp.ModifyDate 2015-04-17T18:10:22Z' v.xmp
2018-11-30 14:18:17 +01:00
Luis Díaz Más
0d7b3ecd1e Update man page 2018-11-28 17:55:16 +01:00
Luis Díaz Más
4ed5bdc78b CMake: Supress MSVC PDB warnings 2018-11-27 18:20:20 +01:00
skal
ecaf1dd478 Fix alpha bit detection in VP8L chunks
As per the spec ([1]), the alpha_bit is located on the 4th byte of the payload, just after the height.

This seems to fix the bug reported on GIMP ([2]) where an incorrect file was generated.



[1] https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#2_riff_header
[2] https://gitlab.gnome.org/GNOME/gimp/issues/1818
2018-11-26 16:43:55 +01:00
Luis Díaz Más
6e42c1b55e Fix #561. Use proper counter for the idx variable 2018-11-26 16:39:00 +01:00
Luis Díaz Más
34e411d2fc Fix 547: option -pR only available in Debug mode.
Note that the method Params::evalPrint() has been clang-formatted.
2018-11-22 18:19:08 +01:00
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.
2018-11-20 22:02:05 +01:00
Robin Mills
89375979d8 https://github.com/Exiv2/exiv2/issues/555
I have restored the Macro EXIV2_TEST_VERSION in include/exiv2/version.hpp
I have added an option --version-test to exifprint.cpp to test/validate EXIV2_TEST_VERSION works as documented.
Version strings in Exiv2 v0.27 and later have a fourth digit to indicate the pre-release number of the build.
Pre-release builds should never be used for production purposes.
2018-11-19 11:38:26 +00:00
Luis Díaz Más
ee28e8ae15 CMake: Install public headers 2018-11-16 20:30:52 +01:00
Luis Díaz Más
8e5ee7a0e6 Fix debug flag preprocessor condition 2018-11-16 18:13:59 +01:00
Luis Díaz Más
9547cddbd1 Add protection around EXV_LOCALEDIR definition 2018-11-16 17:23:47 +01:00
clanmills
c5cd09bebe Fix getProcessPath() on Cygwin 2018-11-16 17:23:47 +01:00
clanmills
2f70ae4305 Fix getProcessPath() 2018-11-16 17:23:47 +01:00
Robin Mills
8a6cd5d24e Fix -vVg loops 2018-11-16 13:10:43 +01:00
Luis Díaz Más
0c871a5878 CMake: Align sources and headers in two columns 2018-11-14 19:53:59 +01:00
Luis Díaz Más
faa3a607ab CMake: Remove FREEBSD variable + Remove commented code
- Plus: EXV_LOCALEDIR is now defined only when needed.
2018-11-14 19:53:59 +01:00
Luis Díaz Más
5fc905a799 CMake: remove variable EXIV2_SRC 2018-11-14 19:53:59 +01:00
Luis Díaz Más
fa5f057f8c CMake: Remove useless source_group commands 2018-11-14 19:53:59 +01:00
Luis Díaz Más
b208bcef7d CMake: CURL does not need to be propagated 2018-11-14 19:53:59 +01:00
Luis Díaz Más
37538399d6 CMake: Modernize src/CMakeLists.txt by using target_sources. 2018-11-14 19:53:59 +01:00
Luis Díaz Más
9980107586 Only include zlib directory when building the exiv2lib 2018-11-14 19:53:59 +01:00
Luis Diaz Mas
e397f8f053 Fix #533 - Apply patch proposed by Dominique Nerriec 2018-11-14 07:55:21 +01:00
Luis Diaz Mas
83bb4aa80a code formatting 2018-11-14 07:55:21 +01:00
Luis Díaz Más
38b60a3e8e CMake: Simplify Intl finding 2018-11-13 20:12:58 +01:00
Luis Díaz Más
4ffc577e4e CMake: remove useless directory inclusions for exiv2
Note that ${CMAKE_SOURCE_DIR}/include is already passed to exiv2
through the exiv2lib target.
2018-11-13 20:12:58 +01:00
Luis Díaz Más
185bcaca05 Link exiv2 app againts libintl 2018-11-13 20:12:58 +01:00
Luis Díaz Más
aae84e4643 Add missing inclusions of cstdio and cstdarg 2018-11-11 12:27:26 +01:00