Skip to content

Instantly share code, notes, and snippets.

@kkristof
kkristof / gist:3899045
Created October 16, 2012 12:44
/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/make.log
DKMS make.log for pvr-omap4-1.9.0.6.1.1 for kernel 3.2.0-32-omap (armv7l)
2012. okt. 16., kedd, 05.38.44 PDT
make[1]: Entering directory `/var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/build/linux2/omap4430_linux'
../config/core.mk:292: Setting SGX_DISABLE_VISTEST_SUPPORT=1 because PVRSRV_USSE_EDM_STATUS_DEBUG=1
../config/core.mk:339: CROSS_COMPILE is not set. Target components will be built with the host compiler
../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
LD /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
CC [M] /var/lib/dkms/pvr-omap4/1.9.0.6.1.1/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index efe196a..2daf7eb 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -2,6 +2,6 @@ SET(LIB_DEPENDENCIES "")
find_package(EGL REQUIRED)
-if (${USE_GLES2})
+if (${GD_USE_GLES2})
@kkristof
kkristof / gist:7820562
Created December 6, 2013 08:44
sublime2 settings
{
"auto_match_enabled": false,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme",
"font_size": 11,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
Program received signal SIGSEGV, Segmentation fault.
0x4172abc8 in WTFCrash () at /home/kosztyo/arm-nix/Source/WTF/wtf/Assertions.cpp:342
342 *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0 0x4172abc8 in WTFCrash () at /home/kosztyo/arm-nix/Source/WTF/wtf/Assertions.cpp:342
#1 0x405b4c54 in reinterpret_cast_ptr<unsigned long long*> (ptr=0x9bccc) at /home/kosztyo/arm-nix/Source/WTF/wtf/StdLibExtras.h:96
#2 0x4153c3b2 in CoreIPC::ArgumentEncoder::encode (this=0x9bcc0, n=10)
at /home/kosztyo/arm-nix/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp:158
#3 0x4153c2c8 in CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray (this=0x9bcc0, dataReference=...)
at /home/kosztyo/arm-nix/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp:122
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/kosztyo/gl2d/WebKitBuild/Debug/__cmake_systeminformation/CMakeFiles/CMakeTmp
kristof@kkristof:~/test$ gcc -lX11 x_mini.c -o xtut1
/tmp/cch1ggeR.o: In function `main':
x_mini.c:(.text+0x2d): undefined reference to `XOpenDisplay'
x_mini.c:(.text+0x157): undefined reference to `XCreateSimpleWindow'
x_mini.c:(.text+0x17c): undefined reference to `XSelectInput'
x_mini.c:(.text+0x195): undefined reference to `XMapWindow'
x_mini.c:(.text+0x1ae): undefined reference to `XNextEvent'
x_mini.c:(.text+0x223): undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
@kkristof
kkristof / gist:5575636
Created May 14, 2013 12:53
gles buildfix for nix
diff --git a/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp b/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp
index 21cbd1a..4361f1d 100644
--- a/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp
+++ b/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp
@@ -75,6 +75,7 @@ PassRefPtr<GraphicsContext3D> GraphicsContext3D::create(GraphicsContext3D::Attri
GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attributes, HostWindow*, GraphicsContext3D::RenderStyle renderStyle)
: m_currentWidth(0)
, m_currentHeight(0)
+ , m_compiler(isGLES2Compliant() ? SH_ESSL_OUTPUT : SH_GLSL_OUTPUT)
, m_attrs(attributes)
kristof@kkristof:~$ dpkg -l | grep "mime"
ii libcupsmime1 1.5.3-0ubuntu6 Common UNIX Printing System(tm) - MIME library
ii libfile-mimeinfo-perl 0.15-2 Perl module to determine file types
ii libgmime-2.6-0 2.6.7-1 MIME message parser and creator library - runtime
ii mime-support 3.51-1ubuntu1 MIME files 'mime.types' & 'mailcap', and support programs
ii shared-mime-info 1.0-0ubuntu4.1 FreeDesktop.org shared MIME database and spec
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/kosztyo/WebKit_Nix/WebKitBuild/Release/__cmake_systeminformation/CMakeFiles/CMakeTmp
export QTDIR=/home/linaro/qt5/Qt5-hardfp/Qt-5.0.0-r40-GLES
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$QTDIR/lib"
export QT_IMPORT_PATH="$QTDIR/imports"
export QML_IMPORT_PATH="$QTDIR/imports"
export QT_PLUGIN_PATH="$QTDIR/plugins"
export QT_QPA_PLATFORM_PLUGIN_PATH="$QTDIR/plugins/platforms"
export QT_QPA_PLATFORM=xcb