YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
Remove all vcpkg references
Divanshubf1403e41e3e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4e6272dd4..25306b30e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -103,11 +103,6 @@ jobs:with:bun-version: 1.2.2- - name: Install vcpkg- uses: lukka/run-vcpkg@v11- with:- vcpkgGitCommitId: "2a3138723698306f4261632c92dc782f586167e3"-- name: Set up MSVCuses: ilammy/msvc-dev-cmd@v1diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 6629482e4..78abc33d1 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -82,11 +82,6 @@ jobs:target: x86_64-pc-windows-msvcrustflags: ""- - name: Install vcpkg- uses: lukka/run-vcpkg@v11- with:- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"-- name: Install 7zipshell: powershellrun: |diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex ce3120345..a1c84b03e 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -499,12 +499,6 @@ jobs:working-directory: ${{ github.workspace }}/apps/screenpipe-app-taurirun: bun install- - name: Install vcpkg- if: matrix.os_type == 'windows'- uses: lukka/run-vcpkg@v11- with:- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"-- name: Set up MSVCif: matrix.os_type == 'windows'uses: ilammy/msvc-dev-cmd@v1diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.ymlindex 33b1feabf..ad0cd95e8 100644--- a/.github/workflows/release-enterprise-windows.yml+++ b/.github/workflows/release-enterprise-windows.yml@@ -93,11 +93,6 @@ jobs:working-directory: apps/screenpipe-app-taurirun: bun install- - name: Install vcpkg- uses: lukka/run-vcpkg@v11- with:- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"-- name: Set up MSVCuses: ilammy/msvc-dev-cmd@v1diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 45703bd05..244ac983a 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -71,30 +71,18 @@ before you begin:irm https://bun.sh/install.ps1 | iex```-3. **clone and setup vcpkg**:+3. **set environment variables**:```powershell- cd C:\dev- $env:DEV_DIR = $(pwd)- git clone https://github.com/microsoft/vcpkg.git- cd vcpkg- ./bootstrap-vcpkg.bat -disableMetrics- ./vcpkg.exe integrate install --disable-metrics- ./vcpkg.exe install ffmpeg:x64-windows- ```--4. **set environment variables**:- ```powershell- [System.Environment]::SetEnvironmentVariable('PKG_CONFIG_PATH', "$env:DEV_DIR\vcpkg\packages\ffmpeg_x64-windows\lib\pkgconfig", 'User')- [System.Environment]::SetEnvironmentVariable('VCPKG_ROOT', "$env:DEV_DIR\vcpkg", 'User')[System.Environment]::SetEnvironmentVariable('LIBCLANG_PATH', 'C:\Program Files\LLVM\bin', 'User')[System.Environment]::SetEnvironmentVariable('PATH', "$([System.Environment]::GetEnvironmentVariable('PATH', 'User'));C:\Program Files (x86)\GnuWin32\bin", 'User')```-5. **clone the project**:++4. **clone the project**:```powershellgit clone https://github.com/screenpipe/screenpipe.gitcd screenpipe```-6. **make sure vcredist is present on system**:+5. **make sure vcredist is present on system**:- make sure your in root of the project i.e screenpipe```powershell@@ -126,7 +114,7 @@ before you begin:Write-Host "vcruntime140.dll copied successfully!"```-8. **build**:+6. **build**:```powershellcd screenpipecargo build --releasediff --git a/Cargo.toml b/Cargo.tomlindex 8498428e2..616127371 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -28,7 +28,6 @@ crossbeam = "0.8.4"dashmap = "6.1.0"image = "0.25"criterion = { version = "0.5.1", features = ["async_tokio"] }-vcpkg = "0.2"cc = "1.0"oasgen = { version = "0.22.0", features = ["axum", "chrono"] }once_cell = "1.20.2"@@ -44,11 +43,6 @@ reqwest-middleware = "0.4.1"# enables chinese mirror (hf is banned in china) and native-tlshf-hub = { git = "https://github.com/neo773/hf-hub" }-[workspace.metadata.vcpkg]-git = "https://github.com/microsoft/vcpkg"-rev = "2023.04.15"-dynamic = true-[profile.release]codegen-units = 1lto = truediff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.jsindex 2e46ee144..eb4a89fe4 100644--- a/apps/screenpipe-app-tauri/scripts/pre_build.js+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js@@ -26,7 +26,6 @@ const config = {windows: {ffmpegName: 'ffmpeg-8.0.1-full_build-shared',ffmpegUrl: 'https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-8.0.1-full_build-shared.7z',- vcpkgPackages: ['opencl', 'onnxruntime-gpu'],},linux: {aptPackages: [@@ -334,12 +333,8 @@ if (platform == 'windows') {await copyVcredistDlls();} catch (err) {console.warn('Skipping VC redist DLL copy (optional outside CI):', err.message);- }}-- // Setup vcpkg packages with environment variables set inline- // TODO is this even used? dont we use build.rs for this?- // await $`SystemDrive=${process.env.SYSTEMDRIVE} SystemRoot=${process.env.SYSTEMROOT} windir=${process.env.WINDIR} ${process.env.VCPKG_ROOT}\\vcpkg.exe install ${config.windows.vcpkgPackages}`.quiet()+ }}/* ########## macOS ########## */