diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index ec71383..1d2d83e 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -16,13 +16,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies (Ubuntu) if: matrix.os == 'ubuntu-latest' run: sudo apt install -y autopoint - name: Install dependencies (macOS) if: matrix.os == 'macos-latest' - run: brew install automake + run: brew install automake libtool - name: Run tests run: cargo test -F test --verbose @@ -36,7 +36,7 @@ jobs: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup MSYS2 and dependencies uses: msys2/setup-msys2@v2 with: @@ -48,6 +48,7 @@ jobs: mingw-w64-x86_64-libltdl mingw-w64-x86_64-clang pkgconf + libtool - name: Setup Rust run: rustup default stable-x86_64-pc-windows-gnu - name: Run tests diff --git a/Cargo.toml b/Cargo.toml index c54b258..994096f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gphoto2" description = "High-level wrapper for libgphoto2" -version = "3.3.0" +version = "3.3.0" # Remember to also update the version in the README edition = "2021" keywords = ["gphoto2", "gphoto", "libgphoto", "camera", "ffi"] authors = ["Maxicarlos08 "] diff --git a/README.md b/README.md index 28f17b7..7c12bfd 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Run `cargo add gphoto2` to add gphoto2 to your project or add this to your `Carg ```toml [dependencies] -gphoto2 = "1" +gphoto2 = "3.3" ``` #### Install libgphoto2 diff --git a/gphoto2-test/build.sh b/gphoto2-test/build.sh index ec6c40d..e603d12 100755 --- a/gphoto2-test/build.sh +++ b/gphoto2-test/build.sh @@ -12,7 +12,7 @@ OUT_DIR=$PWD if [ ! -d libgphoto2 ] ; then mkdir libgphoto2 - curl -L https://github.com/gphoto/libgphoto2/archive/0c28822d5909f9ff9bc895b5095fcf8c21dac02a.tar.gz | tar -xzv --strip 1 -C libgphoto2 + curl -L https://github.com/maxicarlos08/libgphoto2/archive/refs/heads/maxicarlos08/fix-windows-vcamera-build.tar.gz | tar -xzv --strip 1 -C libgphoto2 fi cd libgphoto2