Commit Graph

12133 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
e69ff8c032 Use LIBWS232_* with $(...) instead of @...@ 2022-09-06 23:36:06 +02:00
Hans Ulrich Niedermann
4f21b567f8 Use LIBGD_* with $(...) instead of @...@ 2022-09-06 23:35:45 +02:00
Marcus Meissner
e20663d6fb added another trace to EOS R 2022-09-05 18:01:45 +02:00
Hans Ulrich Niedermann
8a81970cf8 gh workflow: remove apt-get dist-upgrade
We probably do not need to dist-upgrade (or upgrade), and dist-upgrade
can take a long time on the github runners.

We only had this while trying to work out how to work around the
libgd-dev dependency issue, so we can remove the dist-upgrade step.
2022-09-04 19:13:57 +02:00
Hans Ulrich Niedermann
ff5a43e0a7 gh workflow: work around libgd-dev dependency problem
Work around libgd-dev dependency issue apparently caused by a 3rd party
repository with PHP and nginx and related stuff like libgd.

So we remove nginx and libgd3 to get rid of the relevant 3rd party
packages which pull in their libgd, and only then install libgd-dev
which then comes from Ubuntu proper and works.

As we need neither nginx nor php, this should work for libgphoto2.

This appears to be a reoccuring problem on github runners, so keeping
this workaround in place looks like the way to go for the future.

