summaryrefslogtreecommitdiff
path: root/camlibs/template
Commit message (Collapse)AuthorAgeFilesLines
* camlib build var cleanupHans Ulrich Niedermann2022-09-011-10/+14
| | | | | | | | | | | | | | | Consistently use the same notation and formatting for all camlib Makefile-files, which uses * common $(camlib_cflags) * common $(camlib_cppflags) * common $(camlib_dependencies) * common $(camlib_ldflags) * common $(camlib_libadd) and then groups additional related definitions together, making it obvious when e.g. bar_la_LIBADD adds FOO_LIBS but bar_la_CPPFLAGS forgot to add FOO_CFLAGS.
* POTFILES.in: Add remaining source files using i18n.hHans Ulrich Niedermann2021-10-251-0/+3
| | | | | | | Add remaining source files including libgphoto2/i18n.h or libgphoto2_port/i18n.h to the respective POTFILES.in, regardless of whether or not the source file actually contains translated strings.
* Factor out i18n stuff into separate i18n.h filesHans Ulrich Niedermann2021-10-251-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out the i18n definitions into i18n.h include files: One include file each for libgphoto2 and for libgphoto2_port. This removes the complete #ifdef ENABLE_NLS # include <libintl.h> # undef _ # define _(String) dgettext (GETTEXT_PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define _(String) (String) # define N_(String) (String) #endif block (which in some occasions defines even more macros) and replaces it with a single line #include "libgphoto2/i18n.h" for camlibs and libgphoto2 itself and with #include "libgphoto2_port/i18n.h" for iolibs and libgphoto2_port itself. This gives us two central locations to change the defintions.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-271-20/+20
|
* Fix minor typosYuri Chornoivan2020-05-251-1/+1
|
* camlib template Makefile-files: group files logicallyHans Ulrich Niedermann2020-01-221-1/+3
|
* Help editors treat as Makefiles all our Makefile-files filesHans Ulrich Niedermann2016-10-281-0/+2
|
* removed copyright umlauts and replaced other umlautsMarcus Meissner2014-06-271-2/+2
| | | | | | | by international spelling git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15027 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-011-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14608 67ed7778-7388-44ab-90cf-0a291f65f57c
* Batch commit from weekend work:Marcus Meissner2009-02-161-2/+2
| | | | | | | | | | | | | | - removed "type" from CameraFile handling: - all put_file functions and hooks get "type" as argument now - added type to the set_file_info_noop call - started removal of "name" from CameraFile - generate new filename from original filename + camerafile type + mimetype - new gp_camera_autodetect() helper function - adapted all drivers. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11818 67ed7778-7388-44ab-90cf-0a291f65f57c
* * removed CameraFileInfoFile.name, adjusted usersMarcus Meissner2009-01-251-6/+5
| | | | | | | | | | and callers. * added filename argument to put_file_func, set_info_noop and set_file_noop functions. adjusted all camlibs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11773 67ed7778-7388-44ab-90cf-0a291f65f57c
* added ChangeLog and other not yet distributed filesMarcus Meissner2008-10-191-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11448 67ed7778-7388-44ab-90cf-0a291f65f57c
* more gone .cvsignore filesMarcus Meissner2008-09-261-6/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11350 67ed7778-7388-44ab-90cf-0a291f65f57c
* removed the warningsMarcus Meissner2007-12-301-9/+52
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10913 67ed7778-7388-44ab-90cf-0a291f65f57c
* comment tuningHans Ulrich Niedermann2007-09-041-1/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10640 67ed7778-7388-44ab-90cf-0a291f65f57c
* comment _() and N_()Marcus Meissner2007-06-031-0/+10
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10350 67ed7778-7388-44ab-90cf-0a291f65f57c
* changed functions to be non-static again to generate the documentation.Marcus Meissner2007-05-311-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10340 67ed7778-7388-44ab-90cf-0a291f65f57c
* added storage_info_func sampleMarcus Meissner2007-01-021-0/+19
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9838 67ed7778-7388-44ab-90cf-0a291f65f57c
* disable specific gcc warnings in template camlibHans Ulrich Niedermann2006-12-281-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9746 67ed7778-7388-44ab-90cf-0a291f65f57c
* initialize Camera *camera in put_file_func()Hans Ulrich Niedermann2006-12-271-1/+8
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9743 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2.3.1.0.trunk, non-recursive camlibs buildHans Ulrich Niedermann2006-12-262-15/+22
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9736 67ed7778-7388-44ab-90cf-0a291f65f57c
* camlib README files: rename, ship in dist tarball, install as docHans Ulrich Niedermann2006-10-072-0/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9296 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-281-2/+2
| | | | | | | | | | This moves the header files to a new subdirectory gphoto2 in both libgphoto2 and libphoto2_port/libgphoto2. All references are adapted appropriately. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated some documentation.Marcus Meissner2006-03-191-59/+58
| | | | | | | | added statics to functions. use gp_fs_set_funcs() and static fsfuncs. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8632 67ed7778-7388-44ab-90cf-0a291f65f57c
* ignore moreMarcus Meissner2006-01-121-0/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8470 67ed7778-7388-44ab-90cf-0a291f65f57c
* add *.sym file to _DEPENDENCIESHans Ulrich Niedermann2006-01-031-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8401 67ed7778-7388-44ab-90cf-0a291f65f57c
* * template.c: cleanup and some warning fixed.Hubert Figuiere2005-12-262-19/+25
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8339 67ed7778-7388-44ab-90cf-0a291f65f57c
* ship and compile template camlib, but do not install itHans Ulrich Niedermann2005-12-251-1/+5
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8332 67ed7778-7388-44ab-90cf-0a291f65f57c
* added/tuned/updated doxygen docs (made code compile again)Hans Ulrich Niedermann2005-06-151-0/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8101 67ed7778-7388-44ab-90cf-0a291f65f57c
* cosmeticsHans Ulrich Niedermann2005-06-141-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8096 67ed7778-7388-44ab-90cf-0a291f65f57c
* template camlib: add doxygen documentation.Hans Ulrich Niedermann2005-06-141-93/+292
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8095 67ed7778-7388-44ab-90cf-0a291f65f57c
* build camlibs as libtool modules with simple names and symbol listHans Ulrich Niedermann2005-06-111-4/+5
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8065 67ed7778-7388-44ab-90cf-0a291f65f57c
* remove redundant INCLUDE = definitions from Makefile.amHans Ulrich Niedermann2005-04-141-6/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7830 67ed7778-7388-44ab-90cf-0a291f65f57c
* small change to template to reflect the new Manufacturer:Model notationMichael Rensing2003-01-101-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6054 67ed7778-7388-44ab-90cf-0a291f65f57c
* replace (c) and (C) by �Arnaud Launay2002-12-151-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5969 67ed7778-7388-44ab-90cf-0a291f65f57c
* <config.h> -> "config.h"Arnaud Launay2002-11-291-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
* gettext stuff for ArnaudHans Ulrich Niedermann2002-11-231-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5776 67ed7778-7388-44ab-90cf-0a291f65f57c
* moved definition of camlibdir to configure.inHans Ulrich Niedermann2002-11-061-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5547 67ed7778-7388-44ab-90cf-0a291f65f57c
* *** empty log message ***Lutz Mueller2002-10-031-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5352 67ed7778-7388-44ab-90cf-0a291f65f57c
* - modify config.h locationArnaud Launay2002-09-141-0/+1
| | | | | | | - add intl dir in include dirs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5277 67ed7778-7388-44ab-90cf-0a291f65f57c
* * **/Makefile.am: Do not use $(prefix)/lib/, but $(libdir).Marcus Meissner2002-01-251-1/+1
| | | | | | | | On some architecturs $(libdir) might not be /lib/, but /lib64/ (on s390x for instance). git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4010 67ed7778-7388-44ab-90cf-0a291f65f57c
* * Added missing GPContext* arguments.Marcus Meissner2002-01-131-9/+10
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3844 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2002-01-101-8/+10
| | | | | | | | | | | | * libgphoto2/gphoto2-filesys.[c,h]: Add a GPContext to all functions that potentially access the camera. This makes cancelling of all operations possible and improves error reporting. * tests/test-filesys.c: * libgphoto2/gphoto2-camera.c: * camlibs: Adjust to reflect above changes git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3798 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2002-01-021-1/+1
| | | | | | | | | * libgphoto2/Makefile.am * camlibs/ * /Makefile.am: Install drivers into versioned subdirectories. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3648 67ed7778-7388-44ab-90cf-0a291f65f57c
* Zero out the CameraAbilities struct so we don't have garbage in fieldsJohannes Erdfelt2001-12-301-0/+1
| | | | | | | | This should help fix some of the problems with the new USB class matching code people have reported git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3628 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-071-6/+2
| | | | | | | | * configure.in: Remove dotlib hack * camlibs: Do it "the right way" git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-051-1/+3
| | | | | | | $builddir != $srcdir fixes. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-11-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-11-261-1/+1
| | | | | | | | | | | * camlibs/directory/directory.c (set_info_func): Rewrite * camlibs/ptp/library.c: * camlibs/fuji/fuji.c: Don't advertise what you don't support. * camlibs/konica/library.c (set_info_func): Rewrite * libgphoto2: Make *set_info consistent git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3224 67ed7778-7388-44ab-90cf-0a291f65f57c
* * camlibs/template/template.c: Make it compile with current libraries.Marcus Meissner2001-11-031-4/+30
| | | | | | | Added NLS macros, missing functions, etc. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2893 67ed7778-7388-44ab-90cf-0a291f65f57c
* gp_widget_new template changedMarcus Meissner2001-11-031-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2891 67ed7778-7388-44ab-90cf-0a291f65f57c