Commit Graph

12086 Commits

Author SHA1 Message Date
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
Hans Ulrich Niedermann
d1650f14bc gh workflow: Use parallel make for builds
Use parallel make for builds. We use the GNU coreutils'
"nproc" utility to determine the number of cores available
for us to use. We then tell make to launch up to that number
of processes (-j$(nproc)) in parallel, but only if the system
load is below $(nproc) (-l$(nproc)).

That should make reasonably good use of however many cores github
makes available to us, while not overloading the build server
or the build server VM.
2022-05-19 16:59:58 +02:00
Hans Ulrich Niedermann
f727fa6e2d Require gettext >= 0.19.1
Require gettext >= 0.19.1 (from 2014-06-10), which both works properly
when building on many cores, and is also the first gettext release
whose po/Makefile.in.in allows disabling rebuilding of the *.po files
on normal (non dist target) builds.

The new po/Makefile.in.in rules fix "make distcheck" consistently
failing to remove ../../../po/libgphoto2-6.pot when running
"make -j$(nproc) distcheck" on a 12 core system:

    rm: cannot remove '../../../po/libgphoto2-6.pot': Permission denied

The "make dist" (and "make distcheck") targets will still update the
po files by default, but that could also be disabled in po/Makevars
if we wanted to separate updating the *.po files for translation from
"make dist" or "make distcheck" at any time in the future.

As gettext-0.19.1 was released almost 8 years ago, this is the newest
build tool release requirement for bulding libgphoto2.

