From 2804b38bde7143ee151ff7753b1ff07250c827af Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 17 Dec 2006 13:55:17 +0000 Subject: Add notes about packaging git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9634 67ed7778-7388-44ab-90cf-0a291f65f57c --- README.packaging | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.packaging (limited to 'README.packaging') 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. +======================================================================== -- cgit v1.2.1