Commit Graph

3596 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
3cd2c54884 * packaging/Makefile.am: add README.rpm
* packaging/README.rpm: added RPM build instructions


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2716 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 18:12:40 +00:00
Lutz Mueller
b1b98b4996 Rearrange a bit in preparation of some additions...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2715 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 17:29:08 +00:00
Lutz Mueller
8561471d4e Small fix.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2714 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 14:41:25 +00:00
Lutz Mueller
87334eba31 2001-10-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in
        * acconfig.h: Check for CDK
        * frontends/command-line/Makefile.am
        * frontends/command-line/gphoto2-cmd-config.[c,h]: New
        * frontends/command-line/main.c: Hook up --config


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2713 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 14:31:00 +00:00
Hans Ulrich Niedermann
a328316930 2001-10-24 Hans Ulrich Niedermann <gp@n-dimensional.de>
* doc/gphoto.txt: adapted to new hotplug scripts
	* packaging/Makefile.am: add hotplug scripts to docs when installing


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2712 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-24 12:17:15 +00:00
Colin Marquardt
b235466538 New update.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2711 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 21:59:50 +00:00
Lutz Mueller
e19c48d4ea 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Bug reported by David Robert <david@ombrepixel.com>:

        * frontends/command-line/shell.c: Fix bug (leading blanks with
          filenames)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2709 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 19:57:37 +00:00
Lutz Mueller
df5fa30c40 Remove reference to gphoto2-core
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2708 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:12:01 +00:00
Lutz Mueller
18fb8595bb Use gp_camera_get_about instead of gp_camera_get_summary (latter is not
supported by Directory Browse).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2707 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:09:39 +00:00
Lutz Mueller
6fff2653db Remove reference to gphoto2-core.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2706 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:08:49 +00:00
Lutz Mueller
a3364e4b63 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-core.[c,h]: Removed. All functions redirected
          to gphoto2-abilities-list. Caching of this list should be done
          in the frontend.
        * frontends/command-line/main.c: Don't use gp_autodetect, use
	  gp_abilities_list_detect instead.
        * libgphoto2/setting.c: Move some initialization stuff from
          gphoto2-core to here.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2705 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 18:00:18 +00:00
Lutz Mueller
46555f8514 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove every reference to gp_camera_result_as_string
          including camera->functions->result_as_string. It was mostly
          unused anyways.
        * frontends/command-line/main.c: No history any more
        * libgphoto2/gphoto2-camera.[c,h] (gp_camera_[get,set]_error): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2701 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 16:43:38 +00:00
