• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

auto-aux/H11-Oct-2020-17,65113,196

auto-m4/H11-Oct-2020-11,03810,065

camlibs/H03-May-2022-200,958150,098

doc/H07-May-2022-6,6375,282

examples/H03-May-2022-3,6832,796

gphoto-m4/H03-May-2022-6,0055,364

gphoto2/H11-Oct-2020-1,982868

libgphoto2/H03-May-2022-11,5527,341

libgphoto2_port/H07-May-2022-87,55270,493

packaging/H03-May-2022-5,6364,495

po/H03-May-2022-237,184190,121

tests/H03-May-2022-9,3666,907

ABOUT-NLSH A D01-Aug-201552.6 KiB769723

AUTHORSH A D05-Feb-20196 KiB170142

COPYINGH A D05-Feb-201925.8 KiB505418

ChangeLogH A D26-May-2020216.3 KiB6,6824,514

HACKING.mdH A D16-Oct-201911.9 KiB353247

INSTALLH A D26-May-20207.7 KiB246177

MAINTAINERSH A D20-Aug-20206 KiB255178

Makefile.amH A D26-Jan-20204.1 KiB13668

Makefile.inH A D03-May-202240.2 KiB1,2161,059

NEWSH A D11-Oct-202076.3 KiB2,4041,839

READMEH A D24-May-2020988 3530

README.mdH A D28-Jun-20205.7 KiB149100

README.packagingH A D05-Feb-20194.4 KiB12090

RELEASE-HOWTO.mdH A D26-May-20203.6 KiB14278

SECURITY.mdH A D26-Jan-20202.3 KiB6943

TESTERSH A D05-Feb-20192.7 KiB6446

aclocal.m4H A D11-Oct-202057.5 KiB1,6111,456

config.h.inH A D11-Oct-20208.1 KiB318218

configureH A D03-May-2022887.2 KiB29,32324,750

configure.acH A D11-Oct-202025.1 KiB763653

gphoto2-config.inH A D05-Feb-20191.1 KiB7453

installcheck.mkH A D05-Feb-20191 KiB3128

libgphoto2-uninstalled.pc.inH A D05-Feb-20191 KiB2825

libgphoto2.pc.inH A D05-Feb-2019400 1614

README

1libgphoto2 2.5.25 release
2
3ptp2:
4* Liveview support for Leica SL
5* PTP 1.1 Streaming parameters added.
6* Olympus OMD capture fixes
7* Nikon DSLR/Z:
8  * various improvements to liveview error reporting.
9  * much more properties added, some values added
10  * allow downloading of "large thumbnails" instead of "regular thumbnails",
11    can be selected by "thumbsize" gphoto2 local setting.
12  * fixes for D3000, D3100 methods
13  * maximum capture wait extended to 1000 seconds (as the D870 has 900 seconds max now)
14* Canon EOS
15  * initialization fixes (if it breaks your EOS M or PowerShot, please report)
16  * liveview enablement fixed
17  * maximum capture wait extended to 90seconds
18  * EOS R shutterspeed , aperture reporting fixed
19* various bugfixes
20* Cameras added to id list:
21  * Sony NEX 5
22  * Canon EOS 90D
23  * Fuji XT-4
24  * Sanyo VPC-FH1
25  * Leica SL Typ 601
26
27lumix:
28* fixed initialisation, might help capture
29
30all:
31* ongoing stability fixes from AFL fuzzing
32
33translation updates:
34* sv
35

README.md