See also https://github.com/actions/runner-images/issues/6153
and recursively follow the linked issues and comments for more
information.
2022-09-04 19:02:49 +02:00
Marcus Meissner
346ff9c8b8 report only fstype, not fsname ... otherwise might like pths or UUIDs in logfiles 2022-09-04 13:07:38 +02:00
Marcus Meissner
df4f130723 added eos r5 c 2022-09-04 13:07:38 +02:00
Hans Ulrich Niedermann
d725bbab44 gh workflow: actually upgrade the system 2022-09-04 00:43:20 +02:00
Hans Ulrich Niedermann
fa07a92c47 camlib build var cleanup
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.
2022-09-01 22:36:00 +02:00
Marcus Meissner
22a8459c68 added EOS R10 2022-08-31 13:59:53 +02:00
Daniel Schulte
087864609a camlibs/ptp2: Add support for Panasonic cameras in camera_trigger_capture (#822) 2022-08-29 15:24:39 +02:00
Marcus Meissner
b06cd5210a extra dist for the olc info document 2022-08-29 09:22:00 +02:00
Marcus Meissner
54ccef7fea added olc infos 2022-08-28 17:23:02 +02:00
Marcus Meissner
6480d6c826 fixes https://github.com/gphoto/libgphoto2/issues/821. 2022-08-28 16:02:44 +02:00
Marcus Meissner
b4bb9ab432 fixed incorrect size to printf , fixes https://github.com/gphoto/libgphoto2/security/code-scanning/27 2022-08-28 16:01:09 +02:00
Marcus Meissner
a366d03239 fixed a too small loop bound value. fixes https://github.com/gphoto/libgphoto2/issues/820 2022-08-28 15:59:28 +02:00
Marcus Meissner
2a11eca1aa updates for EOS 100D 2022-08-28 15:11:52 +02:00
Marcus Meissner
83302481cb note that m10 is also type 8 2022-08-27 13:41:48 +02:00
Marcus Meissner
b1ca489a65 added m6 mark 2 entry, also added powershot sx720hs entry, and some notes on eos 750d/eos 5ds 2022-08-27 10:50:40 +02:00
Marcus Meissner
41533c8cd3 more debugging output in olc code 2022-08-27 07:15:49 +02:00
Marcus Meissner
c78f1ff67e merged the v11 olc info we have in 1 github issue 2022-08-24 12:39:09 +02:00
Marcus Meissner
d3a0971868 statred to work on new olcsize handling 2022-08-24 09:44:25 +02:00
Marcus Meissner
c408a6e5a7 fix bitmask 2022-08-24 09:29:59 +02:00
Marcus Meissner
2811b40d64 added a "testolc" option to help with EOS OLC size detection 2022-08-23 16:56:06 +02:00
Marcus Meissner
3773ad1988 olc info ver instead of curoff in check§ 2022-08-20 11:28:17 +02:00
Marcus Meissner
a14ea3b9f3 added pentax kp in ptp mode 2022-08-15 10:18:10 +02:00
Marcus Meissner
6d7787f0a1 use the same flags for the 1500D and 2000D, fixes https://github.com/gphoto/libgphoto2/issues/812 2022-07-23 10:52:37 +02:00
Marcus Meissner
c7cce560c1 added nikon z30 2022-07-20 10:36:35 +02:00
Marcus Meissner
4e56b0bda9 from https://github.com/gphoto/libgphoto2/issues/792 2022-07-16 10:58:39 +02:00
Marcus Meissner
904c28302e added eos 850d alias
fixes https://github.com/gphoto/libgphoto2/issues/810
2022-07-05 14:30:32 +02:00
Marcus Meissner
cb70e5fadc 2.5.30.1 development snapshot 2022-07-02 11:55:57 +02:00
Marcus Meissner
6511898c4b 2.5.30 release v2.5.30 libgphoto2-2_5_30-release 2022-07-02 11:29:52 +02:00
Marcus Meissner
c89a566f85 imported from libmtp 2022-07-02 10:28:11 +02:00
Hans Ulrich Niedermann
0cfd9bff23 Update libgphoto2_port/NEWS for 0.12.1, fixing distcheck
Commit e47c13fd8e updates the
libgphoto2_port version from 0.12.0 to 0.12.1, but fails to
update libgphoto2_port/NEWS accordingly.

This updates libgphoto2_port/NEWS with the 0.12.1 version number,
thus fixing the "make distcheck" target's part checking NEWS.
2022-05-31 22:41:24 +02:00
Hans Ulrich Niedermann
e47c13fd8e Call libgphoto2_port 0.12.1, add pc file requirement
Change the libgphoto2_port version from 0.12.0 to 0.12.1 so that
the libgphoto2 pkgconfig files can require libgphoto2_port >= 0.12.1
due to new symbols added.

This will not catch all possible build/install/link messups, but
will not hurt anyone and could catch some messups.
2022-05-30 22:30:38 +02:00
Hans Ulrich Niedermann
5edddb534d source-code-check refers to srcdir, not builddir 2022-05-29 06:43:40 +02:00
Hans Ulrich Niedermann
e7a4146464 remove unused file camlibs/largan/Makefile.am 2022-05-29 00:43:44 +02:00
Hans Ulrich Niedermann
85f2b9fdf5 gh CI workflow: Add "make installcheck" target 2022-05-27 21:46:59 +02:00
Marcus Meissner
160be50f1d added Sony HDR-PJ710V 2022-05-23 15:33:30 +02:00
Marcus Meissner
632d752672 updated news 2022-05-23 15:33:30 +02:00
Hans Ulrich Niedermann
26eb876839 Allow overriding build tools from configure command line
Introduce GP_CHECK_PROG macro to allow users to override
the autodetection of tools, instead of the autodetection
overriding the user's explicit wish.

    GP_CHECK_PROG([SORT, [sort], [text line sorting tool])

will now allow calling

    ./configure SORT="mysort"

and have subsequent builds use that given value without
checking PATH. When calling `configure` without SORT=,
AC_PATH_PROG will look for `sort` in `PATH` and set
`SORT` to the value it has found.

For comparison, here is the old buggy method:

    AC_ARG_VAR([SORT], [sort], [text line sorting tool])
    AC_PATH_PROG([SORT], [sort], [no])

When called as `configure SORT="mysort"`, the expanded
AC_PATH_PROG will just look in `PATH` for `sort` and
set `SORT` to the `sort` it found, completely ignoring
the SORT= value given on the `configure` command line.
2022-05-19 22:48:45 +02:00
Hans Ulrich Niedermann
c7c5d4cc80 Use GP_SLEEP_IF_TTY
Only sleep after configure warning message if the output goes to
an interactive terminal (isatty()) and therefore sleeping actually
has a chance to be noticed by someone watching.
2022-05-19 22:48:45 +02:00
Hans Ulrich Niedermann
4230f16670 Use m4_pattern_ignore for some PKG_* macros
It makes more sense to use the provided m4_pattern_ignore()
macro than writing our own error messages.

Yes, our own error message could be more helpful to the
uninitiated user by mentioning the package and the m4 file
name to install which provide the required macro.

However, those file names and package names can and do change
with time or by operating system.
2022-05-19 22:48:38 +02:00
Hans Ulrich Niedermann
f5455ef081 remove additional AM_CONDITIONAL definitions
Remove additional AM_CONDITIONAL definitions for HAVE_LIBCURL
and HAVE_LIBXML2.

Those two AM_CONDITIONALS are already defined by GP_CHECK_LIBRARY.

If not having the addtional definitions exposes a bug, then that
bug should be fixed, not papered over with the additional definitions.
2022-05-19 22:43:34 +02:00
Hans Ulrich Niedermann
6f5bd93820 Add test-init-localedir test program 2022-05-19 17:11:24 +02:00
Hans Ulrich Niedermann
ab3af6f500 add C coding style for emacs 2022-05-19 17:11:24 +02:00
Hans Ulrich Niedermann
77f3b22e93 Complete what adding gp_init_localedir() started
Complete what adding the gp_init_localedir() function implied:

  * only set success flag in the success case
  * consistent use of "initialize" spelling
  * add analogous gp_port_init_localedir() function
  * implement and document edge cases
  * update NEWS
2022-05-19 17:11:17 +02:00
Jim Easterbrook
00b09b0d45 Check bindtextdomain return value 2022-05-19 17:04:35 +02:00
Jim Easterbrook
1ae2edc79b Change function name to gp_init_localedir 2022-05-19 17:04:35 +02:00
Jim Easterbrook
33d2d2e8f7 Add function to initialise locale directory
The function is called from gp_abilities_list_new() so existing code
will carry on working as before. Non-standard installations of
libgphoto2 can call the initialisation function with their choice of
locale dir. The function includes code to ensure it's only run once.
2022-05-19 17:04:35 +02:00