Debian Codegraph @

releasenotes/Darwin/ReadMe.txt

raw
1 @RV@ macOS (Darwin) Bundle @RC@
2
3 Document Purpose
4 -------- -------
5 ReadMe.txt This file
6 README.md Developer Manual
7 README-CONAN.md Developer Manual Appendix
8 README-SAMPLES.md Developer Sample Code Manual
9 releasenotes.txt Late breaking news
10 exiv2.png Exiv2 Logo
11 COPYING GPLv2.0 Software License
12
13 Deliverable Location
14 ----------- --------
15 exiv2 and sample applications bin/exiv2
16 shared library lib/libexiv2.@VM@.@VN@.@VD@@[email protected]
17 CMake support/consume files lib/cmake/exiv2
18 pkg-config file lib/pkgconfig/exiv2.pc
19 include files include/exiv2/
20 man pages share/man/
21 localisation files share/locale/
22 sample code samples/exifprint.cpp
23 build/test log logs/build.txt
24
25 To run exiv2 from the bundle
26 ----------------------------
27 $ cd <bundle>
28 $ env DYLD_LIBRARY_PATH="$PWD/lib:$DYLD_LIBRARY_PATH" bin/exiv2
29
30 To build samples/exiftool.cpp from the bundle
31 ---------------------------------------------
32 $ g++ -std=c++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2 -o exifprint
33 $ env DYLD_LIBRARY_PATH="$PWD/lib:$DYLD_LIBRARY_PATH" ./exifprint
34
35 To install for use by all users
36 -------------------------------
37 $ for i in bin include lib share ; do sudo ditto -vV $i /usr/local/$i ; done
38
39 To compile and link your own code using installed library and include files
40 ---------------------------------------------------------------------------
41 Method 1: Explicitly set include and linking options
42 $ g++ -std=c++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
43 $ ./exifprint --version
44
45 Method 2: Use pkg-config to set include and linking options
46 $ cd <bundle>
47 $ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
48 $ g++ -std=c++98 samples/exifprint.cpp -o exifprint $(pkg-config exiv2 --libs --cflags)
49 $ ./exifprint
50
51 Method 3: Use the CMake support/consume files
52 See file: README.md Section: 2.6 "Consuming Exiv2 with CMake"
53
54 More Documentation
55 ------------------
56
57 Project Website: https://exiv2.org
58
59 $ export "MANPATH=/usr/local/share/man:$MANPATH"
60 $ man exiv2
61
62 Robin Mills
63 [email protected]
64 Updated: 2020-04-22