Lutz Mueller
18ab02e76f 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-log.[c,h]: Remove the history stuff.
        * libgphoto2_port/gp_port.c (gp_port_set_error), (gp_port_get_error):
          New.
        * serial/unix.c: Use gp_port_set_error


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2700 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 16:37:27 +00:00
Hans Ulrich Niedermann
9d8f4cbcd4 made canon debug use gp_log (compiles again!)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2699 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 10:36:24 +00:00
Lutz Mueller
9ae6eac1a4 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Fredrik <fredrik@krixor.xy.org>:

        * libgphoto2/gphoto2-debug.c: Bug fix


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2698 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 09:55:58 +00:00
Lutz Mueller
66224f297b Fix compile warning
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2697 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 07:58:29 +00:00
Lutz Mueller
e4392df422 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Carsten Weinholz <c.weinholz@netcologne.de>, slightly
        modified (removed unnecessary //-comments, indentation):

        * camlibs/stv0680: Added support for "Aiptek PenCam Trio"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2696 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-23 07:57:50 +00:00
Hans Ulrich Niedermann
2170e99592 2001-10-21 Hans Ulrich Niedermann <gp@n-dimensional.de>
* packages/usbcam.group: added. linux-hotplug script
	* packages/usbcam.console: added. linux-hotplug script
	* packages/Makefile.am: added.
	* packages/.cvsignore: added.
	* gphoto.spec.in: simplified a bit (only gphoto and
	  gphoto-devel, no lib* packages any more). added hotplug support.
	* configure.in: added packaging/
	* Makefile.am: added packaging/, added .tar.bz2 dist support


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2695 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 17:43:56 +00:00
Lutz Mueller
b1b9c3a7a5 One additional log message...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2693 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 15:17:24 +00:00
Hans Ulrich Niedermann
f7f917fb16 made it compile again
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2692 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 13:52:18 +00:00
Lutz Mueller
1e2bac556b 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Don't use gphoto2-core.h - use
          gphoto2-abilities-list.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2689 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 12:40:05 +00:00
Lutz Mueller
9be99d5e66 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: Adjust to changes in
          gphoto2-port-log.h.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2687 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:55:27 +00:00
Lutz Mueller
cf21bce02d 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-log.[c,h]: Use va_list instead of
          a buffers. That means, no more incomplete data dumps.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2686 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:53:52 +00:00
Lutz Mueller
aef1d17990 Not very clever fix that tries to clear the status message by printing a whole lot of blanks...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2685 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:36:32 +00:00
Lutz Mueller
f32ac59e1d 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon: Use camera->pl instead of camera->camlib_data.
          Add warning about use of global variables.
        * libgphoto2/gphoto2-camera.h: Remove camera->camlib_data.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2684 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 10:35:09 +00:00
Lutz Mueller
713136bd12 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/canon/canon.c: Use the CameraFilesystem. Declare some
          functions static.
        * libgphoto2/gphoto2-camera.[c,h]: We now use the CameraFilesystem
          exclusively - major cleanup.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2683 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 07:13:34 +00:00
Lutz Mueller
8f5bce99e4 2001-10-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.c: Autodetect also in case of
          camera->port != NULL.
        * frontends/command-line/main.c: Only call gp_camera_set_abilities
          if a model has been specified. Same with gp_camera_set_port_path.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2682 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 06:29:29 +00:00
Hans Ulrich Niedermann
5a652d9a28 commited large part of large patch by fredrik
also commited a few minor changes by me
not really tested, but seems not to break anything


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2681 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-22 00:25:40 +00:00
Lutz Mueller
63985b28af 2001-10-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* doc/api: Some additions
        * libgphoto2/Makefile.am
        * libgphoto2/gphoto2-library.c: Dummy file, needed by gtk-doc
        * libgphoto2/gphoto2-camera.[c,h]: Updated documentation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2680 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 20:53:02 +00:00
Hans Ulrich Niedermann
4d6dbf7651 log USB IDs in hex instead of decimal
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2679 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 19:56:20 +00:00
Hans Ulrich Niedermann
2ef02c889f fixed typo
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2678 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 19:51:09 +00:00
Hans Ulrich Niedermann
f23b025b36 log USB IDs in hex instead of decimal
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2677 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 19:50:35 +00:00
Hans Ulrich Niedermann
80e918ab48 cosmetics
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2676 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 19:15:09 +00:00
Lutz Mueller
04b27769c3 Put the camlib subdirs in alphabetical order.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2675 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 18:02:19 +00:00
Lutz Mueller
e64e391977 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc120: Prepare for camera->camlib_data removal. Fix
          compile warnings


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2674 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 17:25:59 +00:00
Lutz Mueller
f25b672679 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc3200: Prepare for camera->camlib_data removal.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2673 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 17:10:44 +00:00
Lutz Mueller
81d4df984e 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/panasonic: Prepare for camera->camlib_data removal. Fix lots
          of compile warnings. Remove gp_port_[close,free,new] (sic).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2672 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 09:05:08 +00:00
Lutz Mueller
137f289968 Updated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2670 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-21 05:51:35 +00:00
Lutz Mueller
b3fc02a2c3 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/agfa/commands.h: Unused -> removed.
        * camlibs/agfa/Makefile.am: Reflect above.
        * camlibs/agfa/agfa.[c,h]: Use camera->pl instead of
          camera->camlib_data. Fix small memory leak in camera_init (in case
          of error).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2664 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 20:15:34 +00:00
Hans Ulrich Niedermann
3a857ca10e added --with-doc-dir=PATH
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2663 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:17:57 +00:00
Lutz Mueller
18d0b4e7b0 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/minolta/dimagev/dimagev.[c,h]: Prepare for removal of
          camera->camlib_data. Fix memory leaks (in case of errors).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2662 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:14:46 +00:00
Hans Ulrich Niedermann
37fa4d5422 added #include <string.h>
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2661 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 19:11:01 +00:00
Lutz Mueller
acd9ef46b6 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/digita:
        * camlibs/dimera: Prepare for elimination of camera->camlib_data.
        * camlibs/konica: Some additional debugging messages


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2660 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 18:05:55 +00:00
Lutz Mueller
35b4167d32 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gp_port.c: Forot to set default speed to 0


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2659 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 13:26:57 +00:00
Lutz Mueller
af65dd94bd 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/gphoto2-camera.[c,h] (gp_camera_get_port_speed): New


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2656 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 13:08:23 +00:00
Lutz Mueller
862f42b29b Don't access the CameraFile struct directly.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2655 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:51:24 +00:00
Lutz Mueller
a1b7dd598c 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc240/library.c: Don't access a CameraFile directly.
          This lets us ...
        * libgphoto2/gphoto2-file.[c,h]: ... make internals of CameraFile
          private. Header file moved from include over to here in order to
          prepare for documentation


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2654 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:48:16 +00:00
Lutz Mueller
76a19b0b53 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Instead of camera->port_info->speed, use
          settings.serial.speed. That lets us ...
        * libgphoto2/gphoto2-camera.[c,h]: ... remove camera->port_info


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2653 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 12:36:15 +00:00
Lutz Mueller
56fd54e16e 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Add some more warning flags
        * include/gphoto2-port.h: More cleanup in preparation of documentation
        * libgphoto2_port/gp_port.c: Move internals into port->pc
        * serial/unix.c: Move internals into port->pl. If speed in settings
          is 0, set to 9600 (default).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2652 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 11:35:17 +00:00
Hans Ulrich Niedermann
70bb422996 made RPM spec file work
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2650 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-10-20 04:02:49 +00:00