diff options
author | Nathan Pratta Teodosio <nathan.teodosio@canonical.com> | 2022-11-23 10:06:13 -0300 |
---|---|---|
committer | Nathan Pratta Teodosio <nathan.teodosio@canonical.com> | 2022-11-24 07:52:07 -0300 |
commit | c6327d80a67a2f990d2ee21183be358264bd840b (patch) | |
tree | ff8a233446e1af989fcfe6ad698a2d99210471db | |
parent | e6b7d0828de8bcedb621374291a59b686e4d2a80 (diff) |
Use libsecret-dev instead of Chromium's headers.
-rw-r--r-- | build/chromium-patches/libsecret.patch | 18 | ||||
-rw-r--r-- | build/chromium-patches/series | 1 | ||||
-rw-r--r-- | snapcraft.yaml | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/build/chromium-patches/libsecret.patch b/build/chromium-patches/libsecret.patch new file mode 100644 index 0000000..91a759d --- /dev/null +++ b/build/chromium-patches/libsecret.patch @@ -0,0 +1,18 @@ +--- a/components/os_crypt/BUILD.gn ++++ b/components/os_crypt/BUILD.gn +@@ -101,7 +101,6 @@ + "libsecret_util_linux.h", + ] + configs += [ "//build/config/linux:glib" ] +- deps += [ "//third_party/libsecret" ] + defines += [ "USE_LIBSECRET" ] + } + if (use_dbus) { +@@ -181,7 +181,6 @@ + } + if (use_glib) { + sources += [ "key_storage_libsecret_unittest.cc" ] +- deps += [ "//third_party/libsecret" ] + defines += [ "USE_LIBSECRET" ] + } + if (use_dbus) { diff --git a/build/chromium-patches/series b/build/chromium-patches/series index e1db7b5..4e73b63 100644 --- a/build/chromium-patches/series +++ b/build/chromium-patches/series @@ -27,3 +27,4 @@ use-system-wide-eu-strip.patch dont-collect-motherboard-metrics.patch linker-oom-armhf.patch enable-webrtc-pipewire-capturer.patch +libsecret.patch diff --git a/snapcraft.yaml b/snapcraft.yaml index ba05c56..a21e8d6 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -141,6 +141,7 @@ parts: - libnss3-dev - libpam0g-dev - libpci-dev + - libsecret-1-dev - libssl-dev - libva-dev - libxshmfence-dev |