summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2015-01-02Bump version to 1.2libxshmfence-1.2Keith Packard1-1/+1
Release with memfd support Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-09Use linux 3.17 memfd_create syscall when availableKeith Packard2-8/+48
Linux 3.17 introduces a new anonymous memory allocation that returns a file descriptor which we can pass around. Use this in preference to creating a file in the filesystem where available. Signed-off-by: Keith Packard <keithp@keithp.com>
2014-06-17Use /dev/shm as an optional shared memory directoryKeith Packard1-1/+1
This is the path coded into glibc, so it should exist and be useful on any glibc-based system Signed-off-by: Keith Packard <keithp@keithp.com>
2014-06-17Add support for FreeBSD using umtx (v3).Jung-uk Kim2-1/+34
This fixes a sign-extension bug in the previous versions. Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org> Signed-off-by: Keith Packard <keithp@keithp.com>
2014-06-04autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-1/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-04configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-12-03Check return value from ftruncateJulien Cristau1-1/+4
Silences compiler warning: xshmfence_alloc.c: In function 'xshmfence_alloc_shm': xshmfence_alloc.c:54:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, sizeof (struct xshmfence)); ^ Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Keith Packard <keithp@keithp.com>
2013-11-26Update to version 1.1libxshmfence-1.1Keith Packard1-1/+1
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-25Describe the library better in the README fileKeith Packard1-1/+12
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Ignore test build files and release announcementsKeith Packard1-0/+6
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Set symbol visibility attribute to hide internal symbolsKeith Packard3-8/+53
Expose only the official API. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Provide pthread-based alternative implementationKeith Packard7-1/+212
This uses pthread mutexes and condition variables instead of futexes. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Split out futex implementation from general APIKeith Packard5-107/+164
This splits the futex-specific code out into a separate file so that future versions of the library could use some other underlying primitive. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Add test programKeith Packard4-1/+189
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Use O_TMPFILE if availableKeith Packard2-4/+12
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Locate directory for shared memory files at configure timeKeith Packard2-1/+49
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-20Change fence memory type from 'int32_t' to 'struct shmfence'Keith Packard3-23/+30
This will allow other implementations to use alternate representations, as well as providing additional typechecking. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-11-05lint: remove usage of libxshmfence_la_SOURCESGaetan Nadon1-1/+1
This variable is always empty. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-05make: list non installed headers under the _SOURCES variableGaetan Nadon1-3/+2
Recommended by Automake: http://www.gnu.org/software/automake/manual/automake.html#Headers Also, this header is missing in the lint target $(libxshmfence_la_SOURCES) As a bonus, all other libraries are following this advice. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-05make: add $(CWARNFLAGS)Gaetan Nadon1-0/+2
It's required for all X libraries Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-05Add the required README fileGaetan Nadon1-0/+25
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-05Add mandatory COPYING file.Gaetan Nadon1-0/+19
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-01Copy autotools boilerplate from http://www.x.org/wiki/NewModuleGuidelines/Aaron Plattner1-17/+18
I verified that this works with autoconf both 2.60 and 2.69. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2013-11-01Copy the standard .gitignore from other lib packagesAaron Plattner1-0/+78
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2013-10-31Update to verion 1.0libxshmfence-1.0Keith Packard1-1/+1
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-04-29Import first version of the libraryKeith Packard8-0/+394
Signed-off-by: Keith Packard <keithp@keithp.com>