qtwebkit: fix path for libgdk-x11-2.0, it's in gtk2 apparently
This commit is contained in:
parent
1003fd58fb
commit
c29b17eecb
@ -20,7 +20,7 @@ index 2fe69d1..b658e4a 100644
|
|||||||
// The code below has the same effect as this one:
|
// The code below has the same effect as this one:
|
||||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
||||||
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
||||||
+ QLibrary library(QLatin1String("@gdk_pixbuf@/lib/libgdk-x11-2.0"), 0);
|
+ QLibrary library(QLatin1String("@gtk@/lib/libgdk-x11-2.0"), 0);
|
||||||
if (!library.load())
|
if (!library.load())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ index b8c8f2a..e7f4dc5 100644
|
|||||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
||||||
|
|
||||||
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
||||||
+ QLibrary library(QLatin1String("@gdk_pixbuf@/lib/libgdk-x11-2.0"), 0);
|
+ QLibrary library(QLatin1String("@gtk@/lib/libgdk-x11-2.0"), 0);
|
||||||
if (!library.load())
|
if (!library.load())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -58,7 +58,8 @@ qtModule {
|
|||||||
++ optionals flashplayerFix
|
++ optionals flashplayerFix
|
||||||
[
|
[
|
||||||
''-DNIXPKGS_LIBGTK2="${getLib gtk2}/lib/libgtk-x11-2.0"''
|
''-DNIXPKGS_LIBGTK2="${getLib gtk2}/lib/libgtk-x11-2.0"''
|
||||||
''-DNIXPKGS_LIBGDK2="${getLib gdk_pixbuf}/lib/libgdk-x11-2.0"''
|
# this file used to exist in gdk_pixbuf?
|
||||||
|
''-DNIXPKGS_LIBGDK2="${getLib gtk2}/lib/libgdk-x11-2.0"''
|
||||||
]
|
]
|
||||||
++ optional (!stdenv.isDarwin) ''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
++ optional (!stdenv.isDarwin) ''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user