1# libgphoto2
2
3Hello and welcome to the wonderful world of gphoto! This is libgphoto2, the
4successor of gphoto with lots of new features and additional camera
5drivers.
6
7If you miss a feature, would like to report success or failure, or have any
8questions, please don't hesitate to contact our mailing list.
9
10
11## What is libgphoto2?
12
13libgphoto2 is a library that can be used by applications to access various
14digital cameras.
15
16For more information on gphoto, see [gphoto project home page].
17
18There, you can also get information on mailing lists, supported cameras,
19and availability of gphoto2. Another source of information is [gphoto github project page].
20
21where you can access our SVN server to fetch the source code of
22gphoto2, gtkam and GnoCam (see below).
23
24
25## What is libgphoto2 not?
26
27libgphoto2 itself is not a GUI application, opposed to gphoto. There are
28GUI frontends for the gphoto2 library, however, such as gtkam for
29example.
30
31libgphoto2 can only talk to cameras the language of those it understands.
32That is, if you own a camera that speaks a language that isn't published
33anywhere and nobody has been able to figure out the meaning of the sentences,
34libgphoto2 cannot communicate with those cameras.
35
36Then, there are cameras supporting the so-called USB Mass Storage protocol.
37This is a protocol that has been published and lets you access any storage
38device, be it a camera or a disk connected via USB to your computer. As there
39are already drivers for this protocol out there, you don't need an additional
40library like libgphoto2. The list of camera that use USB Mass Storage is getting
41longer everyday, so we won't publish it.
42
43For a more up to date list, you can consult [camera list with support status].
44
45Your operating system will tell you about that because it is likely to recognize
46the device as a SCSI disk that you can mount (for Linux 'dmesg' will tell you).
47Again, those cameras *cannot* be accessed through libgphoto2. Some of them can
48be switched to use a different communication protocol and might be in that case
49useable with libgphoto2.
50
51Other camera support a protocol called PTP or USB Imaging Devices that has
52been developed by Kodak and other. libgphoto2 does support PTP. Also working
53will be cameras labeled as "PictBridge", which is a extension to PTP.
54
55Almost all cameras that are not mass storage support it these days, including
56but not limited to all Nikon, Canon, Fuji, Sony, Panasonic, HP and more.
57
58PTP camera unknown to libgphoto2 will be detected as a generic PTP camera and
59will work as-is without any changes.
60
61MTP (Microsoft Transfer Protocol) capable devices will also be accessible,
62since MTP is based on PTP.
63
64
65## Platforms
66
67libgphoto2 should compile and run on pretty much all Unix-like platforms.
68libgphoto2 has _not_ (yet?) been ported to any operating system from MicroSoft.
69
70
71## Bindings
72
73- Java: [gphoto2-java](https://github.com/mvysny/gphoto2-java), [libgphoto2-jna](https://github.com/angryelectron/libgphoto2-jna)
74- Python: [python-gphoto2](https://github.com/jim-easterbrook/python-gphoto2), [gphoto2-cffi](https://github.com/jbaiter/gphoto2-cffi)
75- C#: [libgphoto2-sharp](https://github.com/gphoto/libgphoto2-sharp)
76- Go: [go-gphoto2](https://github.com/aqiank/go-gphoto2)
77- Rust: [gphoto-rs](https://github.com/dcuddeback/gphoto-rs)
78- Node.js: [node-gphoto2](https://github.com/lwille/node-gphoto2)
79- Ruby: [ffi-gphoto2](https://github.com/zaeleus/ffi-gphoto2)
80- Crystal: [gphoto2.cr](https://github.com/sija/gphoto2.cr)
81
82
83## How to set up libgphoto2
84
85For information on how to set up libgphoto2 and its frontends, see
86The gphoto2 Manual.
87
88It is available at the following places:
89
90 - At the gphoto website: [gphoto project home page]
91 - In the SVN module gphoto2-manual
92
93The gphoto2 Manual includes information about setting up USB
94hotplugging.
95
96If you run into problems, you may also consult the FAQ (also included
97in The gphoto2 Manual).
98
99
100## Frontends
101
102gphoto2 is a command line frontend which is quite powerful,
103especially in combination with scripts. See The gphoto2 Manual
104for a short description.
105
106For the GUI lovers, there are for example digikam (KDE), gthumb (GNOME),
107f-spot (GNOME / Mono) and more. We also have a GTK2 reference GUI
108called gtkam, which is unmaintained, its only special features are
109capture ability.
110Additionally, there are plugins for other programs available like
111kio_camera (KDE - Konqueror) and a fuse plugin, gphotofs.
112
113
114## Reporting Bugs
115
116Every piece of software contains errors and flaws. So does
117libgphoto2. When you encounter something that does not work, please do
118the following:
119
1201. Find out whether this is a known problem.
121
1222. Reproduce the problem with debug output enabled and the language
123    set to English, so that the development team will understand the
124    messages. You can do this by running:
125
126        env LC_ALL=C gtkam
127
128    if you're using the gtkam frontend or running:
129
130        env LC_ALL=C gphoto2 --debug-logfile=logfile.log --debug <options>
131
132    using the gphoto2 command line interface.
133
1343. Report the problem on the mailing list with the corresponding debug
135    output if it is small. If it is more than a few kilobytes, please
136    don't post the complete debug output on the list.
137
138## Links
139
140* [gphoto project home page](http://www.gphoto.org/)
141* [gphoto github project page](https://github.com/gphoto)
142* [gphoto camera list](http://gphoto.org/proj/libgphoto2/support.php)
143* [gphoto camera remote control list and doc](http://gphoto.org/doc/remote/)
144* [jphoto home page](http://jphoto.sourceforge.net/)
145* [Information about using USB mass storage](http://www.linux-usb.org/USB-guide/x498.html)
146* [gphoto development mailing list](mailto:gphoto-devel@lists.sourceforge.net)
147* [gphoto user mailing list](mailto:gphoto-user@lists.sourceforge.net)
148* [gphoto translation mailing list](mailto:gphoto-translation@lists.sourceforge.net)
149

README.packaging

1========================================================================
2libgphoto2 README.packaging
3========================================================================
4
5This file describes a number of things you should know when building
6packages (.debs, .rpms, ports, emerges, etc. pp.)
7
8
9========================================================================
10libgphoto2 and libgphoto2_port
11==============================
12
13The libgphoto2 library builds on the libgphoto2_port library, which is
14thus internally contained within every libgphoto2 release. By
15installing libgphoto2, you always also install libgphoto2_port.
16
17
18========================================================================
19Installed files
20===============
21
22A standard install of libgphoto2 does about this:
23
24   * The most important files:
25     * ${libdir}/libgphoto2.{a,la,so}
26     * ${libdir}/libgphoto2/<VERSION>/*.{a,la,so}        (camlibs)
27     * ${libdir}/libgphoto2_port.{a,la,so}
28     * ${libdir}/libgphoto2_port/<VERSION>/*.{a,la,so}   (iolibs)
29     In most cases, you can remove the *.a and *.la files from the
30     list of files to ship.
31   * Packaging helpers:
32     * ${utilsdir}/libgphoto2/print-camera-list
33     * ${utilsdir}/libgphoto2/print-usb-usermap (linux-hotplug, obsolete)
34     * ${udevscriptdir}/check-mtp-device
35     * ${udevscriptdir}/check-ptp-camera
36     Defaults: utilsdir=${libdir}, ${udevscriptdir}=${libdir}/udev.
37     You probably want to ./configure udevscriptdir=/lib/udev and possibly
38     utilsdir='${libexecdir}', depending on your system.
39   * Documentation:
40     * Man pages:
41       * ${mandir}/man3/libgphoto2.3
42       * ${mandir}/man3/libgphoto2_port.3
43     * ${docdir}/camlibs/README.*    (camlib docs)
44     * ${docdir}/{README,AUTHORS,NEWS}
45     * ${docdir}/apidocs.html/       API docs
46     * ${docdir}/{README,AUTHORS,NEWS}
47     You may want to install these files into your custom locations.
48     If you separate library from libfoo-devel packages, the former
49     should probably ship with the camlib docs, and the general README
50     and NEWS. Try configure --with-docdir=.
51   * Translated strings:
52     * ${datadir}/locale/*/LC_MESSAGES/libgphoto2-2.mo
53     * ${datadir}/locale/*/LC_MESSAGES/libgphoto2_port-0.mo
54     * ${datadir}/libgphoto2/<VERSION>/konica/*
55       These files are required for the konica camlib to work at all.
56   * For developers:
57     * ${includedir}/gphoto2/gphoto2*.h
58     * ${libdir}/pkgconfig/libgphoto2.pc
59     * ${libdir}/pkgconfig/libgphoto2_port.pc
60
61Note that utilsdir, udevscriptdir, etc. can be set at configure
62time. See "configure --help".
63
64
65========================================================================
66Permission setup
67================
68
69We consider it a bug in the package if the package does not offer a
70way for the user to just plug in his camera and use it. This may at
71most require adding the user to a "camera" or "plugdev" group.
72
73You will want to create HAL or UDEV rules by running this utility:
74
75   * print-camera-list
76
77This utility requires libgphoto2 and its camlibs being installed,
78either
79
80   * at package building time by doing a DESTDIR based temporary
81     install somewhere and setting LD_LIBRARY_PATH and CAMLIBS before
82     running print-camera-list
83   * at package installation time as a post installation hook
84
85The UDEV rules require two helper scripts/binaries, which obviously
86need to be installed by the package:
87
88   * check-mtp-device (not working yet)
89   * check-ptp-camera
90
91You can either use fixed permissions in the generated rules, or call
92your own permission setup script to dynamically decide what to do.
93
94(Contemporary example scripts are not being shipped yet.)
95
96
97========================================================================
98Development packages
99====================
100
101The recommended way to use libgphoto2 in a build process is to use
102pkg-config and thus these files really should be shipped in a package:
103
104   * /usr/lib/pkgconfig/libgphoto2.pc
105   * /usr/lib/pkgconfig/libgphoto2_port.pc
106
107We are still shipping
108
109   * /usr/bin/gphoto2-config
110   * /usr/bin/gphoto2-port-config
111
112for compatibility reasons, but that will obviously break when you have
113a /usr/lib64 vs. /usr/lib conflict. That problem is one the packager
114will have to resolve - we consider this mechanism obsolete.
115
116
117========================================================================
118End of file.
119========================================================================
120