Drop dead files

This commit is contained in:
Kalev Lember 2013-04-30 10:42:22 +02:00
parent 5bb4995d62
commit 33a6cf2af0
5 changed files with 0 additions and 93 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
exec /etc/X11/xdm/Xsession gnome

View File

@ -1,42 +0,0 @@
diff -up gnome-session-3.0.1/tools/gnome-session-check-accelerated-helper.c.blacklist gnome-session-3.0.1/tools/gnome-session-check-accelerated-helper.c
--- gnome-session-3.0.1/tools/gnome-session-check-accelerated-helper.c.blacklist 2011-03-22 16:31:43.000000000 -0400
+++ gnome-session-3.0.1/tools/gnome-session-check-accelerated-helper.c 2011-04-27 13:01:15.132322955 -0400
@@ -108,6 +108,20 @@ _has_hardware_gl (Display *display)
Window window = None;
const char *renderer;
int ret = 1;
+ int i;
+
+ /* This is a quick-and-dirty list of things that we know don't work
+ * well enough to use. Since we tend to use only direct contexts,
+ * we can ignore a lot of really old drivers that won't have
+ * texture_from_pixmap in a direct context.
+ */
+ static const char * const renderer_blacklist[] = {
+ "software rasterizer", /* Classic mesa software rendering */
+ "softpipe", /* Gallium software rendering */
+ "R100", /* ATI Radeon R1xx */
+ "R200", /* ATI Radeon R2xx */
+ "Intel(R) 8" /* Intel 830-865 */
+ };
int attrlist[] = {
GLX_RGBA,
@@ -143,13 +157,10 @@ _has_hardware_gl (Display *display)
goto out;
renderer = (const char *) glGetString (GL_RENDERER);
- /* The current Mesa software GL renderer string is
- * "Software Rasterizer".
- * Gallium has softpipe and llvmpipe. */
- if (strcasestr (renderer, "software rasterizer") != NULL ||
- strcasestr (renderer, "softpipe") != NULL ||
- strcasestr (renderer, "llvmpipe") != NULL)
- goto out;
+ for (i = 0; i < sizeof (renderer_blacklist) / sizeof (renderer_blacklist[0]); i++) {
+ if (strcasestr (renderer, renderer_blacklist[i]) != NULL)
+ goto out;
+ }
/* we need to get the max texture size while we have a context,
* but we'll check its value later */

View File

@ -1,13 +0,0 @@
diff -up gnome-session-3.3.2/data/hardware-compatibility.jx gnome-session-3.3.2/data/hardware-compatibility
--- gnome-session-3.3.2/data/hardware-compatibility.jx 2011-12-13 14:50:39.000000000 -0500
+++ gnome-session-3.3.2/data/hardware-compatibility 2011-12-13 14:54:24.325533866 -0500
@@ -15,6 +15,9 @@
# Intel 830-865
-Intel\(R\) 8[[:digit:]]{2,2}[^[:digit:]]
+# Pre-R300 radeon
+-Mesa DRI R[12]00
+
# Old Mesa software GL renderer
-software rasterizer

View File

@ -1,12 +0,0 @@
diff -up gnome-session-3.3.5/gnome-session/gsm-system.c.interface gnome-session-3.3.5/gnome-session/gsm-system.c
--- gnome-session-3.3.5/gnome-session/gsm-system.c.interface 2012-02-09 23:35:03.634312123 -0500
+++ gnome-session-3.3.5/gnome-session/gsm-system.c 2012-02-09 23:35:12.438311807 -0500
@@ -34,7 +34,7 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-G_DEFINE_INTERFACE (GsmSystem, gsm_system, G_TYPE_INTERFACE);
+G_DEFINE_INTERFACE (GsmSystem, gsm_system, G_TYPE_OBJECT)
static void
gsm_system_default_init (GsmSystemInterface *iface)

View File

@ -1,23 +0,0 @@
# This is the default session that is launched if the user doesn't
# already have a session.
# The RestartCommand specifies the command to run from the $PATH.
# The Priority determines the order in which the commands are started
# (with Priority = 0 first) and defaults to 50.
# The id provides a name that is unique within this file and passed to the
# app as the client id which it must use to register with gnome-session.
# The clients must be numbered from 0 to the value of num_clients - 1.
[Default]
num_clients=4
0,id=default0
0,Priority=60
0,RestartCommand=pam-panel-icon --sm-client-id default0
1,id=default1
1,Priority=10
1,RestartCommand=gnome-wm --default-wm gnome-wm --sm-client-id default1
2,id=default2
2,Priority=40
2,RestartCommand=gnome-panel --sm-client-id default2
3,id=default3
3,Priority=40
3,RestartCommand=nautilus --no-default-window --sm-client-id default3