mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
ladybird: 0-unstable-2024-06-04 -> 0-unstable-2024-06-08
(cherry picked from commit 131285d6f9
)
This commit is contained in:
parent
5c76bd1102
commit
0d1f1b5fad
@ -10,9 +10,11 @@
|
||||
, darwin
|
||||
, cmake
|
||||
, ninja
|
||||
, pkg-config
|
||||
, libxcrypt
|
||||
, python3
|
||||
, qt6Packages
|
||||
, woff2
|
||||
, nixosTests
|
||||
, AppKit
|
||||
, Cocoa
|
||||
@ -50,19 +52,15 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ladybird";
|
||||
version = "0-unstable-2024-06-04";
|
||||
version = "0-unstable-2024-06-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LadybirdWebBrowser";
|
||||
repo = "ladybird";
|
||||
rev = "c6e9f0e7b5b050ddbb5d735ca9c65458add9b4a5";
|
||||
hash = "sha256-+NDrd0kO9bqXFcCEJFmNwNu5jmf+wT+uUVlmbmCYLw4=";
|
||||
rev = "2f68e361370040d8cdc75a8ed8af4239134ae481";
|
||||
hash = "sha256-EQZTsui4lGThSi+8a6KSyL5lJnO0A8fJ8HWY4jgkpUA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./nixos-font-path.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/iconutil/d' Ladybird/CMakeLists.txt
|
||||
|
||||
@ -112,6 +110,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = with qt6Packages; [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
wrapQtAppsHook
|
||||
];
|
||||
@ -120,6 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libxcrypt
|
||||
qtbase
|
||||
qtmultimedia
|
||||
woff2
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
Cocoa
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/Userland/Libraries/LibCore/StandardPaths.cpp b/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
index 77ddbeb9..76481497 100644
|
||||
--- a/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
+++ b/Userland/Libraries/LibCore/StandardPaths.cpp
|
||||
@@ -205,6 +205,7 @@ ErrorOr<Vector<String>> StandardPaths::font_directories()
|
||||
"/Library/Fonts"_string,
|
||||
TRY(String::formatted("{}/Library/Fonts"sv, home_directory())),
|
||||
# else
|
||||
+ "/run/current-system/sw/share/X11/fonts"_string,
|
||||
"/usr/share/fonts"_string,
|
||||
"/usr/local/share/fonts"_string,
|
||||
TRY(String::formatted("{}/.local/share/fonts"sv, home_directory())),
|
Loading…
Reference in New Issue
Block a user