summaryrefslogtreecommitdiff
path: root/packaging
Commit message (Collapse)AuthorAgeFilesLines
* print-camera-list: clarify helpJan Tojnar2021-11-121-3/+3
| | | Use “version” instead of “mode” to avoid confusion with the “(file) mode” argument.
* Typo fix: It is _SOURCES, not _SOURCEHans Ulrich Niedermann2021-10-241-1/+1
|
* Remove linux-hotplug supportHans Ulrich Niedermann2021-10-198-305/+1
| | | | | | | | | | | | | | The linux-hotplug mechanism has been replaced by udev and hwdb for quite some time now, so we can remove the support for packaging libgphoto2 with linux-hotplug. For a rough idea of the timeline of linux-hotplug being replaced, the last release of hotplug appears to have been in March of 2004: https://sourceforge.net/projects/linux-hotplug/files/ and the Fedora 5 (released March 20, 2006) release notes mention the hotplug package having been removed.
* Remove rpm packagingHans Ulrich Niedermann2021-10-194-368/+1
| | | | | | | | | | While adding support for "make rpm" appeared to be a good idea in the early 2000s, it really is not and only clutters up the build system. At least the libgphoto2_port translation cannot have worked in the rpm package since at least 5255d802102c10f971dc98f10828451d9922340d from 2007-10-28, so it is a good guess that this has not really been in use.
* utf-8: change xml/html from iso-8859-1 to utf-8Hans Ulrich Niedermann2021-10-091-2/+2
|
* utf-8: Convert ISO-8859 text to UTF-8Hans Ulrich Niedermann2021-10-092-2/+2
| | | | | | | Convert the easy ISO-8859 text to UTF-8. The difficult ISO-8859 text will will be eliminated by future commits.
* Remove obsolete gp2ddb (gphoto2 device database) ideaHans Ulrich Niedermann2021-04-011-176/+0
| | | | | | | | | | | | | | | | | | | The gphoto2 device database (gp2ddb) was originally intended to replace the device lists in the camlib code by a device list maintained in a text file outside of the camlib C code. This device list file could then be changed without recompiling camlibs, at the cost of adding a simple gp2ddb to internal binary representation compiler to libgphoto2. This would have allowed a user to very easily add a new camera model to the list of camera models supported by a specific camlib, as long as that new camera model uses the same protocol as already supported camera models do. As the gp2ddb idea has never been developed any further in the 15 yearns since my initial commit from 2006, this idea appears to be obsolete and can thus be removed from the codebase.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-271-50/+50
|
* Fix typos throughout the codebaseSijawusz Pur Rahnama2020-05-251-2/+2
|
* rpm spec: Fix dist tarball locationHans Ulrich Niedermann2020-01-181-1/+1
| | | | | The dist tarball is generated in the top builddir, so we use that location when looking for it.
* rpm spec: Use double %% sign in commentsHans Ulrich Niedermann2020-01-181-1/+1
|
* Add $(AM_MAKEFLAGS) for every $(MAKE)Hans Ulrich Niedermann2020-01-181-2/+2
| | | | | | For every $(MAKE) use in Makefile.am or Makefile-files, we add $(AM_MAKEFLAGS) so we can pass the make flags to the called make subprocess.
* print-camera-list: Fix udev rules for linux-4.14+Bastien Nocera2018-12-111-5/+5
| | | | | | | | | | | | | Since commit 1455cf8dbfd0 ("driver core: emit uevents when device is bound to a driver") the kernel started emitting "bind" and "unbind" uevents which confuse the libgphoto2 udev rules. This caused ID_GPHOTO2 and GPHOTO2_DRIVER udev properties not being set on devices, causing them not to be visible to user-space that uses those properties (such as gvfs' gphoto2 backend). See https://github.com/systemd/systemd/issues/8221
* fedora patch: avoid matching usb mass storage devicesMarcus Meissner2018-04-151-39/+45
|
* scripts: remove bashisms.Ismo Puustinen2017-01-246-19/+19
| | | | | | Convert bash scripts to more generic shell scripts. This removes the strict bash dependency and the scripts should now run with any posix shell. Also fix the issues reported by shellcheck while at it.
* print-camera-list: fix gip_enum_to_string() usageIgor Gnatenko2016-11-211-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | print-camera-list.c: In function 'ddb_delayed_head': print-camera-list.c:887:2: error: too many arguments to function 'gpi_enum_to_string' gpi_enum_to_string(a->device_type, ^~~~~~~~~~~~~~~~~~ In file included from ../../libgphoto2_port/gphoto2/gphoto2-port-info-list.h:63:0, from ../../gphoto2/gphoto2-abilities-list.h:30, from ../../gphoto2/gphoto2-camera.h:50, from print-camera-list.c:53: ../../libgphoto2_port/gphoto2/gphoto2-port-log.h:185:3: note: declared here gpi_enum_to_string(const unsigned int _enum, ^~~~~~~~~~~~~~~~~~ print-camera-list.c:897:2: error: too many arguments to function 'gpi_enum_to_string' gpi_enum_to_string(a->status, ^~~~~~~~~~~~~~~~~~ In file included from ../../libgphoto2_port/gphoto2/gphoto2-port-info-list.h:63:0, from ../../gphoto2/gphoto2-abilities-list.h:30, from ../../gphoto2/gphoto2-camera.h:50, from print-camera-list.c:53: ../../libgphoto2_port/gphoto2/gphoto2-port-log.h:185:3: note: declared here gpi_enum_to_string(const unsigned int _enum, ^~~~~~~~~~~~~~~~~~ Fixes: 43d9449161d1 ("New syntax for print-camera-list's udev output") References: https://github.com/gphoto/libgphoto2/issues/109 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* print trigger capture flagMarcus Meissner2016-11-201-0/+5
|
* also mode/group handling to generic ptp matcher in v201Marcus Meissner2015-08-241-2/+2
|
* added lgplv2 license headersMarcus Meissner2015-02-225-0/+80
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15370 67ed7778-7388-44ab-90cf-0a291f65f57c
* added license headerMarcus Meissner2015-02-221-1/+16
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15369 67ed7778-7388-44ab-90cf-0a291f65f57c
* added udev versions to helpMarcus Meissner2014-07-021-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15051 67ed7778-7388-44ab-90cf-0a291f65f57c
* umlaut removalMarcus Meissner2014-06-271-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15029 67ed7778-7388-44ab-90cf-0a291f65f57c
* remove a superflous commaMarcus Meissner2014-06-261-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15013 67ed7778-7388-44ab-90cf-0a291f65f57c
* added generic ptp lineMarcus Meissner2014-06-111-0/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15004 67ed7778-7388-44ab-90cf-0a291f65f57c
* add more initializers to end arrayMarcus Meissner2014-04-281-2/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14922 67ed7778-7388-44ab-90cf-0a291f65f57c
* added note output for hwdb and udev-rules 201 generationMarcus Meissner2014-04-271-0/+5
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14920 67ed7778-7388-44ab-90cf-0a291f65f57c
* generate udev rules for systemd 201 and later, with hwdb supportMarcus Meissner2014-04-271-3/+15
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14919 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: "Daniel P. Berrange" <berrange@redhat.com>Marcus Meissner2014-04-111-10/+0
| | | | | | | | | | A great many functions have variables which are set to some value, but never read thereafter. All these variables can be removed with no functional impact. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14896 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: "Daniel P. Berrange" <dan@berrange.com>Marcus Meissner2014-04-111-1/+2
| | | | | | | | | | | The 's' variable is assigned to from a 'const char *' so it should be 'const char *' too, to avoid discarding const-ness. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14893 67ed7778-7388-44ab-90cf-0a291f65f57c
* fixed the PTP generic matcher... again. :(Marcus Meissner2014-01-111-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14697 67ed7778-7388-44ab-90cf-0a291f65f57c
* Only emit the interface matcher for ptp in hwdbMarcus Meissner2014-01-081-5/+8
| | | | | | | | Emit hwdb list only once. set the type to PTP if the driver is ptp2. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14682 67ed7778-7388-44ab-90cf-0a291f65f57c
* emit an interface matcher for PTP, not just a dervice class matcherMarcus Meissner2014-01-081-0/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14681 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf adressMarcus Meissner2014-01-011-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14609 67ed7778-7388-44ab-90cf-0a291f65f57c
* coverity found some stuffMarcus Meissner2013-10-071-2/+2
| | | | | | | patch from: Jaromír Končický git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14560 67ed7778-7388-44ab-90cf-0a291f65f57c
* added hwdb output mode for newer udevMarcus Meissner2013-07-171-0/+86
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14490 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated to write differently and also read commentsMarcus Meissner2013-05-181-5/+13
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14421 67ed7778-7388-44ab-90cf-0a291f65f57c
* html: render tables for inclusion in support.phpMarcus Meissner2013-05-181-0/+188
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14419 67ed7778-7388-44ab-90cf-0a291f65f57c
* cleaned up AM_CPPFLAGS and CPPFLAGS usage patterns.Marcus Meissner2013-03-101-0/+2
| | | | | | | | | | AM_CPPFLAGS and CPPFLAGS are used both during build, so no need to use merge them together in configure. also move the -I$(xx) stuff into Makefile* to avoid shell expansion issues. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14269 67ed7778-7388-44ab-90cf-0a291f65f57c
* merged from 2.4 branch with the ubuntu udev 179 fixesMarcus Meissner2012-02-261-3/+40
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13887 67ed7778-7388-44ab-90cf-0a291f65f57c
* add a format specifier to printfMarcus Meissner2012-02-231-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13880 67ed7778-7388-44ab-90cf-0a291f65f57c
* Fixed some compiler warnings and portability issuesDan Fandrich2010-07-141-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13148 67ed7778-7388-44ab-90cf-0a291f65f57c
* Add ax203 camlib for ax203 based picture framesHans de Goede2010-03-291-0/+9
| | | | | | | | | | | | | | | | This makes it possible to download pictures from / upload pictures to ax203 based picture frames It consists of 2 parts: 1) an ax203 camlib, ax203 access, image table parsing, and decompress / compress code. 2) usbscsi port driver, this is a *Linux only* (for now) port driver for accessing devices which require sending custom scsi commands to an usb mass storage device (using the /dev/sg# device under Linux). git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12854 67ed7778-7388-44ab-90cf-0a291f65f57c
* killed 1 warningMarcus Meissner2010-03-201-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12809 67ed7778-7388-44ab-90cf-0a291f65f57c
* print-camera-list: print udevrules for usbdiskdirect port devicesHans de Goede2010-03-161-7/+103
| | | | | | | | | | Add support for printing udev rules for usbdiskdirect port cameras (such as the st2205). Note that the udev rule applies to the /dev/sdx node instead of to the /dev/usb/.... one, as that is the one which needs to get its acl's set properly to allow users access. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12777 67ed7778-7388-44ab-90cf-0a291f65f57c
* revert usb_disk_direct again, not useful hereMarcus Meissner2010-03-151-7/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12775 67ed7778-7388-44ab-90cf-0a291f65f57c
* handle usb disk directMarcus Meissner2010-03-141-13/+11
| | | | | | | convert varargs logging git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12762 67ed7778-7388-44ab-90cf-0a291f65f57c
* fixed media player udev rules in new style modeMarcus Meissner2009-10-121-0/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12493 67ed7778-7388-44ab-90cf-0a291f65f57c
* fixed version checker code.Marcus Meissner2009-08-111-7/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12375 67ed7778-7388-44ab-90cf-0a291f65f57c
* Fixed a bunch of C89 and SUS portability issues.Dan Fandrich2009-07-301-4/+5
| | | | | | | Fixed a buffer overflow in the AOX driver. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12305 67ed7778-7388-44ab-90cf-0a291f65f57c
* set iface protocol class/subclass to 6/1/1Marcus Meissner2009-06-151-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12153 67ed7778-7388-44ab-90cf-0a291f65f57c