If you ever need to build a 2022 or later libgphoto2 from git on a
system with pre 0.19.1 gettext, you can can always prepare a tarball
running "make dist" on a system with gettext 0.19.1 or later, and
build that tarball on the older machine.
2022-05-19 16:59:51 +02:00
Hans Ulrich Niedermann
34da56e174 Use actual backslashes in generated makefile recipe
Use actual backslashes in generated makefile recipe, as was
originally intended.
2022-05-16 06:03:28 +02:00
Hans Ulrich Niedermann
a380b000dd fix the symver file comment inconsistency fixes 2022-05-16 03:45:43 +02:00
Hans Ulrich Niedermann
d8fb815014 symver file comment inconsistency fixes 2022-05-16 01:24:31 +02:00
Hans Ulrich Niedermann
358da873a2 RELEASE-HOWTO: update library AGE, REVISION, CURRENT 2022-05-15 23:24:06 +02:00
Hans Ulrich Niedermann
0005e46c86 fix doc copy-and-paste error for gp_message_codeset() 2022-05-15 20:55:32 +02:00
Hans Ulrich Niedermann
cac3862c5a Consistent spelling for initialize
Consistently spell initialize the AE way. Excluding the *.po files,
we had 293 occurrences of the word, of which 279 used the AE
spelling, so changing everything to AE for consistency is not
much of a leap.
2022-05-15 18:16:02 +02:00
Hans Ulrich Niedermann
ea1044dcd6 gh workflow: print nproc to find out whether make -jNN makes sense 2022-05-14 00:16:11 +02:00
Marcus Meissner
eac2eb34b3 also set info for sony captured images
https://github.com/gphoto/libgphoto2/issues/794
2022-05-09 13:40:49 +02:00
Yi-Jyun Pan
2c8aaa575a updated zh_TW 2022-05-06 14:21:24 +02:00
Marcus Meissner
3018835bce use all object added events here... seems to work better? 2022-05-03 15:44:48 +02:00
Marcus Meissner
01c93aed7c added nikon d780 info 2022-05-03 15:44:48 +02:00
Marcus Meissner
5ee40c5371 added sony dsc-wx220 2022-04-23 19:48:53 +02:00
Marcus Meissner
1ee0d5c717 check for eos_setremotemode 2022-04-21 13:12:11 +02:00
Marcus Meissner
758450afc4 added ILCE-7RM4A also to wait list 2022-04-20 15:57:00 +02:00
Marcus Meissner
c7dadc7276 moved goto label to a better place 2022-04-10 14:05:14 +02:00
Marcus Meissner
21eff5426c ignore lens is retracting error as a test
https://github.com/gphoto/libgphoto2/issues/780
2022-04-10 13:59:08 +02:00
David Polák
f17dcdcd0a Configure Canon cameras on shutdown (#787)
* fix: 9d517a23-a0b1-40bb-aa55-14c5c1e6bc7f fix-784-01

* fix: 3a4fb09c-223e-4aac-801d-786b23ad0c28 fix-784-01

* fix: 96b650b9-bb4e-42cb-8809-b07a8c11de16 fix-784-01
2022-04-07 14:24:12 +02:00
Marcus Meissner
19c7d65757 added nikon z9 2022-04-04 16:57:42 +02:00
Marcus Meissner
223a4a606f added eos rebel t8i, fixes https://github.com/gphoto/libgphoto2/issues/781 2022-04-03 11:17:04 +02:00
Hans Ulrich Niedermann
4b3052fea0 Add common header with serial to all *.m4 files
The serial number can be useful for aclocal to choose
the newest one when it encounters the same foo.m4 file
in more than one place.
2022-03-31 22:23:46 +02:00
Hans Ulrich Niedermann
be104b3e90 For clang, use -Wmost instead of -Weverything
I have found good arguments from clang developers for not
using -Weverything after all. Instead, -Wmost is the
preferred option to enable the most warnings reasonable.

Apparently, -Weverything can a set of warnings where one
warning contradicts the other and is really only useful
people developing clang itself.
2022-03-30 15:11:14 +02:00
Marcus Meissner
dac8272132 moved a7 4 to correct order 2022-03-26 12:27:01 +01:00
Sachi King
8c9c63d8c5 Add some unknown Sony Alpha A7 IV config values
Values determined by changing values on the camera and then re-reading
the property.  While in the camera HEIF is accompanied by a mention of
chroma sampling, 4:2:2 or 4:2:0, this is not presented in
CompressionSettings, so it must be in one of the Unknown DPC code's.
2022-03-26 12:22:05 +01:00
Sachi King
543a5875b7 Add Sony ILCE-7M4, Alpha 7 IV 2022-03-26 12:22:05 +01:00
Sachi King
8918442135 Fix lockup on Sony ILCE-7M4 due to ptp_sony_9280
The ptp_sony_9280 command cause the ILCE-7M4 PTP interface to
immediately lock up upon receiving the command when in MTP mode.

Capture mode does not advertise 9280/9281 as supported and is not
impacted.  Camera storage is not accessible in capture mode.
2022-03-26 12:22:05 +01:00
Marcus Meissner
76fc544cea added p950, marked as broken cap 2022-03-25 13:20:47 +01:00
Marcus Meissner
bc79e7b882 added fuji xe4 2022-03-24 14:27:52 +01:00
Tim Hetkämper
2cf8a29821 Fix german translation of eosremoterelease choices
In this context release is the opposite of press in the sense of
"loslassen" (see translation of other choices).
2022-03-24 09:47:19 +01:00
Bart
a06093e495 BGH1/GH5 : Fixed start / stop recording 2022-03-23 14:04:15 +01:00
Marcus Meissner
99c113f0c9 gopro hero10 black, https://github.com/libmtp/libmtp/issues/103 2022-03-22 10:30:48 +01:00
Marcus Meissner
12ce4ce163 only free objectinfo when we got a new one, https://github.com/gphoto/gphoto2/issues/493 2022-03-20 11:17:59 +01:00
Marcus Meissner
0715318cf8 fixed another memory corruption
fixes https://github.com/gphoto/libgphoto2/issues/774
2022-03-10 16:55:02 +01:00
Marcus Meissner
30de5cf650 start 2.5.29.1 development 2022-03-05 14:42:29 +01:00
Marcus Meissner
1691f4705c 2.5.29 release v2.5.29 libgphoto2-2_5_29-release 2022-03-05 14:11:50 +01:00
Marcus Meissner
4bf39024c9 rename the m531 new id... seems to be a dup otherwise 2022-03-05 13:44:41 +01:00
Marcus Meissner
260b764f01 ssync from libmtp 2022-03-05 13:41:14 +01:00
Marcus Meissner
92c81f75a8 updated NEWS 2022-03-05 13:23:17 +01:00
Marcus Meissner
340b0c8d65 added kodak m531 2022-02-28 17:29:51 +01:00
Мирослав Николић
eae7b66853 Updated serbian 2022-02-17 10:47:41 +01:00
Marcus Meissner
e7d1b1e208 we need to copy over objectinfo, as oi.Storage is used... https://github.com/gphoto/libgphoto2/issues/770 2022-02-12 16:14:39 +01:00
Alexandr Shevchenko
ae1b23a013 merge from libmtp 2022-01-31 10:52:26 +01:00
Marcus Meissner
1bb8d8e9dc added sony dsc-w830 debug 2022-01-31 09:40:44 +01:00
Marcus Meissner
59bcb27a50 warning fixes for recent panasonic commit 2022-01-23 17:12:49 +01:00
Marcus Meissner
fca76c5bd7 sony fnumber needs to return the current setting even if not in list 2022-01-23 17:12:49 +01:00
Hans Ulrich Niedermann
6d7ed0ea21 Work around github workflow issue with presenting stderr 2022-01-23 16:18:33 +01:00