Debian Codegraph @

releasenotes/Unix/ReadMe.txt

raw
1 @RV@ @CMAKE_SYSTEM_NAME@ 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.so.@VM@.@VN@.@VD@
17 CMake support/consume files lib/cmake/exiv2
18 pkg-config file lib/pkgconfig/exiv2.pc
19 man pages share/man/
20 localisation files share/locale/
21 sample code samples/exifprint.cpp
22 build and test log logs/build.txt
23
24 To run exiv2 from the bundle
25 ----------------------------
26 $ cd <bundle>
27 $ bin/exiv2
28
29 To build samples/exiftool.cpp from the bundle
30 ---------------------------------------------
31 $ g++ -std=c++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2 -o exifprint
32 $ env LD_LIBRARY_PATH="$PWD/lib:$LD_LIBRARY_PATH" ./exifprint
33
34 To install for use by all users
35 -------------------------------
36 $ for i in bin include lib share ; do sudo mkdir -p /usr/local/$i ; sudo cp -R $i/* /usr/local/$i ; done
37
38 To compile and link your own code using installed library and include files
39 ---------------------------------------------------------------------------
40 Method 1: Explicitly set include and linking options
41 $ cd <bundle>
42 $ g++ -std=c++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
43 $ export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
44 $ ./exifprint --version
45
46 Method 2: Use pkg-config to set include and linking options
47 $ cd <bundle>
48 $ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
49 $ export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
50 $ g++ -std=c++98 samples/exifprint.cpp -o exifprint $(pkg-config exiv2 --libs --cflags)
51 $ ./exifprint
52
53 Method 3: Use the CMake support/consume files
54 See file: README.md Section: 2.6 "Consuming Exiv2 with CMake"
55
56 More Documentation
57 ------------------
58
59 Project Website: https://exiv2.org
60
61 $ export "MANPATH=/usr/local/share/man:$MANPATH"
62 $ man exiv2
63
64 Robin Mills
65 [email protected]
66 Updated: 2020-04-22