Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos
Commits
4e4b4036
Commit
4e4b4036
authored
Sep 30, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/xorg: version ↑ libxcb 1.9.1
parent
4e614f13
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
8 deletions
+27
-8
component/xorg/buildout.cfg
component/xorg/buildout.cfg
+3
-2
component/xorg/buildout.hash.cfg
component/xorg/buildout.hash.cfg
+1
-1
component/xorg/libxcb_tmp_env.patch
component/xorg/libxcb_tmp_env.patch
+23
-5
No files found.
component/xorg/buildout.cfg
View file @
4e4b4036
...
@@ -107,8 +107,9 @@ md5sum = e8fa31b42e13f87e8f5a7a2b731db7ee
...
@@ -107,8 +107,9 @@ md5sum = e8fa31b42e13f87e8f5a7a2b731db7ee
[libxcb]
[libxcb]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = http://xcb.freedesktop.org/dist/libxcb-1.9.1.tar.bz2
url = https://xorg.freedesktop.org/archive/individual/xcb/libxcb-1.13.tar.bz2
md5sum = ed632cb0dc31b6fbd7ea5c0f931cf5a4
md5sum = c2b6cf928afa16b0047c974e7aaa783f
patches =
patches =
${:_profile_base_location_}/libxcb_tmp_env.patch#${libxcb_tmp_env.patch:md5sum}
${:_profile_base_location_}/libxcb_tmp_env.patch#${libxcb_tmp_env.patch:md5sum}
patch-options = -p1
patch-options = -p1
...
...
component/xorg/buildout.hash.cfg
View file @
4e4b4036
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[libxcb_tmp_env.patch]
[libxcb_tmp_env.patch]
filename = libxcb_tmp_env.patch
filename = libxcb_tmp_env.patch
md5sum =
03bc7279f2a37bac7bf426af213123b2
md5sum =
5a2875e62216d2f41a75e92d1bf0ae67
[xorg-server_tmp_env.patch]
[xorg-server_tmp_env.patch]
filename = xorg-server_tmp_env.patch
filename = xorg-server_tmp_env.patch
...
...
component/xorg/libxcb_tmp_env.patch
View file @
4e4b4036
Store Xorg lock files and sockets in different directories
From 8469ef2a978e19145a56adb54925cf5936ab2d49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 17 Sep 2018 16:07:02 +0200
Subject: [PATCH] SlapOS: Store Xorg lock files and sockets in different
directories
see xorg-server_tmp_env.patch
see xorg-server_tmp_env.patch
---
src/xcb_util.c | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
--- libxcb-1.7/src/xcb_util.c.back 2012-04-03 13:30:36.000000000 +0200
diff --git a/src/xcb_util.c b/src/xcb_util.c
+++ libxcb-1.7/src/xcb_util.c 2012-04-03 14:47:00.000000000 +0200
index a16270c..d05f8a1 100644
@@ -147,11 +147,31 @@
--- a/src/xcb_util.c
+++ b/src/xcb_util.c
@@ -223,15 +223,37 @@
static int _xcb_open_unix(char *protocol, const char *file);
static int _xcb_open_abstract(char *protocol, const char *file, size_t filelen);
static int _xcb_open_abstract(char *protocol, const char *file, size_t filelen);
#endif
#endif
...
@@ -27,14 +36,23 @@ see xorg-server_tmp_env.patch
...
@@ -27,14 +36,23 @@ see xorg-server_tmp_env.patch
+ }
+ }
+ return strncat(path_list[0], suffix, PATH_MAX);
+ return strncat(path_list[0], suffix, PATH_MAX);
+}
+}
+
+
+
static int _xcb_open(const char *host, char *protocol, const int display)
static int _xcb_open(const char *host, char *protocol, const int display)
{
{
int fd;
int fd;
#ifdef __hpux
static const char unix_base[] = "/usr/spool/sockets/X11/";
+ #error "SlapOS: no patch for hpux"
#else
- static const char unix_base[] = "/tmp/.X11-unix/X";
- static const char unix_base[] = "/tmp/.X11-unix/X";
- const char *base = unix_base;
+ char *base;
+ char *base;
+ base = _xcb_getandappendcompatibleenv("XORG_LOCK_DIR", "/tmp", "/.X11-unix/X");
+ base = _xcb_getandappendcompatibleenv("XORG_LOCK_DIR", "/tmp", "/.X11-unix/X");
#endif
- const char *base = unix_base;
size_t filelen;
size_t filelen;
char *file = NULL;
char *file = NULL;
int actual_filelen;
int actual_filelen;
--
2.11.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment