diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2006-12-17 13:55:17 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2006-12-17 13:55:17 +0000 |
commit | 2804b38bde7143ee151ff7753b1ff07250c827af (patch) | |
tree | 69f2886dfa79b6da531755da89b62f4c2acdbfd1 /README.packaging | |
parent | b874d820de05210573be28bd9a9b7a94b7c87fbd (diff) | |
download | libgphoto2-2804b38bde7143ee151ff7753b1ff07250c827af.tar.gz |
Add notes about packaging
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9634 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'README.packaging')
-rw-r--r-- | README.packaging | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/README.packaging b/README.packaging new file mode 100644 index 000000000..0274c9bdd --- /dev/null +++ b/README.packaging @@ -0,0 +1,38 @@ +======================================================================== +libgphoto2 README.packaging +======================================================================== + +This file describes a number of things you should know when building +packages (.debs, .rpms, ports, emerges, etc. pp.) + + +======================================================================== +Permission setup +================ + +You will want to create HAL or UDEV rules by running this utility: + + print-camera-list + +This utility requires libgphoto2 and its camlibs being installed, +either + * at package building time by doing a DESTDIR based temporary + install somewhere and setting LD_LIBRARY_PATH and CAMLIBS before + running print-camera-list + * at package installation time as a post installation hook + +The UDEV rules require two helper scripts/binaries, which obviously +need to be installed by the package: + + check_mtp_device + check_ptp_camera + +You can either use fixed permissions in the generated rules, or call +your own permission setup script to dynamically decide what to do. + +(Contemporary example scripts are not being shipped yet.) + + +======================================================================== +End of file. +======================================================================== |