Skip to content

Commit e90ddf3

Browse files
Update for libgphoto2 v2.5.30
1 parent 095f787 commit e90ddf3

6 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ jobs:
1515
path: doxy2swig
1616

1717
- name: Download libgphoto2
18-
run: wget -nv https://github.com/gphoto/libgphoto2/releases/download/v2.5.29/libgphoto2-2.5.29.tar.xz
18+
run: wget -nv https://github.com/gphoto/libgphoto2/releases/download/v2.5.30/libgphoto2-2.5.30.tar.xz
1919

2020
- name: Extract libgphoto2
21-
run: tar xf libgphoto2-2.5.29.tar.xz
21+
run: tar xf libgphoto2-2.5.30.tar.xz
2222

2323
- name: Build wheels
2424
uses: pypa/cibuildwheel@v2.1.1
2525
env:
2626
CIBW_ARCHS: auto64
2727
CIBW_SKIP: pp37-macosx_x86_64
28-
CIBW_ENVIRONMENT: GPHOTO2_VERSION=2.5.29
28+
CIBW_ENVIRONMENT: GPHOTO2_VERSION=2.5.30
2929
CIBW_BEFORE_ALL: >
3030
brew install libexif jpeg-turbo doxygen &&
31-
cd libgphoto2-2.5.29 &&
31+
cd libgphoto2-2.5.30 &&
3232
./configure --prefix=$PWD/local_install --disable-internal-docs \
3333
CFLAGS="-D_DARWIN_C_SOURCE" &&
3434
make &&
3535
make install &&
3636
cd .. &&
37-
python3 developer/build_doc.py 2.5.29 &&
38-
python3 developer/build_swig.py 2.5.29
37+
python3 developer/build_doc.py 2.5.30 &&
38+
python3 developer/build_swig.py 2.5.30
3939
4040
- name: Store results
4141
uses: actions/upload-artifact@v2

.github/workflows/build-manylinux.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@ jobs:
1515
path: doxy2swig
1616

1717
- name: Download libgphoto2
18-
run: wget -nv https://github.com/gphoto/libgphoto2/releases/download/v2.5.29/libgphoto2-2.5.29.tar.xz
18+
run: wget -nv https://github.com/gphoto/libgphoto2/releases/download/v2.5.30/libgphoto2-2.5.30.tar.xz
1919

2020
- name: Extract libgphoto2
21-
run: tar xf libgphoto2-2.5.29.tar.xz
21+
run: tar xf libgphoto2-2.5.30.tar.xz
2222

2323
- name: Build wheels
2424
uses: pypa/cibuildwheel@v2.1.1
2525
env:
2626
CIBW_ARCHS: auto64
2727
CIBW_SKIP: pp37-manylinux_x86_64
28-
CIBW_ENVIRONMENT: GPHOTO2_VERSION=2.5.29
28+
CIBW_ENVIRONMENT: GPHOTO2_VERSION=2.5.30
2929
CIBW_BEFORE_ALL: >
3030
yum install -y libusb-devel libexif-devel libjpeg-turbo-devel \
3131
gd-devel doxygen &&
32-
cd libgphoto2-2.5.29 &&
32+
cd libgphoto2-2.5.30 &&
3333
./configure --prefix=$PWD/local_install --disable-internal-docs \
3434
CFLAGS="-std=gnu99 -g -O2" &&
3535
make &&
3636
make install &&
3737
cd .. &&
38-
python developer/build_doc.py 2.5.29 &&
39-
python developer/build_swig.py 2.5.29
38+
python developer/build_doc.py 2.5.30 &&
39+
python developer/build_swig.py 2.5.30
4040
4141
- name: Store results
4242
uses: actions/upload-artifact@v2

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
python-gphoto2 v\ 2.3.3
1+
python-gphoto2 v\ 2.3.4
22
=======================
33

44
python-gphoto2 is a comprehensive Python interface (or binding) to libgphoto2_.

developer/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Differences found so far:
6565
2.5.27 No change
6666
2.5.28 Add gp_filesystem_set_info_dirty
6767
2.5.29 No change
68+
2.5.30 Add gp_init_localedir & gp_port_init_localedir functions
6869

6970
Documentation
7071
-------------

src/gphoto2/abilities_list.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ LEN_MEMBER_FUNCTION(_CameraAbilitiesList, gp_abilities_list_count)
8888

8989
// Substitute definitions of things added during libgphoto2 development
9090
%{
91-
#if GPHOTO2_VERSION < 0x02051d01
91+
#if GPHOTO2_VERSION < 0x02051e00
9292
int gp_init_localedir(const char *localedir) {
9393
return GP_ERROR_NOT_SUPPORTED;
9494
}

src/gphoto2/port_info_list.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ MEMBER_FUNCTION(_GPPortInfoList,
111111

112112
// Substitute definitions of things added during libgphoto2 development
113113
%{
114-
#if GPHOTO2_VERSION < 0x02051d01
114+
#if GPHOTO2_VERSION < 0x02051e00
115115
int gp_port_init_localedir(const char *localedir) {
116116
return GP_ERROR_NOT_SUPPORTED;
117117
}

0 commit comments

Comments
 (0)