summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18xcb-util-image 0.4.1HEADxcb-util-image-0.4.1masterAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24autogen.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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24autogen.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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24autogen.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>
2022-07-24configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-20gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-20Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-20Update m4 to xorg/util/xcb-util-m4@c617eee22ae5c285e79e81Alan Coopersmith1-0/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-04-13test: add XCB_SHM_LIBS to all testDavid Callu1-4/+4
2019-02-17Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-17Add README.md to EXTRA_DISTAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-17Update README for gitlab migrationAlan Coopersmith1-7/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-10-15Release 0.4.00.4.0Arnaud Fontaine2-1/+15
2014-09-24Pick-up changes in m4 submodule as it's better to have all util repos at ↵Arnaud Fontaine1-0/+0
same m4 level.
2014-04-17image: use AM_CPPFLAGS rather than per-target libxcb_image_la_CPPFLAGSGaetan Nadon1-1/+5
There is only one target in this directory, so we do not need to trigger the per-target infrastructure which would require AC_PROG_CC_C_O macro. So libxcb_image_la-xcb_image.o simply becomes xcb_image.o. http://www.gnu.org/software/automake/manual/automake.html#Renamed-Objects Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17test: move test cases into their own directoryGaetan Nadon11-32/+31
Seperate building the production code from the test programs, out of principal and as it opens the possibilities of simplification in follow-up patches. Avoid file names like test_xcb_image_shm-test_xcb_image_shm Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17make: image is using X11 Protcol headers, so XPROTO_CFLAGS is requiredGaetan Nadon1-2/+2
This package may theorically be installed at a different location. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17make: using EXTRA_DIST for xcb-util-image.pc.in is redundantGaetan Nadon1-2/+0
All files mentionned in AC_CONFIG_FILES have their source files distributed automatically. http://www.gnu.org/software/automake/manual/automake.html Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17make: there should be no attempt to remove any Makefile.in fileGaetan Nadon1-2/+0
Files generated by autoconf (and the various tools it calls) must not be removed by running a makefile. This is outside the scope of the makefile. http://lists.gnu.org/archive/html/autoconf/2007-03/msg00043.html One can use git-clean to return to the original state of the module prior to running autogen.sh, autoreconf or configure. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17config: add missing COPYING fileGaetan Nadon1-0/+27
This file is mandatory. It reflects the copyright statements found in the source code as written by their respective owners. Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17config: use AC_CONFIG_HEADERS to create a config.h fileGaetan Nadon7-0/+25
This file contains C preprocessor #define statements which replace the current -Ds added to each compilation invocation. This makes the gcc output command easier to read and prevents exceeding the max line limits on some computers. This is the preferred method in al the xorg modules. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17config: remove old dead code for documentationGaetan Nadon3-26/+0
Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-3/+6
Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Changed layout to one file per file like other xorg modules. Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-04-17config: add bug URL to AC_INITGaetan Nadon1-1/+3
Use same layout as libxcb. Reviewed-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-01-29Check submodules before running autoconf.Niclas Zeising1-0/+15
Exit early with an informative message if the submodules are missing, since they are needed. Without this autoconf throws a bunch of uninformative errors which does not point to the actual problem. This was taken from util-keysyms. Signed-off-by: Niclas Zeising <zeising@daemonic.se> Reviewed-By: Arnaud Fontaine <arnau@debian.org>
2013-08-23fixed some compiler C90 warningsBart Massey1-4/+3
2013-08-23Fixed endianness bug in xy pixmap getimage.Bart Massey1-3/+1
The endianness of the returned bit planes does not depend on the host bit order in the current server, and apparently not in the spec. So..yeah.
2013-08-23increased window size for test_xcb_image for usabilityBart Massey1-2/+2
2013-08-23added window names to test_xcb_image windowsBart Massey1-0/+11
2013-08-23Fixed get_image to handle xy format with nontrivial plane_mask.Bart Massey1-21/+19
Or at least made it work a little. There may still be many bugs here depending on endianness, size vs stride, etc.
2013-08-23changed test_xcb_image to work with XY_PIXMAP with nontrivial planemaskBart Massey1-2/+7
2013-08-23added additional format tests for XY_PIXMAP bit planesBart Massey1-5/+10
2013-02-06Fix compilation when NDEBUG is definedJon TURNEY1-0/+2
XORG_DEFAULT_OPTIONS enables -Werror=return-type xcb_image_get_pixel() and xcb_image_create_native() assume assert(0) is noreturn, and don't return a value in that case. But assert(0) isn't noreturn if NDEBUG is defined. Fix this by returning a suitable value. (Also, on the MinGW target, assert(0) is non-standard and may return even in the !NDEBUG case, as the C runtime may ask the user if they want to abort or not...) /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_get_pixel': /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:754:1: error: control reaches end of non-void function [-Wreturn-type] /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_create_native': /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:190:1: error: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Peter Harris <pharris@opentext.com>
2012-10-28corrected return value documentation for xcb_image_shm_put()Bart Massey1-3/+1
2012-05-30Release 0.3.90.3.9Arnaud Fontaine2-1/+8
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-22Fix GCC warning in test_formats.Arnaud Fontaine1-1/+1
2012-05-22Use rand() instead of random(), being part of the C standard library,Jon TURNEY1-1/+1
it is more portable (for example, to MinGW) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2012-05-22Don't try to build test_xcb_image_shm if SHM isn't available (for example, ↵Jon TURNEY2-1/+7
on MinGW) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2012-05-21Add autogen.sh to EXTRA_DIST.Arnaud Fontaine1-0/+1
2012-05-21Remove Doxyfile which is unused, out dated and wrong.Arnaud Fontaine1-1305/+0
2011-05-03Fix xcb_bitops.h include pathRoberto Branciforti2-2/+2
This patch fix the include path of the xcb_bitops.h file. Signed-off-by: rbbrnc <rbbrnci@gmail.com>
2011-05-01Add missing xcb_bitops.h.Arnaud Fontaine2-1/+213
Following the split up of xcb-util, this header was incorrectly put into util, which doesn't actually use it, whereas it should have always been in util-image. Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-26Release 0.3.80.3.8Arnaud Fontaine1-0/+9
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-26Fix package nameArnaud Fontaine1-1/+1
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-14Use an absolute URL for the m4 submoduleDirk Wallenstein1-1/+1
A relative submodule URL requires m4 duplicates relative to every fork or local mirror of this module. To select a different protocol with an absolute submodule URL, the url.<base>.insteadOf configuration option can be used. Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Arnaud Fontaine <arnau@debian.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-03-26Link with -no-undefinedJon TURNEY1-0/+1
Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library for platforms require that all symbols are resolved when the library is linked. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Acked-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2011-03-07config: generate ChangeLog and INSTALLGaetan Nadon2-230/+11
By copying a snippet of Makefile for xorg modules. One side-effect is that Makefile.in is no longer deleted on maintainer clean. This should never be done as it leaves your configuration in a half-broken state. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Arnaud Fontaine <arnau@mini-dweeb.org>
2011-03-07config: use the default xorg .gitignore fileGaetan Nadon2-17/+65
This will save future maintenance when module structure/tools change. This patch depends on the util-common-m4 submodule patch in the m4 path Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Arnaud Fontaine <arnau@mini-dweeb.org>
2010-12-23Bump version to 0.3.8Arnaud Fontaine1-1/+1