summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure: replace deprecated AC_HELP_STRING with AS_HELP_STRINGHEADmasterAlan Coopersmith2023-03-081-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith2023-03-081-1/+5
| | | | | | | | | | | | | | | | | AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:13: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:13: the top level libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libxshmfence 1.3.2libxshmfence-1.3.2Matt Turner2022-12-081-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* configure: Use AC_SYS_LARGEFILE to enable large file supportMatt Turner2022-11-291-1/+3
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* libxshmfence 1.3.1libxshmfence-1.3.1Alan Coopersmith2022-10-181-2/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-07-171-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2022-07-172-2/+2
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-07-171-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* alloc: prefer SHM_ANON on FreeBSD a la memfd_createJan Beich2019-08-031-0/+4
| | | | Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
* alloc: prefer atomic close-on-exec without O_TMPFILE as wellJan Beich2019-08-032-1/+17
| | | | Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-12-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-192-13/+6
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libxshmfence 1.3libxshmfence-1.3Matt Turner2018-02-261-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* Fix missing <limits.h> include for HAVE_UMTX branch of futexMichał Górny2018-02-221-0/+1
| | | | | | | | This fixes build on Gentoo/FreeBSD which failed due to undefined 'INT_MAX'. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* Revert "configure: Nerf a thing"Adam Jackson2018-01-291-1/+1
| | | | | | Definitely didn't mean to push this. This reverts commit 1f194603cb927352c42798bead29c8ac3a680d02.
* configure.ac: call AC_USE_SYSTEM_EXTENSIONSRoss Burton2018-01-291-0/+2
| | | | | | | With glibc 2.27 memfd_create() is inside a _GNU_SOURCE guard, so call AC_USE_SYSTEM_EXTENSIONS to get this defined. Signed-off-by: Ross Burton <ross.burton@intel.com>
* configure: Nerf a thingAdam Jackson2017-12-141-1/+1
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-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>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-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>
* Bump version to 1.2libxshmfence-1.2Keith Packard2015-01-021-1/+1
| | | | | | Release with memfd support Signed-off-by: Keith Packard <keithp@keithp.com>
* Use linux 3.17 memfd_create syscall when availableKeith Packard2014-10-092-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>
* Use /dev/shm as an optional shared memory directoryKeith Packard2014-06-171-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>
* Add support for FreeBSD using umtx (v3).Jung-uk Kim2014-06-172-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>
* autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith2014-06-041-1/+3
| | | | | | See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2014-06-042-2/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Check return value from ftruncateJulien Cristau2013-12-031-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>
* Update to version 1.1libxshmfence-1.1Keith Packard2013-11-261-1/+1
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Describe the library better in the README fileKeith Packard2013-11-251-1/+12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore test build files and release announcementsKeith Packard2013-11-201-0/+6
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Set symbol visibility attribute to hide internal symbolsKeith Packard2013-11-203-8/+53
| | | | | | | Expose only the official API. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
* Provide pthread-based alternative implementationKeith Packard2013-11-207-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>
* Split out futex implementation from general APIKeith Packard2013-11-205-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>
* Add test programKeith Packard2013-11-204-1/+189
| | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
* Use O_TMPFILE if availableKeith Packard2013-11-202-4/+12
| | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
* Locate directory for shared memory files at configure timeKeith Packard2013-11-202-1/+49
| | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
* Change fence memory type from 'int32_t' to 'struct shmfence'Keith Packard2013-11-203-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>
* lint: remove usage of libxshmfence_la_SOURCESGaetan Nadon2013-11-051-1/+1
| | | | | | This variable is always empty. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* make: list non installed headers under the _SOURCES variableGaetan Nadon2013-11-051-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>
* make: add $(CWARNFLAGS)Gaetan Nadon2013-11-051-0/+2
| | | | | | It's required for all X libraries Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add the required README fileGaetan Nadon2013-11-051-0/+25
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add mandatory COPYING file.Gaetan Nadon2013-11-051-0/+19
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Copy autotools boilerplate from http://www.x.org/wiki/NewModuleGuidelines/Aaron Plattner2013-11-011-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>
* Copy the standard .gitignore from other lib packagesAaron Plattner2013-11-011-0/+78
| | | | | Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Update to verion 1.0libxshmfence-1.0Keith Packard2013-10-311-1/+1
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Import first version of the libraryKeith Packard2013-04-298-0/+394
Signed-off-by: Keith Packard <keithp@keithp.com>