It must be hacked to use EGL with X11 on Rasberry Pi.
Copy x11-hack-libegl.sh
file to Rasberry Pi.
Type in terminal:
$ sudo sh x11-hack-libegl.sh
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- | |
vim: set autoindent expandtab shiftwidth=2 softtabstop=2 tabstop=2: */ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <getopt.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
#include <stdio.h> | |
#include <sys/timerfd.h> | |
#include <sys/timerfd.h> | |
#include <time.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> /* Definition of uint64_t */ | |
#ifndef TFD_TIMER_CANCEL_ON_SET |
#!/usr/bin/env node | |
// | |
// Generate FontAwesome icon definitions | |
// | |
var http = require('http'); | |
http.get('http://fontawesome.io/cheatsheet/', function (result) { | |
var body = ''; | |
result.on('data', function (chunk) { body += chunk; }); |
/* -*- mode: javascript; js-indent-level: 2; tab-width: 2; indent-tabs-mode: nil; -*- | |
vim: set autoindent expandtab shiftwidth=2 softtabstop=2 tabstop=2: */ | |
'use strict'; | |
var dgram = require('dgram'), | |
http = require('http'), | |
url = require('url'), | |
xml2js = require('xml2js'), | |
Buffer = require('buffer').Buffer; |
diff --git a/drivers/rr272x/osm/linux/osm_linux.c b/drivers/rr272x/osm/linux/osm_linux.c | |
index d46ed92..aa5b5f5 100644 | |
--- a/drivers/rr272x/osm/linux/osm_linux.c | |
+++ b/drivers/rr272x/osm/linux/osm_linux.c | |
@@ -29,21 +29,6 @@ static int hpt_init_one(HIM *him, struct pci_dev *pcidev) | |
PVBUS vbus; | |
PVBUS_EXT vbus_ext; | |
int order,size; | |
- | |
- if (pci_enable_device(pcidev)) { |
diff --git a/vncviewer/UserDialog.cxx b/vncviewer/UserDialog.cxx | |
index b57588d..287f790 100644 | |
--- a/vncviewer/UserDialog.cxx | |
+++ b/vncviewer/UserDialog.cxx | |
@@ -61,10 +61,18 @@ UserDialog::~UserDialog() | |
void UserDialog::getUserPasswd(char** user, char** password) | |
{ | |
+ CharArray passwordTextStr(passwordText.getData()); | |
CharArray passwordFileStr(passwordFile.getData()); |
diff --git a/clutter.orig/win32/clutter-event-win32.c b/clutter/win32/clutter-event-win32.c | |
index 7a360c6..6b1fedc 100644 | |
--- a/clutter.orig/win32/clutter-event-win32.c | |
+++ b/clutter/win32/clutter-event-win32.c | |
@@ -288,7 +288,10 @@ clutter_event_dispatch (GSource *source, | |
the clutter event queue */ | |
while (!clutter_events_pending () && PeekMessageW (&msg, NULL, | |
0, 0, PM_REMOVE)) | |
+ { | |
+ TranslateMessage (&msg); /* needed for WM_IME_CHAR */ |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <sys/ioctl.h> | |
#include <linux/cdrom.h> | |
int | |
main (int argc, | |
char **argv) |
diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt | |
index 4695eb4..df7d838 100644 | |
--- a/windows/CMakeLists.txt | |
+++ b/windows/CMakeLists.txt | |
@@ -65,14 +65,14 @@ set(_LIBUI_INCLUDEDIRS _LIBUI_INCLUDEDIRS PARENT_SCOPE) | |
# Windows won't link resources in static libraries; we need to provide the libui.res file in this case. | |
set(_LIBUINAME libui PARENT_SCOPE) | |
if(NOT BUILD_SHARED_LIBS) | |
- set(_LIBUI_STATIC_RES ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/libui.res PARENT_SCOPE) | |
+ set(_LIBUI_STATIC_RES ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/$(Configuration)/libui.res PARENT_SCOPE) |